mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
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:
@@ -101,7 +101,7 @@ case $1 in
|
|||||||
echo "Connected. Can't access VFO";
|
echo "Connected. Can't access VFO";
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Connected. rigctld not running"
|
echo "Connected. No rig control"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Not connected";
|
echo "Not connected";
|
||||||
|
|||||||
@@ -3,10 +3,12 @@
|
|||||||
"vendor": "DigiRig",
|
"vendor": "DigiRig",
|
||||||
"model": "Mobile (No CAT)",
|
"model": "Mobile (No CAT)",
|
||||||
"rigctrl": {
|
"rigctrl": {
|
||||||
"id": "1",
|
"id": "6",
|
||||||
"ptt": "RTS"
|
"ptt": "RTS"
|
||||||
},
|
},
|
||||||
"notes": [
|
"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
|
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)
|
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
|
# All VOX devices use the dummy mode provided by Hamlib. This helps maintain
|
||||||
# a special test mode provided by Hamlib's rigctl NET interface.
|
# a cleaner interface by leveraging rigctl NET in applications.
|
||||||
if [ "${RIG_ID}" = "1" ]; then
|
if [ "${RIG_ID}" = "1" ]; then
|
||||||
et-log "Starting dummy rigctld service for device with no CAT support."
|
et-log "Starting dummy rigctld service for device with no CAT support."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user