Hello, 
Format of the encoded value should be as follows in BER 
TLV           // T-Tag, L-Length, V-Value
E.g. 
X SEQUENCE ::= {
  xx INTEGER,    -- say xx = 05
  yy BOOL OPTIONAL,...} -- say yy = true


the above may be encoded as 
0x30 0x06 0x02 0x01 0x05 0x01 0x01 0xFF
  T   L    T    L    V    T    L    V 
  T   L    ( -----------V-------------)

again the value can be nested ! Can you be more clear what is T ? TV? 

Warm regards,
Vasa

-----Original Message-----
From: Arularasan R [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 03, 2002 1:35 PM
To: [EMAIL PROTECTED]
Subject: RE: [ASN.1] GSM L3 Msg


Hi,

With BER encoding, would it be possible to take care of T, TV ... 
representations ?

Thanks
R Arul



At 12:11 PM 9/3/2002, you wrote:
>Hello,
>
>For GSM  BER is used
>....... extract from GSM v3.8.0
>17.1.1  Encoding rules
>The encoding rules which are applicable to the defined Abstract Syntaxes
are
>the Basic Encoding Rules for Abstract Syntax Notation One, defined in CCITT
>Recommendation X.690 with the same exceptions as in CCITT Recommendation
>Q.773 subclause 4 Message Representation.
>When the definite form is used for length encoding, a data value of length
>less than 128 octets must have the length encoded in the short form.
>........
>
>For GPRS i'm not sure ! (friends, please respond to this )
>
>Warm regards,
>Vasa
>
>
>-----Original Message-----
>From: Arularasan R [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, September 03, 2002 7:00 AM
>To: [EMAIL PROTECTED]
>Subject: [ASN.1] GSM L3 Msg
>
>
>Hi,
>
>What encoding / decoding rules should be used for GSM / GPRS / 3G L3
>messages e.g. CC or MM messages ?
>
>Thanks
>R Arul


--
                                __^^^^^__
                                 / @ @ \
=============ooO==(_)=Ooo=============

Arularasan Ramasamy      Tel: + 65 - 687 092 81 (O)

Institute for Communications Research,
(Formerly known as Centre for Wireless Communications)
Singapore
                                Ooo
===============(   )-Ooo===============
                                \ ( (   )
                                 \_) ) /
                                    (_/

Reply via email to