|
|
|
|
@ -17,13 +17,13 @@ function transmit_command {
|
|
|
|
|
# echo "Stopping command and control"
|
|
|
|
|
# sudo systemctl stop command
|
|
|
|
|
|
|
|
|
|
echo "Transmit DTMF start"
|
|
|
|
|
# echo "Transmit start"
|
|
|
|
|
gpio write 28 0 # ptt
|
|
|
|
|
gpio write 2 1 # tx LED
|
|
|
|
|
timeout 3 direwolf -c /home/pi/CubeSatSim/direwolf-tmp.conf -t 0l
|
|
|
|
|
timeout 3 direwolf -c /home/pi/CubeSatSim/direwolf-tmp.conf -t 0l > /dev/null 2>&1
|
|
|
|
|
gpio write 2 0 # tx LED
|
|
|
|
|
gpio write 28 1 #ptt
|
|
|
|
|
echo "Transmit stop"
|
|
|
|
|
# echo "Transmit stop"
|
|
|
|
|
|
|
|
|
|
# echo "Resuming command and control"
|
|
|
|
|
# sudo systemctl start command
|
|
|
|
|
|