If you are using Arduino, just add the following lines in your initialization
XBeeAddress64 addr64 = XBeeAddress64(0xDH, 0xLH); //DH is the MSB address of your address, LH is the LSB address of your router, example XBeeAddress64 addr64 = XBeeAddress64(0x0013A200, 0x40A7DB96);
//create the packet
I am having the same problem. I can send a command to the router, but I do not get any information back from the router. I know it is sending something back, but the coordinator is not spitting it out onto XCTU.
I have the same settings Xbee serie 2.
Coordinator + PC (Eclipse) and arduino + Router (softwareSerial.h, Xbee.h), because from the arduino can not send data and if data arrives from coordinator to router.
Since arduino sending data with xbee.send (tx); and does not send data
I already work.
For this create a thread on Arduino for sending data to Cordinator (Eclipse API = 2) and Eclipse also create a thread that receives data from the API Router (Arduino, xbee.h, SoftwareSerial.h).
For sending data from the Coordinator (Eclipse) to Router (Arduino) do not use threads.
Both Xbee s2 (Coordinator, Router) are API = 2 mode with XB24-2B Zigbee protocol and 64-bit address.
The sending and receiving data network seamlessly with the use of wires.