1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-18 07:40:11 -07:00

Merge pull request #10 from km4ack/dev

Dev
This commit is contained in:
KM4ACK 2020-06-19 08:32:15 -05:00 committed by GitHub
commit 42871ab96d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 8 deletions

View File

@ -1,10 +1,12 @@
release=2.2.0 release=2.2.1
NOT MERGED 20200521
Changelog Changelog
2.2.0 add multiple alias select in Find Ardop gateways 2.2.1 fix delete alias
2.2.0 add mobilinkd modem
add multiple alias select in Find Ardop gateways
update fa-funtions to show 100 stations in packet search update fa-funtions to show 100 stations in packet search
add update sound card to settings/config add update sound card to settings/config
add set ARDOP PTT to manage pat winlink add set ARDOP PTT to manage pat winlink

View File

@ -265,7 +265,7 @@ rm $TEMPFILE
exit exit
fi fi
FILE=$(echo $CONFIG | awk -F "|" '{print $1}') FILE=$(echo $CONFIG | awk -F "|" '{print $1}')
rm $MYPATH/$FILE
rm $TEMPFILE rm $TEMPFILE
yad --title="Deleted" --width=400 --height=100 \ yad --title="Deleted" --width=400 --height=100 \

View File

@ -56,10 +56,12 @@ fi
#set correct connection commmand #set correct connection commmand
if [ $TNC = "2" ] if [ $TNC = "2" ]
then then
CONNECT="sudo rfcomm connect /dev/rfcomm0 $MAC" #CONNECT="sudo rfcomm connect /dev/rfcomm0 $MAC"
CONNECT="sudo rfcomm bind /dev/rfcomm0 $MAC"
elif [ $TNC = "3" ] elif [ $TNC = "3" ]
then then
CONNECT="sudo rfcomm connect /dev/rfcomm0 $MAC 6" CONNECT="sudo rfcomm bind /dev/rfcomm0 $MAC 6"
#CONNECT="sudo rfcomm connect /dev/rfcomm0 $MAC 6"
fi fi
#See if device was found and connect if found #See if device was found and connect if found
@ -90,7 +92,7 @@ echo "starting kissattach for winlink"
fi fi
#verify that piardopc is running #verify that piardopc is running
PIDPIC=$(pidof rfcomm) PIDPIC=$(pidof kissattach)
if [ -z "$PIDPIC" ] if [ -z "$PIDPIC" ]
then then
yad --title="FAILED" --width=400 --height=100 \ yad --title="FAILED" --width=400 --height=100 \

View File

@ -7,7 +7,8 @@ LOGO=$MYPATH/pmlogo.png
#stop all modems that might be running #stop all modems that might be running
sudo killall direwolf piardopc kissattach piARDOP_GUI rfcomm > /dev/null 2>&1 sudo killall direwolf piardopc kissattach piARDOP_GUI > /dev/null 2>&1
sudo rfcomm release /dev/rfcomm0 > /dev/null 2>&1
yad --title="Modem Stopped" --width=400 --height=100 \ yad --title="Modem Stopped" --width=400 --height=100 \
--image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \ --image $LOGO --window-icon=$LOGO --image-on-top --text-align=center \