summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool7
1 files changed, 4 insertions, 3 deletions
diff --git a/ubxtool b/ubxtool
index 02ae4903..4d130482 100755
--- a/ubxtool
+++ b/ubxtool
@@ -3185,10 +3185,10 @@ class ubx(object):
return " Bad Length %s" % m_len
u = struct.unpack_from('<BBBBLlllbbbbL', buf, 0)
- return (' version %u reserved1 %u %u %u iTOW:%d\n'
+ return (' version %u reserved1 %u %u %u iTOW %u\n'
' ecef: X %d Y %d Z %d\n'
' ecefHP: X %d Y %d Z %d\n'
- ' reserved2 %u pAcc:%d' % u)
+ ' reserved2 %u pAcc %u' % u)
def nav_hpposllh(self, buf):
"""UBX-NAV-HPPOSLLH decode"""
@@ -3215,7 +3215,7 @@ class ubx(object):
return " Bad Length %s" % m_len
u = struct.unpack_from('<LlllL', buf, 0)
- return ' iTOW:%u ms, ecefX:%d cm Y:%d cm Z:%d cm\n pAcc:%d cm' % u
+ return ' iTOW %u ecefX %d Y %d Z %d pAcc %u' % u
def nav_posllh(self, buf):
"""UBX-NAV-POSLLH decode"""
@@ -3262,6 +3262,7 @@ class ubx(object):
5: "Inactive",
}
+ # protver 27+
nav_pvt_carr = {
0: "None",
1: "Floating",