summaryrefslogtreecommitdiffstats
path: root/html/driver40.htm
blob: f9fc7b60a064d364000b9afa784592d3fd3b07aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<title>JJY Receivers</title>
</head>
<body>
<h3>JJY Receivers</h3>

<hr>
<h4>Synopsis</h4>

Address: 127.127.40.<i>u</i> <br>
Reference ID: <tt>JJY</tt> <br>
Driver ID: <tt>JJY</tt> <br>
Serial Port: <tt>/dev/jjy<i>u</i></tt>; 9600 baud, 8-bits, no
parity, 1 stop bit 

<h4>Description</h4>

<p>This driver supports the following JJY receivers sold in
Japan.</p>

<ul>
<li>
<p>Tristate Ltd. JJY01 <a href=
"http://www.tristate.ne.jp/rf-clock.htm">
http://www.tristate.ne.jp/rf-clock.htm</a> (Japanese only)<br>
Time code format<br>
</p>

<table>
<tr>
<td>Command</td>
<td>Reply</td>
</tr>

<tr>
<td><tt>date&lt;CR&gt;&lt;LF&gt;</tt></td>
<td><tt>YYYY/MM/DD WWW&lt;CR&gt;&lt;LF&gt;</tt></td>
</tr>

<tr>
<td><tt>stim&lt;CR&gt;&lt;LF&gt;</tt></td>
<td><tt>HH:MM:SS&lt;CR&gt;&lt;LF&gt;</tt></td>
</tr>
</table>
</li>

<li>
<p>C-DEX Co.,Ltd. JST2000 <a href="http://www.c-dex.co.jp/">
http://www.c-dex.co.jp/</a> (Japanese only)<br>
Time code format<br>
</p>

<table>
<tr>
<td>Command</td>
<td>Reply</td>
</tr>

<tr>
<td><tt>&lt;ENQ&gt;1J&lt;ETX&gt;</tt></td>
<td><tt>&lt;STX&gt;JYYMMDD HHMMSSS&lt;ETX&gt;</tt></td>
</tr>
</table>
</li>
</ul>

<p>JJY is the radio station which transmites the JST (Japan
Standard Time) in long wave radio. The station JJY is operated by
the Communication Research Laboratory. An operating announcement
and some information are avaiable from <a href=
"http://www.crl.go.jp/">http://www.crl.go.jp/</a> (English and
Japanese)<a href="http://jjy.crl.go.jp/">http://jjy.crl.go.jp/</a>
(Written in Japanese only</p>

<p>The user is expected to provide a symbolic link to an available
serial port device. This is typically performed by a command such
as:</p>

<p><tt>ln -s /dev/ttyS0 /dev/jjy0</tt></p>

<p>Windows NT does not support symbolic links to device files.
COM<i>X</i>: is the unit used by the driver, based on the refclock
unit number, where unit 1 corresponds to COM1: and unit 3
corresponds to COM3:</p>

<h4>Monitor Data</h4>

<p>The driver writes each timecode as received to the <tt>
clockstats</tt> file.</p>

<h4>Fudge Factors</h4>

<dl>
<dt><tt>time1 <i>time</i></tt></dt>

<dd>Specifies the time offset calibration factor, in seconds and
fraction, with default 0.0.</dd>

<dt><tt>time2 <i>time</i></tt></dt>

<dd>Not used by this driver.</dd>

<dt><tt>stratum <i>number</i></tt></dt>

<dd>Specifies the driver stratum, in decimal from 0 to 15, with
default 0.</dd>

<dt><tt>refid <i>string</i></tt></dt>

<dd>Specifies the driver reference identifier, an ASCII string from
one to four characters, with default <tt>WWVB</tt>.</dd>

<dt><tt>flag1 0 | 1</tt></dt>

<dd>Not used by this driver.</dd>

<dt><tt>flag2 0 | 1</tt></dt>

<dd>Not used by this driver.</dd>

<dt><tt>flag3 0 | 1</tt></dt>

<dd>Not used by this driver.</dd>

<dt><tt>flag4 0 | 1</tt></dt>

<dd>Enable verbose <tt>clockstats</tt> recording if set.</dd>
</dl>

<hr>
<a href="index.htm"><img align="left" src="pic/home.gif" alt=
"gif"></a> 

<address><a href="mailto:mills@udel.edu">David L. Mills
&lt;mills@udel.edu&gt;</a></address>
</body>
</html>

OpenPOWER on IntegriCloud