i am using 2 XBee pro S2B, im using coordinator in API mode, and router also in API mode
i connect the coordinator to arduino and run this program
#include Xbee.h
#include <SoftwareSerial.h>
xbee = XBee();
uint8_t payload[] = { 0, 0 };
XBeeAddress64 addr64 = XBeeAddress64(0x00000000, 0x0000FFFF);
ZBTxRequest zbTx = ZBTxRequest(addr64, payload, sizeof(payload));
ZBTxStatusResponse txStatus = ZBTxStatusResponse();
void setup() {
mySerial.begin(9600);
Serial.begin(9600);
xbee.setSerial(mySerial);
}
void loop() {
payload[0] = 'A';
payload[1] = 'B';
xbee.send(zbTx);
delay(1000);
}
i connect both Xbees to XCTU, and coordinator broadcast data properly. either with coding from arduino, and frame generator from Xbee.
but Xbee router (receiver) only receive packet data from frame generator, and does not able to receive data from arduino, even if
the protocol code is the same
7E 00 10 10 01 00 00 00 00 00 00 FF FF FF FE 00 00 41 42 70
please tell me how to fix this.