86c5720fb44cb764aab663f84d5edf049b50e0e8
gpsll
Using Rust and the following packages
[dependencies]
serialport = "4.2"
nmea = {version = "0.6", features = ["GGA"]}
clap = { version = "4", features = ["derive"] }
chrono = "0.4.45"
I wanted a simple way to export latitude and longitude from a GPS USB dongle to the terminal.
Usage
A tool for echoing latitude and longitude from a GPS USB dongle.
Usage: gpsll [OPTIONS]
Options:
-c, --com <COM> COM port
-h, --help Print help
-V, --version Print version
Matt@computer % gpsll -c "/dev/tty.usbmodem1301"
Reading from "/dev/tty.usbmodem1301"
2026-09-07 15:14:43, 47.11, -97.22
2026-09-07 15:14:44, 47.11, -97.22
2026-09-07 15:14:46, 47.11, -97.22
2026-09-07 15:14:48, 47.11, -97.22
2026-09-07 15:14:49, 47.11, -97.22
2026-09-07 15:14:50, 47.11, -97.22
Acknowledgments
- Inspiration from https://github.com/FPyC639/Rust_GPS_GUI_COM_Port_Reader.
Description
Languages
Rust
100%