pull/1261/head
Daniele Forsi IU5HKX 2023-03-23 21:25:48 +01:00
rodzic dd75f55b1f
commit 2db37fe7db
35 zmienionych plików z 70 dodań i 70 usunięć

Wyświetl plik

@ -362,7 +362,7 @@ the command line of the application's 'configure' script:
These can be set on the Hamlib 'configure' script's command line to see the
effect on the Hamlib utilities when they are built as statically linked
applicatins (--disable-shared option passed to 'configure'). With these
applications (--disable-shared option passed to 'configure'). With these
environment variables it can be seen that 'rigctl' contains no rotor symbols
nor does 'rotctl' contain any rig symbols.

2
NEWS
Wyświetl plik

@ -204,7 +204,7 @@ Version 4.3.1
- scripts: Update example in readme, since 4.0 817 is 1020
- Make testlibusb.c compatible with libusb < 1.0.23
Note: On systems with libusb < 1.0.23 a warning will be emitted
but compliation should proceed without error.
but compilation should proceed without error.
- Update testlibusb.c warning to "may be" instead of "will be"
- Change kenwood to only set VFOA default on 1st rig_open call

Wyświetl plik

@ -1,6 +1,6 @@
This is a test of creating a portable Hamlib GUI controller using dotnet and GTK
Should be able to compile on Windows, Linux, and MacOS
No guarante this will go anywhere depending on ability to talk to Hamlib via C#
No guarantee this will go anywhere depending on ability to talk to Hamlib via C#
On Windows
dotnet new install GtkSharp.Template.CSharp

Wyświetl plik

@ -1324,7 +1324,7 @@ Examples:
.TP
.BR client_version " \(aq" \fIString\fP "\(aq
.EX
Client can send it's version to rigctld and get feedback on compatibility, deprecation, and alternatives
Client can send its version to rigctld and get feedback on compatibility, deprecation, and alternatives
.
.SH READLINE
.

Wyświetl plik

@ -469,7 +469,7 @@ int dxsr8_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
return -RIG_EINVAL;
}
filter = 0; // avoid compiler warings of being possibly uninitialized
filter = 0; // avoid compiler warnings of being possibly uninitialized
retval = dxsr8_read_num(rig, AL "~RR_NAR" EOM, &filter);
if (filter == 0)

Wyświetl plik

