summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-16 21:19:15 -0700
committerGary E. Miller <gem@rellim.com>2019-04-16 21:19:15 -0700
commitc09e74489e5bc507b684a771328a4c56d5fab042 (patch)
treec604302f6b1f0f7c2011590632684b03814d5cdf /ubxtool
parentbb540324fab03bd5f5417daa9a16fafa1ebba909 (diff)
downloadgpsd-c09e74489e5bc507b684a771328a4c56d5fab042.tar.gz
ubxtool: Change "-p VER" -> "-p MON-VER"
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool11
1 files changed, 3 insertions, 8 deletions
diff --git a/ubxtool b/ubxtool
index 944bf03c..5bae0528 100755
--- a/ubxtool
+++ b/ubxtool
@@ -3727,11 +3727,6 @@ class ubx(object):
m_data = bytearray(0)
gps_model.gps_send(0x0a, 0x02, m_data)
- def send_mon_ver(self):
- """UBX-MON-VER get versions"""
- m_data = bytearray(0)
- gps_model.gps_send(0x0a, 0x04, m_data)
-
def send_nav_posecef(self):
"""UBX-NAV-POSECEF, poll ECEF position"""
m_data = bytearray(0)
@@ -3913,6 +3908,9 @@ class ubx(object):
# UBX-CFG-NAV5 set Dynamic Platform Model
"MODEL": {"command": send_cfg_nav5_model,
"help": "UBX-CFG-NAV5 set Dynamic Platform Model"},
+ # poll UBX-MON-VER
+ "MON-VER": {"command": send_poll, "opt": [0x0a, 0x04],
+ "help": "UBX-MON-VER get GPS version"},
# UBX-NAV-CLOCK, poll Clock Solution
"NAV-CLOCK": {"command": send_poll, "opt": [0x01, 0x22],
"help": "UBX-NAV-CLOCK poll Clock Solution"},
@@ -3952,9 +3950,6 @@ class ubx(object):
"WARMBOOT": {"command": send_cfg_rst,
"help": "UBX-CFG-RST warmboot the GPS",
"opt": 1},
- # poll UBX-MON-VER
- "VER": {"command": send_mon_ver,
- "help": "UBX-MON-VER get GPS version"},
}
# end class ubx