File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / html / drivers / driver33.html
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 1 month ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

    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>Dumb Clock</title>
    8: 		<link href="scripts/style.css" type="text/css" rel="stylesheet">
    9: 	</head>
   10: 
   11: 	<body>
   12: 		<h3>Dumb Clock</h3>
   13: 		<hr>
   14: 		<h4>Synopsis</h4>
   15: 		<p>Address: 127.127.33.<i>u</i><br>
   16: 			Reference ID: <tt>DUMBCLOCK</tt><br>
   17: 			Driver ID: <tt>DUMBCLOCK</tt><br>
   18: 			Serial Port: <tt>/dev/dumbclock<i>u</i></tt>; 9600 bps, 8-bits, no parity<br>
   19: 			Features: <tt>(none)</tt></p>
   20: 		<h4>Description</h4>
   21: 		<p>This driver supports a dumb ASCII clock that only emits localtime at a reliable interval. This has no 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.</p>
   22: 		<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>
   23: 		<pre>
   24: Timecode format: hh:mm:ssCL
   25: hh:mm:ss - local time
   26: C - \r (carriage return)
   27: L - \n (newline)
   28: </pre>
   29: 		<hr>
   30: 		<!-- hhmts start -->Last modified: Sun Feb 14 12:07:01 EST 1999 <!-- hhmts end -->
   31: 		<hr>
   32: 		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
   33: 	</body>
   34: 
   35: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>