summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-16 15:44:56 -0700
committerGary E. Miller <gem@rellim.com>2019-04-16 15:44:56 -0700
commitc291e87bc577e434ba5761cb001625fd0d57ffc7 (patch)
tree04ab22bd05be0d78aaf74b05779897ef5c5bb73e /ubxtool
parent323554c68ac3ff7afec76f50f6dcfeb32ccb2746 (diff)
downloadgpsd-c291e87bc577e434ba5761cb001625fd0d57ffc7.tar.gz
ubxtool: Change "-p SVIN" to "-p TIM-SVIN"
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool11
1 files changed, 5 insertions, 6 deletions
diff --git a/ubxtool b/ubxtool
index 318239e2..7f8f97d5 100755
--- a/ubxtool
+++ b/ubxtool
@@ -2187,7 +2187,7 @@ class ubx(object):
while m_len > (8 + (i * 40)):
u = struct.unpack_from('<HHLBBHLBBHHHHHLLL', buf, (8 + (i * 40)))
if u[0] in self.port_ids1:
- name = "%#x (%s)" % (u[0], self.port_ids1[u[0]])
+ name = "%#x (%s)" % (u[0], self.port_ids1[u[0]])
else:
name = "%#x (UNK)" % u[0]
if 0 < i:
@@ -3543,7 +3543,6 @@ class ubx(object):
# senConf, rinvConf, antConf, logConf
cfg2 = 0x0f
-
m_data = bytearray(13)
# clear
@@ -3955,14 +3954,14 @@ class ubx(object):
"SEC-UNIQID": {"command": send_sec_uniqid,
"help": "UBX-SEC-UNIQID poll Unique chip ID"},
# UBX-TIM-SVIN, get survey in data
- "SVIN": {"command": send_tim_svin,
- "help": "UBX-TIM-SVIN get survey in data"},
+ "TIM-SVIN": {"command": send_tim_svin,
+ "help": "UBX-TIM-SVIN get survey in data"},
# UBX-TIM-TM2, get time mark data
"TIM-TM2": {"command": send_tim_tm2,
- "help": "UBX-TIM-TM2 get time mark data"},
+ "help": "UBX-TIM-TM2 get time mark data"},
# UBX-TIM-TP, get time pulse timedata
"TIM-TP": {"command": send_tim_tp,
- "help": "UBX-TIM-TP get time pulse timedata"},
+ "help": "UBX-TIM-TP get time pulse timedata"},
# UBX-CFG-TMODE2, get time mode 2 config
"TMODE2": {"command": send_cfg_tmode2,
"help": "UBX-CFG-TMODE2 get time mode 2 config"},