Go Down

Topic: Xstick - XBEE series 2 communication (Read 466 times) previous topic - next topic


Apr 07, 2015, 04:10 pm Last Edit: Apr 07, 2015, 04:37 pm by seemakumar8

I am trying a very simple setup. But, I am unable to get through.

I have Xstick ZB which works as coordinator in API mode. And, there is a XBEE series 2 in router API mode.

- Both on same PAN ID (Used X-CTU for configuration)
- Changed API level to 2 on both

The Arduino code on XBEE is:

#include <XBee.h>
XBee xbee = XBee();

uint8_t payload[] = {'H', 'e', 'l', 'l', 'o'};

XBeeAddress64 addr64 = XBeeAddress64(0x0013a200, 0x40b12345);
ZBTxRequest zbTx = ZBTxRequest(addr64, payload, sizeof(payload));

void setup() {

void loop() {
  int x = txStatus.getDeliveryStatus();

The status on serial output is weird. I get FB. Or 251 in decimal.
Also when I try the series2_tx sample sketch from xbee-arduino, it enters the last else statement, which says "local XBee did not provide a timely TX status response"

Kindly appreciate any positive feedback. I expect some packets being received on xctu console of xstick.



It worked. I had to change the "serial select" switch on the Wireless SD shield from USB to MICRO mode. Only in MICRO mode the shield sends data over XBEE wirelessly and serially to the PC.

Go Up