From d70d87e260dd1d888e95011190d46eeb85419074 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 6 May 2010 10:39:05 -0400 Subject: Packetize Ashtech $PAHSRs correctly despite embedded binary content. --- packet_states.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packet_states.h') 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 */ -- cgit v1.2.1