Difference between revisions of "GPS u-blox"
From ArmadeusWiki
(→Usage) |
m (→Links) |
||
Line 67: | Line 67: | ||
==Links== | ==Links== | ||
− | * | + | * [https://fossies.org/linux/gpsd/man/ubxtool.1 ubxtool documentation/manual] |
[[Category:GPS]] | [[Category:GPS]] |
Latest revision as of 15:40, 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