Hi,

I never decode OBJECT ID before, so please
help me with the following questions.

> itu-t (0) recommendation (0) h (8) 245 version (0) 2
> 1) 40 * 0 + 0 = 0

===> Why 40? where 40 comes from? and why only 1 byte for both "itu-t (0)
recommendation (0)"? why not 2 bytes? 1 byte (0) for itu-t and other byte
(0) for recommendation?

> 2) 8
> 3+4) 245 = 11110101B => 1 0000001 0 1110101 = F1 75

===> How "11110101B" is converted to "1 0000001 0 1110101"?

> 5) 0
> 6) 2


Thanks!

Justin


-----Original Message-----
From: Sathya[IT] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 3:35 AM
To: [EMAIL PROTECTED]
Subject: RE: [ASN.1] itu-t (0) recommendation (0) h (8) 245 version (0)
2


Hi Bernd,

While I encode this, the octets turn out to be 00 08 81 75 00 02

I dont understand how you arrived at f1 instead of 81. Is there a
significance 
for the deviation?

regards,

Sathya Narayanan S
RPG Cellular Services Limited
GSM : +91 98410 48051

> -----Original Message-----
> From: Bernd Kunze 
> Sent: Monday, November 05, 2001 9:15 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: [ASN.1] itu-t (0) recommendation (0) h (8) 245 version
> (0) 2
> 
> Hi,
> 
> itu-t (0) recommendation (0) h (8) 245 version (0) 2
> 
> 1) 40 * 0 + 0 = 0
> 2) 8
> 3+4) 245 = 11110101B => 1 0000001 0 1110101 = F1 75
> 5) 0
> 6) 2
> 
> => 00 08 F1 75 00 02
> 
> Bernd

Reply via email to