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

Defining the conceptual identity of the thing

The next step is to define a set of metadata tags that will constitute the conceptual identity of the device. You can choose any tags you like. Tags are simply key-value pairs. Keys are always strings, and values can be either strings or numeric (floating-point) values. Each key tag (or name) is case insensitive. Some keys are defined in the IANA iotdisco URI scheme definition, as well as XEP-0347. You should adhere to these for interoperability. They include tags for physical identity, identity of the manufacturer, make, model, and version of the device, as well as location information, and so on. We begin with some static information:

string s; List<MetaDataTag> MetaInfo = new List<MetaDataTag>() ...

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