How to send Multi-part unicoded SMS using At Commands And PDU-Submit Not with Text-Mode?

孤者浪人 提交于 2019-12-19 11:46:27

问题


In my project, I want to send a unicoded text(UTF-8) SMS message through PDU-Submit. I've been searching a lot but all answers using Text-Mode and not PDU-Submit command, therefore I can't send multipart SMS. I want to have a solution for multi-part unicode messages.


回答1:


Finally I have found the answer and use it.my program works fine. Sending a Concatenated(Multi-Part) SMS in Unicode Format Using PDU, is the same sending a simple septet-character SMS using AT+CMGS Command except you must set the DCS byte to 08.You can earn more Info on these threads:

Add UDH for concatenated Unicode SMS

http://en.wikipedia.org/wiki/Concatenated_SMS#PDU_Mode_SMS




回答2:


You can send SMS messages with the AT+CMGS command in PDU mode (enable with AT+CMGF=0). The syntax (for pdu mode) is

AT+CMGS=<length><CR>
PDU is given<ctrl-Z/ESC>

I do not know if you are supposed to split into multipart yourself and send each part separately or if this command does that for you. I think maybe the latter, the description of the command says

Execution command sends message from a TE to the network (SMS-SUBMIT).

If/when you find out, feel free to update this answer with regards to that.



来源:https://stackoverflow.com/questions/15862072/how-to-send-multi-part-unicoded-sms-using-at-commands-and-pdu-submit-not-with-te

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!