Create init_and_send.sh

This commit is contained in:
DJ2LS 2021-03-01 08:38:04 +01:00 committed by GitHub
parent c034191208
commit 7bec8c6a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

23
tools/init_and_send.sh Normal file
View File

@ -0,0 +1,23 @@
for i in {1..5}
do
echo "Welcome $i times"
done
python3 readfromsocket.py --port 3002 --data "SET:MYCALLSIGN:DJ2LS"
python3 readfromsocket.py --port 3000 --data "SET:MYCALLSIGN:DH3WO"
sleep 3
#python3 readfromsocket.py --port 3002 --data "CQCQCQ"
#sleep 5
python3 readfromsocket.py --port 3002 --data "PING:DH3WO"
sleep 5
python3 readfromsocket.py --port 3002 --data "ARQ:CONNECT:DH3WO"
#sleep 1
python3 readfromsocket.py --port 3000 --data "GET:ARQ_STATE"
sleep 5
echo "ACHTUNG DATEI"
python3 socketclient.py --port 3002 --random 100
sleep 10
python3 readfromsocket.py --port 3000 --data "ARQ:DISCONNECT"
echo "ende..."