Lines Matching full:gps

2  * refclock_nmea.c - clock driver for an NMEA GPS CLOCK
6 * Updated to add support for Accord GPS Clock
51 * This driver supports NMEA-compatible GPS receivers
67 * GPS sentences other than RMC (the default) may be enabled by setting
75 * bit 3 - enables ZDG (8) - Accord GPS Clock's custom sentence with GPS time
123 * Defining GPZDG to support Accord GPS Clock's custom NMEA
128 * It contains the GPS timestamp valid for next PPS pulse.
131 * 'V' denotes the GPS sync status :
136 * Defining PGRMF for Garmin GPS Fix Data
138 * WN -- GPS week number (weeks since 1980-01-06, mod 1024)
139 * WS -- GPS seconds in week
140 * LS -- GPS leap seconds, accumulated ( UTC + LS == GPS )
144 * The GPS time can be used to get the full century for the truncated
151 #define DEVICE "/dev/gps%d" /* GPS serial device */
156 #define DATE_HOLD 16 /* seconds to hold on provided GPS date */
158 #define REFID "GPS\0" /* reference id */
159 #define DESCRIPTION "NMEA GPS Clock" /* who we are */
181 * isolated from other NTP networks, as it operates in GPS time, not
182 * UTC as is much more common. GPS time is >15 seconds different from
223 DTYP_W10B, /* 10-bit week in GPS epoch */
225 DTYP_WEXT /* extended week in GPS epoch */
252 u_char gps_time; /* use GPS time, not UTC */
262 u_int rejected; /* GPS said not enough signal */
345 * nmea_start - open the GPS devices and initialize data for processing
435 * nmea_shutdown - shut down a GPS clock
495 * GPS serial device /dev/gps$UNIT already opened is used for
645 int warp; /* warp to GPS base date */
735 * Today, most NMEA GPS receivers checksum every sentence. To
755 * $GPZDG provides GPS time not UTC, and the two mix poorly.
762 "%s using GPS time as if it were UTC",
833 /* get time, qualifier and GPS weektime. */
903 /* set the GPS base date, if possible */
1153 * gps_send(fd, cmd, peer) Sends a command to the GPS receiver.
1367 * log. Some NTP operators monitor their NMEA GPS using the change in
1369 * GPS reception and thereby time reported.
1680 * Parse GPS week time info from an NMEA sentence. This info contains
1681 * the GPS week number, the GPS time-of-week and the leap seconds GPS
1746 * See http://home.hiwaay.net/~taylorc/gps/nmea-server/