diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-27 18:42:15 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-27 18:42:15 -0400 |
commit | 8e081d14aeb9419b57b34126570644037081f24a (patch) | |
tree | 3143a5b1688ae44a87244831ce75554d96a5d31b /contrib/README | |
parent | 6e83e35d584d22c73a885989d867ef84ff89377e (diff) | |
download | gpsd-8e081d14aeb9419b57b34126570644037081f24a.tar.gz |
Add contrib/ppscheck utility to test for 1PPS without a lot of code complexity.
Diffstat (limited to 'contrib/README')
-rw-r--r-- | contrib/README | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/README b/contrib/README index 71dc8412..133c3875 100644 --- a/contrib/README +++ b/contrib/README @@ -45,3 +45,10 @@ to create a snapshot of the current sat view. ntpoffset generate an estimate of your GPS's offset from a peerstats file. For instructions on how to use this script, see the GPSD Time Service HOWTO in this distrubution. + +ppscheck watches a specified serial device for changes in handshake lines +CD, RI, and CTS by running ioctl(...., TIOCMIWAIT, ...) in a loop. When it +sees a state change it emits a timestamped line of output dumping the state +of the handshake signals. It's useful for checking whether a device is +emitting 1PPS. + |