[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
✘ubxtool CLI improvements
From: |
Gary E. Miller |
Subject: |
✘ubxtool CLI improvements |
Date: |
Fri, 29 May 2020 13:09:16 -0700 |
Yo All!
More ubxtool command line improvements.
Previously you could only do one of -d or -e at a time. Now you
can do multiple of -d, -e and -p, at the same time.
So this now works:
$ ubxtool -d BEIDOU -e GLONASS -p CFG-GNSS
ubxtool: disable BEIDOU
sent:
UBX-CFG-GNSS:
msgVer 0 numTrkChHw 0 numTrkChUse 255 numConfigBlocks 1
gnssId 3 TrkCh 2 maxTrCh 16 reserved 0 Flags x00010000
BeiDou B1I
ubxtool: enable GLONASS
sent:
UBX-CFG-GNSS:
msgVer 0 numTrkChHw 0 numTrkChUse 255 numConfigBlocks 1
gnssId 6 TrkCh 8 maxTrCh 14 reserved 0 Flags x00010001
GLONASS L1 enabled
ubxtool: poll CFG-GNSS
sent:
UBX-CFG-GNSS:
Poll request
[...]
UBX-ACK-ACK:
ACK to Class x06 (CFG) ID x3e (GNSS)
UBX-ACK-ACK:
ACK to Class x06 (CFG) ID x3e (GNSS)
UBX-CFG-GNSS:
msgVer 0 numTrkChHw 32 numTrkChUse 32 numConfigBlocks 7
gnssId 0 TrkCh 8 maxTrCh 16 reserved 0 Flags x01010001
GPS L1C/A enabled
gnssId 1 TrkCh 1 maxTrCh 3 reserved 0 Flags x01010000
SBAS L1C/A
gnssId 2 TrkCh 4 maxTrCh 8 reserved 0 Flags x01010000
Galileo E1
gnssId 3 TrkCh 2 maxTrCh 16 reserved 0 Flags x01010000
BeiDou B1I
gnssId 4 TrkCh 0 maxTrCh 8 reserved 0 Flags x03010000
IMES L1
gnssId 5 TrkCh 0 maxTrCh 3 reserved 0 Flags x05010001
QZSS L1C/A enabled
gnssId 6 TrkCh 8 maxTrCh 14 reserved 0 Flags x01010001
GLONASS L1 enabled
UBX-ACK-ACK:
ACK to Class x06 (CFG) ID x3e (GNSS)
[...]
Command line order is ignored. So all -d, then all -e, then all -p
are executed. I'm guessing that is OK?
This was an outgrowth of adding optional arguments to -e commands.
Now you can enable SURVEYIN, and SURVEYIN3, with two optional parameters.
30 is seconds to surveyin, 200000 is desired accuracy in 0.1mm
$ ubxtool -e SURVEYIN,30,200000 -p CFG-TMODE2 -P 22
ubxtool: enable SURVEYIN,30,200000
sent:
UBX-CFG-TMODE2:
timeMode 1 reserved1 0 usage 0x0
ecefXOrLat 0 ecefYOrLon 0 ecefZOrAlt 0
fixedPosAcc 0 svinMinDur 30 svinAccLimit 200000
timeMode (Survey In) flags ()
ubxtool: poll CFG-TMODE2
sent:
UBX-CFG-TMODE2:
Poll request
[...]
UBX-ACK-ACK:
ACK to Class x06 (CFG) ID x3d (TMODE2)
UBX-CFG-TMODE2:
timeMode 1 reserved1 0 usage 0x0
ecefXOrLat -238607546 ecefYOrLon -392219145 ecefZOrAlt 441436431
fixedPosAcc 9617 svinMinDur 30 svinAccLimit 200000
timeMode (Survey In) flags ()
UBX-ACK-ACK:
ACK to Class x06 (CFG) ID x3d (TMODE2)
I'm sure there are bugs, and someone will want more. Bring it on.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpm8VhUruOCg.pgp
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ✘ubxtool CLI improvements,
Gary E. Miller <=