unicodegsmat-command

Send Unicode (UCS2) SMS with AT commands


I am trying to send Unicode SMS using AT commands and UCS2 encoding. But it doesn't work, as I get errors. Here is my inputs:

AT
OK
AT+CSCS = ? 
+CSCS: ("IRA","GSM","UCS2")
AT+CSCS="UCS2"
OK
AT+CMGF=1
OK
AT+CSMP=1,167,0,8 //So this one doesnt work, let's try with 17,167,0,8
ERROR

AT+CSMP=17,167,0,8
OK
AT+CMGS="+370********"
ERROR

Or maybe I should use PDU mode to achieve this?

I have tried using older modem, and UCS2 works in that one, however not in one I'm using. But I'm sure this conflicting modem supports UCS2.


Solution

  • I found I just needed to encode my number in AT+CMGS to UCS2, and now it works:

    AT+CMGS="002B003300370030************************"