Value Mappings

BOOLEAN Value
INTEGER Value
REAL Value
Enumerated Value Specification
Binary and Hexadecimal String Value
Character String Value
Object Identifier Value Specification
Constructed Type Values

ASN1C can parse any type of ASN.1 value specification, but it will only generate code for following value specifications:

All value types except INTEGER and REAL cause an "extern" statement to be generated in the header file and a global value assignment to be added to the C or C++ source file. INTEGER and REAL value specifications cause #define statements to be generated.