FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
316 views 0 comments
by anonymous

Hi,

We are fiddling with a RUT240 modem and the maximum characters we can send via the HTTP gateway. We need to know that to split the text, just in case gets really long. The problem is that we are seeing inconsistent results so:
- Plain asci text (aaaaaaaaaaaaa) can send up to 470 characters (aprox. The router splits the text perfectly into multiple SMS)

- Special characters (áááááá) need encodeURIComponent, and the limits seem different.
- Some special characters are 3 bytes long (卡 =>%E5%8D%A6) so we don't know if we have to account for those 3 bytes, the 9 bytes the raw encoded string is or just 1 byte.

Is there any way to get the limit information so we don't waste money by testing? Thank you!

1 Answer

0 votes
by anonymous
Hi,
Single text messages are limited to 160 characters, including spaces.  Using Unicode, restricts messages to a maximum of 70 characters per SMS.