mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
PnP - Initial script for managing plug and play radios from the command line
This commit is contained in:
Executable
+34
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 11 October 2024
|
||||
# Purpose : A script for managaing plug-and-play radios
|
||||
|
||||
function usage() {
|
||||
echo "Usage: $(basename $0) <command>"
|
||||
echo " list - list supported radios"
|
||||
echo " set - set radio as active"
|
||||
echo " show - show active radion"
|
||||
}
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
list)
|
||||
echo "Implement me"
|
||||
;;
|
||||
set)
|
||||
echo "Implement me"
|
||||
;;
|
||||
show)
|
||||
echo "Implement me"
|
||||
;;
|
||||
*)
|
||||
echo "Command not supported."
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "yaesu-ft857d",
|
||||
"vendor": "Yaesu",
|
||||
"model": "FT-857D",
|
||||
"rigctrl": {
|
||||
"id": "1022",
|
||||
"baud": "38400",
|
||||
"ptt": "RTS"
|
||||
},
|
||||
"notes": [
|
||||
"Menu 019 CAT RATE = 38400",
|
||||
"Menu 020 CAT = CAT",
|
||||
"Menu 036 DIG DISP = 0 Hz",
|
||||
"Menu 037 DIG GAIN = 50",
|
||||
"Menu 088 DIG MODE = USB-U",
|
||||
"Menu 039 DIG SHIFT = 0 Hz",
|
||||
"Menu 040 DIG VOX = 0",
|
||||
"Menu 071 PKT 1200 = 10",
|
||||
"Menu 073 1200 RATE = 1200 bps",
|
||||
"For VHF/UHF packet, set mode = PKT; Menu 080 = SQL",
|
||||
"For HF, set mode = DIGI; Menu 080 = RF GAIN"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user