summaryrefslogtreecommitdiff
path: root/packet_states.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-05-06 10:39:05 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-05-06 10:39:05 -0400
commitd70d87e260dd1d888e95011190d46eeb85419074 (patch)
tree65b3458c5fce6f26d9c3c86ad79187f9cdc34f0b /packet_states.h
parent43807e0b2622cfb1b15e28e2bef08c8f0a8aceb9 (diff)
downloadgpsd-d70d87e260dd1d888e95011190d46eeb85419074.tar.gz
Packetize Ashtech $PAHSRs correctly despite embedded binary content.
Diffstat (limited to 'packet_states.h')
-rw-r--r--packet_states.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/packet_states.h b/packet_states.h
index 311f4c33..9f206b9a 100644
--- a/packet_states.h
+++ b/packet_states.h
@@ -10,6 +10,12 @@
NMEA_PUB_LEAD, /* seen second character of NMEA G leader */
NMEA_VENDOR_LEAD, /* seen second character of NMEA P leader */
NMEA_LEADER_END, /* seen end char of NMEA leader, in body */
+ NMEA_PASHR_A, /* grind through recognizing $PASHR */
+ NMEA_PASHR_S, /* grind through recognizing $PASHR */
+ NMEA_PASHR_H, /* grind through recognizing $PASHR */
+ NMEA_BINARY_BODY, /* Ashtech-style binary packet body, skip until \r\n */
+ NMEA_BINARY_CR, /* \r on end of Ashtech-style binary packet */
+ NMEA_BINARY_NL, /* \n on end of Ashtech-style binary packet */
NMEA_CR, /* seen terminating \r of NMEA packet */
NMEA_RECOGNIZED, /* saw trailing \n of NMEA packet */