Repository navigation
Conversation
|
Mainly for performance reasons with version v2, the parser was switched from a Python-based approach — |
|
Hi Meisterschueler, Thank you for the clarification and for pointing me to the v2 migration documentation. I understand now that our PR was targeting the legacy Python parser architecture, which is no longer appropriate. I certainly don't want to reintroduce destination-specific regular expressions or compromise the performance improvements of the Rust parser. I'll review In parallel, I'll proceed with controlled feeder testing on OGN TEST using the protocol specification now merged in PR #53. Thanks again for your feedback and for the work on the new parser! |
|
@iz0qwm: regarding ogn-parser-rs: please check if this special word (dscT) also applies to any other beacon type. It would be beneficial for the change if it were applicable to various types of beacons (not just OGNDSC beacons). |
|
Hi @Meisterschueler , I've completed the analysis of The I've prepared a local Rust implementation that handles the four existing codes (O/G/N/R) independently of The current parser already preserves The Rust patch still needs compilation, tests and performance verification before I submit it upstream. Thank you for pointing us in this direction! |
What this adds
Add parser support for the proposed Drone Sky Check centralized Remote ID feeder:
OGNDSCasbeacon_type=dsc.dscTtoken intodsc_time_sourceanddsc_time_reconstructed.The four codes describe original-device, GNSS-clock, network-clock or other reconstruction provenance. They do not assert numerical time accuracy. Unknown, malformed or multiple tokens leave the optional fields absent; the raw comment is retained.
Validation
Full suite: 87 passed, 2 skipped, with Python 3.12 and ogn-parser 0.3.15. The 17 added cases cover the four codes, absent/malformed/ambiguous tokens, isolation from existing feeders, sent/received paths and optional altitude/motion. Protocol examples also parse with this implementation. Dependencies and the upstream protocol corpus pin are unchanged.
Companion Draft PR: glidernet/ogn-aprs-protocol#53
OGNDSCanddscTare submitted for normal protocol review; the extension is optional. Test fixtures are synthetic and unallocated. No live OGN test or Production activation is part of this change.