« Final project - first lamp assembled | Main | Final project - and then there were two »

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.

TrackBack

TrackBack URL for this entry:
http://itp.nyu.edu/~gpv206/cgi-bin/mt/mt-tb.cgi/51

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)