updates for direct sampling

pull/52/head
Alan Johnston 6 years ago
parent 79dfe5fc58
commit 1f19d1695a

@ -1,16 +1,16 @@
#!/bin/bash
# script to auto decode CubeSat Simulator telemetry
#!/bin/bash
# script to run gqrx
# kill rtl if running
ps -ef | grep rtl | grep -v grep | awk '{print $2}' | sudo xargs kill
echo "Script to run Gqrx for ARISS Radio Pi"
# kill openwebrx process if running
ps -ef | grep openwebrx | grep -v grep | awk '{print $2}' | sudo xargs kill
echo
# kill csdr process if running
ps -ef | grep csdr | grep -v grep | awk '{print $2}' | sudo xargs kill
sudo killall -9 java &>/dev/null
echo -e "Script to run Gqrx\n"
sudo systemctl stop rtl_tcp
/home/pi/gqrx-sdr-2.11.5-linux-rpi3/gqrx
sudo killall -9 rtl_tcp &>/dev/null
sudo systemctl stop openwebrx
/usr/bin/gqrx

@ -0,0 +1,26 @@
#!/bin/bash
# script to run RTL-TCP in Direct Sampling Mode
echo "Script to run RTL-TCP Direct Sampling for ARISS Radio Pi"
echo
ip=$(hostname -I|cut -f1 -d ' ')
echo "IP Address to use in SDR is: $ip:1234"
echo
ssid=$(iwgetid -r)
echo "Note: you need to be on the Wifi network: $ssid"
echo
sudo killall -9 java &>/dev/null
sudo systemctl stop rtl_tcp
sudo systemctl stop openwebrx
sudo /bin/sh -c '/usr/local/bin/rtl_tcp -a $(hostname -I|cut -f1 -d " ") -D 2'

@ -3,14 +3,34 @@
#
# On SDR client, use 10.3.141.1:1234 to connect
echo -e "\nScript to run RTL-TCP Server for ARISS Radio Pi\n"
echo "Script to run RTL-TCP Server for ARISS Radio Pi"
echo -e "IP Address to use in your SDR application is: "
ip=$(hostname -I|cut -f1 -d ' ')
hostname -I|cut -f1 -d ' '
echo
echo -e "The port is the default 1234. "
echo "IP Address to use in SDR application is: $ip"
./kill_all.sh
echo
sudo /bin/sh -c '/usr/local/bin/rtl_tcp -a $(hostname -I|cut -f1 -d " ")'
echo "Port to use in SDR application is the default: 1234"
echo
ssid=$(iwgetid -r)
echo "Note: you need to be on the Wifi network: $ssid"
echo
pkill -o chromium &>/dev/null
sudo killall -9 java &>/dev/null
sudo systemctl stop openwebrx
sudo killall -9 rtl_tcp &>/dev/null
sudo systemctl start rtl_tcp
$SHELL

Loading…
Cancel
Save

Powered by TurnKey Linux.