Hi,
I would like to make sure if my understanding of BIT STRING encoding is
correct.
Let's assume in the following expamle that only ellipsoid point is
supported, i.e. bit 0 is set to 1.
supportedGADShapes [6] IMPLICIT BIT STRING {
ellipsoidPoint (0 ),
ellipsoidPointWithUncertaintyCircle (1 ),
ellipsoidPointWithUncertaintyEllipse (2 ),
polygon (3 ),
ellipsoidPointWithAltitude (4 ),
ellipsoidPointWithAltitudeAndUncertaintyElipsoid (5 ),
ellipsoidArc (6 )} ( SIZE( 7 .. 16 ) ) OPTIONAL}
In my opinion this encodes (BER) into:
03 02 01 (= 1 unused bit) 80
I would very much appreciate if anybody could confirm this.
Thanks,
Magda
_______________________________________________
Asn1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1