diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-11 13:22:30 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-11 13:22:30 -0700 |
commit | bbce88a13983d8616ba2f79f0d6ac823a9e7920f (patch) | |
tree | f14f747a9eb329073342c34937d73b31005a9094 /ubxtool | |
parent | d0ff99303da8b0048d48c2cd77843df469f3f2d3 (diff) | |
download | gpsd-bbce88a13983d8616ba2f79f0d6ac823a9e7920f.tar.gz |
ubxtool: Tweaks to CFG-NAV5 decode.
Diffstat (limited to 'ubxtool')
-rwxr-xr-x | ubxtool | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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): |