-
Split the origin ASN file(25331-690.txt): there are 5 modules in this file, so we need split it into 5 modules:
-
Class-definitions.asn
- PDU-definitions.asn
- InformationElements.asn
- Constant-definitions.asn
- Internode-definitions.asn
Each has the same structure:
<module-name> DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
...
END
-
Compile modules according their dependencies. The order is:
Constant-definitions -> InformationElements -> PDU-definitions -> Class-definitions -> Internode-definitions
The compile method is: in erlang shell($ erl
), run "asn1ct:compile("PDU-definitions", [per, verbose]).".