From d0e0f132c66bdf88d385ecd3b5b861d302a5f343 Mon Sep 17 00:00:00 2001 From: "Nate Bargmann, N0NB" Date: Sat, 17 Jan 2009 14:47:13 +0000 Subject: [PATCH] Update copyright date. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2589 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- rotorez/rotorez.c | 4 +-- rotorez/rotorez.h | 4 +-- rotorez/rotorez.txt | 59 ++++++++++++++++++++++++--------------------- 3 files changed, 36 insertions(+), 31 deletions(-) diff --git a/rotorez/rotorez.c b/rotorez/rotorez.c index 0c8ebd856..6bd064428 100644 --- a/rotorez/rotorez.c +++ b/rotorez/rotorez.c @@ -1,7 +1,7 @@ /* * Hamlib backend library for the DCU rotor command set. * - * rotorez.c - (C) Nate Bargmann 2003 (n0nb at arrl.net) + * rotorez.c - (C) Nate Bargmann 2003, 2009 (n0nb at arrl.net) * * This shared library provides an API for communicating * via serial interface to a Hy-Gain or Yaesu rotor using @@ -14,7 +14,7 @@ * Tested on a HAM-IV with the Rotor-EZ V1.4S interface installed. * * - * $Id: rotorez.c,v 1.12 2009-01-17 14:37:28 n0nb Exp $ + * $Id: rotorez.c,v 1.13 2009-01-17 14:47:12 n0nb Exp $ * * * This library is free software; you can redistribute it and/or diff --git a/rotorez/rotorez.h b/rotorez/rotorez.h index 56841a1c9..9a2020fa6 100644 --- a/rotorez/rotorez.h +++ b/rotorez/rotorez.h @@ -1,7 +1,7 @@ /* * Hamlib backend library for the DCU rotor command set. * - * rotorez.h - (C) Nate Bargmann 2003 (n0nb at arrl.net) + * rotorez.h - (C) Nate Bargmann 2003, 2009 (n0nb at arrl.net) * * This shared library provides an API for communicating * via serial interface to a Hy-Gain or Yaesu rotor using @@ -9,7 +9,7 @@ * supports the Hy-Gain DCU-1. * * - * $Id: rotorez.h,v 1.6 2009-01-17 14:37:28 n0nb Exp $ + * $Id: rotorez.h,v 1.7 2009-01-17 14:47:12 n0nb Exp $ * * * This library is free software; you can redistribute it and/or diff --git a/rotorez/rotorez.txt b/rotorez/rotorez.txt index bf98df803..859df4b75 100644 --- a/rotorez/rotorez.txt +++ b/rotorez/rotorez.txt @@ -1,5 +1,29 @@ -Further testing has revealed that the RotorEZ interface will place -undocumented characters into the serial buffer. Additions to the +$Id: rotorez.txt,v 1.4 2009-01-17 14:47:13 n0nb Exp $ + +January 17, 2009: + +As of version 0.5 of the rotorez backend, the serial +timeout has been shortened to 1500 mS and the retry count reduced to 2 +to speed up recovery when flushing the buffer as described below. +Also, four tokens have been defined in rotorez.h for the set_conf +function used by `rotctl' and `rotctld'. They are: + + ENDPT, + JAM, + OVRSHT, + UNSTICK + +and have the integer values of 1-4 respectively. Until tokens are more +completely developed in the Hamlib frontend, passing the integers to +`rotcrl' and `rotctld' will be necessary. The 'value' given to +`rotclt' and `rotctld' is the character '0' or '1' to disable or +enable the function. For example, to disable Endpoint Protection give +the command 'C 1 0' and to enable it again use 'C 1 1'. + +----- + +Further testing has revealed that the RotorEZ interface will +place undocumented characters into the serial buffer. Additions to the rotorez backend now take this into account and test for a valid azimuth reply and flush the buffer if necessary. @@ -21,38 +45,19 @@ function times out. By necessity, this means that the delay could be up to a few seconds before the rotorez_rot_get_position function returns a valid azimuth. ------ - -As of version 0.5 of the rotorez backend, the serial timeout has been -shortened to 1500 mS and the retry count reduced to 2 to speed up -recovery when flushing the buffer as described above. Also, four -tokens have been defined in rotorez.h for the set_conf function used by -`rotctl' and `rotctld'. They are: - - ENDPT, - JAM, - OVRSHT, - UNSTICK - -and have the integer values of 1-4 respectively. Until tokens are more -completely developed in the Hamlib frontend, passing the integers to -`rotcrl' and `rotctld' will be necessary. The 'value' given to -`rotclt' and `rotctld' is the character '0' or '1' to disable or -enable the function. For example, to disable Endpoint Protection give -the command 'C 1 0' and to enable it again use 'C 1 1'. - ======================================================================= -The following email describes the command set used by the Rotor-EZ -interface for Hy-Gain rotors and the RotorCard interface for Yaesu -rotors manufactured and sold by Idiom Press, http://www.idiompres.com +January 12, 2003: + +The following email describes the command set used by +the Rotor-EZ interface for Hy-Gain rotors and the RotorCard interface +for Yaesu rotors manufactured and sold by Idiom Press, +http://www.idiompres.com The Hy-Gain DCU-1/DCU-1X Digital Control Unit supports a subset of these commands--AP1XXX; and AM1; The DCU-1/DCU-1X is manufactured and sold by Hy-Gain, http://www.hy-gain.com -$Id: rotorez.txt,v 1.3 2009-01-17 14:37:28 n0nb Exp $ - From: "sales@idiompress.com" To: "Nate Bargmann" Subject: Re: Rotor Card and Rotor-EZ command reference