From 948870c7807f4eaace0ad12f70714b953db83f06 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 29 May 2019 19:04:42 -0700 Subject: ubxtool: Cleanup UBX-NAV-DGPS --- ubxtool | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/ubxtool b/ubxtool index ac8826ee..f20372dc 100755 --- a/ubxtool +++ b/ubxtool @@ -3090,8 +3090,15 @@ class ubx(object): return (' iTOW:%d ms, clkB:%d ns clkD:%d ns/s tAcc:%d ns,' 'fAcc:%d ns/s' % u) + nav_dgps_status = { + 0: "None", + 1: "PR+PRR correction", + } + def nav_dgps(self, buf): """UBX-NAV-DGPS decode, DGPS Data used for NAV""" + + # not present in protver 27+ m_len = len(buf) if 0 == m_len: return " Poll request" @@ -3099,18 +3106,19 @@ class ubx(object): if 16 > m_len: return " Bad Length %s" % m_len - u = struct.unpack_from('> 4) & 1)) return s -- cgit v1.2.1