Re: ACK from END DEVICE for Series 2 API

117 views
Skip to first unread message

Andrew Rapp

unread,
Apr 21, 2013, 4:00:06 PM4/21/13
to xbee...@googlegroups.com
zb24 firmware is not supported. I list the supported functionality here https://code.google.com/p/xbee-arduino/wiki/FeatureSupport  I'll look into adding this into a future release but I can't always keep up with new firmware releases. Thanks for reporting!


On Fri, Apr 19, 2013 at 5:55 AM, John Flicker <johnj....@gmail.com> wrote:
(Using x2 Xbee Series 2  ZB24; Andrew Rapp's xBee library latest version)  

I'm not sure if anyone else has had this problem, but I spent hours trying to figure out why I wasn't receiving an ACK from the transmitting device even though I was receiving all data successfully. The reason is that Mr. Rapp's library has no #define for an ACK from an end device, so when it checks the option byte looking for "0x01" it will return false (see below from the data sheet). If you are checking for ACK from an end device, you need to be looking for 0x41 (0x01 + 0x40). 


0x01 - Packet Acknowledged
0x02 - Packet was a broadcast packet
0x20 - Packet encrypted with APS encryption
0x40 - Packet was sent from an end device (if known)
Note: Option values can be combined. For example, a
0x40 and a 0x01 will show as a 0x41. Other possible
values 0x21, 0x22, 0x41, 0x42, 0x60, 0x61, 0x62.




John J. Flicker

--
You received this message because you are subscribed to the Google Groups "xbee-api" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xbee-api+u...@googlegroups.com.
To post to this group, send email to xbee...@googlegroups.com.
Visit this group at http://groups.google.com/group/xbee-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

burnt...@gmail.com

unread,
Sep 26, 2013, 5:54:43 PM9/26/13
to xbee...@googlegroups.com
I ran into this same problem, I have assumed it was a problem with the modem or something else, when I found your post;
 
You saved me from going mad, Thanks a lot!!
Reply all
Reply to author
Forward
0 new messages