summaryrefslogtreecommitdiff
path: root/packet_states.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-12-15 00:50:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-12-15 00:50:16 +0000
commitda5f3ad0df0cc5f23d8b0f58dc5b31631577c269 (patch)
tree93b755929994c4d0ea0fe021e8df7cd390ab657b /packet_states.h
parentbf3c7dfe628624d4a73cc6077663504c34d0edd8 (diff)
downloadgpsd-da5f3ad0df0cc5f23d8b0f58dc5b31631577c269.tar.gz
Diego Burge's driver builds, but it messes up some regression tests...
...(notably the TSIP ones). There's a conflict...
Diffstat (limited to 'packet_states.h')
-rw-r--r--packet_states.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/packet_states.h b/packet_states.h
index d2ea8d85..66d88a52 100644
--- a/packet_states.h
+++ b/packet_states.h
@@ -82,6 +82,19 @@
ITALK_RECOGNIZED, /* found end of the iTalk packet */
#endif /* ITALK_ENABLE */
+#ifdef NAVCOM_ENABLE
+ NAVCOM_EXPECTED, /* expecting Navcom packet */
+ NAVCOM_LEADER_1, /* saw leading 0x02 */
+ NAVCOM_LEADER_2, /* saw leading 0x99 */
+ NAVCOM_LEADER_3, /* saw leading 0x66 */
+ NAVCOM_ID, /* saw message ID */
+ NAVCOM_LENGTH_1, /* saw first byte of Navcom packet length */
+ NAVCOM_LENGTH_2, /* saw second byte of Navcom packet length */
+ NAVCOM_PAYLOAD, /* we're in a Navcom payload */
+ NAVCOM_CSUM, /* saw checksum */
+ NAVCOM_RECOGNIZED, /* found end of the Navcom packet */
+#endif /* NAVCOM_ENABLE */
+
/*
* Packet formats without checksums start here. We list them last so
* that if a format with a conflicting structure *and* a checksum can