Hello.

I have this question about CHOICE

Imagine the following.

A ::= CHOICE {
       something-a    INTEGER,
       something-b    INTEGER
}

I'm using Unaligned PER and need the index for this to be encoded with 11 bits.
To accomplish this today I have put in lots of NULL after the INTEGER
So it looks something like this.

A ::= CHOICE {
       something-a    INTEGER,
       something-b    INTEGER,
       spare-2        NULL,
.... and so on
       spare-2047     NULL
}

As you can imagine this is not very nice. Is there anything in ASN.1 that can 
help me with this.
So I don't have to get this xtremly lengthy A :: CHOICE

brg/Martin

_______________________________________________
ASN1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to