From d0d4f5f199d364568977045174a14a67864d08bc Mon Sep 17 00:00:00 2001 From: Gaston Gonzalez Date: Fri, 25 Oct 2024 11:19:32 -0700 Subject: [PATCH] PnP - Updated et-system-info to have a better human label with a non CAT device is used; added notes to the DigiRig Mobile (no CAT) radio definition and set the Hamlib ID to 6 for future purposes; updated comments in wrapper-rigctld --- overlay/opt/emcomm-tools/bin/et-system-info | 2 +- .../emcomm-tools/conf/radios.d/digirig-mobile-no-cat.json | 6 ++++-- overlay/opt/emcomm-tools/sbin/wrapper-rigctld.sh | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/overlay/opt/emcomm-tools/bin/et-system-info b/overlay/opt/emcomm-tools/bin/et-system-info index 329bc4e..df82ac7 100755 --- a/overlay/opt/emcomm-tools/bin/et-system-info +++ b/overlay/opt/emcomm-tools/bin/et-system-info @@ -101,7 +101,7 @@ case $1 in echo "Connected. Can't access VFO"; fi else - echo "Connected. rigctld not running" + echo "Connected. No rig control" fi else echo "Not connected"; diff --git a/overlay/opt/emcomm-tools/conf/radios.d/digirig-mobile-no-cat.json b/overlay/opt/emcomm-tools/conf/radios.d/digirig-mobile-no-cat.json index 535bf49..c1ef914 100644 --- a/overlay/opt/emcomm-tools/conf/radios.d/digirig-mobile-no-cat.json +++ b/overlay/opt/emcomm-tools/conf/radios.d/digirig-mobile-no-cat.json @@ -3,10 +3,12 @@ "vendor": "DigiRig", "model": "Mobile (No CAT)", "rigctrl": { - "id": "1", + "id": "6", "ptt": "RTS" }, "notes": [ - "Uses RTS to trigger PTT" + "Set your VFO manually", + "Adjust your volume, RF gain and squelch manually", + "This mode uses the RTS signal to trigger the PTT" ] } diff --git a/overlay/opt/emcomm-tools/sbin/wrapper-rigctld.sh b/overlay/opt/emcomm-tools/sbin/wrapper-rigctld.sh index 451872d..3819e97 100755 --- a/overlay/opt/emcomm-tools/sbin/wrapper-rigctld.sh +++ b/overlay/opt/emcomm-tools/sbin/wrapper-rigctld.sh @@ -34,8 +34,8 @@ start() { if [ -L "${ET_HOME}/conf/radios.d/active-radio.json" ]; then RIG_ID=$(cat "${ET_HOME}/conf/radios.d/active-radio.json" | jq -r .rigctrl.id) - # All devices that have no CAT control must have their ID set to 1. This - # a special test mode provided by Hamlib's rigctl NET interface. + # All VOX devices use the dummy mode provided by Hamlib. This helps maintain + # a cleaner interface by leveraging rigctl NET in applications. if [ "${RIG_ID}" = "1" ]; then et-log "Starting dummy rigctld service for device with no CAT support."