#gps #timing #galileo #navigation

app ubx2cggtts

CGGTTS collection from UBlox GNSS receiver

1 unstable release

0.0.1-alpha Dec 29, 2024

#48 in Geospatial

Download history 73/week @ 2024-12-25 16/week @ 2025-01-01

89 downloads per month

MPL-2.0 license

25KB
321 lines

ubx2cggtts

ubx2cggtts is a simple command line tool to connect to a U-Blox GNSS receiver and collect CGGTTS files.

CGTTTS

Refer to this page for more information about CGGTTS.

Install the tool

Install by Cargo:

cargo install ubx2cggtts

Or, build it from sources:

cargo build -r

no-std

Although not available yet, this tool will eventually have a no-std option for easy cross-compilation and embedding even on tiny systems.

Getting started

A few basic options exist to connect your Ublox:

  • --port,-p to specify the serial port name
  • --baud,-b to specify the baud rate (default: 9600). You need to select the one that was configured in your Ublox-device

Refer to ubx2cggtts --help for more information.

By default, this tool uses the BIPM scheduling table.

Deploy with basic setup:

ubx2cggtts -p /dev/ttyUSB0

Ublox (re-)configuration

You can use ubx2cggtts to reconfigure your Ublox. For example to increate the selected baud-rate. To do so, use the configure keyword, which accepts several options, most of the serial port options exist here for example.

For example, let's say your device is currently configured for 9600 B/s.
Deploy ubx2cggtts -b 9600 to program correctly, and use configure -b 115200 to program a new baud rate:

ubx2cggtts -p /dev/ttyUSB0 -b 9600 configure -b 115200

# Connecting with previous parameters now fails
ubx2cggtts -p /dev/ttyUSB0 -b 9600

# Augment to new baud rate
ubx2cggtts -p /dev/ttyUSB0 -b 115200

Dependencies

~10–20MB
~288K SLoC