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 Thing Registries

All devices in Thing Registries are referenced using their XMPP address, their optional node identity, source identity, and partition. If the last three are not provided, they are assumed to be blank. The ThingRegistryClient that we use to interact with a Thing Registry has overloaded versions of all methods accepting embedded node references. This includes the RegisterThing, UpdateThing, Remove, Unregister, and Disown methods.

When we claim a device, we send only metadata to the registry. But the response contains a Node property that together with the JID property identifies the corresponding node. In the same way, the Claimed, Removed, and Disowned events contain a Node reference that points to ...

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