pull/1268/head
Daniele Forsi IU5HKX 2023-04-06 21:21:04 +02:00
rodzic 748b45b91f
commit 96bb604b12
13 zmienionych plików z 27 dodań i 27 usunięć

2
NEWS
Wyświetl plik

@ -21,7 +21,7 @@ Version 4.6
* Add rigctlsync utility to synchronize frequency from a rig to SDR# (or others)
* Add SDR# rig for use with SDR#'s gpredict plugin -- can only get/set freq
* Add Apex Shared Loop rotator -- unidirectional only so far
* Add client_version to rigctld so client can report it's version for future use/compatility/alternatives
* Add client_version to rigctld so client can report it's version for future use/compatibility/alternatives
* Add --set-conf=tuner_control_pathname=hamlib_tuner_control (default)
If file exists then it will be called with 0/1 (Off/On) argument
with 'U TUNER 0' or 'U TUNER 1"

Wyświetl plik

@ -159,7 +159,7 @@ PDF as blocks of constant width text and should be verbatim input or output
in the shell, programs, or blocks of source code.
Text intended to be typed at a shell or program prompt should be in bold and
program orshell output in normal weight. In some cases it will be necessary
program or shell output in normal weight. In some cases it will be necessary
to use the "\fB...\fP" font formatting calls especially where backslash
escapes ("\\") are required.

Wyświetl plik

@ -17,7 +17,7 @@ MAN_EXTENSION = .3
# Set GENERATE_LATEX to YES to generate the needed files for the PDF manual
# and run 'make doc'. Then 'cd latex ; make' to generate the PDF manual.
#
# See section 1.3.1.2 in @top_srcdir@/README.developer for the needed LaTEX
# See section 1.3.1.2 in @top_srcdir@/README.developer for the needed LaTeX
# packages.
USE_PDFLATEX = YES
PDF_HYPERLINKS = YES

Wyświetl plik

@ -16,13 +16,13 @@ hamlib_rotapi.pas
HamlibComponents.pas
This file contain two components that encapsulate the rig and rotator
frontends. It is very simular to the C++ class.
frontends. It is very similar to the C++ class.
A simple test program is included in the tests/ directory. It implements
a selection dialog and a very simple Radio Control dialog.
This binding was develop with Borland Kylix Open Edition Ver 2.0. Open Edition
This binding was developed with Borland Kylix Open Edition Ver 2.0. Open Edition
is freely downloadable from Borland's website for use with GPL projects.
http://www.borland.com/kylix/

Wyświetl plik

@ -327,7 +327,7 @@ const
//#define RIG_IS_TOKEN_FRONTEND(t) ((t)&(1<<30))
{*
* strongly inspired from soundmedem. Thanks Thomas!
* strongly inspired from soundmodem. Thanks Thomas!
*}
RIG_CONF_STRING = 0;
RIG_CONF_COMBO = 1;
@ -472,7 +472,7 @@ type
const
{*
* tranceive mode, ie. the rig notify the host of any event,
* transceive mode, ie. the rig notify the host of any event,
* like freq changed, mode changed, etc.
*}
RIG_TRN_OFF = 0;

Wyświetl plik

