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

For further study

The SensorXmpp and ActuatorXmpp projects in the MIoT repository on GitHub provide the support for XEP-0054 to publish contact information using vCards. If you're interested in learning how to implement your own extensions, search for 0054 in the code to see how to register handlers and send stanzas.

The SensorXmpp project also includes a method of publishing current momentary values using the publish/subscribe pattern provided by the presence stanza. This behavior is commented out in the default version, to avoid spamming the broker. If you want to play with this pattern, check the PublishMomentaryValues() method.

The Mastering Internet of Things, or MIoT project on GitHub can be found at https://github.com/PeterWaher/MIoT ...

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