Final project - critical mass of radio communication
For my final project, I am using the Zigbee radios all in broadcast mode, ie. all of them are transmitting to destination FFFF, so that all the radios in the network can listen at once.
This is useful for debugging (I can "listen" using a Zigbee and a laptop) and for simplifying the code.
However, it creates a problem: whenever the lamps receive a message, they send out an acknowledgement and a status report. If this report contains the letter "L", then the other Zigbees interpret it as a command, and send out their status reports.
So every command leads to a flurry of radio communications, and I guess some messages are lost or delayed.
Easy to fix, by forcing the lamps to ignore any line that doesn't start with an "L", but nevertheless something to keep in mind.