[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 6dfa118dace16c3fff039
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: n0nb <n0...@us...> - 2025-05-04 17:13:02
|
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 6dfa118dace16c3fff039d071ca87a4210c91793 (commit) via e5d8dc0f07bd0de56b87430811f549e3f2e2a1f1 (commit) via 584ddb001d5ba15bb3047a566adbd242fa4710ff (commit) via f4b95826d490bd033c7fb87e849c0edc428775d2 (commit) via fb8abe93bb3805127d457be3c11d1e6d87789f1e (commit) via 6f789b60ecdd19a4ebd6f1a5e17805c665d51073 (commit) via 7a466c779ac1bbe0427429670899f82e6c63787f (commit) via 49b0be5be2cb40e565da74a8ba7a393747d48cb4 (commit) from 12cc40f4f77c5dea54d03b39c8657e8a6038a05f (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 6dfa118dace16c3fff039d071ca87a4210c91793 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 4 10:46:28 2025 +0200 Describe the use of simulators diff --git a/README.developer b/README.developer index b4a3d650f..1c1a7c27c 100644 --- a/README.developer +++ b/README.developer @@ -686,8 +686,32 @@ Testing: touched the build system files or added a backend. Simulators: - * The simulators directory contains various programs that are built - invoking "make -C simulators/ check" or "make check" from topdir. + * The 'simulators' directory contains programs to simulate the protocol + of many devices. They are built invoking "make -C simulators/ check" + or "make check" from topdir. While simulators are made to test Hamlib + with rigctl and rigctld, you should be able to guess the model number + that corresponds to a given simulator and configure an application such + as wsjtx to use that model and the port name printed by the simulator, + as shown in the examples below. + + To use a simulator on *nix-like systems, run its executable and take + note of the port name: + $ ./simulators/simft991 + name=/dev/pts/6 + then from another terminal run rigctl/rigctld using that port and a + matching model number (see rigctl --list): + $ ./tests/rigctl --model=1035 --rig-file=/dev/pts/6 \get_freq + 14074000 + + To use a simulator on Windows, first install a virtual COM port, then + run the simulator passing the port name as first and only argument: + > simulators\simft991 COM1234 + then from another command prompt run rigctl/rigctld or your + application. + + The COM port argument is currently ignored on *nix but it can be + handled if there is a need to test a low level issue with RS-232 + and/or USB communication, if your machine has the needed hardware. 8.2.1 Use of rig_debug() function commit e5d8dc0f07bd0de56b87430811f549e3f2e2a1f1 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 4 00:23:46 2025 +0200 Fix compilation error in simicr8600.c Fixes: simicr8600.c:445:5: warning: ‘main’ is normally a non-static function [-Wmain] diff --git a/simulators/simicr8600.c b/simulators/simicr8600.c index 0c55061fa..ae5e0470d 100644 --- a/simulators/simicr8600.c +++ b/simulators/simicr8600.c @@ -388,6 +388,7 @@ void frameParse(int fd, unsigned char *frame, int len) // don't care about the rig type yet + } } #if defined(WIN32) || defined(_WIN32) commit 584ddb001d5ba15bb3047a566adbd242fa4710ff Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 4 00:10:30 2025 +0200 Fix compilation error in simid5100.c Fixes: simid5100.c:90:35: error: ‘errno’ undeclared (first use in this function) diff --git a/simulators/simid5100.c b/simulators/simid5100.c index eb36e3fdc..93fd7bf4d 100644 --- a/simulators/simid5100.c +++ b/simulators/simid5100.c @@ -10,6 +10,7 @@ struct ip_mreq }; #endif +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> commit f4b95826d490bd033c7fb87e849c0edc428775d2 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 4 00:08:44 2025 +0200 Explain how to use the simulators diff --git a/README.developer b/README.developer index 252fc2a52..b4a3d650f 100644 --- a/README.developer +++ b/README.developer @@ -685,6 +685,10 @@ Testing: package ready for distribution. This is a good test if you have touched the build system files or added a backend. +Simulators: + * The simulators directory contains various programs that are built + invoking "make -C simulators/ check" or "make check" from topdir. + 8.2.1 Use of rig_debug() function commit fb8abe93bb3805127d457be3c11d1e6d87789f1e Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sun May 4 00:05:08 2025 +0200 List more optional dependencies diff --git a/README.developer b/README.developer index 621a69d46..252fc2a52 100644 --- a/README.developer +++ b/README.developer @@ -285,11 +285,15 @@ Optional, but highly recommended: * perl devel # h2xs * tcl devel # tcltk-depends * python devel # python-config +* lua devel * libxml2 devel # xml2-config --version -* libgd2 devel # gdlib-config --version +* libgd2 devel # gdlib-config --version (rigmatrix) +* libindi devel # INDI rotators +* libnova devel * libusb-1.0 devel # 1.0.0 or newer * libreadline devel # ver 5.2 or newer * pkg-config # pkg-config --version (libxml and USRP) +* zlib1g devel # (rigmatrix) N.B.: The libusb-1.0 package is required for building most of the 'kit' backend. The older version of libusb 0.1.x is no longer supported. commit 6f789b60ecdd19a4ebd6f1a5e17805c665d51073 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sat May 3 19:33:17 2025 +0200 Update copyright year diff --git a/README.developer b/README.developer index e9e0fc83b..621a69d46 100644 --- a/README.developer +++ b/README.developer @@ -1,6 +1,6 @@ Hamlib - (C) Frank Singleton 2000 (vk...@ix...) (C) Stephane Fillod 2000-2011 - (C) The Hamlib Group 2000-2013 + (C) The Hamlib Group 2000-2025 Primary site for the latest development version of Hamlib is https://github.com/Hamlib/Hamlib Also take a look at http://sourceforge.net/projects/hamlib/ commit 7a466c779ac1bbe0427429670899f82e6c63787f Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sat May 3 16:51:37 2025 +0200 Remove old version numbers diff --git a/README.developer b/README.developer index 8031e52c8..e9e0fc83b 100644 --- a/README.developer +++ b/README.developer @@ -281,7 +281,7 @@ N.B. Hamlib requires libtool >= 2.2.6b in compliance with CVE-2009-3736. Optional, but highly recommended: * GNU C++ # g++ --version -* swig (for bindings) 1.3.14 # swig -version +* swig (for bindings) # swig -version * perl devel # h2xs * tcl devel # tcltk-depends * python devel # python-config @@ -289,7 +289,7 @@ Optional, but highly recommended: * libgd2 devel # gdlib-config --version * libusb-1.0 devel # 1.0.0 or newer * libreadline devel # ver 5.2 or newer -* pkg-config 0.9.0 # pkg-config --version (libxml and USRP) +* pkg-config # pkg-config --version (libxml and USRP) N.B.: The libusb-1.0 package is required for building most of the 'kit' backend. The older version of libusb 0.1.x is no longer supported. commit 49b0be5be2cb40e565da74a8ba7a393747d48cb4 Author: Daniele Forsi IU5HKX <iu...@gm...> Date: Sat May 3 16:24:31 2025 +0200 Update the directory tree diff --git a/README.developer b/README.developer index 4ded18b26..8031e52c8 100644 --- a/README.developer +++ b/README.developer @@ -39,21 +39,27 @@ utility), and USB. Other connectivity will follow afterwards. General Guidelines. ------------------- -0. The top level directory looks like this as of 2020-01-18 +0. The top level directory looks like this as of 2025-05-03 $ tree -d -I .git . +. ├── amplifiers -│ └── elecraft +│ ├── elecraft +│ ├── expert +│ └── gemini ├── android ├── autom4te.cache ├── bindings +│ └── csharp +│ └── multicast ├── build-aux ├── c++ ├── doc │ ├── man1 -│ └── man7 -├── dummy +│ ├── man7 +│ └── manuals +├── docker-build ├── extra │ ├── gnuradio │ └── kylix @@ -66,12 +72,18 @@ $ tree -d -I .git ├── rigs │ ├── adat │ ├── alinco +│ ├── anytone │ ├── aor │ ├── barrett +│ ├── codan +│ ├── commradio │ ├── dorji │ ├── drake +│ ├── dummy │ ├── elad │ ├── flexradio +│ ├── gomspace +│ │ └── gs100_sim │ ├── icmarine │ ├── icom │ ├── jrc @@ -79,6 +91,8 @@ $ tree -d -I .git │ ├── kenwood │ ├── kit │ ├── lowe +│ ├── mds +│ ├── motorola │ ├── pcr │ ├── prm80 │ ├── racal @@ -95,24 +109,36 @@ $ tree -d -I .git │ └── yaesu ├── rotators │ ├── amsat +│ ├── androidsensor +│ ├── apex │ ├── ars │ ├── celestron │ ├── cnctrk │ ├── easycomm │ ├── ether6 +│ ├── flir │ ├── fodtrack +│ ├── grbltrk │ ├── gs232a │ ├── heathkit +│ ├── indi │ ├── ioptron │ ├── m2 │ ├── meade │ ├── prosistel +│ ├── radant │ ├── rotorez +│ ├── saebrtrack │ ├── sartek +│ ├── satel +│ ├── skywatcher │ ├── spid │ └── ts7400 │ └── include ├── scripts +│ └── MSVC +├── security +├── simulators ├── src └── tests ├── config @@ -121,7 +147,7 @@ $ tree -d -I .git ├── testfreq.test └── testloc.test -77 directories +103 directories 1. Building ----------------------------------------------------------------------- Summary of changes: README.developer | 76 +++++++++++++++++++++++++++++++++++++++++++------ simulators/simicr8600.c | 1 + simulators/simid5100.c | 1 + 3 files changed, 69 insertions(+), 9 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |