This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

[Development Question] Need add gsm_sms.tp.user_data_cap_length for measuring the real TP-User-Data length

0

Need add gsm_sms.tp.user_data_cap_length for measuring the real TP-User-Data length. As gsm_sms.tp.user_data_length is announced value and gsm_sms.tp.user_data_cap_length needs to measure the TP-User-Data. I think this would be a good enhancement.

asked 20 May '15, 12:34

Alex%20Lu's gravatar image

Alex Lu
1333
accept rate: 0%

gsm_sms.tp.user_data_length is the real TP-User-Data IE length.

What would you like to get exactly? The number of characters of the text string? The number of bytes corresponding to the gsm_sms.tp.user_data_length value minus the User-Data Header length?

(20 May '15, 13:13) Pascal Quantin

Pascal, thanks for comments on the question. Yes, ideally the user data length should match the data length, but this is not perfect world and and user data length sometimes not matches the exactly length which will cause issue especially on delivery side.

(20 May '15, 22:47) Alex Lu

Still you have not answered my questions. What are you looking for exactly? A number of bytes? A number of characters? Do you mean that some devices do not compute properly the TP-User-Data length as being the sum of the User-Data Header length + string length, but being longer that what it is in theory?

(21 May '15, 08:12) Pascal Quantin

One Answer:

0

Yes, I'm looking for the number of bytes, and some server doesn't calculate correctly and will cause the recipient to reject the sms.

answered 30 May '15, 21:55

Alex%20Lu's gravatar image

Alex Lu
1333
accept rate: 0%