Home
→
ASN.1
→ Online ASN.1 Compiler
ASN.1 Input
⇒
Pick
the ASN.1 module text or binary encoded data file:
Autodetect file type...
ASN.1 specification text ...
BER/DER/CER binary file ...
GSM TAP3-09 binary file ...
GSM TAP3-10 binary file ...
GSM TAP3-11 binary file ...
IETF LDAPv3 message ...
X.509 in DER (not PEM!) ...
MEGACO (H.248.1) message ...
ISO MHEG-5 stream file ...
--- not autodetectable (PER): ---
3GPP RRC UL-CCCH-Message
3GPP RRC DL-DCCH-Message
3GPP RRC UL-DCCH-Message
3GPP RRC PCCH-Message
⇒
Or paste
the ASN.1 text into the area below:
/* * This ASN.1 specification is given as an example. * Your own ASN.1 module must be properly formed as well! * (Make sure it has BEGIN/END statements, etc.) */ TestModule DEFINITIONS ::= BEGIN TestType ::= SEQUENCE { num [PRIVATE 1] INTEGER, str UTF8String (SIZE(1..20)) OPTIONAL } END
These options may be used to control the compiler's behavior:
Debug lexer (
-Wdebug-lexer
)
Just parse and dump (do not verify) (
-E
)
Parse, verify validity, and dump (
-E -F
)
Use native machine types (e.g.
double
instead of
REAL_t
) (
-fnative-types
)
Generate PER support (
-gen-PER
), default is BER, DER and XER
Prevent name clashes in compiled output (
-fcompound-names
)
... the command line ASN.1 compiler,
asn1c
, supports many other parameters
.
Process only the first PDU in file
Generate simple text dump instead of XML (XER)
Ignore protocol framing preamble (
-s 4 -1
unber
options to skip first 4 bytes)
Generate terser output while still preserving BER encoding information (
-m
unber
option)
⇒
(Available disk space: 9.8G)
[compiled results will appear here]
Privacy Note:
this page is tailored to your browser.
Other users will see their own (different) data.
(
Read more...
)
The ASN.1 Compiler
Copyright © 2003, 2004, 2005, 2006, 2007 Lev Walkin <
vlm@lionet.info
>