GSM/GPRS Module
M35 AT Commands Manual
M35_AT_Commands_Manual Confidential / Released 103 / 186
Example
For example message in text mode:
AT+CPMS?
+CPMS: "SM",6,50,"SM",6,50,"SM",6,50
OK
AT+QCLASS0=0
// Disable to store SMS when receiving Class 0 SMS
OK
+CMT: "+8615021012496",,"2010/09/26 09:55:37+32"
TEST1 from Quectel
// Short message is output directly
AT+QCLASS0=1
// Enable to store SMS when receiving Class 0 SMS
OK
+CMTI: "SM",7
//
Indicate that new message has been received
AT+CMGR=7
+CMGR: "REC UNREAD","+8615021012496","","2010/09/26 09:56:17+32"
TEST2 from Quectel
OK
8.19. AT+QMGDA Delete all SMS
Parameter
AT+QMGDA Delete all SMS
Test Command
AT+QMGDA=?
Response
+QMGDA:
(listed of supported
<type>
s)
OK
Write Command
AT+QMGDA=<type>
Response
OK
ERROR
+CME ERROR: <err>
Reference
<type>
1) If text mode:
"DEL READ"
Delete all read messages
"DEL UNREAD" Delete all unread messages
"DEL SENT"
Delete all sent SMS