This commit is contained in:
KF7EEL 2021-02-04 12:59:05 -08:00
parent 57b982bf50
commit 66e77f42e7
1 changed files with 4 additions and 4 deletions

View File

@ -146,10 +146,10 @@ def aprs_send(packet):
logger.info('APRS callsighn set to N0CALL, packet not sent.')
pass
else:
## AIS = aprslib.IS(aprs_callsign, passwd=aprs_passcode,host=aprs_server, port=aprs_port)
## AIS.connect()
## AIS.sendall(packet)
## AIS.close()
AIS = aprslib.IS(aprs_callsign, passwd=aprs_passcode,host=aprs_server, port=aprs_port)
AIS.connect()
AIS.sendall(packet)
AIS.close()
logger.info('Packet sent to APRS-IS.')
def dashboard_loc_write(call, lat, lon, time):