Change the default for ntpd back to -s, the bug which triggered this
[dragonfly.git] / contrib / ntp / html / driver34.htm
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=iso8859-1">
4 <title>Ultralink Clock</title>
5 </head>
6
7 <body>
8 <h3>Ultralink Clock</h3>
9
10 <hr>
11 <h4>Synopsis</h4>
12 Address: 127.127.34.<i>u</i><br>
13 Reference ID: <TT>WWVB</TT><br>
14 Driver ID: <tt>ULINK</tt><br>
15 Serial Port: <tt>/dev/wwvb<i>u</i></tt>; 9600 bps, 8-bits,
16 no parity<br>
17 <br>Features: <tt>(none)</tt>
18 <h4>Description</h4>
19 This driver supports the Ultralink Model 320 RS-232 powered WWVB receiver.  PDF specs available on <a href="http://www.ulio.com">www.ulio.com</a>.
20 This driver also supports the Model 330,331,332 decoders in both polled or continous time code mode.  Leap second and quality are supported.
21
22 <P>Most of this code is originally from refclock_wwvb.c with thanks.  Any mistakes are mine.  Any improvements are welcome.
23 <hr>
24 <pre>
25   The Model 320 timecode format is:
26  
27    <cr><lf>SQRYYYYDDD+HH:MM:SS.mmLT<cr>
28  
29   where:
30  
31   S = 'S' -- sync'd in last hour, '0'-'9' - hours x 10 since last update, else '?'
32   Q = Number of correlating time-frames, from 0 to 5
33   R = 'R' -- reception in progress, 'N' -- Noisy reception, ' ' -- standby mode
34   YYYY = year from 1990 to 2089
35   DDD = current day from 1 to 366
36   + = '+' if current year is a leap year, else ' '
37   HH = UTC hour 0 to 23
38   MM = Minutes of current hour from 0 to 59
39   SS = Seconds of current minute from 0 to 59
40   mm = 10's milliseconds of the current second from 00 to 99
41   L  = Leap second pending at end of month -- 'I' = inset, 'D'=delete
42   T  = DST <-> STD transition indicators
43  
44   Note that this driver does not do anything with the T flag.
45  
46   The M320 also has a 'U' command which returns UT1 correction information.
47   It is not used in this driver.
48 </pre>
49 <hr>
50 <pre>
51   The Model 33x timecode format is:
52
53     S9+D 00 YYYY+DDDUTCS HH:MM:SSl+5
54
55   Where:
56
57   S =    sync indicator S insync N not in sync
58          the sync flag is WWVB decoder sync
59          nothing to do with time being correct
60   9+ =   signal level 0 thru 9+ If over 9 indicated as 9+
61   D  =   data bit ( fun to watch but useless ;-)
62   space
63   00 =   hours since last GOOD WWVB frame sync
64   space
65   YYYY = current year
66   +  =   leap year indicator
67   DDD =  day of year
68   UTC =  timezone (always UTC)
69   S  =   daylight savings indicator
70   space
71   HH  =  hours
72   :  =   This is the REAL in sync indicator (: = insync)
73   MM  =  minutes
74   :  =   : = in sync ? = NOT in sync
75   SS  =  seconds
76   L  =   leap second flag
77   +5 =   UT1 correction (sign + digit ))
78  
79   This driver ignores UT1 correction,DST indicator,Leap year
80   and signal level.
81
82 </pre>
83 <hr>
84 <pre>
85
86 Fudge factors
87          flag1  polling enable (1=poll 0=no poll) 
88
89
90 </pre>
91 <hr>
92     <address><a href="mailto:dstrout@linuxfoundary.com">mail</a></address>
93 <!-- hhmts start -->
94 Last modified: Tue Sep 14 05:53:08 EDT 1999
95 <!-- hhmts end -->
96 </body> </html>