I have a Pelican hooked up to a power supply. Using the USB adapter (not the X-Bee), I poll the autopilot for the LL_STATUS struct defined in the documentation. I store the data from the serial port into a buffer ('buf'). The struct's values seem reasonable (the PSU reads 11.5V)
On Wed, 2011-03-23 at 15:35 -0700, Paul Ozog [via asctec-users] wrote:
> buf is the buffer I receive from the serial port. 3 bytes for the
> preamble ">*>", 2 for the length of the struct (which is 16), and 1
> for the packet descriptor (0x01 as it should be for LL_STATUS).
> Using the crc16 function from the documentation, the checksum comes
> out to be:
> Which one is more reasonable? s the documentation wrong? Am I
> misunderstanding the checksum entry in the reply from the Autopilot?
> All of my data is reasonable, except for the checksum.