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