Reader small image

You're reading from  Mastering Internet of Things

Product typeBook
Published inMar 2018
PublisherPackt
ISBN-139781788397483
Edition1st Edition
Right arrow
Author (1)
Peter Waher
Peter Waher
author image
Peter Waher

Peter Waher is the founder of Little Sister®, a standards-based distributed social network, based on the principles of edge computing, privacy & information ownership, for humans and machines. Currently, Peter advises companies on topics such as privacy, the IoT and Smart Cities. He has worked for 24 years with computers and device communication, including low-level development in assembler for resource-constrained devices to high-level system design and architecture. His award-winning applications has attracted global attention, and he has been invited to speak at prestigious events.
Read more about Peter Waher

Right arrow

Implementing a concentrator


We are now ready to implement our first concentrator. The goal will be to create a concentrator that includes both our sensor and our actuator into a single physical device. It will work seamlessly with the controller application developed in Chapter 10, The Controller, since each embedded node registers itself as a separate thing. The details of this implementation can be found in the ConcentratorXmpp project, in the Mastering Internet of Things GitHub repository.

Instantiating the concentrator

Instantiating the concentrator is easy. We first add a reference to the Waher.Networking.XMPP.Concentrator.UWP NuGet package to our project (if we're not doing an UWP app, we add the Waher.Networking.XMPP.Concentrator NuGet). We then simply create the object, with a reference to the XMPP client object we use, and reference to all the root data sources we define. We will define only one data source, the MeteringTopology data source. It is the default data source for embedded...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Internet of Things
Published in: Mar 2018Publisher: PacktISBN-13: 9781788397483

Author (1)

author image
Peter Waher

Peter Waher is the founder of Little Sister®, a standards-based distributed social network, based on the principles of edge computing, privacy & information ownership, for humans and machines. Currently, Peter advises companies on topics such as privacy, the IoT and Smart Cities. He has worked for 24 years with computers and device communication, including low-level development in assembler for resource-constrained devices to high-level system design and architecture. His award-winning applications has attracted global attention, and he has been invited to speak at prestigious events.
Read more about Peter Waher