We are now ready to implement support for provisioning in our devices. We create two new projects, a
SensorXmpp2 and an
ActuatorXmpp2. We base these on the
ActuatorXmpp projects, developed in the previous chapters. The
Waher.Networking.XMPP.Provisioning namespace, already made available in these projects, contains a
ProvisioningClient class which will do most of the work. It supports both the device and owner interfaces of provisioning.
Provisioning interfaces are published by the IEEE IoT Harmonization working group, introduced in Chapter 9, Social Interaction with Your Devices Using XMPP.
private ProvisioningClient provisioningClient = null;
When we search the components made available by the server to...