March 2018
Beginner to intermediate
410 pages
10h 40m
English
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 nodes that can be used for metering applications or cyber-physical systems. Nodes are arranged in a network topology, defining how they are connected and how to communicate with them:
this.concentratorServer = new ConcentratorServer(this.xmppClient, ...
Read now
Unlock full access