SMS send in EC200U with regional language like thamizhil, hindi, malayalam etc

Hi,

I need to send SMS in EC200U with local language. I was using HEX format ,But the SMS was not send it returns error. I attached the log below. I have two different firmware version of modules but there are two modules are return error.

But I try to send SMS using MC66 It will working fine.

Please support how to send local language SMS in EC200U. I was already tried in UCS2 method also. Can I get any log for sending SMS with regional language it will helpful for me.

Thanks in Advance.

4G Modem Log:

[2025-02-20_11:18:36:966]ATI
[2025-02-20_11:18:36:966]Quectel
[2025-02-20_11:18:36:966]EC200U
[2025-02-20_11:18:36:966]Revision: EC200UCNAAR02A09M08
[2025-02-20_11:18:36:966]OK
[2025-02-20_11:18:37:971]ATE1
[2025-02-20_11:18:37:971]OK
[2025-02-20_11:18:38:983]AT+CMGF=1
[2025-02-20_11:18:38:983]OK
[2025-02-20_11:18:39:986]AT+CREG?
[2025-02-20_11:18:39:986]+CREG: 0,5
[2025-02-20_11:18:39:986]OK
[2025-02-20_11:18:41:016]AT+CSCS="HEX"
[2025-02-20_11:18:41:016]OK
[2025-02-20_11:18:42:003]AT+CSMP=17,167,0,8
[2025-02-20_11:18:42:003]OK
[2025-02-20_11:18:43:018]AT+CMGS="39313530303333323735"
[2025-02-20_11:18:43:018]> 0BB50BA30B950BCD0B950BAE0BCD
[2025-02-20_11:18:55:786]+CMS ERROR: 530


[2025-02-20_11:12:54:674]ATI
[2025-02-20_11:12:54:674]Quectel
[2025-02-20_11:12:54:674]EC200U
[2025-02-20_11:12:54:674]Revision: EC200UCNAAR03A12M08
[2025-02-20_11:12:54:674]OK
[2025-02-20_11:12:55:664]ATE1
[2025-02-20_11:12:55:664]OK
[2025-02-20_11:12:56:668]AT+CMGF=1
[2025-02-20_11:12:56:668]OK
[2025-02-20_11:12:57:669]AT+CREG?
[2025-02-20_11:12:57:669]+CREG: 0,5
[2025-02-20_11:12:57:669]OK
[2025-02-20_11:12:58:683]AT+CSCS="HEX"
[2025-02-20_11:12:58:683]OK
[2025-02-20_11:12:59:712]AT+CSMP=17,167,0,8
[2025-02-20_11:12:59:712]OK
[2025-02-20_11:13:00:710]AT+CMGS="39313530303333323735"
[2025-02-20_11:13:00:710]> 0BB50BA30B950BCD0B950BAE0BCD
[2025-02-20_11:13:13:785]+CMS ERROR: 530

2G Modem Log:

[2025-02-20_11:03:28:870]ATI
[2025-02-20_11:03:28:870]Quectel_Ltd
[2025-02-20_11:03:28:870]Quectel_M66
[2025-02-20_11:03:28:870]Revision: M66FCR01A20BT
[2025-02-20_11:03:28:870]OK
[2025-02-20_11:03:29:858]ATE1
[2025-02-20_11:03:29:858]OK
[2025-02-20_11:03:30:887]AT+CMGF=1
[2025-02-20_11:03:30:887]OK
[2025-02-20_11:03:31:873]AT+CREG?
[2025-02-20_11:03:31:873]+CREG: 0,5
[2025-02-20_11:03:31:873]OK
[2025-02-20_11:03:32:902]AT+CSCS="HEX"
[2025-02-20_11:03:32:902]OK
[2025-02-20_11:03:33:907]AT+CSMP=17,167,0,8
[2025-02-20_11:03:33:907]OK
[2025-02-20_11:03:34:912]AT+CMGS="39313530303333323735"
[2025-02-20_11:03:34:912]> 0BB50BA30B950BCD0B950BAE0BCD
[2025-02-20_11:03:39:899]+CMGS: 98
[2025-02-20_11:03:39:899]OK

Have you considered using PDU-mode instead of text-mode?

This removes all encoding responsibility from the modem.

