Comprehensive APRS parsing overhaul β near-parity with perl-aprs-fap (FAP.pm) - #97
Open
hemna wants to merge 1 commit into
Open
Comprehensive APRS parsing overhaul β near-parity with perl-aprs-fap (FAP.pm)#97hemna wants to merge 1 commit into
hemna wants to merge 1 commit into
Conversation
hemna
force-pushed
the
feature/new-parsing
branch
5 times, most recently
from
August 4, 2026 17:00
334d410 to
0ad3c9f
Compare
Gap analysis against perl-aprs-fap (FAP.pm), the gold standard APRS parser used by aprs.fi, identified 14 missing features. All are now implemented with full unit test coverage (397 tests pass). New modules: - aprslib/kiss.py: KISS <-> TNC-2 frame conversion - aprslib/dedup.py: Duplicate detection (dedup_key + DuplicateFilter) - aprslib/parsing/dx.py: DX spot parsing - aprslib/parsing/dstsymbol.py: Symbol from GPSxyz/SPCxyz destination - aprslib/packets/object.py: Object/Item packet construction - aprslib/geo.py: Great circle distance/direction + position resolution - aprslib/parsing/query.py: Query packet parsing - aprslib/parsing/nws.py: NWS weather alert parsing Enhanced modules: - parsing/__init__.py: DX spot + Peet Bros !! dispatch - parsing/misc.py: NMEA checksum validation, GPGLL coordinates - parsing/peetbros.py: Full 13-field $ULTW + !! logging frame - parsing/mice.py: Broken Mic-E fixup, device type detection - parsing/common.py: Comment cleanup, DF reports, area objects, signpost objects, frequency/tone/offset, data extensions - parsing/weather.py: Weather software ID extraction - parsing/position.py: Compressed/uncompressed with messagecapable - parsing/telemetry.py: Telemetry data + config message parsing - packets/base.py: Third-party unwrap, station capabilities Design: parse() never drops packets β enriches with new fields only. Stateful helpers (DuplicateFilter, TelemetryStore) are opt-in.
hemna
force-pushed
the
feature/new-parsing
branch
from
August 4, 2026 19:59
0ad3c9f to
ab9f911
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive APRS protocol parsing overhaul achieving near-parity with perl-aprs-fap (FAP.pm), the gold standard parser used by aprs.fi. All 397 tests pass.
FAP.pm Gap Analysis β 14 Features Implemented
A line-by-line gap analysis against perl-aprs-fap identified 14 missing features. All are now implemented with unit tests.
aprslib/kiss.pyaprslib/dedup.pydedup_keyfield +DuplicateFilterclass (marks, never drops)aprslib/parsing/dx.pyaprslib/parsing/dstsymbol.pyaprslib/packets/object.pyObjectReportandItemReportpacket buildersaprslib/parsing/misc.pynmea_checksum_okflagmessagecapablefield on=and@DTIaprslib/geo.pyaprslib/geo.pyaprslib/parsing/peetbros.py!!logging frame with indoor temp/humidityaprslib/parsing/peetbros.pyaprslib/parsing/misc.pyaprslib/parsing/mice.pyaccept_brokenoption repairs corrupted IGate packetscommon.py+weather.pyAdditional Parsers (earlier commits on this branch)
?aprslib/parsing/query.pyaprslib/parsing/nws.py\lsymbolaprslib/parsing/common.py\msymbolaprslib/parsing/common.pyDFSshgdaprslib/parsing/common.pyPARM/UNIT/EQNS/BITS<}[Design Principles
Test Coverage