Difference between revisions of "GPS u-blox"
From ArmadeusWiki
(Created page with "Some Armadeus/Opossom SOM are shipped with [https://www.u-blox.com/en u-blox chips] for GPS functionnality; as these chips have custom tools, they will be detailed here. ==To...") |
(→Usage) |
||
Line 52: | Line 52: | ||
<pre class="apf"> | <pre class="apf"> | ||
# ubxtool -e/-d GALILEO | # ubxtool -e/-d GALILEO | ||
+ | </pre> | ||
+ | * Shows Galileo time status (galTOW): | ||
+ | <pre class="apf"> | ||
+ | # ubxtool -p NAV-TIMEGAL | ||
</pre> | </pre> | ||
* Activate/deactivate GPS: | * Activate/deactivate GPS: |
Revision as of 15:34, 13 January 2020
Some Armadeus/Opossom SOM are shipped with u-blox chips for GPS functionnality; as these chips have custom tools, they will be detailed here.
Tools installation
- To benefit from u-blox custom features, you have to activate them in gpsd:
$ make menuconfig
Target packages ---> ... Hardware handling ---> .. [*] gpsd ---> .. [*] install python tools (ubxtool, python-gps, etc...) *** Protocols *** ... [*] UBX
- rebuild rootfs, reflash, you know ;-)
Usage
- In following examples $SERIAL_DEV is the serial port device on which the GPS is connected (/dev/ttyXXX)
- Show current NMEA config/version:
# ubxtool -p CFG-NMEA
- Activate NMEA 4.1 protocol (on NEO-8M):
# gpsctl -t u-blox -D 5 -b -x "\x06\x17\x00\x41\x00\x02\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00" $SERIAL_DEV
- Switch u-blox module to UBX binary frame format:
# gpsctl -t u-blox -b $SERIAL_DEV
- Switch u-blox module to ascii NMEA frame format:
# gpsctl -t u-blox -n $SERIAL_DEV
- Show current GNNS config:
# ubxtool -p CFG-GNSS
- Activate/deactivate Glonass:
# ubxtool -e/-d GLONASS
- Activate/deactivate Galileo:
# ubxtool -e/-d GALILEO
- Shows Galileo time status (galTOW):
# ubxtool -p NAV-TIMEGAL
- Activate/deactivate GPS:
# ubxtool -e/-d GPS
- Save config to chip (if possible):
# ubxtool -p SAVE