From 31df322f8467bf297ad19d668c11410da3236dfd Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 28 May 2019 12:31:10 -0700 Subject: ubxtool: Add decode for CFG-RXM-RTCM. No way to poll, happens on RTCM input. --- ubxtool | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'ubxtool') diff --git a/ubxtool b/ubxtool index c69f99b7..e211da66 100755 --- a/ubxtool +++ b/ubxtool @@ -3713,6 +3713,19 @@ class ubx(object): i += 1 return s + def rxm_rtcm(self, buf): + """UBX-RXM-RTCM decode, RTCM Input Status""" + m_len = len(buf) + if 0 == m_len: + return " Poll request" + + if 8 > m_len: + return " Bad Length %s" % m_len + + u = struct.unpack_from('