English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

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

2 answers

Check this article:
http://www.codeproject.com/vb/net/PDUEncoder.asp.
Luck.

2006-07-03 06:39:46 · answer #1 · answered by Nahuel 2 · 0 0

Protocol Data Unit:
A protocol's control data (protocol fields) with the carried data
How did you calculate those numbers?

2006-07-03 12:55:39 · answer #2 · answered by iyiogrenci 6 · 0 0

fedest.com, questions and answers