diff options
author | Gary E. Miller <gem@rellim.com> | 2005-08-03 21:11:32 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2005-08-03 21:11:32 +0000 |
commit | 3358ae715b0505238cf1bb553a7d05625ec37d03 (patch) | |
tree | d93f64abefb9a16ed33a55dab57a73132332fecc /nmea_parse.c | |
parent | db1789870b3c86e4d9afa4706fe35bf266da4c02 (diff) | |
download | gpsd-3358ae715b0505238cf1bb553a7d05625ec37d03.tar.gz |
Add detection of Garmin Serial GPS.
Add some sentences to ignore. Ignoring sentences still not working.
Diffstat (limited to 'nmea_parse.c')
-rw-r--r-- | nmea_parse.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nmea_parse.c b/nmea_parse.c index 241ebd61..9630bbe2 100644 --- a/nmea_parse.c +++ b/nmea_parse.c @@ -558,9 +558,12 @@ gps_mask_t nmea_parse(char *sentence, struct gps_device_t *session) {"GLL", processGPGLL}, {"GSA", processGPGSA}, {"GSV", processGPGSV}, - {"VTG", NULL}, /* ignore this */ + {"VTG", NULL}, /* ignore Velocity Track made Good */ {"ZDA", processGPZDA}, + {"PGRMC", NULL}, /* ignore Garmin Sensor Config */ {"PGRME", processPGRME}, + {"PGRMI", NULL}, /* ignore Garmin Sensor Init */ + {"PGRMO", NULL}, /* ignore Garmin Sentence Enable */ #ifdef TNT_ENABLE {"PTNTHTM", processTNTHTM}, #endif /* TNT_ENABLE */ |