summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2016-04-13 05:18:37 -0400
committerEric S. Raymond <esr@thyrsus.com>2016-04-13 05:18:57 -0400
commitb57ba43ea7a7d48539141fdc56ecc96e9845c633 (patch)
tree93c09c52d2fb84b19d51be005a1637464ffd9b04 /drivers.c
parent30b68f054913c4c17a5591c7d896b9be73a4107b (diff)
downloadgpsd-b57ba43ea7a7d48539141fdc56ecc96e9845c633.tar.gz
Add note about the MTK3339.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/drivers.c b/drivers.c
index 3ce1f26d..85b12a9a 100644
--- a/drivers.c
+++ b/drivers.c
@@ -1055,10 +1055,10 @@ static const struct gps_type_t driver_garmintxt = {
#ifdef MTK3301_ENABLE
/**************************************************************************
*
- * MediaTek MTK-3301 and 3329
+ * MediaTek MTK-3301, 3329, 3339
*
- * OEMs for several GPS vendors, notably including Garmin and FasTrax.
- * Website at <http://www.mediatek.com/>.
+ * OEMs for several GPS vendors, notably including Garmin, FasTrax, Trimble,
+ * and AdaFruit. Website at <http://www.mediatek.com/>.
*
* The Trimble Condor appears to be an MTK3329. It behaves as an MTK3301
* and positively acknowledges all 3301 sentences as valid. It ignores $PMTK
@@ -1066,6 +1066,15 @@ static const struct gps_type_t driver_garmintxt = {
* not have power-save mode and ignores $PMTK320. For $PMTK314 it silently
* ignores periodic enabling of messages that aren't supported.
*
+ * From its datasheet the MTK3339 seems to add QZSS support not present in
+ * earlier versions. The data sheet says it has 66 channels, which mkes
+ * sense given the multi-constellation capability. The channel count
+ * in the driver is never used by the NMEA driver so leaving the lower MTK3301
+ * value in there is OK.
+ *
+ * The Adafruit GPS HAT for the Raspberry Pi is an MTK3339. It works with this
+ * driver; in fact AdaFruit's overview page for the product features GPSD.
+ *
**************************************************************************/
static void mtk3301_event_hook(struct gps_device_t *session, event_t event)