summaryrefslogtreecommitdiff
path: root/nmea_parse.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2005-08-03 21:11:32 +0000
committerGary E. Miller <gem@rellim.com>2005-08-03 21:11:32 +0000
commit3358ae715b0505238cf1bb553a7d05625ec37d03 (patch)
treed93f64abefb9a16ed33a55dab57a73132332fecc /nmea_parse.c
parentdb1789870b3c86e4d9afa4706fe35bf266da4c02 (diff)
downloadgpsd-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.c5
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 */