major rewrite with timeouts

pull/28/head
alanbjohnston 6 years ago committed by GitHub
parent 99e699f74e
commit 0a8055ebc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,20 +1,18 @@
#!/bin/bash #!/bin/bash
echo -e "\nDemo of CubeSatSim sends AFSK telemetry at 440 MHz continuously\n\n" echo -e "\nDemo of CubeSatSim sends FSK and BPSK telemetry alternately at 434.9 MHz continuously\n\n"
sleep 30 sudo killall rpitx
sudo killall sendiq
#echo 'sleep over' >> /home/pi/CubeSatSim/log.txt sudo fuser -k 8080/tcp
echo $(date '+%Y %b %d %H:%M') Starting Hostname $HOSTNAME >> /home/pi/CubeSatSim/log.txt while true; do
timeout 33 /home/pi/CubeSatSim/radioafsk.sh fsk 3
#/home/pi/CubeSatSim/radioafsk >> /home/pi/CubeSatSim/log.txt sudo killall rpitx
#/home/pi/DigitalTxRxRPi/testafsktx >> /home/pi/CubeSatSim/log.txt sudo killall sendiq
sudo fuser -k 8080/tcp
echo $(date '+%Y %b %d %H:%M') Stopping Hostname $HOSTNAME >> /home/pi/CubeSatSim/log.txt timeout 33 /home/pi/CubeSatSim/radioafsk.sh bpsk 3
sudo killall rpitx
#/home/pi/mopower/mpcmd LED_STAT=0 sudo killall sendiq
#sleep 30 sudo fuser -k 8080/tcp
done
#/home/pi/CubeSatSim/configax
/home/pi/CubeSatSim/fox-demo.sh 2

Loading…
Cancel
Save

Powered by TurnKey Linux.