[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. c0d11bc8b65ff8a23f914
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Michael B. <mdb...@us...> - 2021-03-27 15:08:50
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hamlib -- Ham radio control libraries".
The branch, master has been updated
via c0d11bc8b65ff8a23f914b6198d2d7ffbab5091e (commit)
via c831e32db16d29b7212f85042bce3f3cababcb43 (commit)
via 8e89aad2eaa185325356164613c392f6d6901f3b (commit)
via 8b82e3f5691b65e8e470247950160b11b41ec40d (commit)
from dd156f74e26af017a1ca092135c3c60245018ca8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c0d11bc8b65ff8a23f914b6198d2d7ffbab5091e
Author: Michael Black W9MDB <mdb...@ya...>
Date: Sat Mar 27 10:07:33 2021 -0500
newcat.c VFO_MEM defaults to VFO_A
https://github.com/Hamlib/Hamlib/issues/633
diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c
index cb1039ae..9dad47bc 100644
--- a/rigs/yaesu/newcat.c
+++ b/rigs/yaesu/newcat.c
@@ -772,6 +772,7 @@ int newcat_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
{
case RIG_VFO_A:
case RIG_VFO_MAIN:
+ case RIG_VFO_MEM:
c = 'A';
break;
diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h
index 19ea6aa0..f13ca362 100644
--- a/rigs/yaesu/newcat.h
+++ b/rigs/yaesu/newcat.h
@@ -50,7 +50,7 @@
typedef char ncboolean;
/* shared function version */
-#define NEWCAT_VER "20210309"
+#define NEWCAT_VER "20210327"
/* Hopefully large enough for future use, 128 chars plus '\0' */
#define NEWCAT_DATA_LEN 129
commit c831e32db16d29b7212f85042bce3f3cababcb43
Author: Michael Black W9MDB <mdb...@ya...>
Date: Fri Mar 26 23:09:36 2021 -0500
Fix icom.c frequency offset when the 0x25 is attempted and fails
https://github.com/Hamlib/Hamlib/issues/629
diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c
index 082d8869..0afebe10 100644
--- a/rigs/icom/icom.c
+++ b/rigs/icom/icom.c
@@ -1278,7 +1278,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
{
priv->x25cmdfails = 1;
rig_debug(RIG_DEBUG_WARN,
- "%s: rig does not support 0x25 CI-V cmd...vfo swapping will occur\n", __func__);
+ "%s: rig does not support 0x25 CI-V cmd\n", __func__);
}
freq_len--; // 0x25 cmd is 1 byte longer than 0x03 cmd
@@ -1287,6 +1287,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq)
if (priv->x25cmdfails) // then we're doing this the hard way....swap+read
{
+ freqbuf_offset = 1;
retval = set_vfo_curr(rig, vfo, rig->state.current_vfo);
if (retval != RIG_OK)
commit 8e89aad2eaa185325356164613c392f6d6901f3b
Author: Michael Black W9MDB <mdb...@ya...>
Date: Fri Mar 26 22:32:08 2021 -0500
During newcat.c AG format check reduce retries to zero to speed it up
https://github.com/Hamlib/Hamlib/issues/630
diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c
index 2fb25aa0..ece488e2 100644
--- a/rigs/kenwood/kenwood.c
+++ b/rigs/kenwood/kenwood.c
@@ -2816,6 +2816,8 @@ int kenwood_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
// This could be done by rig but easy enough to make it automagic
if (priv->ag_format < 0)
{
+ int retry_save = rig->state.rigport.retry;
+ rig->state.rigport.retry = 0; // speed up this check so no retries
rig_debug(RIG_DEBUG_TRACE, "%s: AF format check determination...\n", __func__);
// Determine AG format
// =-1 == Undetermine
@@ -2852,6 +2854,8 @@ int kenwood_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
}
}
}
+
+ rig->state.rigport.retry = retry_save;
}
rig_debug(RIG_DEBUG_TRACE, "%s: ag_format=%d\n", __func__, priv->ag_format);
diff --git a/rigs/kenwood/kenwood.h b/rigs/kenwood/kenwood.h
index 90dee848..d03c48f4 100644
--- a/rigs/kenwood/kenwood.h
+++ b/rigs/kenwood/kenwood.h
@@ -28,7 +28,7 @@
#include "token.h"
#include "misc.h"
-#define BACKEND_VER "20210309"
+#define BACKEND_VER "20210326"
#define EOM_KEN ';'
#define EOM_TH '\r'
commit 8b82e3f5691b65e8e470247950160b11b41ec40d
Author: Michael Black W9MDB <mdb...@ya...>
Date: Fri Mar 26 14:41:38 2021 -0500
Add TARGETABLE_FREQ and TARGETABLE mode to IC705
https://github.com/Hamlib/Hamlib/issues/626
diff --git a/rigs/icom/ic7300.c b/rigs/icom/ic7300.c
index 43fcbcc6..82b3ac22 100644
--- a/rigs/icom/ic7300.c
+++ b/rigs/icom/ic7300.c
@@ -721,7 +721,7 @@ const struct rig_caps ic705_caps =
RIG_MODEL(RIG_MODEL_IC705),
.model_name = "IC-705",
.mfg_name = "Icom",
- .version = BACKEND_VER ".0",
+ .version = BACKEND_VER ".1",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
@@ -759,7 +759,7 @@ const struct rig_caps ic705_caps =
.max_rit = Hz(9999),
.max_xit = Hz(9999),
.max_ifshift = Hz(0),
- .targetable_vfo = 0,
+ .targetable_vfo = RIG_TARGETABLE_FREQ | RIG_TARGETABLE_MODE,
.vfo_ops = IC7300_VFO_OPS,
.scan_ops = IC7300_SCAN_OPS,
.transceive = RIG_TRN_RIG,
-----------------------------------------------------------------------
Summary of changes:
rigs/icom/ic7300.c | 4 ++--
rigs/icom/icom.c | 3 ++-
rigs/kenwood/kenwood.c | 4 ++++
rigs/kenwood/kenwood.h | 2 +-
rigs/yaesu/newcat.c | 1 +
rigs/yaesu/newcat.h | 2 +-
6 files changed, 11 insertions(+), 5 deletions(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|