From ae393495df2334385a526a82ec59808b5710d1c7 Mon Sep 17 00:00:00 2001 From: Mooneer Salem Date: Mon, 2 Sep 2024 08:54:35 -0700 Subject: [PATCH 1/2] Set timeout for Hamlib comms to avoid GUI getting stuck. --- src/rig_control/HamlibRigController.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/rig_control/HamlibRigController.cpp b/src/rig_control/HamlibRigController.cpp index 8e2d51644..c9a788c80 100644 --- a/src/rig_control/HamlibRigController.cpp +++ b/src/rig_control/HamlibRigController.cpp @@ -286,6 +286,10 @@ void HamlibRigController::connectImpl_() break; } + rig_set_conf(rig_, rig_token_lookup(rig_, "timeout"), "1000"); + rig_set_conf(rig_, rig_token_lookup(rig_, "retry"), "1"); + rig_set_conf(rig_, rig_token_lookup(rig_, "timeout_retry"), "1"); + auto result = rig_open(rig_); if (result == RIG_OK) { From d6edf310c406b889d2272212d29285091b6eb1f0 Mon Sep 17 00:00:00 2001 From: Mooneer Salem Date: Mon, 2 Sep 2024 08:56:06 -0700 Subject: [PATCH 2/2] Add PR #746 to changelog. --- USER_MANUAL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/USER_MANUAL.md b/USER_MANUAL.md index 005c16e9a..824a2f6a3 100644 --- a/USER_MANUAL.md +++ b/USER_MANUAL.md @@ -893,6 +893,7 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes 1. Bugfixes: * Fix bug preventing saving of the previously used path when playing back files. (PR #729) + * Set timeout for Hamlib comms to avoid GUI getting stuck. (PR #746) 2. Enhancements: * Show green line indicating RX frequency. (PR #725) * Update configuration of the Voice Keyer feature based on user feedback. (PR #730)