Open GoogleCodeExporter opened 9 years ago
Original comment by andrew.rapp@gmail.com
on 2 Feb 2014 at 6:33
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:39
Original issue reported on code.google.com by
mbshah48...@gmail.com
on 7 Mar 2010 at 9:32