diff --git a/CHANGELOG.md b/CHANGELOG.md index cf1957c..28a0244 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # CHANGELOG +## unreleased +- parser: Changed InReach parser (fixes #73) +- parser: separated incompatible ID into parser dependant ID (lt24: address -> lt24_id, skylines: address -> skylines_id, + spider: id_spider -> spider_registration, address -> spider_id, spot: address -> spot_id) (fixes #64) + ## 0.9.7: - 2020-05-21 - parser: Added support for OGPAW (PilotAware) beacons - client: Dropped compatibility for Python 3.4 diff --git a/ogn/parser/parse.py b/ogn/parser/parse.py index f516108..256097e 100644 --- a/ogn/parser/parse.py +++ b/ogn/parser/parse.py @@ -104,7 +104,7 @@ dstcall_parser_mapping = {'APRS': OgnParser(), 'OGNSDR': ReceiverParser(), 'OGCAPT': GenericParser(beacon_type='capturs'), 'OGFLYM': GenericParser(beacon_type='flymaster'), - 'OGINREACH': InreachParser(), + 'OGINRE': InreachParser(), 'OGLT24': LT24Parser(), 'OGNAVI': NaviterParser(), 'OGPAW': GenericParser(beacon_type='pilot_aware'), diff --git a/tests/parser/valid_beacon_data/inreach.txt b/tests/parser/valid_beacon_data/inreach.txt index 57d5d64..4efb9e3 100644 --- a/tests/parser/valid_beacon_data/inreach.txt +++ b/tests/parser/valid_beacon_data/inreach.txt @@ -1,4 +1,4 @@ # The following beacons are example for Garmin inReach APRS format # source: https://github.com/glidernet/ogn-aprs-protocol # -OGN8A0749>OGINREACH,qAS,INREACH:/142700h0448.38N/07600.74W'000/000/A=004583 id300434060496190 inReac True \ No newline at end of file +OGN8A0749>OGINRE,qAS,INREACH:/142700h0448.38N/07600.74W'000/000/A=004583 id300434060496190 inReac True \ No newline at end of file