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 the 2.4GHz ISM band (NRF24L01). On a second project phase, other radio access technologies such as LPWAN devices, Mesh devices, 3G Devices, Bluetooth Low Energy Devices, and Wi-Fi Devices are planned.
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: none
How to build:
$CFLAGS="-I$(pwd)/../knot-protocol-source.git/src" \
LIBS="$(pwd)/../knot-protocol-source.git/src/libknotprotocol.a" \
./bootstrap-configure --enable-debug --disable-optimization
'CFLAGS' must include your local knot protocol library folder.
Setup before running knotd:
You need get that file 'https://raw.githubusercontent.com/CESARBR/knot-gateway-webui/master/app/config/gatewayConfig.json'
How to check for memory leaks and open file descriptors:
$valgrind --leak-check=full --track-fds=yes ./src/knotd \
--config=$(pwd)/gatewayConfig.json --proto=http
How to test (Unix sockets):
$src/knotd
$tools/ktool connect
How to run 'knotd' specifying host & port:
$src/knotd --config=gatewayConfig.json --proto=http --host=localhost --port=3000