From 4e557c9e4d7bd77bfa21732003ec1902e09c4685 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Fri, 30 Sep 2016 05:54:44 -0400 Subject: [PATCH] Changed references to APRS-IS to IGATE instead. Issue: #27 --- CHANGELOG.rst | 2 ++ apex.conf.example | 2 +- src/apex/cli.py | 14 +++++++------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7f8015f..66396fe 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 ad0aece..5b00d78 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 efb9e13..a8a6731 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)) -- GitLab