What is the recommended behavior every time a node goes out of range?

I have a network with a lot of XBee modules that are “mobile”, that is, they can and will go out of range constantly. They are all configured as routers because I don’t want or need them to sleep and I need a mesh network.

It will happen that one or more just goes out of range from the coordinator and any reachable router and return from several minutes to hours later. So what is best to do in this case? Should the node leave the network every time it goes out of range or just tries to rejoin?

And by the way, how do I detect when I have lost communication with the coordinator?

1 Like