SMS
3-124 AT Commands Reference Manual June 30, 2008
Example
AT+CP MS?
+CPMS: "ME",5,59,"ME",5,59,"SM",5,20
OK
AT+CM GR= 1
+CMS ERROR: invalid index
AT+CMGR=142
+CMGR: "STO SENT","054565034",
message text
OK
AT+CS DH= 1
OK
AT+CMGR=142
+CMGR: "STO SENT","054565034",,129,25,0,0,"05/04/03,21:22:23+08","+ 97254120032",145,<message
length>
message text
OK
AT+CM GW= 18
> 079179521201009511000c917952428650290004AA0441424344
+CMGW: 143
OK
AT+CMGR=143
+CMGR: 2,,23
0791795212010095040C917952428650290004502032110201800441424344
OK
AT+CPMS="SM" // change to SM to read SMS-DELIVER messages.
+CPMS: 2,20,11,61,2,20
OK
AT+CM GR= 1
+CMGR: "REC READ","+972544565034",,"05/02/23,11:20:10+08",145,4,0,4,"+97254120032",145,4
41424344
OK
AT+CM GF= 0
OK
AT+CM GR= 1
+CMGR: 0,,23
0791 07917952140230F2040C917952446505430004502032110201800441424344
OK
AT+CM GR= 14
+CMGR: 0,,25
079179521201009506BC0B917952428600F0508030807512805080308075128046
// SMS-STATUS-REPORT message in PDU mode
OK
AT+CM GF= 1
OK
AT+CMGR=14 // SMS-STATUS-REPORT message in Text mode
+CMGR: "REC READ",6,188,"+97252468000",145,"05/08/03,08:57:21+08","05/08/03,08:5
7:21+08",70
OK