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

vitbaq/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
json-c v0.13.1
rabbitmq-c
automake
libtool
libssl-dev
valgrind (optional)

How to install dependencies:
	$sudo apt-get install automake libtool libssl-dev valgrind

	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
	To install rabbitmq-c first you need to install cmake:
		https://cmake.org/install/
	After install cmake, install rabbitmq-c. You have to clone the repository and follow the instructions:
		https://github.com/alanxz/rabbitmq-c

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 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

 
 
 

Languages

  • C 48.3%
  • Perl 43.0%
  • Python 4.7%
  • C++ 1.9%
  • M4 0.8%
  • Dockerfile 0.7%
  • Other 0.6%