/contrib/ntp/html/drivers/driver33.html

https://bitbucket.org/freebsd/freebsd-head/ · HTML · 35 lines · 31 code · 4 blank · 0 comment · 0 complexity · 7b1349cbc50915ad41810028924ea7b3 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  5. <title>Dumb Clock</title>
  6. <link href="scripts/style.css" type="text/css" rel="stylesheet">
  7. </head>
  8. <body>
  9. <h3>Dumb Clock</h3>
  10. <hr>
  11. <h4>Synopsis</h4>
  12. <p>Address: 127.127.33.<i>u</i><br>
  13. Reference ID: <tt>DUMBCLOCK</tt><br>
  14. Driver ID: <tt>DUMBCLOCK</tt><br>
  15. Serial Port: <tt>/dev/dumbclock<i>u</i></tt>; 9600 bps, 8-bits, no parity<br>
  16. Features: <tt>(none)</tt></p>
  17. <h4>Description</h4>
  18. <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>
  19. <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>
  20. <pre>
  21. Timecode format: hh:mm:ssCL
  22. hh:mm:ss - local time
  23. C - \r (carriage return)
  24. L - \n (newline)
  25. </pre>
  26. <hr>
  27. <!-- hhmts start -->Last modified: Sun Feb 14 12:07:01 EST 1999 <!-- hhmts end -->
  28. <hr>
  29. <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
  30. </body>
  31. </html>