|
|
|
@ -903,11 +903,15 @@ elif [ "$1" = "-A" ]; then
|
|
|
|
|
|
|
|
|
|
|
|
echo "Transmit APRS control packets to control another CubeSatSim"
|
|
|
|
echo "Transmit APRS control packets to control another CubeSatSim"
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sudo systemctl stop cubesatsim
|
|
|
|
sudo systemctl stop cubesatsim
|
|
|
|
|
|
|
|
|
|
|
|
echo -n "Enter the mode number to change: 1=APRS, 2=FSK, 3=BPSK, 4=SSTV, 5=CW"
|
|
|
|
sim="y"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
while [ "$sim" = "y" ]
|
|
|
|
|
|
|
|
do
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Enter the mode number to change: 1=APRS, 2=FSK, 3=BPSK, 4=SSTV, 5=CW"
|
|
|
|
read MODE
|
|
|
|
read MODE
|
|
|
|
|
|
|
|
|
|
|
|
case $MODE in
|
|
|
|
case $MODE in
|
|
|
|
@ -943,6 +947,11 @@ elif [ "$1" = "-A" ]; then
|
|
|
|
sleep 1
|
|
|
|
sleep 1
|
|
|
|
touch /home/pi/CubeSatSim/ready
|
|
|
|
touch /home/pi/CubeSatSim/ready
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "Do you want to send another command (y/n) "
|
|
|
|
|
|
|
|
read sim
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
sudo rm /home/pi/CubeSatSim/t.txt
|
|
|
|
|
|
|
|
sudo systemctl restart cubesatsim
|
|
|
|
|
|
|
|
|
|
|
|
elif [ "$1" = "-h" ]; then
|
|
|
|
elif [ "$1" = "-h" ]; then
|
|
|
|
|
|
|
|
|
|
|
|
|