|MSTS(4)||Device Drivers Manual||MSTS(4)|
The line discipline is enabled by the following sequence:
#include <sys/ioctl.h> int ldisc = MSTSDISC, fildes; ... ioctl(fildes, TIOCSETD, &ldisc);
The byte stream is unaltered by the line discipline which maintains a timedelta sensor using the MSTS data. The timedelta sensor will appear as msts* in the list of sensors and the delta (in nanoseconds) between the received time information and the local time can be accessed through the sysctl(8) interface.
The Meinberg radio clocks use the following default baudrates:
The status of a second sensor is used to report the status of the device itself:
mstsinterface first appeared in OpenBSD 4.3.
mstsline discipline was written by Marc Balmer <firstname.lastname@example.org>.
|January 15, 2015||OpenBSD-current|