Go Down

Topic: xbee pro series 1 and arduino.. (Read 1 time) previous topic - next topic


Mar 15, 2013, 01:53 am Last Edit: Mar 15, 2013, 02:05 am by nekidfrog Reason: 1
Code: [Select]
#include <XBee.h>

XBee xbee = XBee();

uint8_t payload[] = { 255 };

Tx16Request tx = Tx16Request(0x6556, payload, sizeof(payload));

void setup() {

void loop() {

I have a coordinator and end point. I'm using that code on the end point to send a simple data to the coordinator. The first api packet looks fine!

7E 00 06 81 65 57 24 00 FF 9F

Second packet for unknown reasons gets changed to rx 64?

7E 00 0C 80 00 13 A2 00 40 93 A9 9F 24 00 FF 8C

both devices are set to 6556 coordinator and 6557 for end point, api = 1, pan is 3332 and ch is C. DH and DL are both 0.

can anyone explain why the second time I send a packet, even tho using the tx16 it magically changes to rx 64 on coordinators side?


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131