Closed jwalsh2me closed 2 years ago
OK - I figured it out ... it is not the API Key. Suggested new sample code:
import aprslib
callsign = 'MyCall'
passcode = aprslib.passcode(callsign)
# a valid passcode for the callsign is required in order to send
AIS = aprslib.IS(callsign, passwd=passcode, port=14580)
AIS.connect()
# send a single status message
AIS.sendall("N0CALL>APRS,TCPIP*:>This is a test message")
I am following the example here to send a test packet: Doc
I am getting
aprslib.exceptions.LoginError: Password is incorrect
I have tried the login password I use on aprs.fi, as well as my API Key.
I seem to be missing something obvious here any guidance is appreciated.
John