diff options
author | Gregory Fong <gregory.fong@virginorbit.com> | 2018-07-29 17:21:24 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-07-29 17:21:24 -0700 |
commit | f41d577b6352e80919469ee1724a0b9ad4359e67 (patch) | |
tree | 7a96d9194937855ebaecc14bb254236d3ccc5940 /packet_states.h | |
parent | d1f79455a50f92b3dbf68c2ad5196423d80ed78a (diff) | |
download | gpsd-f41d577b6352e80919469ee1724a0b9ad4359e67.tar.gz |
Add GREIS (Javad) GPS driver.
All functional changes inside "#ifdef GREIS_ENABLE"
Includes new regression tests. All regressions tests
pass.
Developed by Gregory Fong, with help and support from
Virgin Orbit.
Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'packet_states.h')
-rw-r--r-- | packet_states.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packet_states.h b/packet_states.h index 2f54d5a8..4c3a3208 100644 --- a/packet_states.h +++ b/packet_states.h @@ -183,6 +183,18 @@ GEOSTAR_RECOGNIZED, /* this is also GEOSTAR_CHECKSUM_D */ #endif +#ifdef GREIS_ENABLE + GREIS_EXPECTED, /* expecting GREIS packet */ + GREIS_REPLY_1, /* saw first byte of a reply */ + GREIS_REPLY_2, /* saw second byte of a reply */ + GREIS_ID_1, /* saw first byte of ID */ + GREIS_ID_2, /* saw second byte of ID */ + GREIS_LENGTH_1, /* saw first length byte */ + GREIS_LENGTH_2, /* saw second length byte */ + GREIS_PAYLOAD, /* we're in a GREIS payload */ + GREIS_RECOGNIZED, /* found end of the GREIS packet */ +#endif + /* * Packet formats without checksums start here. We list them last so * that if a format with a conflicting structure *and* a checksum can |