Mynewt Driver for Remote Sensor. The Remote Sensor driver is installed in the Collector Node. It receives sensor data from Sensor Nodes via nRF24L01 encoded with CBOR.
We automatically create a Remote Sensor device for each Sensor Node. When a message is received from a Sensor Node, we trigger the Listener Function for the associated Remote Sensor device.
A Remote Sensor behaves like a local sensor, so Mynewt sensor listeners will work.
With Remote Sensor we may build a sensor data router on the Collector Node that receives sensor data from Sensor Nodes and transmits to a CoAP Server.
Remote Sensor Types (like temp_raw
) are defined in syscfg.yml