@ -16,7 +16,7 @@ The previous AR5000 could:
Now, it:
- can get and set frequency.
- can read and set (all) modes.
- still does not support VFO D & E. I probably have not understood how VFO_N(3) and VFO_N(4) are ment to be used :-(
- still does not support VFO D & E. I probably have not understood how VFO_N(3) and VFO_N(4) are meant to be used :-(
- can read AGC-level.

Wyświetl plik

@ -333,7 +333,7 @@ int codan_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
retval = sscanf(response, "FREQ: %lg", freq);
*freq *= 1000; // returne freq is in kHz
*freq *= 1000; // returned freq is in kHz
if (retval != 1)
{

Wyświetl plik

@ -267,7 +267,7 @@ static int check_vfo(vfo_t vfo)
/*Rather than use some huge XML library we only need a few things
* So we'll hand craft them
* xml_build takes a value and return an xml string for FLRig
* xml_build takes a value and returns an xml string for FLRig
*/
static char *xml_build(RIG *rig, char *cmd, char *value, char *xmlbuf,
int xmlbuflen)

Wyświetl plik

@ -132,7 +132,7 @@ static void prnPrompt(void);
/**
* @brief Displays hint output for commands
* @param hint_type Type or command
* @oaram cmd Part of command to comment
* @param cmd Part of command to comment
*/
static void prnHint(hint_t hint_type, char *cmd);

Wyświetl plik

@ -1074,7 +1074,7 @@ retry_open:
}
else if (retval != RIG_OK)
{
// didnt' ask for power on so let's retry one more time
// didn't ask for power on so let's retry one more time
if (retry_flag)
{
@ -2726,7 +2726,7 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
if (*width == 0) { *width = rig->state.cache.widthMainA; } // we'll use VFOA's width
// dont' really care about cache time here
// don't really care about cache time here
// this is just to prevent vfo swapping while getting width
rig->state.cache.widthMainB = retval;
rig_debug(RIG_DEBUG_TRACE, "%s(%d): vfosave=%s, currvfo=%s\n", __func__,
@ -2798,8 +2798,8 @@ int icom_set_vfo(RIG *rig, vfo_t vfo)
{
// if rig doesn't have Main/Sub
// or if rig has both Main/Sub and A/B -- e.g. 9700
// and we dont' have split or satmode turned on
// then we dont' use Sub -- instead we use Main/VFOB
// and we don't have split or satmode turned on
// then we don't use Sub -- instead we use Main/VFOB
vfo = RIG_VFO_B;
rig_debug(RIG_DEBUG_TRACE,
"%s: Rig does not have MAIN/SUB so Sub changed to %s\n",

Wyświetl plik

@ -10,7 +10,7 @@ LVL_PBT_OUT
LVL_KEYSPD
*/
// Once included these values can be overidden in the back-end
// Once included these values can be overridden in the back-end
// Known variants are AGC_TIME, PREAMP, ATT, NB, CWPITCH, IF, NOTCHF, VOXDELAY, BKINDL, BKIN_DLYMS, RFPOWER_METER(255 or 100), RFPOWER_METER_WATTS(255 or 100)
// cppcheck-suppress *
/* raw data */

Wyświetl plik

@ -550,7 +550,7 @@ int ic10_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt)
/* 12345678901234567890123456789012345678 */
offset = 5;
if (iflen == 36) offset = 8; // QRP QDX gets completely bogus length
else if (iflen == 37) offset = 9; // just incase somebody does this add p13/p14x2/p15
else if (iflen == 37) offset = 9; // just in case somebody does this add p13/p14x2/p15
*ptt = infobuf[iflen - offset] == '0' ? RIG_PTT_OFF : RIG_PTT_ON;

Wyświetl plik

@ -865,7 +865,7 @@ int kenwood_open(RIG *rig)
rig_debug(RIG_DEBUG_TRACE, "%s: got PS0 so powerup\n", __func__);
rig_set_powerstat(rig, 1);
}
else if (err == -RIG_ETIMEOUT) // Some rigs like TS-450 dont' have PS cmd
else if (err == -RIG_ETIMEOUT) // Some rigs like TS-450 don't have PS cmd
{
priv->has_ps = 0;
}

Wyświetl plik

@ -1,4 +1,4 @@
// Once included these values can be overidden in the back-end
// Once included these values can be overridden in the back-end
// Known variants are PREAMP, ATT, NB, CWPITCH, IF, NOTCHF, VOXDELAY, BKINDL, BKIN_DLYMS, RFPOWER_METER(255 or 100), RFPOWER_METER_WATTS(255 or 100)
// cppcheck-suppress *
/* raw data */

Wyświetl plik

@ -398,7 +398,7 @@ static int ad_write_reg(hamlib_port_t *port, unsigned addr, unsigned nb_bytes,
return RIG_OK;
}
/* Register serial adresses */
/* Register serial addresses */
#define CFR1 0x0
#define CFR2 0x1
#define ASF 0x2

Wyświetl plik

@ -229,7 +229,7 @@ const struct rig_caps tt538_caps =
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
};
/* Filter table for 538 reciver support. */
/* Filter table for 538 receiver support. */
static int tt538_rxFilter[] =
{
8000, 6000, 5700, 5400, 5100, 4800, 4500, 4200, 3900, 3600, 3300,

Wyświetl plik

@ -237,7 +237,7 @@ const struct rig_caps tt588_caps =
.hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS
};
/* Filter table for 588 reciver support. */
/* Filter table for 588 receiver support. */
static int tt588_rxFilter[] =
{
12000, 9000, 8000, 7500, 7000, 6500, 6000, 5500, 5000, 4500, 4000, 3800, 3600, 3400, 3200,

Wyświetl plik

@ -32,7 +32,7 @@
#include "tt550.h"
/*
* Filter table for 550 reciver support
* Filter table for 550 receiver support
*/
static int tt550_filters[] =
{

Wyświetl plik

@ -3289,7 +3289,7 @@ static int ft1000d_get_channel(RIG *rig, vfo_t vfo, channel_t *chan,
* rl expected length of returned data in octets
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft1000d_get_update_data(RIG *rig, unsigned char ci,
unsigned short ch)
@ -3413,7 +3413,7 @@ static int ft1000d_get_update_data(RIG *rig, unsigned char ci,
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft1000d_send_static_cmd(RIG *rig, unsigned char ci)
{
@ -3457,7 +3457,7 @@ static int ft1000d_send_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft1000d_send_dynamic_cmd(RIG *rig, unsigned char ci,
unsigned char p1, unsigned char p2,
@ -3517,7 +3517,7 @@ static int ft1000d_send_dynamic_cmd(RIG *rig, unsigned char ci,
* freq freq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft1000d_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
{
@ -3575,7 +3575,7 @@ static int ft1000d_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
* rit shortfreq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft1000d_send_rit_freq(RIG *rig, unsigned char ci, shortfreq_t rit)
{

Wyświetl plik

@ -1722,7 +1722,7 @@ static int ft840_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op)
* rl expected length of returned data in octets
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft840_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
@ -1768,7 +1768,7 @@ static int ft840_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft840_send_static_cmd(RIG *rig, unsigned char ci)
@ -1812,7 +1812,7 @@ static int ft840_send_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft840_send_dynamic_cmd(RIG *rig, unsigned char ci,
@ -1873,7 +1873,7 @@ static int ft840_send_dynamic_cmd(RIG *rig, unsigned char ci,
* freq freq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft840_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
@ -1936,7 +1936,7 @@ static int ft840_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
* p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*
* Assumes: rit doesn't exceed tuning limits of rig
*/

Wyświetl plik

@ -610,7 +610,7 @@ int ft857_get_vfo(RIG *rig, vfo_t *vfo)
rig_debug(RIG_DEBUG_VERBOSE, "%s: called \n", __func__);
// Some 857's cannnot read so we'll just return the cached value if we've seen an error
// Some 857's cannot read so we'll just return the cached value if we've seen an error
if (ignore)
{
*vfo = rig->state.cache.vfo;

Wyświetl plik

@ -1875,7 +1875,7 @@ static int ft890_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op)
* rl expected length of returned data in octets
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft890_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
@ -1921,7 +1921,7 @@ static int ft890_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft890_send_static_cmd(RIG *rig, unsigned char ci)
@ -1964,7 +1964,7 @@ static int ft890_send_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft890_send_dynamic_cmd(RIG *rig, unsigned char ci,
@ -2025,7 +2025,7 @@ static int ft890_send_dynamic_cmd(RIG *rig, unsigned char ci,
* freq freq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft890_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
@ -2088,7 +2088,7 @@ static int ft890_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
* p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*
* Assumes: rit doesn't exceed tuning limits of rig
*/

Wyświetl plik

@ -1897,7 +1897,7 @@ static int ft900_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op)
* rl expected length of returned data in octets
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft900_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
@ -1943,7 +1943,7 @@ static int ft900_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft900_send_static_cmd(RIG *rig, unsigned char ci)
@ -1986,7 +1986,7 @@ static int ft900_send_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft900_send_dynamic_cmd(RIG *rig, unsigned char ci,
@ -2047,7 +2047,7 @@ static int ft900_send_dynamic_cmd(RIG *rig, unsigned char ci,
* freq freq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft900_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
@ -2110,7 +2110,7 @@ static int ft900_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
* p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*
* Assumes: rit doesn't exceed tuning limits of rig
*/

Wyświetl plik

@ -2605,7 +2605,7 @@ static int ft920_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status)
* rl expected length of returned data in octets
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft920_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
@ -2652,7 +2652,7 @@ static int ft920_get_update_data(RIG *rig, unsigned char ci, unsigned char rl)
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft920_send_static_cmd(RIG *rig, unsigned char ci)
@ -2699,7 +2699,7 @@ static int ft920_send_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft920_send_dynamic_cmd(RIG *rig, unsigned char ci,
@ -2765,7 +2765,7 @@ static int ft920_send_dynamic_cmd(RIG *rig, unsigned char ci,
* freq freq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int ft920_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
@ -2832,7 +2832,7 @@ static int ft920_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
* p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*
* Assumes: rit doesn't exceed tuning limits of rig
*/

Wyświetl plik

@ -3221,7 +3221,7 @@ int ft990_get_channel(RIG *rig, vfo_t vfo, channel_t *chan, int read_only)
* rl expected length of returned data in octets
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990_get_update_data(RIG *rig, unsigned char ci, unsigned short ch)
{
@ -3319,7 +3319,7 @@ int ft990_get_update_data(RIG *rig, unsigned char ci, unsigned short ch)
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990_send_static_cmd(RIG *rig, unsigned char ci)
{
@ -3360,7 +3360,7 @@ int ft990_send_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990_send_dynamic_cmd(RIG *rig, unsigned char ci,
unsigned char p1, unsigned char p2,
@ -3419,7 +3419,7 @@ int ft990_send_dynamic_cmd(RIG *rig, unsigned char ci,
* freq freq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
{
@ -3476,7 +3476,7 @@ int ft990_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
* rit shortfreq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990_send_rit_freq(RIG *rig, unsigned char ci, shortfreq_t rit)
{

Wyświetl plik

@ -3254,7 +3254,7 @@ int ft990v12_get_channel(RIG *rig, vfo_t vfo, channel_t *chan, int read_only)
* rl expected length of returned data in octets
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990v12_get_update_data(RIG *rig, unsigned char ci, unsigned short ch)
{
@ -3413,7 +3413,7 @@ int ft990v12_get_update_data(RIG *rig, unsigned char ci, unsigned short ch)
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990v12_send_static_cmd(RIG *rig, unsigned char ci)
{
@ -3454,7 +3454,7 @@ int ft990v12_send_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990v12_send_dynamic_cmd(RIG *rig, unsigned char ci,
unsigned char p1, unsigned char p2,
@ -3513,7 +3513,7 @@ int ft990v12_send_dynamic_cmd(RIG *rig, unsigned char ci,
* freq freq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990v12_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
{
@ -3570,7 +3570,7 @@ int ft990v12_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq)
* rit shortfreq_t frequency value
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
int ft990v12_send_rit_freq(RIG *rig, unsigned char ci, shortfreq_t rit)
{

Wyświetl plik

@ -1,4 +1,4 @@
// Once included these values can be overidden in the back-end
// Once included these values can be overridden in the back-end
// Known variants are PREAMP, ATT, NB, CWPITCH, IF, NOTCHF, VOXDELAY, BKINDL, BKIN_DLYMS, RFPOWER_METER(255 or 100), RFPOWER_METER_WATTS(255 or 100)
// cppcheck-suppress *
/* raw data */

Wyświetl plik

@ -811,7 +811,7 @@ int newcat_get_conf2(RIG *rig, token_t token, char *val, int val_len)
static int freq_60m[] = { 5332000, 5348000, 5358500, 5373000, 5405000 };
/* returns 0 if no exeption or 1 if rig needs special handling */
/* returns 0 if no exception or 1 if rig needs special handling */
int newcat_60m_exception(RIG *rig, freq_t freq, mode_t mode)
{
struct newcat_priv_data *priv = (struct newcat_priv_data *)rig->state.priv;
@ -10852,7 +10852,7 @@ int newcat_set_cmd_validate(RIG *rig)
if (strlen(valcmd) == 0) { RETURNFUNC(RIG_OK); }
// we can use a single ; to get a reponse of ?; for some rigs
// we can use a single ; to get a response of ?; for some rigs
// this list can be expanded as we get more testing
// seems newer rigs have this older ones time out
switch(rig->caps->rig_model)

Wyświetl plik

@ -400,7 +400,7 @@ static int vx1700_do_transaction(RIG *rig,
* ci Command index of the ncmd table
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int vx1700_do_static_cmd(RIG *rig, unsigned char ci)
{
@ -427,7 +427,7 @@ static int vx1700_do_static_cmd(RIG *rig, unsigned char ci)
* p1-p4 Command parameters
*
* Returns: RIG_OK if all called functions are successful,
* otherwise returns error from called functiion
* otherwise returns error from called function
*/
static int vx1700_do_dynamic_cmd(RIG *rig, unsigned char ci,
unsigned char p1, unsigned char p2,

Wyświetl plik

@ -20,7 +20,7 @@ Tested only with PTU-D48 yet and with one rotor per chain only.
either using the rotctl `Reset` command (R) or manually via serial terminal
sending the `R\n` command.
4. To enable the rotor to fully turn +/- 180°, the softlock must be disabled.
This is included in the rotctl `Reset` commnad or manually via serial terminal
This is included in the rotctl `Reset` command or manually via serial terminal
seinden the command `LD\n`. **WARNING:** Send this command only after the rotor is
calibrated, or you risk damage running into the hard endstops (at about +/-190°)
5. Start `rotctl` or `rotctld` with the arguments `-m 2501 -r <Serial

Wyświetl plik

@ -236,7 +236,7 @@ AMP *HAMLIB_API amp_init(amp_model_t amp_model)
switch (caps->port_type)
{
case RIG_PORT_SERIAL:
// Dont' think we need a default port here
// Don't think we need a default port here
//strncpy(rs->ampport.pathname, DEFAULT_SERIAL_PORT, HAMLIB_FILPATHLEN - 1);
rs->ampport.parm.serial.rate = caps->serial_rate_max; /* fastest ! */
rs->ampport.parm.serial.data_bits = caps->serial_data_bits;

Wyświetl plik

@ -1247,7 +1247,7 @@ const struct confparams *HAMLIB_API rig_confparam_lookup(RIG *rig,
* \param rig The rig handle
* \param name The name of the configuration parameter
*
* Simple lookup returning token id assicated with name.
* Simple lookup returning token id associated with name.
*
* \return the token id if found, otherwise RIG_CONF_END
*/

Wyświetl plik

@ -34,8 +34,8 @@ rigmem - Combined tool to load/save content of rig memory, see man page
rotctl - Similar to 'rigctl' but for rotators, see man page
rigctld - A simple daemon to process 'rigctl' commands received over a
network socket. Useful for scripting languages or remote access
via an SSH tunnel (unsecure program). See man page.
via an SSH tunnel (insecure program). See man page.
rotctld - A simple daemon to process 'rotctl' commands received over a
network socket. Useful for scripting languages or remote access
via an SSH tunnel (unsecure program). See man page.
via an SSH tunnel (insecure program). See man page.
testctld.pl A Perl program to test 'rigctld' and provide some example code.

Wyświetl plik

@ -1773,7 +1773,7 @@ readline_repeat:
}
// we need to copy client_version to our thread in case there are multiple client versions
// client_version is used to determine any backward compatiblity requirements or problems
// client_version is used to determine any backward compatibility requirements or problems
strncpy(client_version, my_rig->state.client_version, sizeof(client_version));
}
@ -4897,7 +4897,7 @@ declare_proto_rig(send_cmd)
rig_debug(RIG_DEBUG_TRACE, "%s: rigport=%d, bufcmd=%s, cmd_len=%d\n", __func__,
rs->rigport.fd, hasbinary(bufcmd, cmd_len) ? "BINARY" : bufcmd, cmd_len);
// we dont' want the 'w' command to wait too long
// we don't want the 'w' command to wait too long
int save_retry = rs->rigport.retry;
rs->rigport.retry = 0;
retval = write_block(&rs->rigport, (unsigned char *) bufcmd, cmd_len);

Wyświetl plik

@ -1490,7 +1490,7 @@ static int handle_ts2000(void *arg)
int isplit;
int retval;
char response[32];
// Expecting DCnn -- but we dont' care about the control param
// Expecting DCnn -- but we don't care about the control param
int n = sscanf(arg, "DC%d", &isplit);
if (n != 1)