added option 9 to decode recorded WAV file of APRS for testing

pull/131/head
alanbjohnston 4 years ago committed by GitHub
parent aa06eb15ec
commit bec0be1951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,6 +36,7 @@ echo "5. APRS on another frequency"
echo "6. APRS on ISS (145825 kHz)"
echo "7. Serenity CubeSat 4800 bps (437.1 MHz)"
echo "8. Test Serenity CubeSat decoding with WAV file"
echo "9. Test APRS decoding with CubeSatSim WAV file"
echo
read -r choice
@ -87,8 +88,7 @@ elif [ "$choice" = "7" ]; then
echo "If the Serenity CubeSat is overhead and transmitting (see tracking application such as Gpredict), you will see packets."
echo
#elif [ "$choice" = "6" ]; then
else
elif [ "$choice" = "8" ]; then
echo "A recorded WAV file will play and you should see some packets decoded"
@ -113,6 +113,29 @@ else
exit
else
echo "A recorded APRS WAV file from the CubeSatSim will play and you should see a packet decoded."
echo
value=`aplay -l | grep "Loopback"`
echo "$value" > /dev/null
set -- $value
aplay -D hw:0,0 /home/pi/CubeSatSim/telem.wav &
aplay -D hw:${2:0:1},0,0 /home/pi/CubeSatSim/telem.wav &
timeout 30 direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-4800.conf -r 48000 -t 0
echo
echo "Test complete. This window will close in 10 seconds."
sleep 5
exit
fi
echo

Loading…
Cancel
Save

Powered by TurnKey Linux.