Indicate your preferences for the ASN.1 to C compiler settings on the
ASN.1 > Compiler > ASN.1 to C Compiler preference page.
|
Option |
Description |
Default |
|---|---|---|
|
Serial Number |
A hexadecimal string present of the serial number used by this compiler, this serial number is also used by the runtime library. |
Empty |
|
INTEGER type mapping to: |
When selecting int option, the compiler will map an INTEGER type to int regardless of it's range; When selecting long option, the compiler will map an INTEGER type to long regardless of it's range; When selecting automatic option, the compiler will map an INTEGER type to int or long depend on the range. |
automatic |
|
REAL type mapping to: |
When selecting float option, the compiler always maps a REAL type to float; When selecting double option, the compiler always maps a REAL type to double; When selecting automatic option, the compiler always maps a REAL type to float or double depend on the range. |
automatic |
|
size of int: |
This option is valid only when the INTEGER type mapping option is automatic, the size of int is used to calculate the lower and upper bound of int. |
2 bytes |
|
BER |
When enabling this option, the compiler will generate BER encoding/decoding routines for any C data structs. |
On |
|
CER |
When enabling this option, the compiler will generate CER encoding/decoding routines for any C data structs. |
Off |
|
DER |
When enabling this option, the compiler will generate DER encoding/decoding routines for any C data structs. |
Off |
|
PER |
When enabling this option, the compiler will generate PER encoding/decoding routines for any C data structs. |
Off |
|
Output Folder |
This option specify the sub-output folder (sub-folder of the output folder in ASN.1 > Compiler) for the ASN.1 to C Compiler. |
c |
|
Using module name as subfolder name |
When enabled, the compiler will create a modue sub-folder under the sub-output folder specified above. |
On |
|
Generate free() functions |
When enabled, the compiler will generate data struct specific free routine. |
Off |
|
Generate equals() functions[unimplement] |
When enabled, the compiler will generate data struct specific equals routine. |
Off |
|
Generate print() functions |
When enabled, the compiler will generate data struct specific print routine. |
Off |