O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Defining control parameters for embedded nodes

Each embedded node is assumed to have a different set of control parameters. The ConcentratorServer therefore calls the GetControlParameters method defined by the IActuator interface, when necessary. All we need to do is implement this method. The definition of the control parameters otherwise conforms to the definition of the control parameters in the ActuatorXmpp project:

public ControlParameter[] GetControlParameters() 
{ 
   return new ControlParameter[] 
   { 
         ... 
   }; 
}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required