From 950311ff4a0af62bb7c9f2c50af8421ffb2a02dc Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Mon, 16 Aug 2021 17:31:06 -0400 Subject: [PATCH] add prompt for CubicSDR run --- groundstation/aprs-cubicsdr.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/groundstation/aprs-cubicsdr.sh b/groundstation/aprs-cubicsdr.sh index 82d94dc2..3e7855cc 100755 --- a/groundstation/aprs-cubicsdr.sh +++ b/groundstation/aprs-cubicsdr.sh @@ -5,17 +5,21 @@ echo "Script to run CubicSDR and Direwolf for ARISS Radio Pi" echo -echo "Note: Run CubicSDR, Select Generic RTL2832 device then click Start to begin" +sudo killall -9 CubicSDR -echo "Then tune to 144.39 MHz NBFM and Audio Output hw:Loopback,0" +sleep 5 -echo +sudo modprobe snd-aloop -echo +echo "Run CubicSDR, Select Generic RTL2832 device then click Start to begin" -sudo modprobe snd-aloop +echo "Then select File/Session/Open Session then load cubicsdr-aprs-direwolf.xml" -sleep 5 +echo + +choice = input ("Hit enter only when CubicSDR is running and says Audio Out: hw:Loopback,0") + +echo direwolf -r 48000 -c /home/pi/CubeSatSim/groundstation/direwolf.conf -t 0