summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-11 13:22:30 -0700
committerGary E. Miller <gem@rellim.com>2019-04-11 13:22:30 -0700
commitbbce88a13983d8616ba2f79f0d6ac823a9e7920f (patch)
treef14f747a9eb329073342c34937d73b31005a9094 /ubxtool
parentd0ff99303da8b0048d48c2cd77843df469f3f2d3 (diff)
downloadgpsd-bbce88a13983d8616ba2f79f0d6ac823a9e7920f.tar.gz
ubxtool: Tweaks to CFG-NAV5 decode.
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool5
1 files changed, 3 insertions, 2 deletions
diff --git a/ubxtool b/ubxtool
index f38d5ffb..313645b5 100755
--- a/ubxtool
+++ b/ubxtool
@@ -1651,11 +1651,12 @@ class ubx(object):
if 36 > m_len:
return "Bad Length %s" % m_len
- u = struct.unpack_from('<HBBlLbBHHHHbbbbHHb', buf, 0)
+ u = struct.unpack_from('<HBBlLbBHHHHbbbbHHbBBBBB', buf, 0)
s = (' mask %#x dynModel %u fixmode %d fixedAlt %d FixedAltVar %u\n'
' minElev %d drLimit %u pDop %u tDop %u pAcc %u tAcc %u\n'
' staticHoldThresh %u dgpsTimeOut %u cnoThreshNumSVs %u\n'
- ' cnoThresh %u res %u staticHoldMacDist %u utcStandard %u' % u)
+ ' cnoThresh %u res %u staticHoldMaxDist %u utcStandard %u\n'
+ ' reserved %x %x %x %x %x' % u)
return s
def cfg_navx5(self, buf):