Scripts/r1zbp.sh

19 lines
460 B
Bash

#!/bin/bash
#Define login info
user=R1ZBP
password=11153
#Define object user info
senduser=R1ZBP
#Define APRS-IS server
server=ua1zbe.ru
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 ua1zbe.ru 14580