gpsctl - BYO-NTP/recipes GitHub Wiki

gpsctl is a small cli program maintained by Phil Randal that programs a u-blox based GNSS receiver based on settings in a config file.

Install

apt install -y git
cd
git clone https://github.com/philrandal/gpsctl
cd gpsctl
./build.sh
sudo cp gpsctl /usr/local/bin
sudo cp etc/gpsctl.conf /etc/gpsctl.conf

Configure

curl -o /etc/gpsctl.conf https://byo-ntp.github.io/tools/gpsctl/gpsctl-u8.conf
$EDITOR /etc/gpsctl.conf

Make It So

/usr/local/bin/gpsctl -a -B 115200 --configure_for_timing -vv

References