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

Understanding the conceptual model

The sensor data model in XMPP is similar to how we treated sensor data in previous chapters. Each device maintains a collection of timestamps; each one is comprised of a set of fields, as shown in Figure 1. The model also allows for measurement or communication errors to be reported. Apart from a value, each field also has a name, optional localization information, field type information, quality of service information, and custom annotations. In a later chapter, we will build on this model by introducing the concept of nodes, where a device can be said to host a set of nodes, or virtual devices:

Figure 1. ...

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