kopia lustrzana https://github.com/Hamlib/Hamlib
Fix typos
rodzic
ee03370cdf
commit
caf7346fc0
4
AUTHORS
4
AUTHORS
|
@ -173,10 +173,10 @@ M:
|
||||||
C: Pascal Brisset
|
C: Pascal Brisset
|
||||||
|
|
||||||
|
|
||||||
[yeasu: ft1000d]
|
[yaesu: ft1000d]
|
||||||
M: Serge Pashenkov
|
M: Serge Pashenkov
|
||||||
|
|
||||||
[yeasu: ft100]
|
[yaesu: ft100]
|
||||||
M: Alex V Flinsch, KC2IVL
|
M: Alex V Flinsch, KC2IVL
|
||||||
|
|
||||||
[yaesu: ft736]
|
[yaesu: ft736]
|
||||||
|
|
|
@ -60,7 +60,7 @@ commands with the requested values, one per line, when successful, otherwise,
|
||||||
it responds with one line \(lqRPRT x\(rq, where \(oqx\(cq is a negative number
|
it responds with one line \(lqRPRT x\(rq, where \(oqx\(cq is a negative number
|
||||||
indicating the error code. Commands that do not return values respond with
|
indicating the error code. Commands that do not return values respond with
|
||||||
the line \(lqRPRT x\(rq, where \(oqx\(cq is \(oq0\(cq when successful,
|
the line \(lqRPRT x\(rq, where \(oqx\(cq is \(oq0\(cq when successful,
|
||||||
otherwise is a regative number indicating the error code. Each line is
|
otherwise is a negative number indicating the error code. Each line is
|
||||||
terminated with a newline \(oq\\n\(cq character. This protocol is primarily
|
terminated with a newline \(oq\\n\(cq character. This protocol is primarily
|
||||||
for use by the
|
for use by the
|
||||||
.B NET ampctl
|
.B NET ampctl
|
||||||
|
|
|
@ -67,7 +67,7 @@ commands with the requested values, one per line, when successful, otherwise,
|
||||||
it responds with one line \(lqRPRT x\(rq, where \(oqx\(cq is a negative number
|
it responds with one line \(lqRPRT x\(rq, where \(oqx\(cq is a negative number
|
||||||
indicating the error code. Commands that do not return values respond with
|
indicating the error code. Commands that do not return values respond with
|
||||||
the line \(lqRPRT x\(rq, where \(oqx\(cq is \(oq0\(cq when successful,
|
the line \(lqRPRT x\(rq, where \(oqx\(cq is \(oq0\(cq when successful,
|
||||||
otherwise is a regative number indicating the error code. Each line is
|
otherwise is a negative number indicating the error code. Each line is
|
||||||
terminated with a newline \(oq\\n\(cq character. This protocol is primarily
|
terminated with a newline \(oq\\n\(cq character. This protocol is primarily
|
||||||
for use by the
|
for use by the
|
||||||
.B NET rigctl
|
.B NET rigctl
|
||||||
|
|
|
@ -55,7 +55,7 @@ responds to \(lqget\(rq commands with the requested values, one per line, when
|
||||||
successful, otherwise, it responds with one line \(lqRPRT x\(rq, where
|
successful, otherwise, it responds with one line \(lqRPRT x\(rq, where
|
||||||
\(oqx\(cq is a negative number indicating the error code. Commands that do
|
\(oqx\(cq is a negative number indicating the error code. Commands that do
|
||||||
not return values respond with the line \(lqRPRT x\(rq, where \(oqx\(cq is
|
not return values respond with the line \(lqRPRT x\(rq, where \(oqx\(cq is
|
||||||
\(oq0\(cq when successful, otherwise is a regative number indicating the error
|
\(oq0\(cq when successful, otherwise is a negative number indicating the error
|
||||||
code. Each line is terminated with a newline \(oq\\n\(cq character. This
|
code. Each line is terminated with a newline \(oq\\n\(cq character. This
|
||||||
protocol is primarily for use by the
|
protocol is primarily for use by the
|
||||||
.B NET rotctl
|
.B NET rotctl
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
.
|
.
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.
|
.
|
||||||
hamlib-utilties \- radio and rotator control utilities of Hamlib
|
hamlib-utilities \- radio and rotator control utilities of Hamlib
|
||||||
.
|
.
|
||||||
.
|
.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -629,7 +629,7 @@ typedef unsigned int vfo_t;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* targetable bitfields, for internal use.
|
* targetable bitfields, for internal use.
|
||||||
* In rig.c lack of a flag will case a VFO change if needed
|
* In rig.c lack of a flag will cause a VFO change if needed
|
||||||
* So setting this flag will mean the backend handles any VFO needs
|
* So setting this flag will mean the backend handles any VFO needs
|
||||||
* For many rigs RITXIT, PTT, MEM, and BANK are non-VFO commands so need these flags to avoid unnecessary VFO swapping
|
* For many rigs RITXIT, PTT, MEM, and BANK are non-VFO commands so need these flags to avoid unnecessary VFO swapping
|
||||||
*/
|
*/
|
||||||
|
@ -971,7 +971,7 @@ typedef enum {
|
||||||
RIG_ANN_RXMODE = (1 << 1), /*!< Announce receive mode */
|
RIG_ANN_RXMODE = (1 << 1), /*!< Announce receive mode */
|
||||||
RIG_ANN_CW = (1 << 2), /*!< CW */
|
RIG_ANN_CW = (1 << 2), /*!< CW */
|
||||||
RIG_ANN_ENG = (1 << 3), /*!< English */
|
RIG_ANN_ENG = (1 << 3), /*!< English */
|
||||||
RIG_ANN_JAP = (1 << 4) /*!< Japan */
|
RIG_ANN_JAP = (1 << 4) /*!< Japanese */
|
||||||
} ann_t;
|
} ann_t;
|
||||||
|
|
||||||
|
|
||||||
|
@ -1188,7 +1188,7 @@ enum rig_parm_e {
|
||||||
RIG_PARM_AFIF = (1 << 9), /*!< \c AFIF for USB -- 0=AF audio, 1=IF audio -- see IC-7300/9700/705 */
|
RIG_PARM_AFIF = (1 << 9), /*!< \c AFIF for USB -- 0=AF audio, 1=IF audio -- see IC-7300/9700/705 */
|
||||||
RIG_PARM_BANDSELECT = (1 << 10), /*!< \c BANDSELECT -- e.g. BAND160M, BAND80M, BAND70CM, BAND2CM */
|
RIG_PARM_BANDSELECT = (1 << 10), /*!< \c BANDSELECT -- e.g. BAND160M, BAND80M, BAND70CM, BAND2CM */
|
||||||
RIG_PARM_KEYERTYPE = (1 << 11), /*!< \c KEYERTYPE -- 0,1,2 or STRAIGHT PADDLE BUG */
|
RIG_PARM_KEYERTYPE = (1 << 11), /*!< \c KEYERTYPE -- 0,1,2 or STRAIGHT PADDLE BUG */
|
||||||
RIG_PARM_AFIF_LAN = (1 << 12), /*!< \c AFIF for LAN -- 0=AF audi , 1=IF audio -- see IC-9700 */
|
RIG_PARM_AFIF_LAN = (1 << 12), /*!< \c AFIF for LAN -- 0=AF audio , 1=IF audio -- see IC-9700 */
|
||||||
RIG_PARM_AFIF_WLAN = (1 << 13), /*!< \c AFIF_WLAN -- 0=AF audio, 1=IF audio -- see IC-705 */
|
RIG_PARM_AFIF_WLAN = (1 << 13), /*!< \c AFIF_WLAN -- 0=AF audio, 1=IF audio -- see IC-705 */
|
||||||
RIG_PARM_AFIF_ACC = (1 << 14) /*!< \c AFIF_ACC -- 0=AF audio, 1=IF audio -- see IC-9700 */
|
RIG_PARM_AFIF_ACC = (1 << 14) /*!< \c AFIF_ACC -- 0=AF audio, 1=IF audio -- see IC-9700 */
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
| License along with this library; if not, write to the Free Software
|
| License along with this library; if not, write to the Free Software
|
||||||
| Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
| Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
|
|
||||||
| This file was taken from rxtx-2.1-7pre16 and adaptated for Hamlib.
|
| This file was taken from rxtx-2.1-7pre16 and adapted for Hamlib.
|
||||||
--------------------------------------------------------------------------*/
|
--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef _WIN32TERMIOS_H
|
#ifndef _WIN32TERMIOS_H
|
||||||
|
|
|
@ -461,7 +461,7 @@ int aor_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
if (retval != RIG_OK) { return retval; }
|
if (retval != RIG_OK) { return retval; }
|
||||||
|
|
||||||
strncpy(mdbuf2, mdbuf + 4, 3); /* Extract first 'BW' part */
|
strncpy(mdbuf2, mdbuf + 4, 3); /* Extract first 'BW' part */
|
||||||
mdbuf2[3] = '\0'; // in case strnpy produces and un-terminated string
|
mdbuf2[3] = '\0'; // in case strncpy produces and un-terminated string
|
||||||
mdbuf2_len = strlen(mdbuf2);
|
mdbuf2_len = strlen(mdbuf2);
|
||||||
|
|
||||||
retval = aor_transaction(rig, mdbuf2, mdbuf2_len, NULL, NULL);
|
retval = aor_transaction(rig, mdbuf2, mdbuf2_len, NULL, NULL);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
As of version 1.0 20180508 this works very well with flrig-1.3.40.50 and WSJT-X split mode.
|
As of version 1.0 20180508 this works very well with flrig-1.3.40.50 and WSJT-X split mode.
|
||||||
Log4OM can be run conconcurrently connecting to "rigctld -M 4".
|
Log4OM can be run concurrently connecting to "rigctld -M 4".
|
||||||
Note that for that Log4OM instance only clients that use extended protocol can connect to the client (since Log4OM uses extended protocol). If you want to use a client that does not have extended protocol you must run another rigctld on a separate TCP port.
|
Note that for that Log4OM instance only clients that use extended protocol can connect to the client (since Log4OM uses extended protocol). If you want to use a client that does not have extended protocol you must run another rigctld on a separate TCP port.
|
||||||
The same thing holds for any vfo mode clients.
|
The same thing holds for any vfo mode clients.
|
||||||
So you could end up with 4 rigctld's. One for each combination of extended/vfo mode.
|
So you could end up with 4 rigctld's. One for each combination of extended/vfo mode.
|
||||||
|
|
|
@ -4814,7 +4814,7 @@ int icom_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
||||||
|
|
||||||
case RIG_LEVEL_AGC_TIME:
|
case RIG_LEVEL_AGC_TIME:
|
||||||
|
|
||||||
// some rigs have different level interpretaions for different modes
|
// some rigs have different level interpretations for different modes
|
||||||
if (rs->current_mode == RIG_MODE_AM)
|
if (rs->current_mode == RIG_MODE_AM)
|
||||||
{
|
{
|
||||||
val->f = agc_level2[icom_val];
|
val->f = agc_level2[icom_val];
|
||||||
|
|
|
@ -157,7 +157,7 @@ struct cmdparams
|
||||||
struct icom_spectrum_scope_caps
|
struct icom_spectrum_scope_caps
|
||||||
{
|
{
|
||||||
int spectrum_line_length; /*!< Number of bytes in a complete spectrum scope line */
|
int spectrum_line_length; /*!< Number of bytes in a complete spectrum scope line */
|
||||||
int single_frame_data_length; /*!< Number of bytes of specrtum data in a single CI-V frame when the data split to multiple frames */
|
int single_frame_data_length; /*!< Number of bytes of spectrum data in a single CI-V frame when the data split to multiple frames */
|
||||||
int data_level_min; /*!< */
|
int data_level_min; /*!< */
|
||||||
int data_level_max;
|
int data_level_max;
|
||||||
double signal_strength_min;
|
double signal_strength_min;
|
||||||
|
|
|
@ -174,7 +174,7 @@ int elecraft_open(RIG *rig)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->save_k2_ext_lvl = -1; // so we don't restore if not neeede
|
priv->save_k2_ext_lvl = -1; // so we don't restore if not needed
|
||||||
|
|
||||||
if (rig->caps->rig_model != RIG_MODEL_XG3) // XG3 doesn't have extended
|
if (rig->caps->rig_model != RIG_MODEL_XG3) // XG3 doesn't have extended
|
||||||
{
|
{
|
||||||
|
|
|
@ -3852,7 +3852,7 @@ int newcat_get_powerstat(RIG *rig, powerstat_t *status)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Yeasu rigs in powered-off state require the PS command to be sent between 1 and 2 seconds after dummy data
|
// Yaesu rigs in powered-off state require the PS command to be sent between 1 and 2 seconds after dummy data
|
||||||
hl_usleep(1100000);
|
hl_usleep(1100000);
|
||||||
// Discard any unsolicited data
|
// Discard any unsolicited data
|
||||||
rig_flush(rp);
|
rig_flush(rp);
|
||||||
|
|
|
@ -16,7 +16,7 @@ Tested only with PTU-D48 yet and with one rotor per chain only.
|
||||||
|
|
||||||
1. Connect the rotor via serial (RS232 or RS485)
|
1. Connect the rotor via serial (RS232 or RS485)
|
||||||
2. Power up the rotor
|
2. Power up the rotor
|
||||||
3. The rotor must be calibrated after each power up. This can be accived
|
3. The rotor must be calibrated after each power up. This can be achieved
|
||||||
either using the rotctl `Reset` command (R) or manually via serial terminal
|
either using the rotctl `Reset` command (R) or manually via serial terminal
|
||||||
sending the `R\n` command.
|
sending the `R\n` command.
|
||||||
4. To enable the rotor to fully turn +/- 180°, the softlock must be disabled.
|
4. To enable the rotor to fully turn +/- 180°, the softlock must be disabled.
|
||||||
|
|
|
@ -2,7 +2,7 @@ This is a small backend for iOptron alt-az mounts. It implements get position, g
|
||||||
|
|
||||||
A warning on iOptron command language. iOptron is in the process of moving from V2 to V3 of the command lamguage and presently (December 2018) uses a mix of the two. This back end should work with mounts with current firmware, but new firmware may change commands and break it.
|
A warning on iOptron command language. iOptron is in the process of moving from V2 to V3 of the command lamguage and presently (December 2018) uses a mix of the two. This back end should work with mounts with current firmware, but new firmware may change commands and break it.
|
||||||
|
|
||||||
Minor annoyance - the mount will automatically start siderial tracking after a slew. Adding a stop tracking command at the end of the goto set did not solve the problem.
|
Minor annoyance - the mount will automatically start sidereal tracking after a slew. Adding a stop tracking command at the end of the goto set did not solve the problem.
|
||||||
|
|
||||||
Bigger annoyance - Be careful with the GEM mounts (iEQ30, iEQ45) in alt-az mode. The dec/el motor cord easily catches on the ra/az clutch knobs when slewing in az. I attached a small standoff to keep the cord out of the way.
|
Bigger annoyance - Be careful with the GEM mounts (iEQ30, iEQ45) in alt-az mode. The dec/el motor cord easily catches on the ra/az clutch knobs when slewing in az. I attached a small standoff to keep the cord out of the way.
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ Covered are:
|
||||||
- set/get VFO
|
- set/get VFO
|
||||||
- get Riginfo
|
- get Riginfo
|
||||||
|
|
||||||
-rig_debug_level_e not verified (Function is Void, VB Dokumentation
|
-rig_debug_level_e not verified (Function is Void, VB Documentation
|
||||||
says this is not possible to be marshaled, but Compiler is still accepting this)
|
says this is not possible to be marshaled, but Compiler is still accepting this)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
int main(int argc, const char *argv[])
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
RIG *my_rig; /* handle to rig (nstance) */
|
RIG *my_rig; /* handle to rig (instance) */
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
rig_model_t myrig_model;
|
rig_model_t myrig_model;
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
|
@ -44,7 +44,7 @@ static double sigma(double arr[], int length)
|
||||||
|
|
||||||
int main(int argc, const char *argv[])
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
RIG *my_rig; /* handle to rig (nstance) */
|
RIG *my_rig; /* handle to rig (instance) */
|
||||||
int strength; /* S-Meter level */
|
int strength; /* S-Meter level */
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ int all;
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
RIG *rig; /* handle to rig (nstance) */
|
RIG *rig; /* handle to rig (instance) */
|
||||||
rig_model_t my_model = RIG_MODEL_DUMMY;
|
rig_model_t my_model = RIG_MODEL_DUMMY;
|
||||||
|
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
|
@ -64,7 +64,7 @@ static struct option long_options[] =
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
RIG *rig; /* handle to rig (nstance) */
|
RIG *rig; /* handle to rig (instance) */
|
||||||
rig_model_t my_model = RIG_MODEL_DUMMY;
|
rig_model_t my_model = RIG_MODEL_DUMMY;
|
||||||
|
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
|
|
|
@ -2930,7 +2930,7 @@ declare_proto_rot(pause)
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
// short list for rigctl/rigctld display
|
// short list for rotctl/rotctld display
|
||||||
int print_conf_list2(const struct confparams *cfp, rig_ptr_t data, FILE *fout)
|
int print_conf_list2(const struct confparams *cfp, rig_ptr_t data, FILE *fout)
|
||||||
{
|
{
|
||||||
ROT *rot = (ROT *) data;
|
ROT *rot = (ROT *) data;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
int main(int argc, const char *argv[])
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
RIG *my_rig; /* handle to rig (nstance) */
|
RIG *my_rig; /* handle to rig (instance) */
|
||||||
freq_t freq; /* frequency */
|
freq_t freq; /* frequency */
|
||||||
rmode_t rmode; /* radio mode of operation */
|
rmode_t rmode; /* radio mode of operation */
|
||||||
pbwidth_t width;
|
pbwidth_t width;
|
||||||
|
@ -105,7 +105,7 @@ int main(int argc, const char *argv[])
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Example of setting rig paameters
|
* Example of setting rig parameters
|
||||||
* and some error checking on the return code.
|
* and some error checking on the return code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ static int myfreq_event(RIG *rig, vfo_t vfo, freq_t freq, rig_ptr_t arg)
|
||||||
|
|
||||||
int main(int argc, const char *argv[])
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
RIG *my_rig; /* handle to rig (nstance) */
|
RIG *my_rig; /* handle to rig (instance) */
|
||||||
int retcode; /* generic return code from functions */
|
int retcode; /* generic return code from functions */
|
||||||
int i, count = 0;
|
int i, count = 0;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue