Skip to content

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…

License

Notifications You must be signed in to change notification settings

pauloserrafh/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
libwebsocket v2.4.2
libssl-dev
valgrind (optional)

How to install dependencies:
	$sudo apt-get install automake libtool glib2.0 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=ws --host=localhost --port=3000

About

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…

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 90.3%
  • Python 4.9%
  • C++ 2.5%
  • M4 1.4%
  • Other 0.9%