问题
I am trying to send Unicode SMS using at commands and USC2 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 USC2 works in that one, however not in one im using. But im sure this conflicting modem supports USC2.
回答1:
I found I just needed to encode my number in AT+CMGS to UCS2, and now it works:
AT+CMGS="002B003300370030************************"
来源:https://stackoverflow.com/questions/24950901/send-unicode-usc2-sms-with-at-commands