Compilation:
	for CLOCKDEFS following options are needed
		-DPARSE	- for the reference clock driver
		-DPARSEPPS
			- used only when the input signal (RS232 and/or PPS via
			  CD on a Sun) is better than 1ms and PPS shall be
			  simulated - implies -DPPS for DEFS
		-DCLOCK_MEINBERG
			  for Meinberg type clocks
		-DCLOCK_DCF7000
			  for ELV DCF7000
		-DCLOCK_RAWDCF
			  for simple DCF77 receiver (Conrad, TimeBrick, ...)
		-DCLOCK_SCHMID
			  for Schmid clock

Directory contents:

	README.dcf77	- this file

	xntpd/refclock_parse.c
			- reference clock support for DCF77/GPS in xntp

	lib/parse.c
			- Reference clock data parser framework
	lib/parse_conf.c
			- parser configuration (clock types)
	lib/parse_meinberg.c
			- Meinberg clock formats (DCF U/A 31, PZF 535, GPS166)
	lib/parse_schmid.c
			- Schmid receiver (DCF77)
	lib/parse_rawdcf.c
			- 100/200ms pulses via 50 Baud line (DCF77)
	lib/parse_dcf7000.c
			- ELV DCF7000 (DCF77)

			  If you want to add new clock types please check
			  with kardel@informatik.uni-erlangen.de. These files
			  implement the conversion of RS232 data streams into
			  timing information used by refclock_parse.c which is
			  mostly generic except for NTP configuration constants.

	kernel/Makefile.dcf77
			- *SIMPLE* makefile to build a loadable STREAMS
			  module for SunOS 4.x systems
			  just call make -f Makefile.dcf77 here after having build
			  the library with the -DSTREAM option
			  NOTE: You must invoke the makefile separately
			  (make -f Makefile.dcf77) as it is not integrated into
			  the NTP make environment. This is only for reference
			  clock owners anyway.

	kernel/parsestreams.c
			- SUN Streams module (loadable) for radio clocks
			  This streams module is designed for SunOS 4.1.X
			  For Solaris 2.x all bets are off and xntp probably
			  then needs a major overhaul. (YUCK!!! - they can
			  only set time to the nearest second - where do we
			  live?)
			  But then you would probably only get a binary
			  distribution, as you probably did not buy the
			  compiler 8-(.

	kernel/dcftest.c
			- simple test program for STREAMS module. Its so simple,
			  that it doesn't even set TTY-modes, thus they got to
			  be correct on startup - works for Meinberg receivers

	kernel/testdcf.c
			- test program for raw DCF77 (100/200ms pulses)
			  receivers

        include/parse.h - interface to "parse" module and more
        include/parse_conf.h
			- interface to "parse" configuration

	include/sys/parsestreams.h
			- STREAMS specific definitions

	supportscripts  - scripts (perl & sh) for statistics and rc startup
			  the startup scripts are used in Erlangen for
			  starting the daemon on a variety of Suns and HPs
			  and for Reference Clock startup on Suns
			  These scripts may or may not be helpful to you.

Tested configurations:
	SunOS 4.1.{1,2,3}
		Sun SS1+, SS2, Sun 4/470, Sun 4/490, Sun 4/690 (no STREAM/STREAM - option)
	HPUX 9.0
		HP 9000/827 (no STREAM option)

Supported clocks:
	Meinberg DCF U/A 31
	Meinberg PZF535/TCXO	(Software revision PZFUERL 4.6)
	Meinberg PZF535/OCXO	(Software revision PZFUERL 4.6)
	Meinberg GPS166		(Software version for Uni-Erlangen)
	ELV DCF7000		(not recommended - casual/emergency use only)
	Conrad DCF77 receiver	(email: time@informatik.uni-erlangen.de)
	  + level converter
	TimeBrick		(email: time@informatik.uni-erlangen.de)
	Schmid Receiver Kit

	... more clocks can be configured/integrated ...

Addresses:
  Meinberg Funkuhren
  Auf der Landwehr 22
  31812 Bad Pyrmont
  Germany
  Tel.: 05281/20 18
  FAX:  05281/60 81 80

  ELV Kundenservice
  Postfach 1000
  26787 Leer
  Germany
  Tel.: 0491/60 08 88

  Walter Schmidt
  Eichwisrain 14
  8634 Hombrechtikon
  Switzerland

If you have problems mail to:

	time@informatik.uni-erlangen.de

We'll help (conditions permitting)

