Data Sheet

Smart Machine Smart Decision
,C,D,E,F”,50
20.7 SMS Commands
Demonstration Syntax Expect Result
Set SMS system into text mode, as AT +C MGF= 1 OK
opposed to PDU mode.
Send an SMS to myself. AT+CSCS="GSM" OK
AT+CMGS="+861391 +CMGS:34
818xxxx"
>This is a test OK
<Ctrl+Z>
Unsolicited notification of the SMS +CMTI: "SM",1
arriving
Read SMS message that has just arrived. AT +CM GR=1 +CMGR: "REC UNREAD",
Note: the number should be the same as "+8613918186089", "","02
that given in the +CMTI notification. /01/30,20:40:31+00"
This is a test
OK
Reading the message again and change AT +CMGR =1 +CMGR: "REC READ",
the status to "READ” from ”UNREAD” "+8613918186089","",
"02/01/30,20:40:31+00"
This is a test
OK
Send another SMS to myself. AT+CMGS="+861391 +CMGS:35
818xxxx"
>Test again<Ctrl+Z> OK
Unsolicited notification of the SMS +CMTI: "SM",2
arriving
List all SMS messages. AT+CMGL="ALL" +CMGL: 1, "REC
Note:”ALL” must be in uppercase. READ","+8613918186089",
"", "02/01/30,20:40:31+00"
This is a test
+CMGL: 2, "REC
UNREAD"," ",
"+8613918186089", ""
,"02/01/30,20:45:12+00"
Test again
SIM800 Series_AT Command Manual_V1.05 350 2014-07-31