Take for example this following PDU:
011000 8 91 87654321 00 00 FF 19 54747A0E4ACF4161903C4C4797E520F6DB7D06CDDB73
Length = 22 + 1 = 23(dec) = 17(Hex)
0011000 8 81 87654321 00 00 FF 19 54747A0E4ACF4161903C4C4797E520F6DB7D06CDDB73
Length = 19(hex) = 25(dec)???
How do you derive that the length of the PDU is 25 by calculating the user data length? I calculated that the length is 22 + 1 for 7-bit data but still ist only 23.
Can anyone advise me on the solution? Thanks
2006-07-03
05:36:37
·
2 answers
·
asked by
Niversphere
1
in
Computers & Internet
➔ Software
I solved it.
When using the 7-bit data coding scheme, the user data length is the amount of characters(septets) and not the amount of octets.
2006-07-03
06:17:12 ·
update #1
I was calculating the number of octets, which is why the hex digits dont tally.
2006-07-03
06:17:54 ·
update #2
PDU is Protocol Description Unit in this scenario and not PDU in TCP/IP
2006-07-03
06:19:05 ·
update #3