[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. e992691354fb0d1966660
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: n0nb <n0...@us...> - 2025-10-06 16:59:09
|
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 e992691354fb0d1966660f84314bfa31f3ee39c5 (commit)
via bceb1a1fdf42410b876571f0a167d1fa8abefa3f (commit)
via 486ec607dd84499f61e07e1d0e6a80633ab0809d (commit)
via a7188c201ac552b6155fe25bfab85e44cdd76c62 (commit)
via 0546e764afe4fdca95b471d11858e74724333da8 (commit)
via 19ce6d30b0ff589d7866fa9c2457cc56d0b64d81 (commit)
via 6238a5ef1b605168c06767836a882007fb5fa59c (commit)
via c0717e783475e70a2a40f3d08199379f324cc1b4 (commit)
from d11d7b2d0029e901e90f62e866e2a3c3e9924c50 (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 e992691354fb0d1966660f84314bfa31f3ee39c5
Merge: d11d7b2d0 bceb1a1fd
Author: Nate Bargmann <n0...@n0...>
Date: Mon Oct 6 11:43:25 2025 -0500
Merge GitHub PR @1933
commit bceb1a1fdf42410b876571f0a167d1fa8abefa3f
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sun Oct 5 11:31:58 2025 +0200
Do not use abbreviations where there is enough space
diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c
index 386cfae25..a7b83c5ef 100644
--- a/tests/rigctl_parse.c
+++ b/tests/rigctl_parse.c
@@ -309,18 +309,18 @@ static struct test_table test_list[] =
{ 'g', "scan", ACTION(scan), ARG_IN, "Scan Fct", "Scan Channel" },
{ 'A', "set_trn", ACTION(set_trn), ARG_IN | ARG_NOVFO, "Transceive" },
{ 'a', "get_trn", ACTION(get_trn), ARG_OUT | ARG_NOVFO, "Transceive" },
- { 'R', "set_rptr_shift", ACTION(set_rptr_shift), ARG_IN, "Rptr Shift" },
- { 'r', "get_rptr_shift", ACTION(get_rptr_shift), ARG_OUT, "Rptr Shift" },
- { 'O', "set_rptr_offs", ACTION(set_rptr_offs), ARG_IN, "Rptr Offset" },
- { 'o', "get_rptr_offs", ACTION(get_rptr_offs), ARG_OUT, "Rptr Offset" },
+ { 'R', "set_rptr_shift", ACTION(set_rptr_shift), ARG_IN, "Repeater Shift" },
+ { 'r', "get_rptr_shift", ACTION(get_rptr_shift), ARG_OUT, "Repeater Shift" },
+ { 'O', "set_rptr_offs", ACTION(set_rptr_offs), ARG_IN, "Repeater Offset" },
+ { 'o', "get_rptr_offs", ACTION(get_rptr_offs), ARG_OUT, "Repeater Offset" },
{ 'C', "set_ctcss_tone", ACTION(set_ctcss_tone), ARG_IN, "CTCSS Tone" },
{ 'c', "get_ctcss_tone", ACTION(get_ctcss_tone), ARG_OUT, "CTCSS Tone" },
{ 'D', "set_dcs_code", ACTION(set_dcs_code), ARG_IN, "DCS Code" },
{ 'd', "get_dcs_code", ACTION(get_dcs_code), ARG_OUT, "DCS Code" },
- { 0x90, "set_ctcss_sql", ACTION(set_ctcss_sql), ARG_IN, "CTCSS Sql" },
- { 0x91, "get_ctcss_sql", ACTION(get_ctcss_sql), ARG_OUT, "CTCSS Sql" },
- { 0x92, "set_dcs_sql", ACTION(set_dcs_sql), ARG_IN, "DCS Sql" },
- { 0x93, "get_dcs_sql", ACTION(get_dcs_sql), ARG_OUT, "DCS Sql" },
+ { 0x90, "set_ctcss_sql", ACTION(set_ctcss_sql), ARG_IN, "CTCSS Squelch" },
+ { 0x91, "get_ctcss_sql", ACTION(get_ctcss_sql), ARG_OUT, "CTCSS Squelch" },
+ { 0x92, "set_dcs_sql", ACTION(set_dcs_sql), ARG_IN, "DCS Squelch" },
+ { 0x93, "get_dcs_sql", ACTION(get_dcs_sql), ARG_OUT, "DCS Squelch" },
//
//{ 'V', "set_vfo", ACTION(set_vfo), ARG_IN | ARG_NOVFO | ARG_OUT, "VFO" },
{ 'V', "set_vfo", ACTION(set_vfo), ARG_IN | ARG_NOVFO, "VFO" },
@@ -343,8 +343,8 @@ static struct test_table test_list[] =
{ 0x88, "get_powerstat", ACTION(get_powerstat), ARG_OUT | ARG_NOVFO, "Power Status" },
{ 0x89, "send_dtmf", ACTION(send_dtmf), ARG_IN | ARG_NOVFO, "Digits" },
{ 0x8a, "recv_dtmf", ACTION(recv_dtmf), ARG_OUT | ARG_NOVFO, "Digits" },
- { 'w', "send_cmd", ACTION(send_cmd), ARG_IN1 | ARG_IN_LINE | ARG_OUT2 | ARG_NOVFO, "Cmd", "Reply" },
- { 'W', "send_cmd_rx", ACTION(send_cmd), ARG_IN | ARG_OUT2 | ARG_NOVFO, "Cmd", "Reply"},
+ { 'w', "send_cmd", ACTION(send_cmd), ARG_IN1 | ARG_IN_LINE | ARG_OUT2 | ARG_NOVFO, "Command", "Reply" },
+ { 'W', "send_cmd_rx", ACTION(send_cmd), ARG_IN | ARG_OUT2 | ARG_NOVFO, "Command", "Reply"},
{ '*', "reset", ACTION(reset), ARG_IN | ARG_NOVFO, "Reset" },
{ 'b', "send_morse", ACTION(send_morse), ARG_IN | ARG_NOVFO | ARG_IN_LINE, "Morse" },
{ 0xbb, "stop_morse", ACTION(stop_morse), ARG_NOVFO},
@@ -358,7 +358,7 @@ static struct test_table test_list[] =
{ 0x95, "set_cache", ACTION(set_cache), ARG_IN | ARG_NOVFO, "Timeout (msecs)" },
{ 0x96, "get_cache", ACTION(get_cache), ARG_OUT | ARG_NOVFO, "Timeout (msecs)" },
{ '2', "power2mW", ACTION(power2mW), ARG_IN1 | ARG_IN2 | ARG_IN3 | ARG_OUT1 | ARG_NOVFO, "Power [0.0..1.0]", "Frequency", "Mode", "Power mW" },
- { '4', "mW2power", ACTION(mW2power), ARG_IN1 | ARG_IN2 | ARG_IN3 | ARG_OUT1 | ARG_NOVFO, "Pwr mW", "Freq", "Mode", "Power [0.0..1.0]" },
+ { '4', "mW2power", ACTION(mW2power), ARG_IN1 | ARG_IN2 | ARG_IN3 | ARG_OUT1 | ARG_NOVFO, "Power mW", "Freq", "Mode", "Power [0.0..1.0]" },
{ '1', "dump_caps", ACTION(dump_caps), ARG_NOVFO },
{ '3', "dump_conf", ACTION(dump_conf), ARG_NOVFO },
{ 0x8f, "dump_state", ACTION(dump_state), ARG_OUT | ARG_NOVFO },
commit 486ec607dd84499f61e07e1d0e6a80633ab0809d
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sun Oct 5 11:31:10 2025 +0200
Remove space for consistency with other descriptions
diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c
index aa6b7f269..386cfae25 100644
--- a/tests/rigctl_parse.c
+++ b/tests/rigctl_parse.c
@@ -352,7 +352,7 @@ static struct test_table test_list[] =
{ 0x94, "send_voice_mem", ACTION(send_voice_mem), ARG_NOVFO | ARG_IN, "Voice Mem#" },
{ 0xab, "stop_voice_mem", ACTION(stop_voice_mem), ARG_NOVFO},
{ 0x8b, "get_dcd", ACTION(get_dcd), ARG_OUT | ARG_NOVFO, "DCD" },
- { 0x97, "uplink", ACTION(set_uplink), ARG_IN | ARG_NOVFO, "1=Sub, 2=Main" },
+ { 0x97, "uplink", ACTION(set_uplink), ARG_IN | ARG_NOVFO, "1=Sub,2=Main" },
{ 0x8d, "set_twiddle", ACTION(set_twiddle), ARG_IN | ARG_NOVFO, "Timeout (secs)" },
{ 0x8e, "get_twiddle", ACTION(get_twiddle), ARG_OUT | ARG_NOVFO, "Timeout (secs)" },
{ 0x95, "set_cache", ACTION(set_cache), ARG_IN | ARG_NOVFO, "Timeout (msecs)" },
commit a7188c201ac552b6155fe25bfab85e44cdd76c62
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sun Oct 5 09:02:00 2025 +0200
Put set_gpio before get_gpio
Like other set/get pairs.
diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c
index dbc81b648..aa6b7f269 100644
--- a/tests/rigctl_parse.c
+++ b/tests/rigctl_parse.c
@@ -383,8 +383,8 @@ static struct test_table test_list[] =
{ 0xa4, "send_raw", ACTION(send_raw), ARG_NOVFO | ARG_IN1 | ARG_IN2 | ARG_OUT3, "Terminator", "Command", "Send raw answer" },
{ 0xa5, "client_version", ACTION(client_version), ARG_NOVFO | ARG_IN1, "Version", "Client version" },
{ 0xa8, "hamlib_version", ACTION(hamlib_version), ARG_NOVFO },
- { 0xa9, "get_gpio", ACTION(cm108_get_bit), ARG_NOVFO | ARG_IN1 | ARG_OUT1, "GPIO#", "0/1" },
{ 0xaa, "set_gpio", ACTION(cm108_set_bit), ARG_NOVFO | ARG_IN, "GPIO#", "0/1" },
+ { 0xa9, "get_gpio", ACTION(cm108_get_bit), ARG_NOVFO | ARG_IN1 | ARG_OUT1, "GPIO#", "0/1" },
{ 0xac, "set_conf", ACTION(set_conf), ARG_NOVFO | ARG_IN, "Token", "Token Value" },
{ 0xad, "get_conf", ACTION(get_conf), ARG_NOVFO | ARG_IN1 | ARG_OUT2, "Token", "Value"},
{ 0xa7, "test", ACTION(test), ARG_NOVFO | ARG_IN, "routine" },
commit 0546e764afe4fdca95b471d11858e74724333da8
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sat Oct 4 22:51:38 2025 +0200
Update comments
All letters are used now, rig_set/rig_get are added and -W is
reserved by POSIX.2 for implementation extensions of get_opt,
but it doesn't apply here because this code is using strcmp()
and the W command which is implemented is not prefixed by a '-'.
diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c
index 25edc4dc3..dbc81b648 100644
--- a/tests/rigctl_parse.c
+++ b/tests/rigctl_parse.c
@@ -276,11 +276,7 @@ declare_proto_rig(get_conf);
/*
* convention: upper case cmd is set, lowercase is get
*
- * TODO: add missing rig_set_/rig_get_: sql, dcd, etc.
* NB: 'q' 'Q' '?' are reserved by interactive mode interface
- * do NOT use -W since it's reserved by POSIX.
- *
- * Available alphabetic letters: -.--------------*-----W-Y-
*/
static struct test_table test_list[] =
{
commit 19ce6d30b0ff589d7866fa9c2457cc56d0b64d81
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sat Oct 4 22:37:09 2025 +0200
Put get_conf near set_conf
diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c
index 18c8ed3d5..c0fb93431 100644
--- a/tests/rotctl_parse.c
+++ b/tests/rotctl_parse.c
@@ -222,6 +222,7 @@ struct test_table test_list[] =
{ 'X', "set_parm", ACTION(set_parm), ARG_IN, "Parm", "Parm Value" },
{ 'x', "get_parm", ACTION(get_parm), ARG_IN1 | ARG_OUT2, "Parm", "Parm Value" },
{ 'C', "set_conf", ACTION(set_conf), ARG_IN, "Token", "Value" },
+ { 0xad, "get_conf", ACTION(get_conf), ARG_IN1 | ARG_OUT2, "Token", "Value"},
{ '_', "get_info", ACTION(get_info), ARG_OUT, "Info" },
{ 's', "get_status", ACTION(get_status), ARG_OUT, "Status flags" },
{ 'w', "send_cmd", ACTION(send_cmd), ARG_IN1 | ARG_IN_LINE | ARG_OUT2, "Cmd", "Reply" },
@@ -238,7 +239,6 @@ struct test_table test_list[] =
{ 'A', "a_sp2a_lp", ACTION(az_sp2az_lp), ARG_IN1 | ARG_OUT1, "Short Path Deg", "Long Path Deg" },
{ 'a', "d_sp2d_lp", ACTION(dist_sp2dist_lp), ARG_IN1 | ARG_OUT1, "Short Path km", "Long Path km" },
{ 0x8c, "pause", ACTION(pause), ARG_IN, "Seconds" },
- { 0xad, "get_conf", ACTION(get_conf), ARG_IN1 | ARG_OUT2, "Token", "Value"},
{ 0x00, "", NULL },
};
commit 6238a5ef1b605168c06767836a882007fb5fa59c
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sat Oct 4 21:50:20 2025 +0200
Reorder commands in --help output
Puts more related get/set commands side by side in the columnar output.
diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c
index 0cc20c628..25edc4dc3 100644
--- a/tests/rigctl_parse.c
+++ b/tests/rigctl_parse.c
@@ -347,18 +347,18 @@ static struct test_table test_list[] =
{ 0x88, "get_powerstat", ACTION(get_powerstat), ARG_OUT | ARG_NOVFO, "Power Status" },
{ 0x89, "send_dtmf", ACTION(send_dtmf), ARG_IN | ARG_NOVFO, "Digits" },
{ 0x8a, "recv_dtmf", ACTION(recv_dtmf), ARG_OUT | ARG_NOVFO, "Digits" },
- { '*', "reset", ACTION(reset), ARG_IN | ARG_NOVFO, "Reset" },
{ 'w', "send_cmd", ACTION(send_cmd), ARG_IN1 | ARG_IN_LINE | ARG_OUT2 | ARG_NOVFO, "Cmd", "Reply" },
{ 'W', "send_cmd_rx", ACTION(send_cmd), ARG_IN | ARG_OUT2 | ARG_NOVFO, "Cmd", "Reply"},
+ { '*', "reset", ACTION(reset), ARG_IN | ARG_NOVFO, "Reset" },
{ 'b', "send_morse", ACTION(send_morse), ARG_IN | ARG_NOVFO | ARG_IN_LINE, "Morse" },
{ 0xbb, "stop_morse", ACTION(stop_morse), ARG_NOVFO},
{ 0xbc, "wait_morse", ACTION(wait_morse), ARG_NOVFO},
{ 0x94, "send_voice_mem", ACTION(send_voice_mem), ARG_NOVFO | ARG_IN, "Voice Mem#" },
{ 0xab, "stop_voice_mem", ACTION(stop_voice_mem), ARG_NOVFO},
{ 0x8b, "get_dcd", ACTION(get_dcd), ARG_OUT | ARG_NOVFO, "DCD" },
+ { 0x97, "uplink", ACTION(set_uplink), ARG_IN | ARG_NOVFO, "1=Sub, 2=Main" },
{ 0x8d, "set_twiddle", ACTION(set_twiddle), ARG_IN | ARG_NOVFO, "Timeout (secs)" },
{ 0x8e, "get_twiddle", ACTION(get_twiddle), ARG_OUT | ARG_NOVFO, "Timeout (secs)" },
- { 0x97, "uplink", ACTION(set_uplink), ARG_IN | ARG_NOVFO, "1=Sub, 2=Main" },
{ 0x95, "set_cache", ACTION(set_cache), ARG_IN | ARG_NOVFO, "Timeout (msecs)" },
{ 0x96, "get_cache", ACTION(get_cache), ARG_OUT | ARG_NOVFO, "Timeout (msecs)" },
{ '2', "power2mW", ACTION(power2mW), ARG_IN1 | ARG_IN2 | ARG_IN3 | ARG_OUT1 | ARG_NOVFO, "Power [0.0..1.0]", "Frequency", "Mode", "Power mW" },
@@ -379,19 +379,19 @@ static struct test_table test_list[] =
{ 0x8c, "pause", ACTION(pause), ARG_IN | ARG_NOVFO, "Seconds" },
{ 0x98, "password", ACTION(password), ARG_IN | ARG_NOVFO, "Password" },
// { 0x99, "set_password", ACTION(set_password), ARG_IN | ARG_NOVFO, "Password" },
- { 0xf7, "get_mode_bandwidths", ACTION(get_mode_bandwidths), ARG_IN | ARG_NOVFO, "Mode" },
{ 0xa0, "set_separator", ACTION(set_separator), ARG_IN | ARG_NOVFO, "Separator" },
{ 0xa1, "get_separator", ACTION(get_separator), ARG_NOVFO, "Separator" },
{ 0xa2, "set_lock_mode", ACTION(set_lock_mode), ARG_IN | ARG_NOVFO, "Locked" },
{ 0xa3, "get_lock_mode", ACTION(get_lock_mode), ARG_NOVFO, "Locked" },
+ { 0xf7, "get_mode_bandwidths", ACTION(get_mode_bandwidths), ARG_IN | ARG_NOVFO, "Mode" },
{ 0xa4, "send_raw", ACTION(send_raw), ARG_NOVFO | ARG_IN1 | ARG_IN2 | ARG_OUT3, "Terminator", "Command", "Send raw answer" },
{ 0xa5, "client_version", ACTION(client_version), ARG_NOVFO | ARG_IN1, "Version", "Client version" },
- { 0xa7, "test", ACTION(test), ARG_NOVFO | ARG_IN, "routine" },
{ 0xa8, "hamlib_version", ACTION(hamlib_version), ARG_NOVFO },
{ 0xa9, "get_gpio", ACTION(cm108_get_bit), ARG_NOVFO | ARG_IN1 | ARG_OUT1, "GPIO#", "0/1" },
{ 0xaa, "set_gpio", ACTION(cm108_set_bit), ARG_NOVFO | ARG_IN, "GPIO#", "0/1" },
{ 0xac, "set_conf", ACTION(set_conf), ARG_NOVFO | ARG_IN, "Token", "Token Value" },
{ 0xad, "get_conf", ACTION(get_conf), ARG_NOVFO | ARG_IN1 | ARG_OUT2, "Token", "Value"},
+ { 0xa7, "test", ACTION(test), ARG_NOVFO | ARG_IN, "routine" },
{ 0x00, "", NULL },
};
commit c0717e783475e70a2a40f3d08199379f324cc1b4
Author: Daniele Forsi IU5HKX <iu...@gm...>
Date: Sat Oct 4 21:30:36 2025 +0200
Remove duplicated command from --help output
diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c
index 496f148c6..0cc20c628 100644
--- a/tests/rigctl_parse.c
+++ b/tests/rigctl_parse.c
@@ -386,7 +386,6 @@ static struct test_table test_list[] =
{ 0xa3, "get_lock_mode", ACTION(get_lock_mode), ARG_NOVFO, "Locked" },
{ 0xa4, "send_raw", ACTION(send_raw), ARG_NOVFO | ARG_IN1 | ARG_IN2 | ARG_OUT3, "Terminator", "Command", "Send raw answer" },
{ 0xa5, "client_version", ACTION(client_version), ARG_NOVFO | ARG_IN1, "Version", "Client version" },
- { 0xa6, "get_vfo_list", ACTION(get_vfo_list), ARG_NOVFO },
{ 0xa7, "test", ACTION(test), ARG_NOVFO | ARG_IN, "routine" },
{ 0xa8, "hamlib_version", ACTION(hamlib_version), ARG_NOVFO },
{ 0xa9, "get_gpio", ACTION(cm108_get_bit), ARG_NOVFO | ARG_IN1 | ARG_OUT1, "GPIO#", "0/1" },
-----------------------------------------------------------------------
Summary of changes:
tests/rigctl_parse.c | 35 +++++++++++++++--------------------
tests/rotctl_parse.c | 2 +-
2 files changed, 16 insertions(+), 21 deletions(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|