I’m trying to create a network with Xbee 3’s on Digimesh for which, on a command, the whole network will wake up, operate in it waking state for a couple of hours and then on another command go back to sleep. Also when the each node wakes I would like to use a couple of digital pins to trigger some MOSFETs (and switch on the rest of the circuit).
To send the commands I’m using an Xbee 3 in API mode (set to cylic sleep support). The way I’ve been trying to make this work is to broadcast a remote AT commands to change sleep mode and the digital pins but this floods the network with remote command responses and I’m worried as the network gets bigger this will drown out the original AT commands. (Also I have read you shouldn’t broadcast remote AT commands).
Is there a better way of doing this?
Any help would be much appreciated.