From d5838582557c1bdaf4a72547db5ed6d6d99120bf Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Wed, 29 May 2019 20:11:22 -0700 Subject: ubxtool: Cleanup UBX-CFG-NAVX5. --- ubxtool | 44 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/ubxtool b/ubxtool index 007b7c99..c898cc2a 100755 --- a/ubxtool +++ b/ubxtool @@ -2042,9 +2042,29 @@ class ubx(object): flag_s(u[0] >> 4, self.cfg_nav5_mask))) return s + cfg_navx5_mask1 = { + 4: "minMax", + 8: "minCno", + 0x40: "initial3dfix", + 0x200: "wknRoll", + 0x400: "ackAid", + 0x2000: "ppp", + 0x4000: "aop", + } + + cfg_navx5_mask2 = { + 0x40: "adr", + 0x80: "sigAttenComp", + } + + cfg_navx5_aop = { + 1: "useAOP", + } + def cfg_navx5(self, buf): - """UBX-CFG-NAVX5 decode""" + """UBX-CFG-NAVX5 decode, Navigation Engine Expert Settings""" + # deprecated protver 23+ # length == 20 case seems broken? m_len = len(buf) if 0 == m_len: @@ -2054,14 +2074,24 @@ class ubx(object): return " Bad Length %s" % m_len u = struct.unpack_from('