diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-01-10 12:42:48 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-01-10 12:42:48 -0500 |
commit | a950067545c52db618154994f76a5659d1be558c (patch) | |
tree | 561dedbd8991303a59abea7b14802c6056773ccb | |
parent | 7ba55ad09f61c517ac05419152c5240b4a5f078b (diff) | |
download | gpsd-a950067545c52db618154994f76a5659d1be558c.tar.gz |
The particular Navcom binary protocol we support is called NCT.
All regression tests pass.
-rw-r--r-- | SConstruct | 2 | ||||
-rw-r--r-- | driver_navcom.c | 6 | ||||
-rw-r--r-- | packet_states.h | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -108,7 +108,7 @@ boolopts = ( ("geostar", True, "Geostar Protocol support"), ("itrax", True, "iTrax hardware support"), ("mtk3301", True, "MTK-3301 support"), - ("navcom", True, "Navcom support"), + ("navcom", True, "Navcom NCT support"), ("oncore", True, "Motorola OnCore chipset support"), ("sirf", True, "SiRF chipset support"), ("superstar2", True, "Novatel SuperStarII chipset support"), diff --git a/driver_navcom.c b/driver_navcom.c index 485573da..8a40fd0b 100644 --- a/driver_navcom.c +++ b/driver_navcom.c @@ -1,5 +1,5 @@ /* - * Driver for Navcom receivers using propietary NCT messages, a binary protocol. + * Driver for Navcom receivers using proprietary NCT messages, a binary protocol. * * Vendor website: http://www.navcomtech.com/ * Technical references: Technical Reference Manual P/N 96-3120001-3001 @@ -772,7 +772,7 @@ static gps_mask_t handle_0x86(struct gps_device_t *session) * * By observation, the satellite is in use if this status is 0xff. * But errors here are not very serious, all they can affect is - * the coverance-matrix calculation for error modeling, + * the coverance-matrix calculation for error modeling. */ stat = getub(buf, n + 1); log_channel = getub(buf, n + 2); @@ -1287,7 +1287,7 @@ static bool navcom_speed(struct gps_device_t *session, /* *INDENT-OFF* */ const struct gps_type_t driver_navcom = { - .type_name = "Navcom", /* full name of type */ + .type_name = "Navcom NCT", /* full name of type */ .packet_type = NAVCOM_PACKET, /* lexer packet type */ .flags = DRIVER_STICKY, /* remember this */ .trigger = NULL, /* none */ diff --git a/packet_states.h b/packet_states.h index 28b8272f..4158445f 100644 --- a/packet_states.h +++ b/packet_states.h @@ -105,7 +105,7 @@ #endif /* ITRAX_ENABLE */ #ifdef NAVCOM_ENABLE - NAVCOM_EXPECTED, /* expecting Navcom packet */ + NAVCOM_EXPECTED, /* expecting Navcom NCT packet */ NAVCOM_LEADER_1, /* saw leading 0x02 */ NAVCOM_LEADER_2, /* saw leading 0x99 */ NAVCOM_LEADER_3, /* saw leading 0x66 */ |