[EMAIL PROTECTED] wrote:
Hi,
I have a question about how the bit streams for ASN.1 features like CHOICE and OPTIONAL would look like.
For the following structures, what would the bit streams look like? SomeStruct ::= SEQUENCE { a1 BOOLEAN, b1 CHOICE { bfield BOOLEAN, cfield INTEGER } }
MyStruct ::= SEQUENCE { aField INTEGER, someStruct SomeStruct OPTIONAL }
Specifically in the case of CHOICE, if PER is used, how does the receiving end know which field is sent ?
This is described in the books about ASN.1 that you can freely download from http://www.oss.com/asn1/booksintro.html -- Olivier DUBUISSON France Telecom Recherche & Developpement R&D/MAPS/AMS - 22307 Lannion Cedex - France t: +33 2 96 05 38 50 - f: +33 2 96 05 39 45 - http://asn1.elibel.tm.fr/
_______________________________________________ ASN1 mailing list [EMAIL PROTECTED] http://lists.asn1.org/mailman/listinfo/asn1
