I'm trying to compile the 3GPP 38.331 ASN.1 specification here - which was extracted from the spec document
import asn1tools
rrc = asn1tools.compile_files('./data/asn/38331-f80.docx.asn', 'uper')
However this throws the error asn1tools.errors.CompileError: Type 'SetupRelease' not found in module 'NR-RRC-Definitions'.
I could see the SetupRelease
definition in the .asn file
SetupRelease { ElementTypeParam } ::= CHOICE {
release NULL,
setup ElementTypeParam
}