Performing readout of a sensor

The last thing we need to do for our sensor node is to implement the StartReadout method, which will perform the actual readout. Its details conform to the sensor readout example in the SensorXmpp project:

public async void StartReadout(ISensorReadout Request) 
{ 
   try 
   { 
         Log.Informational("Performing readout.", this.LogId, 
               Request.Actor); 
         ... 
   } 
   catch (Exception ex) 
   { 
         Log.Critical(ex); 
   } 
}
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset