//发送短信:
1、AT+CPMS="ME","ME","ME";+CMGF=?
AT+CPMS="SM","SM","SM";+CMGF=? //Set storage to be SIM
2、AT+CMGF=1 //set sms format
3、Send sms to DUT //By UI or AT CMD
注:AT发送sms方法如下
发:AT+CMGS="+8615083111880"
收:>
在>符号后输入内容 data //data 为发送内容(enter 后以ctrl+z(0x1A)结束)
返回值:+CMGS: xx
4、 AT+CMGL="all" //list sms
AT+CMGR=0 //read a SMS ,1表示某一条,1为第二条,0为第一条
AT+CMGD=0 //删除某一条短信
1. AT+CMGF=1 //Set SMS message format as text mode
2. AT+CSCS="GSM" //Set character set as GSM which is used by the TE
3. AT+QCMGS="15056913384",120,1,2 <CR> //Input 120 for <uid>, send the first segment of the concatenated SMS
>ABCD<Ctrl-Z>
4. AT+QCMGS= "15056913384",120,2,2 <CR> //Send the second segment of the concatenated SMS.
>EFGH<Ctrl-Z>
5.查看手机15056913384是否收到短信