Page 1 of 1

Strange behavior with messages with lenght greater than 160(default encoding)

Posted: Tue Jan 18, 2022 11:08 pm
by abrdeco2
Hello all!

When I send an message to my system up to 160 characters in lenght everything works fine, bet when the message is greater like 161 it splits into the message with 153 characters.

Can anyone tell me if this behavior is normal ?

I´m using the release 2.9.15 and saw an old bug that was solved in the previous version 1.x.

Thanks,
André

Re: Strange behavior with messages with lenght greater than 160(default encoding)

Posted: Wed Jan 19, 2022 12:45 pm
by alt
Hello André,

It should be normal. User data header for concatenation takes 6 octets in the short_message field. Possible one of the character in your text takes two octets, therefore 153 instead of 154. Or you use 16-bit reference number.

Could you post an example for this case? Which code do you use and which text.