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