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 the Metering Topology data source

In the previous chapter, we created a small static concentrator. The IoT Gateway defines a more flexible dynamic concentrator. It allows standalone modules to define new classes of nodes that can be administered through the concentrator interface. The Waher.Things.Metering library defines a data source called the Metering Topology (MeteringTopology). The Metering Topology has one root node (Root), representing the IoT Gateway itself. Nodes in this library are derived from the MeteringNode class. All nodes deriving from MeteringNode inherit certain important properties: they are all persisted in the local object database.

They also maintain persisted information about their current state, and it is possible ...

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