diff --git a/config b/config index 1f60af66..ff091c43 100755 --- a/config +++ b/config @@ -1080,8 +1080,17 @@ function transmit_command_aprs { sleep 5 sudo touch /home/pi/CubeSatSim/ready + sleep 5 + echo "Stopping command and control" sudo systemctl stop command - timeout 3 direwolf -c /home/pi/CubeSatSim/direwolf/direwolf-dtmf-aprs.conf + + echo "Transmit start" + gpio write 28 0 # ptt + timeout 3 direwolf -c /home/pi/CubeSatSim/direwolf/direwolf-transmit-dtmf-aprs.conf + gpio write 28 1 #ptt + echo "Transmit stop" + + echo "Resuming command and control" sudo systemctl start command exit