Reconfiguring Mesh Network on the Fly

Hi All,

I have a bit of a strange, but unavoidable requirement - to reconfigure a bunch of XBee S2 modules between being Routers and being End Devices.

Basically in the general config I have a network containing 4 Routers and 8 End Devices - all 12 are connected to Arduinos - and a Co-ordinator connected to a PC. However I have a situation where I need NO ROUTING to take place (single hop only), but I still need the ‘Routers’ to receive instructions.

I thought one way to do this was to change the Routers to End Devices and then back to Routers after the process.

Or is there some way to force single hop/no forwarding via Routers temporarily?

Is there a way to do this remotely?

Thanks all!

You can set BH and NH to control max unicast or broadcast hops. pg. 133:

that may or may not work for you.

Thanks, I saw that suggestion on another forum. I’m not sure if it will work, though…
The problem being that I’m not sure if using the 1 hop option for BH means one hop in total (ie from the co-ord to the destination) or if it means it can make an additional hop…
I will have to experiment