Hi,

I think the answer to the first question:

> >>>       Is it for future use ? So shall we ignore  ExtensionContainer ?
> >>>for example :
> >>>
> >>> MAP-AcceptInfo ::= SEQUENCE {
> >>> ...,
> >>> extensionContainer ExtensionContainer OPTIONAL
> >>> -- extensionContainer must not be used in version 2
> >>> }
> >>>
> >>>��how can I decode it?

is:

Yes, it is for future use and was added at some point after a version 1
definition that only contained a '...' on the end (indicating more
extensions would follow later).  For BER, this is simply decoded as an
optional element as you would if the '...' wasn't there.  Even if the
element was not marked as optional, it needs to be decoded under the
assumption it may not be there because if a version 1 system sends a
message, it will not have this item in it.  The rules for PER for this case
are more complicated and special handling is required.

As to the 2nd question:

> VLR-Capability ::= SEQUENCE{
> supportedCamelPhases  [0] SupportedCamelPhases OPTIONAL,
> extensionContainer ExtensionContainer OPTIONAL,
> ... }
>
> if extensionContainer can ignore  ,then the tag 0x30 of SEQUENCE will be
> encode in?

If extensionContainer is not present, then the entire encoding for
ExtensionContainer (including the 0x30 tag if that type is in fact an
untagged SEQUENCE) will not be present.

Regards,

Ed Day
Principal Engineer
Objective Systems, Inc.
[EMAIL PROTECTED]
(484) 875-3020 (main)
(610) 608-4930 (mobile)
(610) 321-0361 (fax)
(877) 307-6855 (toll-free)



> -----Original Message-----
> From: tong [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 6:25 AM
> To: [EMAIL PROTECTED]
> Subject: [ASN.1] How to decode ExtensionContainer in GSM-MAP ?
>
>
> asn1
> >asn1
> >>  sorry,in my first letter, my email is wrong,now is
> [EMAIL PROTECTED]
> >>
> >>����
> >>
> >>>Hi all
> >>>
> >>>       Is it for future use ? So shall we ignore  ExtensionContainer ?
> >>>for example :
> >>>
> >>> MAP-AcceptInfo ::= SEQUENCE {
> >>> ...,
> >>> extensionContainer ExtensionContainer OPTIONAL
> >>> -- extensionContainer must not be used in version 2
> >>> }
> >>>
> >>>��how can I decode it?
> >>>
> and another one is:
>
> VLR-Capability ::= SEQUENCE{
> supportedCamelPhases  [0] SupportedCamelPhases OPTIONAL,
> extensionContainer ExtensionContainer OPTIONAL,
> ... }
>
> if extensionContainer can ignore  ,then the tag 0x30 of SEQUENCE will be
> encode in?
> >>>thanks
> >>>tommy tong
> >>>
> >
> >               [EMAIL PROTECTED]
> >
>
> = = = = = = = = = = = = = = = = = = = =
>
>
>                     ��
> ��
>
>                tong
>                [EMAIL PROTECTED]
> 2002-07-12

Reply via email to