You’ve already got the text itself encoded for use in the PDU User Data field. Just work on encoding the destination address and you’re almost there.

I switched the ROOter project to using PDU-mode many years ago, and we have had 100% success with the large number of different modem makes and models we support.

Hi @snowgum ,

Thanks for you reply.

I will try to send SMS uisng PDU mode.

Do you have any log using PDU mode ?

I don’t log the AT commands used for sending, or useful steps along the way.

If you’re a programmer, I can refer you to Lua and Linux shell scripts I wrote for sending SMSs.

In the meantime, this old Siemens SMS PDU guide will explain much:

http://www.alternative-technology.de/sms_pdumode.pdf

You can ignore any security warnings about downloading it, I’ve checked that it’s the original document.

PS - The reason that I prefer PDU-mode is that SMSs are transmitted over-the-air in this format. So the modem does not need to construct it from text-mode parameters.

It would be easier for you to continue using text-mode for sending SMSs which use only characters in the 7-bit default alphabet. The packing algorithm to generate the PDU is given in 3GPP spec 23.038, section 6.1.2.1.1.

The ROOter scripts decide whether the 7-bit alphabet can be used for the given text, or whether 16-bit unicode is required.

Support for emojis is included. Each emoji requires use of a “surrogate pair” of 16-bit characters.

PPS - Putting some print commands into the working ROOter code reveals that the AT command used to send “வணக்கம்” to destination “590” in PDU mode is:

AT+CMGS=024
001100038195F00008AD0E0BB50BA30B950BCD0B950BAE0BCD

@snowgum Thanks for your support. Finally we did SMS in religion languages. In both TEXT mode and PDU mode. But the TEXT mode was not supported in my old modem firmware version. I am getting a another version from Quectel support (EC200UCNAAR03A14M08) ,That works in TEXT mode also.

TEXT MODE:

[2025-03-19_09:28:31:009]ATI

[2025-03-19_09:28:31:009]Quectel
[2025-03-19_09:28:31:009]EC200U
[2025-03-19_09:28:31:009]Revision: EC200UCNAAR03A14M08

[2025-03-19_09:28:31:009]OK
[2025-03-19_09:28:32:025]AT+CMGF=1

[2025-03-19_09:28:32:025]OK
[2025-03-19_09:28:33:036]AT+CSCS="UCS2"

[2025-03-19_09:28:33:036]OK
[2025-03-19_09:28:34:036]AT+CNMI=2,1,0,1,0

[2025-03-19_09:28:34:036]OK
[2025-03-19_09:28:35:053]AT+CSMP=17,71,0,25

[2025-03-19_09:28:35:053]OK
[2025-03-19_09:28:36:057]AT+CSCS="UCS2"

[2025-03-19_09:28:36:057]OK
[2025-03-19_09:28:38:076]AT+CMGS="0039003100350030003000330033003200370035"

[2025-03-19_09:28:38:076]> 0BB50BA30B950BCD0B950BAE0BCD
[2025-03-19_09:28:39:942]+CMGS: 2

[2025-03-19_09:28:39:942]OK

PDU MODE:

[2025-03-15_16:40:28:049]ATI

[2025-03-15_16:40:28:049]Quectel
[2025-03-15_16:40:28:049]EC200U
[2025-03-15_16:40:28:049]Revision: EC200UCNAAR02A09M08

[2025-03-15_16:40:28:049]OK
[2025-03-15_16:40:30:584]AT+CMGF=0

[2025-03-15_16:40:30:584]OK
[2025-03-15_16:40:33:365]AT+CSCS="UCS2"

[2025-03-15_16:40:33:365]OK
[2025-03-15_16:40:40:465]AT+CSMP=17,167,0,8

[2025-03-15_16:40:40:465]OK
[2025-03-15_16:40:43:732]AT+CMGS=27

[2025-03-15_16:40:43:732]> 0011000A81190530235700080B0E0BB50BA30B950BCD0B950BAE0BCD
[2025-03-15_16:40:46:497]+CMGS: 248

[2025-03-15_16:40:46:497]OK

Good result.

These two commands have no relevance to PDU-mode.

Dear @UdhayaKumar_Mani & @snowgum ,

Thank for the interactive session on this issue and solved using PDU method.

This forum chat can be closed.

Thank You and Have a Great Day!