Update config add mode j funcube

fc-1
Alan Johnston 11 months ago committed by GitHub
parent 7ac8870e29
commit 80adb03f8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -249,6 +249,8 @@ if [ "$1" = "" ]; then
echo "Mode is SSTV" echo "Mode is SSTV"
elif [ "$1" = "e" ]; then elif [ "$1" = "e" ]; then
echo "Mode is Repeater" echo "Mode is Repeater"
elif [ "$1" = "j" ]; then
echo "Mode is FunCube"
elif [ "$1" = "n" ]; then elif [ "$1" = "n" ]; then
echo -n "Mode is Transmit Commands with " echo -n "Mode is Transmit Commands with "
FILE=/home/pi/CubeSatSim/transmit_dtmf FILE=/home/pi/CubeSatSim/transmit_dtmf
@ -1403,6 +1405,22 @@ elif [ "$1" = "-g" ]; then
echo "Not resetting" echo "Not resetting"
fi fi
elif [ "$1" = "-j" ]; then
value=`cat /home/pi/CubeSatSim/.mode`
echo "$value" > /dev/null
set -- $value
# if [ "$1" == "n" ]; then
# transmit_command_bpsk
# else
echo "changing CubeSatSim to FunCube mode"
sudo echo "j" > /home/pi/CubeSatSim/.mode
restart=1
# fi
elif [ "$1" = "-h" ]; then elif [ "$1" = "-h" ]; then
@ -1416,6 +1434,7 @@ elif [ "$1" = "-h" ]; then
echo " -f Change to FSK/DUV mode" echo " -f Change to FSK/DUV mode"
echo " -b Change to BPSK mode" echo " -b Change to BPSK mode"
echo " -s Change to SSTV mode" echo " -s Change to SSTV mode"
echo " -j Change to FunCube mode"
echo " -n Change to Transmit Commands mode" echo " -n Change to Transmit Commands mode"
echo " -e Change to Repeater mode" echo " -e Change to Repeater mode"
echo " -i Restart CubeSatsim software" echo " -i Restart CubeSatsim software"

Loading…
Cancel
Save

Powered by TurnKey Linux.