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

Interfacing things

The IoT Gateway implements a dynamic concentrator, where individual nodes can optionally be registered and provisioned. Management of nodes is done through the XMPP interface. It can be performed using the simple IoT client for instance.

Waher.Things defines the basic abstraction model for things in the gateway. Each node (INode) can have a parent and a set of children, forming a tree structure of nodes. Nodes reside in a data source (IDataSource). Data sources also form a tree structure. A node is considered a thing and is referenced (IThingReference) through the triple Node ID, Source ID, and Partition. Controllable nodes are called actuators (IActuator) and readable nodes sensors (ISensor). These interfaces, and how ...

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