一句话说明白:at+cnmi=2,1,0,0,0
at+cnmi=2,1,0,0,0 //短信存入SIM卡
at+cnmi=2,2,0,0,0 //短信直接串口输出,不存SIM卡
怎么用???
直接写到串口就可以了
AT+CNMI:New message indications to TE
Selects the procedure,for how the receiving of new messages from network is indicated to TE when TE is active.
这条指令应该是针对短信、广播、发送报告接收的指令,与发送无关!
AT+CMGS直接发送,不存SIM卡。
AT+CMGW不发送,写到SIM卡。
AT+CMSS从SIM卡发送。
__________________
让世界倾听我们的笛声
|