gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

✘u-blox 9 get Configuration Items by Group


From: Gary E. Miller
Subject: ✘u-blox 9 get Configuration Items by Group
Date: Wed, 13 May 2020 13:42:11 -0700

Yo All!

I just added groups to the Configuration Item get (-g).

You can get (susually) all the items in a configuration group this way:

# ubxtool -g CFG-SIGNAL
[...]
UBX-CFG-VALGET:
 version 1 layer 0 position 0
  layers (ram)
    item CFG-SIGNAL-GPS_L1CA_ENA/0x10310001 val 1
    item CFG-SIGNAL-SBAS_L1CA_ENA/0x10310005 val 1
    item CFG-SIGNAL-GAL_E1_ENA/0x10310007 val 1
    item CFG-SIGNAL-BDS_B1_ENA/0x1031000d val 1
    item CFG-SIGNAL-QZSS_L1CA_ENA/0x10310012 val 1
    item CFG-SIGNAL-GLO_L1_ENA/0x10310018 val 0
    item CFG-SIGNAL-GPS_ENA/0x1031001f val 1
    item CFG-SIGNAL-SBAS_ENA/0x10310020 val 1
    item CFG-SIGNAL-GAL_ENA/0x10310021 val 1
    item CFG-SIGNAL-BDS_ENA/0x10310022 val 1
    item CFG-SIGNAL-QZSS_ENA/0x10310024 val 1
    item CFG-SIGNAL-GLO_ENA/0x10310025 val 1

The ram layer is the current working configuration.  That shows you
which signals, from which constellations, are enabled.

If you wanted to disable QZSS, then your would do

# ubxtool -z CFG-SIGNAL-QZSS_ENA,0 

You can see all the new get all options this way:

# ubxtool -h -v 3 | fgrep "get all"
        get all CFG-GEOFENCE
        get all CFG-HW
        get all CFG-I2C
        get all CFG-I2CINPROT
        get all CFG-I2COUTPROT
        get all CFG-INFMSG
        get all CFG-ITFM
        get all CFG-LOGFILTER
        get all CFG-MOT
        get all CFG-MSGOUT
        get all CFG-NAVHPG
        get all CFG-NAVSPG
        get all CFG-NMEA
        get all CFG-ODO
        get all CFG-ODO
        get all CFG-RINV
        get all CFG-SBAS
        get all CFG-SIGNAL
        get all CFG-SPI
        get all CFG-SPIINPROT
        get all CFG-SPIOUTPROT
        get all CFG-TMODE
        get all CFG-TP
        get all CFG-UART1
        get all CFG-UART1INPROT
        get all CFG-UART1OUTPROT
        get all CFG-UART2
        get all CFG-UART2INPROT
        get all CFG-UART2OUTPROT
        get all CFG-USB
        get all CFG-USBINPROT
        get all CFG-USBOUTPROT

A lot of cool stuff in there.  Some of it undocumented.

Like all new features, I expect to hear of new bugs and requests.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpNqeLpc2B8p.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]