summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-17 16:45:10 -0700
committerGary E. Miller <gem@rellim.com>2019-04-17 16:45:10 -0700
commit2a7aec0ded839fac0acc8806d56069cdbf930a3e (patch)
treee8a1e1fa45286d3ef067c3173d0714cd1bae7335 /ubxtool
parent9c3da92f8b70b11dc7f6226437daca4339a98573 (diff)
downloadgpsd-2a7aec0ded839fac0acc8806d56069cdbf930a3e.tar.gz
ubxtool: add RTCM3 class and IDs
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool15
1 files changed, 15 insertions, 0 deletions
diff --git a/ubxtool b/ubxtool
index 48e0e659..68b020e4 100755
--- a/ubxtool
+++ b/ubxtool
@@ -2858,6 +2858,20 @@ class ubx(object):
0x61: {'str': 'EOE', 'dec': nav_eoe, 'name': 'UBX-NAV-EOE'},
}
+ # used for RTCM3 rate config
+ rtcm_ids = {5: {'str': '1005'},
+ 0x4a: {'str': '1074'},
+ 0x4d: {'str': '1077'},
+ 0x54: {'str': '1084'},
+ 0x57: {'str': '1087'},
+ 0x61: {'str': '1097'},
+ 0x7c: {'str': '1124'},
+ 0x7f: {'str': '1127'},
+ 0xe6: {'str': '1230'},
+ 0xfd: {'str': '4072-1'},
+ 0xfe: {'str': '4072-0'},
+ }
+
# used for NMEA rate config
nmea_ids = {0: {'str': 'GGA'},
1: {'str': 'GLL'},
@@ -3144,6 +3158,7 @@ class ubx(object):
0x27: {'str': 'SEC', 'ids': sec_ids},
0x28: {'str': 'HNR'},
0xf0: {'str': 'NMEA', 'ids': nmea_ids},
+ 0xf5: {'str': 'RTCM', 'ids': rtcm_ids},
}
def class_id_s(self, m_class, m_id):