March 2018
Beginner to intermediate
410 pages
10h 40m
English
After a successful registration or update of an existing registration in the Thing Registry, the controller calls the FindFriends method with the metadata used in the registration:
this.FindFriends(MetaInfo);
The FindFriends method will connect the controller to the corresponding sensor and actuator in its vicinity. The first step is to check that such connections are not already defined. We will use the roster of our XMPP connection, that is, our list of "friends," as the knowledge base of our contacts. To each contact on our roster, we can assign groups. Groups are just string tags we annotate each contact with. We can use this array of groups to describe our contacts. These descriptions are stored on the ...
Read now
Unlock full access