[Git][NTPsec/ntpsec][master] hp58503a -> hpgps, at Hal Murray's suggestion.

Eric S. Raymond gitlab at mg.gitlab.com
Mon Jun 27 22:54:34 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
c1ec30c7 by Eric S. Raymond at 2016-06-27T18:53:10-04:00
hp58503a -> hpgps, at Hal Murray's suggestion.

- - - - -


5 changed files:

- docs/driver_hp58503a.txt → docs/driver_hpgps.txt
- docs/refclock.txt
- ntpd/refclock_conf.c
- ntpd/refclock_hp58503a.c → ntpd/refclock_hpgps.c
- pylib/refclock.py


Changes:

=====================================
docs/driver_hp58503a.txt → docs/driver_hpgps.txt
=====================================
--- a/docs/driver_hp58503a.txt
+++ b/docs/driver_hpgps.txt
@@ -1,9 +1,9 @@
-= Hewlett Packard 58503A GPS Receiver and HP Z3801A =
+= Hewlett Packard GPS Receivers -  HP 58503A and HP Z3801A =
 
 == Synopsis ==
 
 ["verse",subs="normal"]
-Name: hp58503a
+Name: hpgps
 Reference ID: GPS
 Driver ID: GPS_HP
 Serial Port: /dev/hpgps__u__; 9600bps 8N1, 19200bps 7N2 for the HP Z3801A
@@ -11,13 +11,22 @@ Serial Port: /dev/hpgps__u__; 9600bps 8N1, 19200bps 7N2 for the HP Z3801A
 == Description ==
 
 This driver supports the HP 58503A Time and Frequency Reference Receiver
-and HP Z3801A GPS Receiver. They use HP SmartClock (TM) to implement an
-Enhanced GPS receiver. The receiver accuracy when locked to GPS in
-normal operation is better than 1 usec. The accuracy when operating in
-holdover is typically better than 10 us per day. It receiver should be
-operated with factory default settings. Initial driver operation:
-expects the receiver to be already locked to GPS, configured and able to
-output timecode format 2 messages.
+and HP Z3801A GPS Receiver. It will probably work with other Z38xx models.
+Two-unit pairs of these are sometimes known as a KS-24361.
+
+These receivers are very old designs, dating from around 1990, so
+their GPS receiver stages are not very sensitive by modern
+standards. On the other hand, lots of them are available cheap,
+because they used to be standard kit on cell towers and were surplused
+off in the thousands.
+
+They use HP SmartClock (TM) to implement an Enhanced GPS receiver. The
+receiver accuracy when locked to GPS in normal operation is better
+than 1 usec. The accuracy when operating in holdover is typically
+better than 10 us per day. The receiver should be operated with
+factory default settings. Initial driver operation: expects the
+receiver to be already locked to GPS, configured and able to output
+timecode format 2 messages.
 
 The driver uses the poll sequence +:PTIME:TCODE?+ to get a response from
 the receiver. The receiver responds with a timecode string of ASCII
@@ -48,7 +57,7 @@ on an HP 9000 Model 712/80 HP-UX 9.05 -0.953175 on an HP 9000 Model 370
 HP-UX 9.10
 
 This driver will probably work with the 58503B and 59551A if they are
-setup appropriately.
+set up appropriately.
 
 To use an HP Z3801A, specify +mode 1+ on the server config line to setup
 the right line paramters.
@@ -82,7 +91,7 @@ http://www.symmetricom.com/[Symmetricom].
 == Configuration Example ==
 
 ----------------------------------------------------------------------------
-refclock hp58503a
+refclock hpgps
 ----------------------------------------------------------------------------
 
 '''''


=====================================
docs/refclock.txt
=====================================
--- a/docs/refclock.txt
+++ b/docs/refclock.txt
@@ -185,7 +185,7 @@ parse driver.
 |link:driver_acts.html[acts]            | - | NIST/USNO/PTB Modem Time Services
 |link:driver_nmea.html[nmea]            | T | Generic NMEA GPS Receiver
 |link:driver_pps.html[pps]              | T | PPS Clock Discipline
-|link:driver_hp58503a.html[hp58503a]    | T | Hewlett Packard 58503A GPS Receiver
+|link:driver_hpgps.html[hpgps]          | T | Hewlett Packard GPS Receivers
 |link:driver_shm.html[shm]              | T | Shared Memory Driver
 |link:driver_palisade.html[palisade]    | TM| Trimble Navigation Palisade GPS
 |link:driver_oncore.html[oncore]        | - | Motorola UT Oncore GPS


=====================================
ntpd/refclock_conf.c
=====================================
--- a/ntpd/refclock_conf.c
+++ b/ntpd/refclock_conf.c
@@ -89,7 +89,7 @@ extern	struct refclock	refclock_pps;
 #define refclock_pps	refclock_none
 #endif
 
-#ifdef CLOCK_HP58503A
+#ifdef CLOCK_HPGPS
 extern	struct refclock	refclock_hpgps;
 #else
 #define	refclock_hpgps	refclock_none


=====================================
ntpd/refclock_hp58503a.c → ntpd/refclock_hpgps.c
=====================================
--- a/ntpd/refclock_hp58503a.c
+++ b/ntpd/refclock_hpgps.c
@@ -1,5 +1,5 @@
 /*
- * refclock_hpgps - clock driver for HP 58503A GPS receiver
+ * refclock_hpgps - clock driver for HP GPS receivers
  */
 
 #include <config.h>


=====================================
pylib/refclock.py
=====================================
--- a/pylib/refclock.py
+++ b/pylib/refclock.py
@@ -85,10 +85,10 @@ refclock_map = {
 		"file":		"pps"
 	},
 
-	"hp58503a": {
+	"hpgps": {
 		"descr":	"Hewlett Packard 58503A GPS Receiver",
-		"define":	"CLOCK_HP58503A",
-		"file":		"hp58503a"
+		"define":	"CLOCK_HPGPS",
+		"file":		"hpgps"
 	},
 
 	"shm": {



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/c1ec30c7aaef1c4341b639b613723b09754c01e4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160627/fadfdffe/attachment.html>


More information about the vc mailing list