lte_lpp: telcom-parser: genreate ASN.1 & rust bindings - #1142
Draft
philgebhardt wants to merge 3 commits into
Draft
lte_lpp: telcom-parser: genreate ASN.1 & rust bindings#1142philgebhardt wants to merge 3 commits into
philgebhardt wants to merge 3 commits into
Conversation
This ASN.1 is the output of hampi parsing over the 3GPP `TS 37.355` spec (version 19.3.0, `37355-j30.docx`) found on the [3GPP Portal][1]. This was generated using [my fork][2] of [hampi's parser example][3] ``` python3 /git/hampi/examples/specs/parse_spec.py 37355-j30.docx -d telcom-parser/specs ``` See: EFForg#1072 [1]: https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=3710 [2]: ystero-dev/hampi@e76c479 [3]: https://github.com/philgebhardt/hampi/blob/e1a46c6ee7eba754352395b01d95a33ff38c2006/examples/specs/parse_spec.py
This transformation is a workaround to issue ystero-dev/hampi#143 Applied with: ```sh sed -i -E 's/([[:alnum:]_-]+)--/\1 --/g' telcom-parser/specs/LPP-PDU-Definitions.asn ``` See EFForg#1072
Generated with: ``` rs-asn1c --codec uper --module src/lte_lpp.rs -- specs/LPP-PDU-Definitions.asn ``` See: EFForg#1072
This was referenced Sep 5, 2026
Open
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.
This PR is a draft of my progress in pursuing an implementation for #1072.
All code in this PR was generated using tools from hampi. I've broken this PR out into three commits to show the provenance of that generation.
Each commit comment describes the exact steps used to generate each.
Pull Request Checklist
cargo fmt.You must check one of: