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

Adding XMPP to our devices

We now have sufficient information to begin using XMPP in our projects. To do this, we create two new projects, which we will call SensorXmpp and ActuatorXmpp, copying the corresponding code from the Sensor and Actuator projects as we have done earlier. As with the previous chapters, we use the same hardware.

For reference, the projects are available on GitHub at https://github.com/PeterWaher/MIoT.

We also add a series of NuGet packages to our projects:

NuGet

Description

Waher.Networking.XMPP.UWP

XMPP client library.

Waher.Networking.XMPP.Sensor.UWP

XMPP IoT sensor data plugin. Added to both projects.

Waher.Networking.XMPP.Chat.UWP

XMPP IoT chat plugin.

Waher.Networking.XMPP.Control.UWP ...

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