/contrib/ntp/html/drivers/driver34.html

https://bitbucket.org/freebsd/freebsd-head/ · HTML · 117 lines · 105 code · 12 blank · 0 comment · 0 complexity · 95f2207fb290b7aeeb4cebc69993c40f MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>Ultralink Clock</title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
  6. <link <link href="scripts/style.css" type="text/css" rel="stylesheet"> </HEAD> <BODY> <H3> Ultralink Clock</H3>
  7. <hr>
  8. <h4>Synopsis</h4>
  9. Address: 127.127.34.<i>u</i><br>
  10. Reference ID: <tt>WWVB</tt><br>
  11. Driver ID: <tt>ULINK</tt><br>
  12. Serial Port: <tt>/dev/wwvb<i>u</i></tt>; 9600 bps, 8-bits, no parity<br>
  13. <br>
  14. Features: <tt>(none)</tt>
  15. <h4>Description</h4>
  16. <p>This driver supports the Ultralink Model 325 (replacement for Model 320) RS-232 powered WWVB receiver. PDF specs available on <a href="http://www.ulio.com/">http://www.ulio.com/</a>. This driver also supports the Model 320, 330,331,332 decoders in both polled or continous time code mode.<br>
  17. Leap second and quality are supported.</p>
  18. <p>Most of this code is originally from refclock_wwvb.c with thanks. Any mistakes are mine. Any improvements are welcome.</p>
  19. <hr>
  20. <pre> The Model 325 timecode format is:
  21. &lt;cr&gt;&lt;lf&gt;RQ_1C00LYYYY+DDDUTCS_HH:MM:SSL+5
  22. where:
  23. R = Signal readability indicator, ranging from R1 to R5
  24. Q R1 is unreadable, R5 is best reception
  25. _ = Space
  26. 1 = prev. received data bit, values: 0, 1 ,M or ? unknown
  27. C = Signal reception from (C)olorado or (H)awaii
  28. 0 = Hours since last WWVB time and flag code update, values
  29. 0 00 to 99 (hopefully always 00)
  30. L = HEX A5 if receiver is locked to WWVB, Space if not
  31. YYYY = Year from 2000 to 2099
  32. + = '+' if current year is a leap year, else ' '
  33. DDD = current day in the year from 1 to 365/366
  34. UTC = timezone (always UTC)
  35. S = Daylight savings indicator, (S)TD, (D)ST, (O) transition
  36. into DST, (I) transition out of DST
  37. _ = Space
  38. HH = UTC hour 0 to 23
  39. : = Time delimiter, ':' if synced, Space if not
  40. MM = Minutes of current hour from 0 to 59
  41. : = Time delimiter, ':' if synced, Space if not
  42. SS = Seconds of current minute from 0 to 59
  43. mm = 10's milliseconds of the current second from 00 to 99
  44. L = Leap second pending at end of month, (I)nsert, (D)elete
  45. or Space
  46. +5 = UT1 correction, +/- .1 sec increments
  47. </pre>
  48. <p>Note that Model 325 reports a very similar output like Model 33X series. The driver for this clock is similar to Model 33X behavior. On a unmodified new ULM325 clock, the polling flag (flag1 =1) needs to be set.</p>
  49. <hr>
  50. <pre> The Model 320 timecode format is:
  51. &lt;cr&gt;&lt;lf&gt;SQRYYYYDDD+HH:MM:SS.mmLT&lt;cr&gt;
  52. where:
  53. S = 'S' -- sync'd in last hour, '0'-'9' - hours x 10 since last update, else '?'
  54. Q = Number of correlating time-frames, from 0 to 5
  55. R = 'R' -- reception in progress, 'N' -- Noisy reception, ' ' -- standby mode
  56. YYYY = year from 1990 to 2089
  57. DDD = current day from 1 to 366
  58. + = '+' if current year is a leap year, else ' '
  59. HH = UTC hour 0 to 23
  60. MM = Minutes of current hour from 0 to 59
  61. SS = Seconds of current minute from 0 to 59
  62. mm = 10's milliseconds of the current second from 00 to 99
  63. L = Leap second pending at end of month -- 'I' = inset, 'D'=delete
  64. T = DST &lt;-&gt; STD transition indicators
  65. </pre>
  66. <p>Note that this driver does not do anything with the T flag.</p>
  67. <p>The M320 also has a 'U' command which returns UT1 correction information. It is not used in this driver.</p>
  68. <hr>
  69. <pre> The Model 33x timecode format is:
  70. S9+D 00 YYYY+DDDUTCS HH:MM:SSl+5
  71. Where:
  72. S = sync indicator S insync N not in sync
  73. the sync flag is WWVB decoder sync
  74. nothing to do with time being correct
  75. 9+ = signal level 0 thru 9+ If over 9 indicated as 9+
  76. D = data bit ( fun to watch but useless ;-)
  77. space
  78. 00 = hours since last GOOD WWVB frame sync
  79. space
  80. YYYY = current year
  81. + = leap year indicator
  82. DDD = day of year
  83. UTC = timezone (always UTC)
  84. S = daylight savings indicator
  85. space
  86. HH = hours
  87. : = This is the REAL in sync indicator (: = insync)
  88. MM = minutes
  89. : = : = in sync ? = NOT in sync
  90. SS = seconds
  91. L = leap second flag
  92. +5 = UT1 correction (sign + digit ))
  93. </pre>
  94. <p>This driver ignores UT1 correction,DST indicator,Leap year and signal level.</p>
  95. <hr>
  96. <h4>Fudge factors</h4>
  97. <p>flag1 polling enable (1=poll 0=no poll)</p>
  98. <hr>
  99. <address><a href="mailto:frank.migge@oracle.com">mail</a></address>
  100. <!-- hhmts start -->Last modified: Mon Mar 8 10:12:08 PST 2004<!-- hhmts end -->
  101. <hr>
  102. <script type="text/javascript" language="javascript" src="Ultralink Clock_files/footer.txt"></script>
  103. </BODY>
  104. </head>
  105. </html>