Hello everyone, now i'm working on a little project which is to send a byte through xbee to remote coordinator which is connfigured in API mode
the problem the xbee packets are non valid, when the packet is recived the rf-data contains this (as you can see in the attached picture) the values send are "TEST API XBEE "
the arduino code that i'm using is very simple i wnat just to see how it's work
#include <XBee.h>
XBee xbee = XBee();
const int BAUD_RATE = 9600;
uint8_t data[13] = {'T','E','S','T',' ','A','P','I',' ','X','B','E','E'};
XBeeAddress64 addr64 = XBeeAddress64(0x0013A200, 0x416CC106);
ZBTxRequest zbTX = ZBTxRequest(addr64, data, sizeof(data));
ZBTxStatusResponse txStatus = ZBTxStatusResponse();
void setup() {
Serial.begin(BAUD_RATE);
xbee.setSerial(Serial);
}
void loop() {
xbee.send(zbTX);
delay(1000);
}
thank you for your help
