使用AT命令发送Unicode(USC2)SMS [英] Send Unicode (USC2) SMS with AT commands
本文介绍了使用AT命令发送Unicode(USC2)SMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用at命令和USC2编码发送Unicode SMS.但这不起作用,因为我得到了错误.这是我的输入:
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
或者我应该使用PDU模式来实现这一目标?
Or maybe I should use PDU mode to achieve this?
我尝试使用较旧的调制解调器,而USC2在该调制解调器中工作,但在1个IM中却没有.但是我确定这个冲突的调制解调器支持USC2.
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.
推荐答案
我发现我只需要将AT + CMGS中的号码编码为UCS2,现在就可以使用了:
I found I just needed to encode my number in AT+CMGS to UCS2, and now it works:
AT+CMGS="002B003300370030************************"
这篇关于使用AT命令发送Unicode(USC2)SMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文