Utility for setting RTC based on gpsd time
Go to file
Oliver Smith 68bcf620b4 Fix build against gpsd >= 3.20
The previous version was written against gpsd 3.10. This also makes the
date more precise, previously microseconds were set to 0.

GPSD_API_MAJOR_VERSION is defined in gps.h, together with a changelog:
https://gitlab.com/gpsd/gpsd/-/blob/master/include/gps.h

Use Pau's compat_gps_read() from:
https://gerrit.osmocom.org/c/osmocom-bb/+/11609

Related: SYS#6222
2022-12-14 19:25:01 +01:00
.gitignore gitignore: new file 2022-12-14 12:43:37 +01:00
COPYING add GPLv2 2013-04-10 13:17:35 +02:00
Makefile add gps-watchdog 2015-08-05 09:44:45 +02:00
gps-watchdog.c Fix build against gpsd >= 3.20 2022-12-14 19:25:01 +01:00
gpsdate.c Fix build against gpsd >= 3.20 2022-12-14 19:25:01 +01:00
gpsdate.init gpsdate.init: Use GPSDATE_{HOST,PORT} from /etc/default/gpsdate 2016-08-01 14:00:23 +02:00
gpsdate.service gpsdate.service: Install correctly when service is enabled 2017-07-24 18:54:36 +02:00