Home/Support/Support Forum/How to send data from Router to Coordinator in API mode (XBee S2)
New and improved user forum site coming soon

How to send data from Router to Coordinator in API mode (XBee S2)

0 votes
Hello everyone! I hope you guys can help me with this problem.

I configured one XBee as ZigBee Coordinator API and one as ZigBee Router API.

I can send from coordinator to router, but not from router to coordinator, and I don't know how to fix this problem!

Configuration of coordinator:
DL= 409B7D31

Configuration of router:

API frame I'm trying to send from router to coordinator:
7E 00 12 10 01 00 00 00 00 00 00 FF FF 00 00 00 01 04 05 06 07 D9

Please help me! Why doesn't it work?
asked May 26, 2014 in RF Solutions and XBee by dinkymonkey New to the Community (0 points)

Please log in or register to answer this question.

6 Answers

+1 vote

Have you figured this issue out yet?

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.

answered Jun 16, 2014 by stevenette New to the Community (5 points)
+1 vote
this program is only for router to coordinator. its working but coordinator to router is not working.
Please help!!!!!!!!
answered Aug 19, 2016 by krishi New to the Community (3 points)
i am facing the same issue have you found any solution ???
0 votes
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

ZBTxRequest zbTx = ZBTxRequest(addr64, payload, sizeof(payload));

// you can then send the packet as usual
void loop() {

answered May 27, 2014 by mustika New to the Community (2 points)
0 votes
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
answered Jul 30, 2014 by jreyes New to the Community (2 points)
0 votes
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.

answered Aug 27, 2014 by jreyes New to the Community (2 points)
0 votes
sorry.. i want to ask..
how to print data ony without print the acknowledgment between xbee s2 in API mode???
please help me,,,

how about the sketch....

thx very much
answered Dec 29, 2016 by sams99 New to the Community (4 points)