I am trying to find a way to get the origin address of an XBee radio in Arduino.
Basically, I want my XBee chip to send a string that also contains its origin address (or id) so that I can identify where the message is coming from without having to run different code on every different Arduino.
What should I do?
EDIT
I am using the xbee-arduino library (http://code.google.com/p/xbee-arduino/).
The xbee is connected directly to the Arduino through a Sparkfun Xbee Shield (http://www.sparkfun.com/products/9976)
It is communicating with a Connectport X2 running XIG (http://code.google.com/p/xig/) so I can't run any arduino code on there that would look at the sender's address - it has to be found locally on the board.