|
1.相關的GSM AT指令
與SMS有關的GSM AT指令(from GSM07.05)如表1所示:
表1 相關的GSM AT指令
AT 指令
功 能
AT+CMGC
Send an SMS command(發(fā)出一條短消息命令)
AT+CMGD
Delete SMS message(刪除SIM卡內(nèi)存的短消息)
AT+CMGF
Select SMS message formate(選擇短消息信息格式:0-PDU;1-文本)
AT+CMGL
List SMS message from preferred store(列出SIM卡中的短消息PDU/text: 0/“REC UNREAD”-未讀,1/“REC READ”-已讀,2/“STO UNSENT”-待發(fā),3/“STO SENT”-已發(fā),4/“ALL”-全部的)
AT+CMGR
Read SMS message(讀短消息)
AT+CMGS
Send SMS message(發(fā)送短消息)
AT+CMGW
Write SMS message to memory(向SIM內(nèi)存中寫入待發(fā)的短消息)
AT+CMSS
Send SMS message from storage(從SIN|M內(nèi)存中發(fā)送短消息)
AT+CNMI
New SMS message indications(顯示新收到的短消息)
|
|