diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7f8015f16e12d7eb8a556c76ae8b023e5280a528..66396fe2eed19144cae5ca0c181bfada0ba0804f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,8 @@ Changelog 0.0.5 ----- +* Changed the APRS-IS config section to be named IGATE instead. +* Output now displays IGATE as the source/destination instead of APRS-IS. 0.0.4 ----- diff --git a/apex.conf.example b/apex.conf.example index ad0aecedc167d3c06e9ad58ca05857e6cfe52ff9..5b00d78235d61950f7c758b009827d43989288bb 100644 --- a/apex.conf.example +++ b/apex.conf.example @@ -38,7 +38,7 @@ status_text=>Robust Packet Radio http://JeffreyFreeman.me id_text=WI2ARD/30M1 GATE/2M1 WI2ARD-1/2M1 WIDEN-n IGATE id_path=WIDE1-1 -[APRS-IS] +[IGATE] callsign=WI2ARD password=12345 server=noam.aprs2.net diff --git a/src/apex/cli.py b/src/apex/cli.py index efb9e138e9eb71e49ecfdfabba25086682431f39..a8a673102fd4c45b656308c9b7f39d282203399e 100644 --- a/src/apex/cli.py +++ b/src/apex/cli.py @@ -146,16 +146,16 @@ def configure(configfile, verbose=False): global aprsis aprsis = None - if config.has_section('APRS-IS'): - aprsis_callsign = config.get('APRS-IS', 'callsign') - if config.has_option('APRS-IS', 'password'): - aprsis_password = config.get('APRS-IS', 'password') + if config.has_section('IGATE'): + aprsis_callsign = config.get('IGATE', 'callsign') + if config.has_option('IGATE', 'password'): + aprsis_password = config.get('IGATE', 'password') else: aprsis_password = -1 - aprsis_server = config.get('APRS-IS', 'server') - aprsis_server_port = config.get('APRS-IS', 'server_port') + aprsis_server = config.get('IGATE', 'server') + aprsis_server_port = config.get('IGATE', 'server_port') aprsis_base = apex.buffers.ReconnectingPacketBuffer(apex.aprs.IGate(aprsis_callsign, aprsis_password)) - aprsis = NonrepeatingBuffer(aprsis_base, 'APRS-IS') + aprsis = NonrepeatingBuffer(aprsis_base, 'IGATE') aprsis.connect(aprsis_server, int(aprsis_server_port))