diff --git a/groundstation/command.sh b/groundstation/command.sh new file mode 100644 index 00000000..fba837e6 --- /dev/null +++ b/groundstation/command.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# script to send APRS or DTMR commands to a CubeSatSim + +sudo killall -9 zenity &>/dev/null + +echo + +autotune=0 + +mode=$(zenity --timeout=10 --list 2>/dev/null --width=410 --height=400 --title="Transmit Command" --text="Choose the command to transmit" --column="Command" --column="Result" a "APRS Mode" f "FSK Mode" b "BPSK Mode" s "SSTV Mode" m "CM Mode" e "Repeater Mode" j "FUNcube Mode" o "Beacon On/Off") + +echo $mode + +if [ -z "$mode" ]; then + +echo "No choice made." + +fi + +if [ "mode" = "a" ]; then + + echo "CHange to APRS mode" + +fi +