summaryrefslogtreecommitdiff
path: root/packet_states.h
diff options
context:
space:
mode:
Diffstat (limited to 'packet_states.h')
-rw-r--r--packet_states.h12
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