Создал(а) 'r1zbp.sh'

Отправка в апрс маяка r1zbp
This commit is contained in:
ua1zbe 2022-04-23 08:58:03 +03:00
parent bf78f59141
commit 11198e6891
1 changed files with 18 additions and 0 deletions

18
r1zbp.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
#Define login info
user=R1ZBP
password=11153
#Define object user info
senduser=R1ZBP
#Define APRS-IS server
server=aprs.ua1zbe.tk
port=14580
#Define station location
lat=6722.23N
lon=03229.97E
#Define data
comment="Analog RX 446.16875MHz CTCSS 77.0 "
data="$senduser>APN100,TCPIP*:=${lat}/${lon}r${comment}"
#Send data to the server
printf "%s\n" "user $user pass $password" "${senduser}>APN100,TCPIP*:=${lat}/${lon}-${comment}" | ncat aprs.ua1zbe.tk 14580