freebsd-dev/contrib/ntp/html/driver40.htm
2002-10-29 19:58:12 +00:00

142 lines
3.2 KiB
HTML

<!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>