From 2e42b9e062a71c4e4161aff48d7f5d3f7b08223d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csan=C3=A1dy=20Mikl=C3=B3s?= Date: Tue, 3 Nov 2026 13:36:42 +0100 Subject: [PATCH 1/2] parser: add the OGNUPH tocall (Uphere) --- CHANGELOG.md | 3 +++ ogn/parser/parse.py | 1 + tests/parser/parse/test_parse.py | 4 ++++ 3 files changed, 8 insertions(+) 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/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') From 2c76bf19573d803e1a6d81868214612607d45772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Csan=C3=A1dy=20Mikl=C3=B3s?= Date: Tue, 3 Nov 2026 17:34:02 +0100 Subject: [PATCH 2/2] tests: bump ogn-aprs-protocol to the commit with OGNUPH_Uphere.txt --- ogn-aprs-protocol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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