Changed APRS server

master
Sven Steudte 2018-02-06 02:19:02 +01:00
rodzic c107a5c9c3
commit 96465f44c1
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -121,7 +121,7 @@ if args.device == 'I': # Source APRS-IS
print('Connect to APRS-IS')
try:
tn = telnetlib.Telnet("rotate.aprs2.net", 14580, 3)
tn = telnetlib.Telnet("euro.aprs2.net", 14580, 3)
tn.write(("user %s filter u/APECAN\n" % args.call).encode('ascii'))
print('Connected')
except Exception as e:
@ -161,7 +161,7 @@ if args.device == 'I': # Source APRS-IS
if wdg < time.time():
print('APRS-IS connection lost... reconnect')
try:
tn = telnetlib.Telnet("rotate.aprs2.net", 14580, 3)
tn = telnetlib.Telnet("euro.aprs2.net", 14580, 3)
tn.write(("user %s filter u/APECAN\n" % args.call).encode('ascii'))
print('Connected')
wdg = time.time() + 10