From 6df8ca5af49e5ceadbc473d2de68962cb892e8dc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= The ASN.1 module Now are referenced modules parsed when the compiler finds an
+ Referenced modules are now parsed when the compiler finds an
entity that is imported. There will not be any code generated for
the referenced module. However, the compiled module rely on
that the referenced modules also will be compiled. This functionality works together with the flags
- This functionality works together with the
+ You may add any option to the Erlang compiler when
compiling the generated Erlang files. Any option
- unrecognised by the asn1 compiler will be passed to the
+ unrecognized by the asn1 compiler will be passed to the
Erlang compiler.
The run-time encoders and decoders execute within a catch and
returns There are various reasons for using a multi file compilation: There are various reasons for using multi-file compilation: You need to specify which asn1 specs you will
@@ -733,13 +733,11 @@ O2Val = <<"must be exactly 28 chars....">>,
specified for a type are especially important for PER, where
they affect the encoding.
Please note that all the Character strings are
- supported and it is possible to use the following ASN.1 type
- definitions: Here are some examples: and the following Erlang assignments: with corresponding Erlang assignments: Values of this type can be assigned a value as an ordinary string i.e. Values of this type can be assigned a value as an ordinary string
+ like this:
-
Digs ::= NumericString (SIZE(1..3))
TextFile ::= IA5String (SIZE(0..64000))
-
DigsVal1 = "456",
DigsVal2 = "123",
@@ -866,9 +864,11 @@ OidVal1 = {1,2,55},
+
+ "This is the value of an Object descriptor"
Information Object Classes, Information Objects and Information - Object Sets, (in the following called classes, objects and - object sets respectively), are defined in the standard + Object Sets (in the following called classes, objects and + object sets respectively) are defined in the standard definition []. In the following only a brief explanation is given.
These constructs makes it possible to define open types, @@ -1407,9 +1407,9 @@ T1 ::= General{PrintableString} T2 ::= General{BIT STRING}
An example of a value that can be encoded as type T1 is {12,"hello"}.
-Observe that the compiler not generates encode/decode functions for - parameterized types, only for the instances of the parameterized - types. So, if a file contains the types General{}, T1 and T2 above, +
Note that the compiler does not generate encode/decode functions for + parameterized types, but only for the instances of the parameterized + types. Therefore, if a file contains the types General{}, T1 and T2 above, encode/decode functions will only be generated for T1 and T2.