Hello, As per the BER specs it's fixed that you need to have TLV some times the value can be absent but the length will be present !!
30 05 02 01 04 10 00 -- only a dummy message T L T L V T L hope this is clear to you Warm regards, Vasa -----Original Message----- From: Arularasan R [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 4:54 PM To: [EMAIL PROTECTED] Subject: RE: [ASN.1] GSM L3 Msg Hi, In GSM/GPRS/3G L3 message e.g. CC msg. In the message there could be Type (T) and Value (V) only as the length of this type is fixed it need not be coded. Or there could only be the Type (T) where this IE has no length or value. These TV / T can be encoded in a TLV message. Is this possible in BER ? Thanks R Arul At 05:05 PM 9/3/2002, you wrote: >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=============== > \ ( ( ) > \_) ) / > (_/ -- __^^^^^__ / @ @ \ =============ooO==(_)=Ooo============= Arularasan Ramasamy Tel: + 65 - 687 092 81 (O) Institute for Communications Research, (Formerly known as Centre for Wireless Communications) Singapore Ooo ===============( )-Ooo=============== \ ( ( ) \_) ) / (_/
