mirror of
https://github.com/kemenril/iR-APRSISD.git
synced 2025-03-05 20:51:35 -08:00
use SSID_1 to login to APRS
This commit is contained in:
parent
0fea87d766
commit
85cdeeaa3a
|
@ -26,7 +26,7 @@ from optparse import OptionParser
|
||||||
|
|
||||||
|
|
||||||
#Name of our configuration file.
|
#Name of our configuration file.
|
||||||
cf = "ir-aprsisd.cfg"
|
cf = "ir-aprsisd_edb.cfg"
|
||||||
|
|
||||||
#Configuration
|
#Configuration
|
||||||
conf = configparser.ConfigParser()
|
conf = configparser.ConfigParser()
|
||||||
|
@ -108,7 +108,7 @@ urllib.request.install_opener(http)
|
||||||
def reconnect():
|
def reconnect():
|
||||||
global AIS
|
global AIS
|
||||||
while True:
|
while True:
|
||||||
AIS = aprslib.IS(conf['APRS']['SSID'],passwd=int(conf['APRS']['Password']),port=int(conf['APRS']['Port']))
|
AIS = aprslib.IS(conf['APRS']['SSID_1'],passwd=int(conf['APRS']['Password']),port=int(conf['APRS']['Port']))
|
||||||
try:
|
try:
|
||||||
AIS.connect()
|
AIS.connect()
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue