xref: /freebsd/contrib/ntp/html/drivers/driver32.html (revision 416ba5c74546f32a993436a99516d35008e9f384)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4
5	<head>
6		<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
7		<title>Chrono-log K-series WWVB receiver</title>
8		<link href="scripts/style.css" type="text/css" rel="stylesheet">
9	</head>
10
11	<body>
12		<h3>Chrono-log K-series WWVB receiver</h3>
13<p>Last update:
14  <!-- #BeginDate format:En2m -->21-Oct-2010  23:44<!-- #EndDate -->
15  UTC</p>
16		<hr>
17		<h4>Synopsis</h4>
18		<p>Address: 127.127.32.<i>u</i><br>
19			Reference ID: <tt>CHRONOLOG</tt><br>
20			Driver ID: <tt>CHRONOLOG</tt><br>
21			Serial Port: <tt>/dev/chronolog<i>u</i></tt>; 2400 bps, 8-bits, no parity<br>
22			<br>
23			Features: <tt>(none)</tt></p>
24		<h4>Description</h4>
25		<p>This driver supports the Chrono-log K-series WWVB receiver. This is a very old receiver without provisions for leap seconds, quality codes, etc. It assumes output in the local time zone, and that the C library mktime()/localtime() routines will correctly convert back and forth between local and UTC. There is a hack in the driver for permitting UTC, but it has not been tested.</p>
26		<p>Most of this code is originally from refclock_wwvb.c with thanks. It has been so mangled that wwvb is not a recognizable ancestor.</p>
27		<pre>
28Timecode format: Y yy/mm/ddCLZhh:mm:ssCL
29Y - year/month/date line indicator
30yy/mm/dd -- two-digit year/month/day
31C - \r (carriage return)
32L - \n (newline)
33Z - timestamp indicator
34hh:mm:ss - local time
35</pre>
36		<hr>
37		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
38	</body>
39
40</html>
41