Specifications
SIM900 AT Commands Set
SIM900_ATC_V1.01 197 23.06.2010
"1,2,3,4,5"
10.7 SMS Commands
Demonstration Syntax Expect Result
Set SMS system into text mode, as
opposed to PDU mode.
AT+ CM GF= 1 OK
Send an SMS to myself.
AT+CSCS="GSM"
AT+CMGS="+861391
818xxxx"
>This is a test
<Ctrl+Z>
OK
+CMGS:34
OK
Unsolicited notification of the SMS
arriving
+CMTI: "SM",1
Read SMS message that has just arrived.
Note: the number should be the same as
that given in the +CMTI notification.
AT+ CM GR = 1 +CMGR: "REC UNREAD",
"+8613918186089", "","02
/01/30,20:40:31+00"
This is a test
OK
Reading the message again changes the
status to “READ” from ”UNREAD”
AT+ CM GR = 1 +CMGR: "REC READ",
"+8613918186089","",
"02/01/30,20:40:31+00"
This is a test
OK
Send another SMS to myself. AT+CMGS="+861391
818xxxx"
>Test again<Ctrl+Z>
+CMGS:35
OK
Unsolicited notification of the SMS
arriving
+CMTI: "SM",2
Listing all SMS messages.
Note:”ALL” must be in uppercase.
AT+CMGL="ALL" +CMGL: 1, "REC
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
OK