xref: /freebsd/contrib/ntp/html/drivers/driver40.html (revision a35d88931c87cfe6bd38f01d7bad22140b3b38f3)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
3<html>
4
5    <head>
6        <meta name="generator" content="HTML Tidy, see www.w3.org">
7        <title>JJY Receivers</title>
8        <link href="../scripts/style.css" type="text/css" rel="stylesheet">
9    </head>
10
11    <body>
12        <h3>JJY Receivers</h3>
13        <hr>
14        <h4>Synopsis</h4>
15        Address: 127.127.40.<i>u</i><br>
16        Reference ID: <tt>JJY</tt><br>
17        Driver ID: <tt>JJY</tt><br>
18        Serial Port: <tt>/dev/jjy<i>u</i></tt>; 9600 baud, 8-bits, no parity, 1 stop bit
19        <h4>Description</h4>
20        <p>This driver supports the following JJY receivers sold in Japan.</p>
21        <ul>
22            <li>Tristate Ltd. JJY01 <a href="http://www.tristate.ne.jp/rf-clock.html">http://www.tristate.ne.jp/rf-clock.htm</a> (Japanese only)<br>
23            <dl>
24                <dt>Time code format
25                <dd><br>
26                <table>
27                    <tr>
28                        <td>Command</td>
29                        <td>&nbsp;</td>
30                        <td>Reply</td>
31                    </tr>
32                    <tr>
33                        <td><tt>date&lt;CR&gt;&lt;LF&gt;</tt></td>
34                        <td>&nbsp;</td>
35                        <td><tt>YYYY/MM/DD WWW&lt;CR&gt;&lt;LF&gt;</tt></td>
36                    </tr>
37                    <tr>
38                        <td><tt>stim&lt;CR&gt;&lt;LF&gt;</tt></td>
39                        <td>&nbsp;</td>
40                        <td><tt>HH:MM:SS&lt;CR&gt;&lt;LF&gt;</tt></td>
41                    </tr>
42                </table>
43                <br>
44                <dt>NTP configuration ( ntp.conf )
45                <dd>
46                <p>server 127.127.40.X mode 1</p>
47            </dl>
48            <li>C-DEX Co.,Ltd. JST2000 <a href="http://www.c-dex.co.jp/">http://www.c-dex.co.jp/</a> (Japanese only)<br>
49            <dl>
50                <dt>Time code format
51                <dd><br>
52                <table>
53                    <tr>
54                        <td>Command</td>
55                        <td>&nbsp;</td>
56                        <td>Reply</td>
57                    </tr>
58                    <tr>
59                        <td><tt>&lt;ENQ&gt;1J&lt;ETX&gt;</tt></td>
60                        <td>&nbsp;</td>
61                        <td><tt>&lt;STX&gt;JYYMMDD HHMMSSS&lt;ETX&gt;</tt></td>
62                    </tr>
63                </table>
64                <br>
65                <dt>NTP configuration ( ntp.conf )
66                <dd>
67                <p>server 127.127.40.X mode 2</p>
68            </dl>
69        </ul>
70        <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) and <a href="http://jjy.crl.go.jp/">http://jjy.crl.go.jp/</a> (Written in Japanese only)</p>
71        <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>
72        <p><tt>ln -s /dev/ttyS0 /dev/jjy0</tt></p>
73        <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>
74        <h4>Monitor Data</h4>
75        <p>The driver writes each timecode as received to the <tt>clockstats</tt> file.</p>
76        <h4>Fudge Factors</h4>
77        <dl>
78            <dt><tt>time1 <i>time</i></tt>
79            <dd>Specifies the time offset calibration factor, in seconds and fraction, with default 0.0.
80            <dt><tt>time2 <i>time</i></tt>
81            <dd>Not used by this driver.
82            <dt><tt>stratum <i>number</i></tt>
83            <dd>Specifies the driver stratum, in decimal from 0 to 15, with default 0.
84            <dt><tt>refid <i>string</i></tt>
85            <dd>Specifies the driver reference identifier, an ASCII string from one to four characters, with default <tt>WWVB</tt>.
86            <dt><tt>flag1 0 | 1</tt>
87            <dd>Not used by this driver.
88            <dt><tt>flag2 0 | 1</tt>
89            <dd>Not used by this driver.
90            <dt><tt>flag3 0 | 1</tt>
91            <dd>Not used by this driver.
92            <dt><tt>flag4 0 | 1</tt>
93            <dd>Enable verbose <tt>clockstats</tt> recording if set.
94        </dl>
95        <hr>
96        <script type="text/javascript" language="javascript" src="../scripts/footer.txt"></script>
97    </body>
98
99</html>