Hello Vasa 
        Thank you for your answer.
 Now I am working on decoding of GSM MAP,so ExtensionContainer is defined in 
(Digital cellular telecommunications system (Phase 2+);
Mobile Application Part (MAP) specification
(GSM 09.02 version 6.2.0 Release 1997))

Your explain  I have understood, but now i don't have any particular data ( Private 
data ) to encode,I mean that the data stream in fact such as:

        VLR-Capability ::= SEQUENCE{
        supportedCamelPhases    [0] SupportedCamelPhases        OPTIONAL,
        extensionContainer      ExtensionContainer      OPTIONAL,
        ... }
     
        My question is:can I ignore the  extensionContainer in my decoding program?(if 
so,another question about ASN.1&BER is come out: a SEQUENCE,only include one subtype, 
at this time, will it ignore the tag (0x30 ) of SEQUENCE in encoding by "IMPLICIT"?)

just like this:
                A ::= SEQUENCE{
                B  INTEGER  
                }
C A::={16}
the encode of C is: 02 01 10 or 30 03 02 01 10   ??
(IN GSM MAP,all types are  "IMPLICIT" )




Reply via email to