summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-11 13:14:03 -0700
committerGary E. Miller <gem@rellim.com>2019-04-11 13:14:03 -0700
commitd0ff99303da8b0048d48c2cd77843df469f3f2d3 (patch)
tree37d6f674ae025f4d662a67452043b62d68cf8d94 /ubxtool
parent4cbb3816f1bc9a65ab33367322d6a7bc09a8b39c (diff)
downloadgpsd-d0ff99303da8b0048d48c2cd77843df469f3f2d3.tar.gz
ubxtool: Better formatting for UBX-CFG-GNSS
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool6
1 files changed, 3 insertions, 3 deletions
diff --git a/ubxtool b/ubxtool
index 7b09489e..f38d5ffb 100755
--- a/ubxtool
+++ b/ubxtool
@@ -1599,9 +1599,9 @@ class ubx(object):
s += ("\n gnssId: %s TrkCh: %d maxTrCh: %d reserved: %d"
" Flags: %#02x %02x %02x %02x" %
(s_sat, u[1], u[2], u[3], u[7], u[6], u[5], u[4]))
+ s += '\n '
if sat in (0, 1):
# gps, sbas
- s += '\n '
if u[6] & 0x1:
s += ' L1C/A'
if u[6] & 0x10:
@@ -1609,7 +1609,7 @@ class ubx(object):
if 2 == sat:
# Galileo
if u[6] & 0x1:
- s += ' E1OS'
+ s += ' E1' # formerly E1OS
if u[6] & 0x20:
s += ' E5b'
if 3 == sat:
@@ -1633,7 +1633,7 @@ class ubx(object):
if 6 == sat:
# Glonass
if u[6] & 0x1:
- s += ' L1OF'
+ s += ' L1' # formerly L1OF
if u[6] & 0x10:
s += ' L2'
if u[4] & 0x01: