[Git][NTPsec/ntpsec][master] Address GitLab issue #58: GPSD_JSON doc does not match the code.

Eric S. Raymond gitlab at mg.gitlab.com
Sat Aug 12 12:54:47 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
c5f4fe1a by Eric S. Raymond at 2017-08-12T08:38:14-04:00
Address GitLab issue #58: GPSD_JSON doc does not match the code.

Tandem mode is now briefly documented and a configuratuion example is given.

- - - - -


1 changed file:

- docs/driver_gpsd.txt


Changes:

=====================================
docs/driver_gpsd.txt
=====================================
--- a/docs/driver_gpsd.txt
+++ b/docs/driver_gpsd.txt
@@ -137,6 +137,9 @@ from _GPSD_ and needs the corresponding master unit to
 work^link:#fn1[1]^. [[fn1bl]]Use the 'noselect' keyword on the primary unit if
 you are not interested in its data.
 
+The way to use a secondary clock unit is to pair it with a primary in
+"tandem mode": see the configuration examples below.
+
 The secondary unit employs the usual precautions before feeding clock
 samples:
 
@@ -244,11 +247,13 @@ control loop. You do not want to use sloppy data for that.
 == Configuration Example ==
 
 ----------------------------------------------------------------------------
-refclock gpsd mode 2
+# Conentional mode 2 on unit 0, IBD only, experimental automatic mode
 refclock gpsd mode 2 path /dev/tty.usbserial
-----------------------------------------------------------------------------
 
-This is configured for the experimental automatic mode.
+# Tandem mode, IBD and PPS from unit 0
+server gpsd unit 0 minpoll 4 maxpoll 4 time1 0.142
+server gpsd unit 128 minpoll 4 maxpoll 4 time1 0.001500
+----------------------------------------------------------------------------
 
 == Known bugs ==
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c5f4fe1a376e7694f055ea9435859d1a273152bf

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c5f4fe1a376e7694f055ea9435859d1a273152bf
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170812/945d7b06/attachment.html>


More information about the vc mailing list