asn1c
asn1c copied to clipboard
Error parsing ASN.1 specification document
Hi, I'm getting some errors while tryting to parse a specification document. It seems that some of the keywords used for the specification are not supported but I'm not sure. Error:
FATAL: Terminal type for reject at line 313 not found in spec.asn1
FATAL: Cannot find reject referenced by RICsubscriptionRequest-IEs at line 313 in spec.asn1
FATAL: Cannot parse RICsubscriptionRequest-IEs of CLASS E2AP-PROTOCOL-IES found at line 313 in spec.asn1
FATAL: Parsing ObjectSet RICsubscriptionRequest-IEs failed at 313 in spec.asn1
FATAL: Terminal type for reject at line 313 not found in spec.asn1
Source:
# Line 313
RICsubscriptionRequest-IEs E2AP-PROTOCOL-IES ::= {
{ ID id-RICrequestID CRITICALITY reject TYPE RICrequestID
PRESENCE mandatory}|
{ ID id-RANfunctionID CRITICALITY reject TYPE RANfunctionID
PRESENCE mandatory}|
{ ID id-RICsubscriptionDetails CRITICALITY reject TYPE RICsubscriptionDetails
PRESENCE mandatory},
...
}
Criticality ::= ENUMERATED { reject, ignore, notify }
E2AP-PROTOCOL-IES ::= CLASS {
&id ProtocolIE-ID UNIQUE,
&criticality Criticality,
&Value,
&presence Presence
}
WITH SYNTAX {
ID &id
CRITICALITY &criticality
TYPE &Value
PRESENCE &presence
}
Any ideas about where the issue could be?
Regards, Ginés.