added CW mode

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent c217f1e179
commit fcc1707766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,6 +15,8 @@ if [ "$1" = "" ]; then
if [ "$1" = "a" ]; then
echo "APRS mode is set"
elif [ "$1" = "c" ]; then
echo "CW mode is set"
elif [ "$1" = "f" ]; then
echo "FSK mode is set"
elif [ "$1" = "b" ]; then
@ -58,6 +60,11 @@ elif [ "$1" = "-a" ]; then
sudo echo "a" > /home/pi/CubeSatSim/.mode
sudo systemctl restart cubesatsim
exit
elif [ "$1" = "-c" ]; then
echo "changing CubeSatSim to CW mode"
sudo echo "c" > /home/pi/CubeSatSim/.mode
sudo systemctl restart cubesatsim
exit
elif [ "$1" = "-f" ]; then
echo "changing CubeSatSim to FSK mode"
sudo echo "f" > /home/pi/CubeSatSim/.mode
@ -80,6 +87,7 @@ elif [ "$1" = "-h" ]; then
echo
echo " -h This help info"
echo " -a Change to AFSK/APRS mode"
echo " -c Change to CW mode"
echo " -f Change to FSK/DUV mode"
echo " -b Change to BPSK mode"
echo " -s Change to SSTV mode"
@ -88,7 +96,6 @@ elif [ "$1" = "-h" ]; then
echo " -m Change the Simulated Telemetry setting in sim.cfg"
echo " -r Change the Resets Count in the configuration file sim.cfg"
echo " -l Change the Latitude and Longitude in the configuration file sim.cfg"
echo " Only used for APRS telemetry"
echo
exit

Loading…
Cancel
Save

Powered by TurnKey Linux.