From f41d577b6352e80919469ee1724a0b9ad4359e67 Mon Sep 17 00:00:00 2001 From: Gregory Fong Date: Sun, 29 Jul 2018 17:21:24 -0700 Subject: 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 --- packet_states.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'packet_states.h') 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 -- cgit v1.2.1