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

Supporting embedded actuator nodes

For simple actuators, we instantiate the ControlServer class with a set of control parameters that the actuator publishes. For concentrators we cannot always do this since the embedded actuators typically have different sets of control parameters.

If all embedded actuators have the same set of control parameters, we can still instantiate the ControlServer class with the set of control parameters to publish. The get and set event handlers contain a reference to the embedded node in question. If, on the other hand, the embedded actuators do not have the same set of control parameters, we instantiate the ControlServer class without parameters. Instead, we provide an event handler for the OnGetControlParameters ...

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