From 004d9bc3c17d1ddf9168b7e2106810dab957ec18 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 12 Jul 2024 12:40:07 -0400 Subject: [PATCH] Update config add ptt to dumf --- config | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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