[ntp:questions] ntpd preplug for detachable gps or testing

Uwe Klein uwe at klein-habertwedt.de
Tue May 17 15:35:44 UTC 2011


I needed to sync a box to gps/nmea.

But GPS and all other incoming nmea messages pass
via socket connection into the main app.

So I wrote a "pre"plug for ntp that indirects the
gps tty into a pty.
i.e. the pty behaves like the tty ( with attached gps )

nmea sentences are handed in via udp socket
from either another app or via a helper script that
opens and reads a "real" gps device when available.



More information about the questions mailing list