summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-15 19:59:26 -0700
committerGary E. Miller <gem@rellim.com>2019-04-15 19:59:26 -0700
commitc079a53ffcb661b276635bf42365dd94119f07e6 (patch)
treeb5bfe3c97273e22f7ffb90563cc382bc24e4ea26 /ubxtool
parent05d9509640035b8dff407ec6ada0dc4c59df0be8 (diff)
downloadgpsd-c079a53ffcb661b276635bf42365dd94119f07e6.tar.gz
ubxtool: Comment that UBX-CFG-CFG changed in 29
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool6
1 files changed, 5 insertions, 1 deletions
diff --git a/ubxtool b/ubxtool
index 54a51bb4..b7c66ada 100755
--- a/ubxtool
+++ b/ubxtool
@@ -3513,15 +3513,17 @@ class ubx(object):
# Save: save_clear = 0
# Clear: save_clear = 1
- # basic configs alays available to change:
+ # basic configs always available to change:
# ioPort, msgConf, infMsg, navConf, rxmConf
cfg1 = 0x1f
# senConf, rinvConf, antConf, logConf
cfg2 = 0x0f
+
m_data = bytearray(13)
# clear
+ # as of protver 27, any bit in clearMask clears all
if 0 == save_clear:
# saving
m_data[0] = 0
@@ -3534,6 +3536,7 @@ class ubx(object):
m_data[3] = 0 #
# save
+ # as of protver 27, any bit in saveMask saves all
if 0 == save_clear:
# saving
m_data[4] = cfg1
@@ -3546,6 +3549,7 @@ class ubx(object):
m_data[7] = 0 #
# load
+ # as of protver 27, any bit in loadMask loads all
if False and 0 == save_clear:
# saving
m_data[8] = 0