From b8a1a948b750e27c0377a77059db98ad7147205b Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 10 Jun 2021 08:27:30 -0400 Subject: [PATCH] modified aprs script for CubeSatSim --- groundstation/aprs-cubesatsim.sh | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 groundstation/aprs-cubesatsim.sh diff --git a/groundstation/aprs-cubesatsim.sh b/groundstation/aprs-cubesatsim.sh new file mode 100644 index 00000000..72cf48a2 --- /dev/null +++ b/groundstation/aprs-cubesatsim.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# script to auto decode APRS packets from CubeSatSim + +sudo modprobe snd-aloop + +sudo systemctl stop openwebrx + +sudo systemctl stop rtl_tcp + +pkill -o chromium &>/dev/null + +sudo killall -9 rtl_fm &>/dev/null + +sudo killall -9 aplay &>/dev/null + +sudo killall -9 qsstv &>/dev/null + +sudo killall -9 rtl_tcp &>/dev/null + +sudo killall -9 java &>/dev/null + +sudo killall -9 CubicSDR &>/dev/null + +echo -e "Script to auto decode APRS packets from CubeSatSim on 434.90 MHz\n" + +sleep 1 + +#sudo rtl_fm -f 144.39M -s 22050 -g 48 - | multimon-ng -a AFSK1200 -A -t raw - + +direwolf -t 0 & + +#rtl_fm -M fm -f 144.39M -s 48k | aplay -D hw:2,0,0 -r 48000 -t raw -f S16_LE -c 1 +rtl_fm -M fm -f 434.9M -s 48k | aplay -D hw:2,0,0 -r 48000 -t raw -f S16_LE -c 1 + + +