From 918cb57109d78201e9f8a2db6c31aa26aa619ea8 Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Sun, 11 Mar 2007 19:51:22 +0000 Subject: Allow NMEA-style messages prefixed with '!' to be passed in super-raw mode. This is useful for devices like the Milltech Marine SR162G integrated GPS/ Automatic Identification System. With help from Maitland Bottoms, who reported this device originally. --- packet_states.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packet_states.h') diff --git a/packet_states.h b/packet_states.h index 696360af..42d03627 100644 --- a/packet_states.h +++ b/packet_states.h @@ -6,6 +6,7 @@ #ifdef NMEA_ENABLE NMEA_DOLLAR, /* we've seen first character of NMEA leader */ + NMEA_BANG, /* we've seen first character of an AIS message '!' */ 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 */ @@ -14,6 +15,8 @@ SIRF_ACK_LEAD_1, /* seen A of possible SiRF Ack */ SIRF_ACK_LEAD_2, /* seen c of possible SiRF Ack */ + AIS_LEAD_1, /* seen A of possible marine AIS message */ + AIS_LEAD_2, /* seen I of possible marine AIS message */ SEATALK_LEAD_1, /* SeaTalk/Garmin packet leader 'I' */ #endif /* NMEA_ENABLE */ -- cgit v1.2.1