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

Using embedded nodes in provisioning

From a device perspective, all provisioning tasks are taken care of by the ProvisioningClient class, together with the SensorServer and ControlServer classes. All you need to do is instantiate the ProvisioningClient class and provide a reference to it to the SensorServer and ControlServer object instances. These will then interact, including the management of any information related to embedded nodes.

Presence subscription can only be handled on an XMPP account basis. So, the IsFriend method does not take any reference to embedded nodes. However, the CanRead and CanControl methods both have overloads that accept one or more ThingReference objects.

From an owner perspective, the provisioning client raises ...

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