Update config add full path for dire wolf tmp

send-commands
Alan Johnston 3 weeks ago committed by GitHub
parent 23e1ace454
commit adeee8e9c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -12,7 +12,7 @@ function transmit_command {
echo
mode=1
cat direwolf/direwolf-transmit-dtmf.conf > direwolf-tmp.conf && echo 'CBEACON dest="DTMF-3" info="'$1' #" delay=0' >> direwolf-tmp.conf
cat /home/pi/CubeSatSim/direwolf/direwolf-transmit-dtmf.conf > /home/pi/CubeSatSim/direwolf-tmp.conf && echo 'CBEACON dest="DTMF-3" info="'$1' #" delay=0' >> /home/pi/CubeSatSim/direwolf-tmp.conf
# echo "Stopping command and control"
# sudo systemctl stop command
@ -20,7 +20,7 @@ function transmit_command {
echo "Transmit DTMF start"
gpio write 28 0 # ptt
gpio write 2 1 # tx LED
timeout 3 direwolf -c direwolf-tmp.conf -t 0l
timeout 3 direwolf -c /home/pi/CubeSatSim/direwolf-tmp.conf -t 0l
gpio write 2 0 # tx LED
gpio write 28 1 #ptt
echo "Transmit stop"

Loading…
Cancel
Save

Powered by TurnKey Linux.