From cabba5e1408433cad19b0551653629790d39d088 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 27 May 2019 18:24:31 -0700 Subject: ubxtool: Add poll and decode for UBX-CFG-INF. Not as verbose as it could be... --- ubxtool | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) (limited to 'ubxtool') diff --git a/ubxtool b/ubxtool index 7e43bb74..737d44de 100755 --- a/ubxtool +++ b/ubxtool @@ -1892,7 +1892,7 @@ class ubx(object): if 0 == m_len: return "Poll request" - if m_len < 4: + if 4 > m_len: return "Bad Length %d" % m_len u = struct.unpack_from('