|
|
|
|
|
Re: ASN.1 PER encoding of EUTRA_RRC_ASN1_Definitions.asn ? [message #1802730 is a reply to message #1802719] |
Thu, 14 February 2019 17:59 |
|
Hi Olaf,
yes there is; you should use appropriate compiler flags:
compiler
TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor, version CRL 113 200/6 R5A
usage: compiler [-abcdDeEfgijlLMnNOpqrRsStuwxXyY] [-J file] [-K file] [-z file] [-V verb_level]
[-o dir] [-U none|type|'number'] [-P modulename.top_level_pdu_name] [-Q number] ...
[-T] module.ttcn [-A] module.asn ...
or compiler -v
or compiler --ttcn2json [-jf] ... [-T] module.ttcn [-A] module.asn ... [- schema.json]
OPTIONS:
-a: force XER in ASN.1 files
-b: disable BER encoder/decoder functions
-B: allow selected union field to be unbound (legacy behavior)
-c: write out checksums in case of error
-d: treat default fields as omit
-D: disable user and time information generation in the generated files
-e: enforce legacy handling of 'encode' and 'variant' attributes
-E: display only warnings for unrecognized encoding variants
-f: force overwriting of output files
-g: emulate GCC error/warning message format
-i: use only line numbers in error/warning messages
-j: disable JSON encoder/decoder functions
-J file: read input files from file
-K file: enable selective code coverage
-l: include source line info in C++ code
-L: add source line info for logging
-M: allow 'omit' in template value lists (legacy behavior)
-n: activate debugger (generates extra code for debugging)
-N: ignore UNTAGGED encoding instruction on top level unions (legacy behaviour)
-o dir: output files will be placed into dir
-O: disable OER encoder/decoder functions
-p: parse only (no semantic check or code generation)
-P pduname: define top-level pdu
-q: suppress all messages (quiet mode)
-Qn: quit after n errors
-r: disable RAW encoder/decoder functions
-R: use function test runtime (TITAN_RUNTIME_2)
-s: parse and semantic check only (no code generation)
-S: suppress context information
-t: generate Test Port skeleton
-u: duplicate underscores in file names
-U none|type|'number': select code splitting mode for the generated C++ code
-V verb_level: set verbosity level bitmask (decimal)
-w: suppress warnings
-x: disable TEXT encoder/decoder functions
-X: disable XER encoder/decoder functions
-y: disable subtype checking
-Y: enforce legacy behaviour for "out" function parameters (see refguide)
-z file: enable profiling and code coverage for the TTCN-3 files in the argument
-T file: force interpretation of file as TTCN-3 module
-A file: force interpretation of file as ASN.1 module
-v: show version
--ttcn2json: generate JSON schema from input modules
JSON schema generator options:
-j: only include types with JSON encoding
-f: only generate references to types with JSON encoding/decoding functions
or, to focus on the relevant parts only:
:
-b: disable BER encoder/decoder functions
:
-O: disable OER encoder/decoder functions
:
-r: disable RAW encoder/decoder functions
:
-x: disable TEXT encoder/decoder functions
-X: disable XER encoder/decoder functions
:
I hope this helps
Best regards
Elemer
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04918 seconds