@ -565,7 +565,7 @@ typedef unsigned int vfo_t;
#define RIG_TARGETABLE_ANT (1<<10)
#define RIG_TARGETABLE_ROOFING (1<<11) // roofing filter targetable by VFO
#define RIG_TARGETABLE_SPECTRUM (1<<12) // spectrum scope targetable by VFO
#define RIG_TARGETABLE_BAND (1<<13) // Band select -- e.g. Yaeus BS command
#define RIG_TARGETABLE_BAND (1<<13) // Band select -- e.g. Yaesu BS command
#define RIG_TARGETABLE_COMMON (RIG_TARGETABLE_RITXIT | RIG_TARGETABLE_PTT | RIG_TARGETABLE_MEM | RIG_TARGETABLE_BANK)
#define RIG_TARGETABLE_ALL 0x7fffffff
//! @endcond
@ -779,7 +779,7 @@ typedef long token_t;
*
* Current internal implementation
* NUMERIC: val.f or val.i
* COMBO: val.i, starting from 0. Points to a table of strings or asci stored values.
* COMBO: val.i, starting from 0. Points to a table of strings or ASCII stored values.
* STRING: val.s or val.cs
* CHECKBUTTON: val.i 0/1
* BINARY: val.b
@ -2586,7 +2586,7 @@ struct rig_state {
int lock_mode; /*!< flag that prevents mode changes if ~= 0 -- see set/get_lock_mode */
powerstat_t powerstat; /*!< power status */
char *tuner_control_pathname; /*!< Path to external tuner control program that get 0/1 (Off/On) argument */
char client_version[32]; /*!<! Allow client to report version for compatility checks/capability */
char client_version[32]; /*!<! Allow client to report version for compatibility checks/capability */
freq_t offset_vfoa; /*!< Offset to apply to VFOA/Main set_freq */
freq_t offset_vfob; /*!< Offset to apply to VFOB/Sub set_freq */
};

Wyświetl plik

