Home > Support > ASN1C Compiler FAQ > Sample Configuration File

ASN1C Sample Configuration File

The following snippet of XML is a configuration file that could be used to modify code generation to support 64-bit integers on unconstrained types. Configuration files may be used in a variety of ways. More information is available through our online manuals.

<asn1config>
<module>
  <name>module name as entered in the spec</name>
  <production>
    <name>a production that belongs to that module</name>
    <ctype>int64</ctype>
  </production>
</module>
</asn1config>

A common example would be to modify the ChargingId production in the TAP3 module to use 64-bit integers instead of the default 32-bit type:

<asn1config>
<module>
  <name>TAP-0311</name>
  <production>
    <name>ChargingId</name>
    <ctype>int64</ctype>
  </production>
</module>
</asn1config>