From 0fdc43df8b80a6a456020feadcac18d4d435be0b Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 18 Feb 2026 23:12:50 -0500 Subject: [PATCH] Update sstv_decode_prompt.sh added TXC frequency setting --- groundstation/sstv_decode_prompt.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/groundstation/sstv_decode_prompt.sh b/groundstation/sstv_decode_prompt.sh index 77a5e2fb..2ebab837 100755 --- a/groundstation/sstv_decode_prompt.sh +++ b/groundstation/sstv_decode_prompt.sh @@ -137,6 +137,16 @@ if [[ $(grep "0" out.txt) ]] ; then echo "If you want to use the FM TXC as your receiver, go under Options/Configuration/Sound and for Input Audio Device select 'hw:CARD=Device,DEV=0 - USB Audio Device' then OK." echo sleep 10 + + if [ "$frequency" -gt "450000000" ] || [ "$frequency" -lt "420000000" ] ; then + + echo "Frequency is outside 420 - 450 MHz supported by FM TXC!" + echo "Not setting the frequency" +# frequency=434900000 + else + python3 /home/pi/CubeSatSim/groundstation/program_fm.py 434900000 $frequency + fi + else echo "No USB Sound Card present - need to plug it in." fi