@ -506,7 +506,7 @@ static int jst145_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
if (retval != RIG_OK)
{
rig_debug(RIG_DEBUG_ERR, "%s: jrc_transcation failed: %s\n", __func__,
rig_debug(RIG_DEBUG_ERR, "%s: jrc_transaction failed: %s\n", __func__,
rigerror(retval));
}

Wyświetl plik

@ -46,7 +46,7 @@
* use the address returned from one of the commands. If you decide
* the latter method, the order is slightly confusing but, I have it
* well documented within DSctl. The latter method is also as much
* as 30% faster then using the Uniden software or "Get Next
* as 30% faster than using the Uniden software or "Get Next
* Location" command.
*/

Wyświetl plik

@ -3536,7 +3536,7 @@ int newcat_set_powerstat(RIG *rig, powerstat_t status)
ENTERFUNC;
#if 0 // all Yaeus rigs have PS and calling this here interferes with power on
#if 0 // all Yaesu rigs have PS and calling this here interferes with power on
if (!newcat_valid_command(rig, "PS"))
{
@ -7809,7 +7809,7 @@ int newcat_set_tx_vfo(RIG *rig, vfo_t tx_vfo)
if (is_ftdx101d || is_ftdx101mp)
{
// what other Yaeus rigs should be using this?
// what other Yaesu rigs should be using this?
// The DX101D returns FT0 when in split and not transmitting
command = "ST";
}
@ -7840,7 +7840,7 @@ int newcat_get_tx_vfo(RIG *rig, vfo_t *tx_vfo)
if (is_ftdx101d || is_ftdx101mp)
{
// what other Yaeus rigs should be using this?
// what other Yaesu rigs should be using this?
// The DX101D returns FT0 when in split and not transmitting
command = "ST";
}
@ -10897,7 +10897,7 @@ int newcat_set_cmd_validate(RIG *rig)
{
// for the BS command we can only run it once
// so we'll assume it worked
// maybe Yaeus will make this command more intelligent
// maybe Yaesu will make this command more intelligent
if (strstr(priv->cmd_str, "BS")) { RETURNFUNC(RIG_OK); }
// if the first two chars match we are validated

Wyświetl plik

@ -132,7 +132,7 @@ static int remove_opened_amp(const AMP *amp)
#ifdef XXREMOVEDXX
/**
* \brief Executess cfunc() on each #AMP handle.
* \brief Executes cfunc() on each #AMP handle.
*
* \param cfunc The function to be executed on each #AMP handle.
* \param data Data pointer to be passed to cfunc()

Wyświetl plik

@ -843,7 +843,7 @@ int HAMLIB_API rig_open(RIG *rig)
RETURNFUNC(-RIG_EINVAL);
}
// rigctl/rigctld may have deprecated values -- backwards compatility
// rigctl/rigctld may have deprecated values -- backwards compatibility
if (rs->rigport_deprecated.pathname[0] != 0)
{
strcpy(rs->rigport.pathname, rs->rigport_deprecated.pathname);
@ -4540,10 +4540,10 @@ int HAMLIB_API rig_set_split_mode(RIG *rig,
__LINE__, rig_strvfo(tx_vfo), rig_strrmode(tx_mode));
}
// code below here should be dead code now -- but maybe we have VFO situatiuon we need to handle
// code below here should be dead code now -- but maybe we have VFO situation we need to handle
if (caps->rig_model == RIG_MODEL_NETRIGCTL)
{
// special handlingt for netrigctl to avoid set_vfo
// special handling for netrigctl to avoid set_vfo
retcode = caps->set_split_mode(rig, vfo, tx_mode, tx_width);
ELAPSED2;
RETURNFUNC(retcode);
@ -4830,7 +4830,7 @@ int HAMLIB_API rig_set_split_freq_mode(RIG *rig,
HAMLIB_TRACE;
retcode = caps->set_split_freq_mode(rig, vfo, tx_freq, tx_mode, tx_width);
#if 0 // this verification seems to be causing bad behavior on some reigs
#if 0 // this verification seems to be causing bad behavior on some rigs
// we query freq after set to ensure it really gets done
do
@ -7456,7 +7456,7 @@ int HAMLIB_API rig_cookie(RIG *rig, enum cookie_e cookie_cmd, char *cookie,
date_strget(cookie, cookie_len, 0);
size_t len = strlen(cookie);
// add on our random number to ensure uniqueness
// The cookie should never be longer then HAMLIB_COOKIE_SIZE
// The cookie should never be longer than HAMLIB_COOKIE_SIZE
SNPRINTF(cookie + len, HAMLIB_COOKIE_SIZE - len, " %d\n", rand());
strcpy(cookie_save, cookie);
time_last_used = time_curr;

Wyświetl plik

@ -868,7 +868,7 @@ int ampctl_parse(AMP *my_amp, FILE *fin, FILE *fout, char *argv[], int argc)
rp_getline("\nAmplifier command: ");
/* EOF (Ctl-D) received on empty input line, bail out gracefully. */
/* EOF (Ctrl-D) received on empty input line, bail out gracefully. */
if (!input_line)
{
fprintf_flush(fout, "\n");
@ -952,7 +952,7 @@ int ampctl_parse(AMP *my_amp, FILE *fin, FILE *fout, char *argv[], int argc)
char cmd_name[MAXNAMSIZ];
/* if there is no terminating '\0' character in the source string,
* srncpy() doesn't add one even if the supplied length is less
* strncpy() doesn't add one even if the supplied length is less
* than the destination array. Truncate the source string here.
*/
if (strlen(parsed_input[0] + 1) >= MAXNAMSIZ)

Wyświetl plik

@ -28,9 +28,9 @@ static int test1()
else {printf("Test#1c Failed\n"); return 1;}
#if 0
// after 1 second we should be able to get a coookie
// after 1 second we should be able to get a cookie
// this means the cookie holder did not renew within 1 second
hl_usleep(1500 * 1000); // after 1 second we should be able to get a coookie
hl_usleep(1500 * 1000); // after 1 second we should be able to get a cookie
retcode = rig_cookie(NULL, RIG_COOKIE_GET, cookie2, sizeof(cookie2));
@ -91,7 +91,7 @@ static int test3_invalid_input()
char cookie[HAMLIB_COOKIE_SIZE];
int n = 0;
/* Make sure any value smaller then HAMLIB_COOKIE_SIZE is rejected */
/* Make sure any value smaller than HAMLIB_COOKIE_SIZE is rejected */
for (unsigned int i = 0; i < HAMLIB_COOKIE_SIZE; i++)
{
retcode = rig_cookie(NULL, RIG_COOKIE_GET, cookie, i);