From 998279d72591027f0a203081f9d6a4f04b89547f Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 28 May 2019 12:47:50 -0700 Subject: ubxtool: Add decode for UBX-RXM-RLM No way to test w/o a SAR report being broadcast... --- ubxtool | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'ubxtool') diff --git a/ubxtool b/ubxtool index e211da66..e6aa983e 100755 --- a/ubxtool +++ b/ubxtool @@ -3713,6 +3713,29 @@ class ubx(object): i += 1 return s + def rxm_rlm(self, buf): + """UBX-RXM-RLM decode, Galileo SAR RLM report""" + m_len = len(buf) + + if 16 > m_len: + return " Bad Length %s" % m_len + + # common to Short-RLM and Long-RLM report + u = struct.unpack_from('