From 299eec90405ed3505bc084b9d9012aee447a88f8 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 8 Oct 2021 10:21:44 -0400 Subject: [PATCH] added rest of menus --- groundstation/cubicsdr-packet.sh | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/groundstation/cubicsdr-packet.sh b/groundstation/cubicsdr-packet.sh index 8b1a34b0..1897ef78 100755 --- a/groundstation/cubicsdr-packet.sh +++ b/groundstation/cubicsdr-packet.sh @@ -69,9 +69,9 @@ if [ "$choice" = "1" ] || [ "$frequency" = "144390" ] ; then # echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832 device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-aprs-direwolf.xml then Open.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832U device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-aprs-direwolf.xml then Open.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") - echo $result +# echo $result # [[ ! -z "$result" ]] && read input @@ -95,9 +95,9 @@ elif [ "$choice" = "2" ] || [ "$frequency" = "434900" ] ; then echo "Note that you might need to adjust the frequency in CubicSDR slightly so the signal is centered." echo - echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" +# echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - read input + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832U device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-cubesatsim-direwolf.xml then Open.\n\nNote that you won't get packets unless your CubeSat Simulator is transmitting in APRS digipeater mode.\n\nNote that you might need to adjust the frequency in CubicSDR slightly so the signal is centered.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -r 48000 -t 0 @@ -118,9 +118,9 @@ elif [ "$choice" = "3" ] || [ "$frequency" = "144800" ] ; then echo - echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" +# echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - read input + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832U device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-aprs-eu-direwolf.xml then Open.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -r 48000 -t 0 @@ -142,9 +142,9 @@ elif [ "$choice" = "4" ] || [ "$frequency" = "145175" ] ; then echo - echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" +# echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - read input + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832U device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-aprs-au-direwolf.xml then Open.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -r 48000 -t 0 @@ -166,9 +166,9 @@ elif [ "$choice" = "5" ] || [ "$frequency" = "Other" ] ; then echo - echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" +# echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - read input + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832U device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-aprs-direwolf.xml then Open.\n\nThen tune the CubicSDR frequency to the one you want to decode.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -r 48000 -t 0 @@ -190,9 +190,9 @@ elif [ "$choice" = "6" ] || [ "$frequency" = "145825" ] ; then echo "Note that you may need to adjust the frequency due to Doppler shift." echo - echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" +# echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - read input + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832U device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-iss-direwolf.xml then Open.\n\nNote that you won't get packets unless the ISS is passing over (see Gpredict) and the radio is in APRS digipeater mode (check social media).\n\n"Note that you may need to adjust the frequency due to Doppler shift.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf.conf -r 48000 -t 0 @@ -210,13 +210,13 @@ elif [ "$choice" = "7" ] || [ "$frequency" = "437100" ] ; then echo echo "Then select File/Session/Open Session then load /home/pi/CubeSatSim/groundstation/cubicsdr-session/cubicsdr-serenity-direwolf.xml then Open." - echo "Note that you won't get packets unless the Serenity CubeSat is passing over (see Gpredict)and is beaconing." + echo "Note that you will not get packets unless the Serenity CubeSat is passing over (see Gpredict)and is beaconing." echo - echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" +# echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start" - read input + result=$(zenity --info --width=650 --height=140 --title="Instructions" --text="When CubicSDR opens, select Generic RTL2832U device then click Start to begin.\n\nThen select File/Session/Open Session then load CubeSatSim/groundstation/cubicsdr-session/cubicsdr-serenity-direwolf.xml then Open.\n\nNote that you won't get packets unless the Serenity CubeSat is passing over (see Gpredict)and is beaconing.\n\nNote that you won't hear anything as the audio is routed to Direwolf for decoding. To hear the signal, change the Audio Out setting.\n\nThen click OK to start Direwolf!") direwolf -c /home/pi/CubeSatSim/groundstation/direwolf/direwolf-4800.conf -r 48000 -t 0