Update direwolf.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-02-16 02:28:02 +00:00
parent 8887bb500e
commit 1603e13a7a
1 changed files with 39 additions and 5 deletions

View File

@ -75,9 +75,43 @@ EOF
########
cat > /opt/direwolf/rtl.sh <<- "EOF"
#!/bin/sh
###########################################################
# #
# configuration file device RTL-SDR #
# #
# Linux version setting by hp3icc #
# #
# Sample frecuency : #
# Frec=144.390 #
# #
# Sample RX Gain : #
# Gain=42 #
###########################################################
# Put Frecuency
Frec=144.390
# Put Gain RX
Gain=42
#############################################################
PATH=/bin:/usr/bin:/usr/local/bin
unset LANG
rtl_fm -M fm -f 144.39M -p 0 -s 22050 -g 42 - | /usr/local/bin/direwolf -c /opt/direwolf/sdr.conf -r 22050 -D 1 -B 1200 -
unset
DirLog=
if [ -z "$DirLog" ]
then
DirLog1=
else
DirLog1="-l $DirLog"
fi
Frec1="$Frec"M
rtl_fm -M fm -f $Frec -p 0 -s 22050 -g 42 - | /usr/local/bin/direwolf $DirLog1 -c /opt/direwolf/sdr.conf -r 22050 -D 1 -B 1200 -
EOF
#
@ -90,9 +124,9 @@ cat > /opt/direwolf/sdr.conf <<- "EOF"
# #
# Linux version setting by hp3icc #
# #
# emq-TE1ws #
# emq-TE1+ #
# #
# configuration for SDR RX-only IGate. #
# configuration for SDR RX-only IGate. #
#############################################################
ADEVICE null null
CHANNEL 0
@ -124,7 +158,7 @@ cat > /opt/direwolf/gpsd.conf <<- "EOF"
# #
# Linux version setting by hp3icc #
# #
# emq-TE1ws #
# emq-TE1+ #
# #
# configuration for GPSD TX-only TRACKER. #
#############################################################