From 2b98802f78d9e2e0d0d58dba7814a47c3884fe1a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 13 Apr 2010 15:08:56 -0400 Subject: Update writing-a-driver.xml to describe the ntp_offset() method. --- www/writing-a-driver.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'www/writing-a-driver.xml') diff --git a/www/writing-a-driver.xml b/www/writing-a-driver.xml index 73b2ca49..00053795 100644 --- a/www/writing-a-driver.xml +++ b/www/writing-a-driver.xml @@ -17,10 +17,11 @@ 1.9 - 12 Apr 2010 + 13 Apr 2010 er - Updated by esr; added event_triggermatch. + Updated by esr; added event_triggermatch and the new + ntp_offset member. @@ -719,6 +720,13 @@ possible, assemble your packet in session->msgbuflen; this will allow gpsmon to display the control messages it sends for you. + +.ntp_offset points to code to compute +an offset to be added, additionally to that in +ntp.conf (if any) whe shipping time notifications +to NTP. If multiple sentences set TIME_IS, this will differ by +sentence type; it should differ by baud rare, as well. + Details of the driver parser -- cgit v1.2.1