Open GoogleCodeExporter opened 9 years ago
Original comment by andrew.rapp@gmail.com
on 2 Feb 2014 at 6:44
I've recently been using this library and had very similar issues with this
part of the code. I believe I've pinpointed the cause of this, which is not
very well documented in the manual.
If you check page 50: MM (MAC Mode) Command
"By default (MM = 0), Digi Mode is enabled and the module adds an extra header
to the data portion of the 802.15.4 packet."
During testing I noticed that when disabling AES encryption this header would
no longer appear within the packet and the method
"RxIOSampleBaseResponse::getAnalog" functions as intended. Obviously the
inclusion of this header will throw off any access to the data portion of the
frame.
I was unable to find any further information about this header, as to whether
it's size can vary based on configuration I'm unsure, but for my purposes it
seemed to consist of four bytes in the position stated. I no longer have access
to an xBee radio to test so it's unlikely I'll be able to contribute further
than this.
Original comment by jmounte...@gmail.com
on 22 Sep 2014 at 12:42
I believe this one is also fixed by
https://github.com/andrewrapp/xbee-arduino/pull/9
Original comment by matthijskooijman@gmail.com
on 2 Aug 2015 at 10:14
Original issue reported on code.google.com by
gzio...@gmail.com
on 10 Jan 2012 at 1:09