summaryrefslogtreecommitdiff
path: root/packet_states.h
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2009-01-26 19:12:34 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2009-01-26 19:12:34 +0000
commite7cb7b8215724420420929bdb66f0d45b8b41387 (patch)
tree011fabfdec436e379a036ca692160905d2732abc /packet_states.h
parent1553411a7ab0ed044cb4e1d2349684b7559cf549 (diff)
downloadgpsd-e7cb7b8215724420420929bdb66f0d45b8b41387.tar.gz
driver for novatel superstar2.
not enabled by default yet; i still need to get mode switching working. kinda funny - i bought the superstar last july, and it's taken me nearly six months to even take it out of the antistatic bag. at least the driver isn't vaporware any more (and the only copy of it isn't on my laptop).
Diffstat (limited to 'packet_states.h')
-rw-r--r--packet_states.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/packet_states.h b/packet_states.h
index ff65e1ee..c718ef7c 100644
--- a/packet_states.h
+++ b/packet_states.h
@@ -127,6 +127,16 @@
GARMIN_RECOGNIZED, /* found end of Garmin packet */
#endif /* TSIP_ENABLE GARMIN_ENABLE */
+#ifdef SUPERSTAR2_ENABLE
+ SUPERSTAR2_LEADER, /* leading SOH */
+ SUPERSTAR2_ID1, /* message type */
+ SUPERSTAR2_ID2, /* message type xor 0xff */
+ SUPERSTAR2_PAYLOAD, /* length of the actual packet data */
+ SUPERSTAR2_CKSUM1,
+ SUPERSTAR2_CKSUM2,
+ SUPERSTAR2_RECOGNIZED,
+#endif
+
#ifdef RTCM104V2_ENABLE
RTCM2_SYNC_STATE, /* we have sync lock */
RTCM2_SKIP_STATE, /* we have sync lock, but this character is bad */