|
|
|
|
@ -11,6 +11,13 @@ if [ ! -f "$FILE" ]; then
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=direwolf-4800.conf
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
|
|
|
|
|
wget https://raw.githubusercontent.com/alanbjohnston/CubeSatSim/FIAB-v3/groundstation/direwolf-4800.conf
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=cubicsdr-aprs-direwolf.xml
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
|
|
|
|
|
@ -18,6 +25,20 @@ if [ ! -f "$FILE" ]; then
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=cubicsdr-iss-direwolf.xml
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
|
|
|
|
|
wget https://raw.githubusercontent.com/alanbjohnston/CubeSatSim/FIAB-v3/groundstation/cubicsdr/cubicsdr-iss-direwolf.xml
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
FILE=cubicsdr-serenity-direwolf.xml
|
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
|
|
|
|
|
|
|
|
wget https://raw.githubusercontent.com/alanbjohnston/CubeSatSim/FIAB-v3/groundstation/cubicsdr/cubicsdr-serenity-direwolf.xml
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
sudo killall -9 CubicSDR &>/dev/null
|
|
|
|
|
sudo killall -9 direwolf &>/dev/null
|
|
|
|
|
|
|
|
|
|
@ -27,21 +48,15 @@ echo
|
|
|
|
|
|
|
|
|
|
echo "Choose the number for the type of decoding:"
|
|
|
|
|
echo
|
|
|
|
|
echo "1. APRS US 2m (144390 kHz)"
|
|
|
|
|
echo "2. ISS APRS (145825 kHz"
|
|
|
|
|
echo "3. APRS Enter a frequency in kiloHertz"
|
|
|
|
|
echo "4. Serenity CubeSat 4800 bps"
|
|
|
|
|
echo "1. APRS US 2m (144.390 MHz)"
|
|
|
|
|
echo "2. ISS APRS (145.825 MHz"
|
|
|
|
|
echo "3. APRS on some other frequency"
|
|
|
|
|
echo "4. Serenity CubeSat 4800 bps (437.1 MHz)"
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
read -r choice
|
|
|
|
|
|
|
|
|
|
if [ "$choice" = "1" ]; then
|
|
|
|
|
|
|
|
|
|
frequency=144390000
|
|
|
|
|
|
|
|
|
|
elif [ "$choice" = "2" ]; then
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
@ -55,15 +70,56 @@ echo "When CubicSDR opens, select Generic RTL2832 device then click Start to beg
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
echo "Then select File/Session/Open Session then load /home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml then Open."
|
|
|
|
|
if [ "$choice" = "1" ]; then
|
|
|
|
|
|
|
|
|
|
echo "Then select File/Session/Open Session then load /home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml then Open."
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
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
|
|
|
|
|
read input
|
|
|
|
|
|
|
|
|
|
direwolf -c direwolf.conf -r 48000 -t 0
|
|
|
|
|
direwolf -c direwolf.conf -r 48000 -t 0
|
|
|
|
|
|
|
|
|
|
elif [ "$choice" = "2" ]; then
|
|
|
|
|
|
|
|
|
|
echo "Then select File/Session/Open Session then load /home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-iss-direwolf.xml then Open."
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start"
|
|
|
|
|
|
|
|
|
|
read input
|
|
|
|
|
|
|
|
|
|
direwolf -c direwolf.conf -r 48000 -t 0
|
|
|
|
|
|
|
|
|
|
elif [ "$choice" = "3" ]; then
|
|
|
|
|
|
|
|
|
|
echo "Then select File/Session/Open Session then load /home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-aprs-direwolf.xml then Open."
|
|
|
|
|
echo "Then tune the CubicSDR frequency to the one you want to decode."
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start"
|
|
|
|
|
|
|
|
|
|
read input
|
|
|
|
|
|
|
|
|
|
direwolf -c direwolf.conf -r 48000 -t 0
|
|
|
|
|
|
|
|
|
|
elif [ "$choice" = "4" ]; then
|
|
|
|
|
|
|
|
|
|
echo "Then select File/Session/Open Session then load /home/pi/CubeSatSim/groundstation/cubicsdr/cubicsdr-serenity-direwolf.xml then Open."
|
|
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
echo "Hit the Return key when you have done this in CubicSDR and Direwolf will start"
|
|
|
|
|
|
|
|
|
|
read input
|
|
|
|
|
|
|
|
|
|
direwolf -c direwolf-4800.conf -r 48000 -t 0
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
sleep 5
|
|
|
|
|
|
|
|
|
|
|