this version has all of Jim's fixes for reading the GPS and IMU data synchronously
Dependencies: MODSERIAL SDFileSystem mbed SDShell CRC CommHandler FP LinkedList LogUtil
Diff: OEM615.h
- Revision:
- 28:fcea53fcc712
- Parent:
- 21:37551baf69c6
- Child:
- 29:dead10cce6e9
--- a/OEM615.h Fri Jun 21 05:48:02 2013 +0000 +++ b/OEM615.h Wed Nov 13 22:12:04 2013 +0000 @@ -161,6 +161,11 @@ //generate a 4-byte sliding-window sequence from the input bytes //shift last 4-byte value left 8 bits & push current-read byte (synch0) into low-order byte test = (test<<8) | synch0; + + //alternative 8-byte test (uses a long long 64bit word) + // AA44121C002A0020 //message 42 (BESTPOS) + // AA44121C002B0020 //message 43 (BESTVEL) + // AA44121C00990020 //message 99 (RANGE) if (test == 0xAA44121C) //test for the Receiver message header signature {