[EMAIL PROTECTED] wrote:
Hello,



Maybe this is not a good question to ASN.1 post.



I had a trouble to read some CSN.1 source from 3GPP spec. CSN.1 is
new to me. Here is one sample code which is described by CSN.1 for
Packet Channel Description of 3 octets length. I know each IE
definition. But I don't know where it start from and where to end
from in bit level. I searched CSN from internet and didn't get what I
want. So I post it here for help.



For following sample, one set of hex code is given as {0x48, 0x74,
0x7E }. How can I interpret it in bit level? For example, where does
the fist item <channel type : bit(5)>, which is one 5 bits long item,
start from (LSB/MSB of which octet)?


First 5 bits start from MSB of the first octet. Here, first 5 bits
will be 01001, since the first octet is 0x48 = 01001000


Any of your help will be appreciated!



--Packet channel description CSN.1

< Packet Channel Description > ::=

< Channel type : bit (5) >

< TN : bit (3) >

< TSC : bit (3) >

{ 0

{ 0 < spare bit >

< ARFCN : bit (10) > -- non-hopping RF channel configuraion

| 1 < spare bit >

< MAIO : bit (6) > -- indirect encoding of hopping RF channel
configuration

< MA_NUMBER_IND : bit >

{ 0 < spare bits : bit (2) >

| 1 < CHANGE_MARK_1 : bit (2) >

}

}

| 1

< MAIO : bit (6) > -- direct encoding of hopping RF channel
configuration

< HSN : bit (6) >

};



--End of Packet channel description



Best regards






------------------------------------------------------------------------


_______________________________________________ Asn1 mailing list [email protected] http://lists.asn1.org/mailman/listinfo/asn1

_______________________________________________
Asn1 mailing list
[email protected]
http://lists.asn1.org/mailman/listinfo/asn1

Reply via email to