diff --git a/doc/asn1c-usage.html b/doc/asn1c-usage.html index fd0fa926..3195b2ad 100644 --- a/doc/asn1c-usage.html +++ b/doc/asn1c-usage.html @@ -41,92 +41,94 @@ Contents
@@ -187,14 +189,14 @@ Rectangle ::= SEQUENCE { This ASN.1 specification describes a constructed type, Rectangle, containing two integer fields. This specification may tell the reader -that there is this kind of data structure and that some entity may -be prepared to send or receive it. The question on how that -entity is going to send or receive the encoded data is outside -the scope of ASN.1. For example, this data structure may be encoded -according to some encoding rules and sent to the destination using -the TCP protocol. The ASN.1 specifies several ways of encoding (or -''serializing'', or ''marshaling'') the data: BER, CER, DER and -XER, some of them which will be described later. +that there exists this kind of data structure and that some entity +may be prepared to send or receive it. The question on how +that entity is going to send or receive the encoded data is +outside the scope of ASN.1. For example, this data structure may be +encoded according to some encoding rules and sent to the destination +using the TCP protocol. The ASN.1 specifies several ways of encoding +(or ''serializing'', or ''marshaling'') the data: BER, CER, DER +and XER, some of them which will be outlined later.
The complete specification must be wrapped in a module, which looks @@ -203,10 +205,10 @@ like this:
-The module header consists of module name (UsageExampleModule1), the +The module header consists of module name (RectangleModule1), the module object identifier ({...}), a keyword ''DEFINITIONS'', a set of module flags (AUTOMATIC TAGS) and ''::= BEGIN''. The module ends with an ''END'' statement. @@ -325,7 +327,7 @@ following OBJECT IDENTIFIER: 1 3 6 1 4 1 9363 1 5 2 1 1.-UsageExampleModule1 +RectangleModule1 { iso org(3) dod(6) internet(1) private(4) enterprise(1) spelio(9363) software(1) - asn1c(5) docs(2) usage(1) 1 } + asn1c(5) docs(2) rectangle(1) 1 } DEFINITIONS AUTOMATIC TAGS ::= BEGIN @@ -219,7 +221,7 @@ Rectangle ::= SEQUENCE { END
ExampleOID ::= OBJECT IDENTIFIER -usageExampleModule1-oid ExampleOID +rectangleModule1-oid ExampleOID ::= { 1 3 6 1 4 1 9363 1 5 2 1 1 } -- An identifier of the Internet. @@ -568,7 +570,7 @@ language structures and surrounding maintenance code. For example, the C structure which may be created by compiler to represent the simple Rectangle specification defined earlier in this document, may look like this2.2: + HREF="#foot574">2.2:@@ -594,8 +596,8 @@ Quick start
After building and installing the compiler, the asn1c3.1 command may be used to compile the ASN.1 specification3.2: + HREF="#foot575">3.1 command may be used to compile the ASN.1 specification3.2:
@@ -661,7 +663,7 @@ the compiler's behavior.
-
+