I am new in Zigbee API apps. But, as far as I read your project, I can say that it is very nice project, exciting...
One week ago I found your project on the net (under Arduino node scanning tag). Since that moment I am almost all the time trying to make one coordinator node to talk with one router node. In attach, you will see how I tried to.
The router and one Xbee explorer work acceptable, but not with Arduino coordinator.
I also have some questions. First, in my case xbee.begin(9600) return error (no matching function for call to 'XBee::begin(int)'). How so? I wrote the sequence: Serial.begin(9600); xbee.begin(Serial). No error, but...
You organized your sending data in 10 bytes. The 9-th is the node ID (E = text). It is sent by the nodes. How it is built?
Thank you in advance! Mircea