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

This commit is contained in:
Gaston Gonzalez
2024-10-25 11:19:32 -07:00
parent 6837045d8b
commit d0d4f5f199
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -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";
@@ -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"
]
}
@@ -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."