diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2007-03-11 19:51:22 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2007-03-11 19:51:22 +0000 |
commit | 918cb57109d78201e9f8a2db6c31aa26aa619ea8 (patch) | |
tree | abe2d3915942ca7d6f612b3d30201ee85cfa1fd4 /packet_states.h | |
parent | bbce51c656ee078feb5a2a620633857c00a427ce (diff) | |
download | gpsd-918cb57109d78201e9f8a2db6c31aa26aa619ea8.tar.gz |
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.
Diffstat (limited to 'packet_states.h')
-rw-r--r-- | packet_states.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |