+---
+* [Bug 3694] NMEA refclock appears to unnecessarily require location in messages
+ - misleading title; essentially a request to ignore the receiver status.
+ Added a mode bit for this. <perlinger@ntp.org>
+
---
(4.2.8p15) 2020/06/23 Released by Harlan Stenn <stenn@ntp.org>
<body>
<h3>Generic NMEA GPS Receiver</h3>
<p>Last update:
- <!-- #BeginDate format:En2m -->13-Jan-2020 07:12<!-- #EndDate -->
+ <!-- #BeginDate format:En2m -->17-Oct-2020 16:00<!-- #EndDate -->
UTC</p>
<hr>
<h4>Synopsis</h4>
See <a href="#datetrust">below</a>. <strong>Caveat:</strong>
This (hitherto undocumented) bit has moved!
</td>
+ </tr><tr>
+ <td align="center">19</td>
+ <td align="center">524288</td>
+ <td align="center">0x80000</td>
+ <td>Ignore receiver status, assume time is always good as long
+ as it is present at all. A possible option for receivers
+ with a good hold-over characteristic, but most likely
+ harmful in general. Use at own risk.
+ </td>
</tr>
</tbody></table>
#define NMEA_EXTLOG_MASK 0x00010000U
#define NMEA_QUIETPPS_MASK 0x00020000U
#define NMEA_DATETRUST_MASK 0x00040000U
+#define NMEA_IGNSTATUS_MASK 0x00080000U
#define NMEA_PROTO_IDLEN 4 /* tag name must be at least 4 chars */
#define NMEA_PROTO_MINLEN 6 /* min chars in sentence, excluding CS */
return;
}
+ /* ignore receiver status? [bug 3694] */
+ if (peer->ttl & NMEA_IGNSTATUS_MASK) { /* assume always good? */
+ pp->leap = LEAP_NOWARNING;
+ }
+
/* check clock sanity; [bug 2143] */
if (pp->leap == LEAP_NOTINSYNC) { /* no good status? */
checkres = CEVNT_PROP;