diff --git a/CHANGELOG.md b/CHANGELOG.md index 6af1eb9..4fa687a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +## Unreleased +- parser: Added the OGNUPH tocall (Uphere app, beacon type "uphere") + ## 2.0.0: - 2025-05-23 - parser: use rust parser as default - parser: removed OgnParseError since only invalid APRS don't pass the parser diff --git a/ogn-aprs-protocol b/ogn-aprs-protocol index 067bdeb..7878a7e 160000 --- a/ogn-aprs-protocol +++ b/ogn-aprs-protocol @@ -1 +1 @@ -Subproject commit 067bdeb956bf414db3674841512c8e8a6a4d6c82 +Subproject commit 7878a7ea47f266012f69ff0dac90c29f6534eef6 diff --git a/ogn/parser/parse.py b/ogn/parser/parse.py index 74b011f..264fef8 100644 --- a/ogn/parser/parse.py +++ b/ogn/parser/parse.py @@ -26,6 +26,7 @@ 'OGSPID': 'spider', 'OGSPOT': 'spot', 'OGNTRK': 'tracker', + 'OGNUPH': 'uphere', } diff --git a/tests/parser/parse/test_parse.py b/tests/parser/parse/test_parse.py index 4f35486..15f76ba 100644 --- a/tests/parser/parse/test_parse.py +++ b/tests/parser/parse/test_parse.py @@ -204,3 +204,7 @@ def test_no_receiver(): assert result['name'] == 'EDFW' assert result['dstcall'] == 'OGNSDR' assert result.get('receiver_name') is None + + +def test_uphere_beacons(): + _parse_valid_beacon_data_file(filename='OGNUPH_Uphere.txt', beacon_type='uphere')