kopia lustrzana https://github.com/Hamlib/Hamlib
Update LGPL header in RotorEZ source files.
TNX to Lucian Laga, YO6PLB, for the notification.Hamlib-1.2.15
rodzic
8b16d3269b
commit
ab8fc4c295
|
@ -1,8 +1,6 @@
|
|||
Quirks, known bugs, and other notes.
|
||||
====================================
|
||||
|
||||
$Id: README.rotorez,v 1.1 2003-02-27 03:47:47 n0nb Exp $
|
||||
|
||||
In this document I'll try to describe the behavior of the Idiom Press
|
||||
Rotor-EZ and RotorCard interfaces as well as the HyGain DCU-1/DCU-1X control
|
||||
units with Hamlib. For background information see rotorez/rotorez.txt.
|
||||
|
@ -22,11 +20,11 @@ rot_set_position
|
|||
* Allowed range for azimuth is 0 to 360.
|
||||
* Values passed for elevation are ignored. The protocol only supports
|
||||
azimuthal positioning
|
||||
|
||||
|
||||
rot_set_position
|
||||
* Position reading is returned in whole degrees from 0 to 359.
|
||||
* Not supported by DCU-1/DCU-1X.
|
||||
|
||||
|
||||
rotorez_rot_stop
|
||||
* Causes immediate cessation of rotor positioning.
|
||||
* Not supported by DCU-1/DCU-1X.
|
||||
|
@ -34,12 +32,12 @@ rotorez_rot_stop
|
|||
rot_set_conf
|
||||
* Accepts one of E, e, J, j, O, o, S, and s (see rotorez/rotorez.txt)
|
||||
in *val.
|
||||
* The value in token is not used by the backend and may be safely
|
||||
* The value in token is not used by the backend and may be safely
|
||||
set to TOK_BACKEND_NONE.
|
||||
* Not supported by DCU-1/DCU-1X.
|
||||
|
||||
BUGS
|
||||
Please report all bugs to <hamlib-developer@users.sourceforge.net>
|
||||
|
||||
|
||||
Nate Bargmann n0nb at arrl.net
|
||||
|
||||
|
|
|
@ -14,19 +14,19 @@
|
|||
* Tested on a HAM-IV with the Rotor-EZ V1.4S interface installed.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -484,7 +484,7 @@ static int erc_rot_get_position(ROT *rot, azimuth_t *azimuth, elevation_t *eleva
|
|||
if (err != AZ_READ_LEN)
|
||||
return -RIG_ETRUNC;
|
||||
|
||||
/*
|
||||
/*
|
||||
* The azimuth string returned by the ERC should be 'xxx;'
|
||||
* beginning at offset 0. A new version may implement the
|
||||
* Idiom PRess format, hence the test for ';xxx'.
|
||||
|
@ -504,11 +504,11 @@ static int erc_rot_get_position(ROT *rot, azimuth_t *azimuth, elevation_t *eleva
|
|||
continue;
|
||||
else
|
||||
err = -RIG_EINVAL;
|
||||
}
|
||||
}
|
||||
} while (err == -RIG_EINVAL);
|
||||
|
||||
/*
|
||||
* Old ERC returns a four octet string consisting of three octets
|
||||
* Old ERC returns a four octet string consisting of three octets
|
||||
* followed by ';' ('xxx;') containing the rotor's position in degrees.
|
||||
* A new version will implement Idiom Press format of ';xxx'.
|
||||
*
|
||||
|
@ -516,12 +516,12 @@ static int erc_rot_get_position(ROT *rot, azimuth_t *azimuth, elevation_t *eleva
|
|||
*/
|
||||
az[4] = 0x00; /* NULL terminated string */
|
||||
p = az;
|
||||
|
||||
|
||||
if (*p == ';')
|
||||
p++;
|
||||
else
|
||||
else
|
||||
az[3] = 0x00; /* truncate trailing ';' */
|
||||
|
||||
|
||||
tmp = (azimuth_t)atof(p);
|
||||
rig_debug(RIG_DEBUG_TRACE, "%s: \"%s\" after conversion = %.1f\n",
|
||||
__func__, p, tmp);
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
* supports the Hy-Gain DCU-1.
|
||||
*
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
$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.
|
||||
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:
|
||||
|
||||
|
@ -35,8 +33,8 @@ If the RotorEZ should receive an invalid command, such as an the ';'
|
|||
character while the rotor is not in motion, as sent by the rotorez_rot_stop
|
||||
function ('S' command from `rotctl'), it will output the following
|
||||
string, "C2000 IDIOM V1.4S " into the input buffer. A new function,
|
||||
rotorez_flush_buffer, flushes the buffer by reading it until a timeout
|
||||
occurs. Once the timeout occurs, this function returns and the buffer is
|
||||
rotorez_flush_buffer, flushes the buffer by reading it until a timeout
|
||||
occurs. Once the timeout occurs, this function returns and the buffer is
|
||||
presumed to be empty. Should read_block return an IO error, it is passed
|
||||
back to the application.
|
||||
|
||||
|
@ -55,7 +53,7 @@ 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
|
||||
these commands--AP1XXX; and AM1; The DCU-1/DCU-1X is manufactured
|
||||
and sold by Hy-Gain, http://www.hy-gain.com
|
||||
|
||||
From: "sales@idiompress.com" <info@idiompress.com>
|
||||
|
|
Ładowanie…
Reference in New Issue