From 8db83b355998f6aeeec98434ecd71399feaeadf0 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 27 May 2019 16:04:29 -0700 Subject: ubxtool: Add poll and decode for UBX-MON-MSGPP --- ubxtool | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'ubxtool') diff --git a/ubxtool b/ubxtool index 13f803fc..804ca57b 100755 --- a/ubxtool +++ b/ubxtool @@ -2590,6 +2590,24 @@ class ubx(object): i += 1 return s + def mon_msgpp(self, buf): + """UBX-MON-MSGPP decode""" + m_len = len(buf) + if 0 == m_len: + return " Poll request" + + if 120 > m_len: + return " Bad Length %s" % m_len + + s = '' + for i in range(1, 6): + u = struct.unpack_from('