This is our old Q&A Site. Please post any new questions and answers at

Need add for measuring the real TP-User-Data length. As is announced value and 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
accept rate: 0% 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 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

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.

permanent link

answered 30 May '15, 21:55

Alex%20Lu's gravatar image

Alex Lu
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 May '15, 12:34

question was seen: 1,744 times

last updated: 30 May '15, 21:55

p​o​w​e​r​e​d by O​S​Q​A