OSS Nokalva Home Page
>
Resources
>
ASN1.IO
> ASN.1 Python Compiler, Encoder, Decoder
×
The following license will be emailed to you
No promo exists.
×
Ask a question or suggest a feature:
Buy
Sign Up for FREE
•
FREE promo license
questionnaire
One minute
ASN.1 Schema
Enter manually
Upload .asn file
GeneratedSchema DEFINITIONS AUTOMATIC TAGS ::= BEGIN SensorConfiguration ::= SEQUENCE { message UTF8String, publishPeriod INTEGER (1..10) } SensorReading ::= SEQUENCE { message UTF8String, value REAL } END
Options:
Encoding rule:
DER
BER
CER
OER
COER
PER
UPER
CPER
CUPER
Encoding rule family, e.g. DER
Codec name:
File name for the codec.
Generate codec for schema type(s) (also known as PDU):
specific
Specified type name(s).
top level only
Unreferenced, constructed types.
all types
All schema types.
Syntax: ModuleName.TypeName
Module.Type name(s), comma separated.
Bindings:
native types based
Composed by the application at runtime.
class based
New - Class bindings (beta)
Generated during schema compilation, offers autocomplete and rich behavior.
Samples with random values
Useful for testing with random data.
Output
Python quick start with ASN.1