librasn / compiler

An ASN1 compiler producing Rust bindings for the rasn framework
Other
13 stars 7 forks source link

MatchingError(Tag) when parsing RRC module. #46

Closed XAMPPRocky closed 1 month ago

XAMPPRocky commented 1 month ago

When attempting to parse the module in the linked module I got the following error.

Module: https://www.nrexplained.com/rrc-txt/h60

Encountered error while parsing MatchingError(Tag) - Error matching ASN syntax while parsing:SetupRelease { ElementTypeParam } ::= CHOICE { 
    release         NULL,
    setup           ElementTypeParam 
} 
6d7a commented 1 month ago

Thank you for your issue. Release v0.5.3 generates bindings for the linked ASN.1 successfully, although I had to fix three typos in the ASN.1 sources. Let me know if you run into any issues with the generated bindings.