Hi,
I have an application where I'd like to connect my android phone directly to the mesh (not via a router). For that I tried to use "painlessMeshAndroid" from
Bernd Giesecke as base. Since google made many changes in the network-api since this code was released, I have to rewrite quite a few things.
So far the connection works, but when it comes to node sync, I'm lost:
- first question: in the wiki there are 3 cases where a sync can be initiated: periodically, configuration change, new connection. In the three cases, which node initiates the node-sync: the root node, each node for itself,...?
- second: which nodes are meant by "neighbours" in a node-sync-response? e.g. according to the attached image, if Node C makes a request, what is the response of node D: "A,B" or "A,B,C" or "A,B,E" or ???
Thanks for your help.