March 2018
Beginner to intermediate
410 pages
10h 40m
English
Sensors instantiate the SensorServer class to publish sensor data. There is no need to instantiate one such class for each embedded sensor node. Instead, only the concentrator needs to instantiate it. Incoming requests raise the OnExecuteReadoutRequest event. The event argument class contains a Nodes property that contains the nodes referenced in the request. The event handler must then either redirect the request to the corresponding embedded sensor node, or handle the embedded nodes internally in the event handler.
During readout, a collection of Field or ThingError objects is generated. Each one contains a reference to the node from where the data originated. If the device is not a concentrator, a reference ...
Read now
Unlock full access