diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-20 15:00:04 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-20 15:00:04 -0700 |
commit | 24ca7ef6452c64f4366a06e7a660804353c744d0 (patch) | |
tree | da282c990b7336a73d62d4d314235826344d4de0 /drivers.c | |
parent | 027daf772077b3a6e46022df8fca9c2d1bcb1f89 (diff) | |
download | gpsd-24ca7ef6452c64f4366a06e7a660804353c744d0.tar.gz |
Comment cleanup on PMTK
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1067,7 +1067,7 @@ static const struct gps_type_t driver_garmintxt = { * The Trimble Condor appears to be an MTK3329. It behaves as an MTK3301 * and positively acknowledges all 3301 sentences as valid. It ignores $PMTK * sentence fields that are not implemented in the Trimble Condor. It does - * not have power0save mode abd ignores $PMTK320. For $PMTK314 it silently + * not have power-save mode and ignores $PMTK320. For $PMTK314 it silently * ignores periodic enabling of messages that aren't supported. * **************************************************************************/ @@ -1097,12 +1097,16 @@ static void mtk3301_event_hook(struct gps_device_t *session, event_t event) return; if (event == event_triggermatch) { (void)nmea_send(session, "$PMTK320,0"); /* power save off */ - (void)nmea_send(session, "$PMTK300,1000,0,0,0.0,0.0"); /* Fix interval */ + (void)nmea_send(session, "$PMTK300,1000,0,0,0.0,0.0");/* Fix interval */ (void)nmea_send(session, "$PMTK314,0,1,0,1,1,5,1,1,0,0,0,0,0,0,0,0,0,1,0"); (void)nmea_send(session, "$PMTK301,2"); /* DGPS is WAAS */ (void)nmea_send(session, "$PMTK313,1"); /* SBAS enable */ - (void)nmea_send(session, "$PMTK424"); /* Query PPS pulse width */ + + /* PMTK_API_Q_OUTPUT_CTL - Query PPS pulse width - Trimble only? + * http://trl.trimble.com/docushare/dsweb/Get/Document-482603/CONDOR_UG_2C_75263-00.pdf * + * badly documented */ + (void)nmea_send(session, "$PMTK424"); } } |