Skip to content

KNoT Service is part of KNoT project. It aims to provide a "proxy" service between KNoT Things and KNoT Cloud, allowing power constrained embedded device to interact with cloud services. The initial target platform are PAN devices, and Raspberry Pi GW. The PAN device used is a highly integrated, ultra low power (ULP) 2Mbps RF transceiver IC for …

License

Notifications You must be signed in to change notification settings

jcorde/knot-service-source

 
 

Repository files navigation

	KNOT Service for Linux systems

KNOT service is part of KNOT project. It aims to provide a "proxy" service
for KNOT nodes, allowing power constrained embedded device to interact
with Meshblu cloud services.

The initial target platform are nRF24L01 nodes, and Raspiberry PI GW. nRF24L01
is a highly integrated, ultra low power (ULP) 2Mbps RF transceiver IC for the
2.4GHz ISM band. On a second project phase, other radio access technologies
such as Bluetooth Low Energy, and Wi-Fi are planned.

Dependencies:
knot-protocol-source
knot-hal-source
ell >= 0.4
glib >= 2.28
json-c v0.13.1
automake
libtool
curl
libwebsocket v2.4.2
libssl-dev
valgrind (optional)

How to install dependencies:
	$sudo apt-get install automake libtool glib2.0 libjson0 libjson0-dev libcurl4-gnutls-dev libssl-dev valgrind
	To install libwebsockets first you need to install cmake
		https://cmake.org/install/
	After install cmake, install libwebsocket v2.4.2
		https://github.com/warmcat/libwebsockets/releases/tag/v2.4.2
	To install libell, you have to clone the repository and follow the instructions:
		git://git.kernel.org/pub/scm/libs/ell/ell.git
	To install the latest version of json-c, you have to clone the repository and follow the instructions:
		https://github.com/json-c/json-c/releases/tag/json-c-0.13.1-20180305

How to build:
You have to install the knot-protocol-source and the knot-hal-source,
sothen you can run:
$./bootstrap-configure && make

How to check for memory leaks and open file descriptors:
$valgrind --leak-check=full --track-fds=yes ./src/knotd \
--config=src/knotd.conf --proto=ws

How to test (Unix sockets):
$src/knotd
$tools/ktool connect

How to run 'knotd' specifying host & port:
$src/knotd --config=./src/knotd.conf --proto=http --host=localhost --port=3000

About

KNoT Service is part of KNoT project. It aims to provide a "proxy" service between KNoT Things and KNoT Cloud, allowing power constrained embedded device to interact with cloud services. The initial target platform are PAN devices, and Raspberry Pi GW. The PAN device used is a highly integrated, ultra low power (ULP) 2Mbps RF transceiver IC for …

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 94.7%
  • C++ 2.4%
  • M4 1.4%
  • Other 1.5%