March 2018
Beginner to intermediate
410 pages
10h 40m
English
Referencing embedded nodes is done through overloading of the methods we are already familiar with. The SensorClient class has two main methods for obtaining sensor data: the RequestReadout and Subscribe methods. The first returns data immediately, the second when new data is made available. Both methods have overloaded versions that enable you to provide a reference to one or more ThingReference objects. Each ThingReference object (class defined in Waher.Things) contains a NodeId, SourceId, and a Partition property. By adding such references to the request, you direct the request to the corresponding embedded node instead of to the concentrator itself.
Read now
Unlock full access