Specifications

Smart Machine Smart Decision
SIM900_AT Commands Manual_V1.07 147 2012.12.10
Response
OK
ERROR
Write Command
AT+CSDT=<mo
de>
Parameter
<mode>
0 Switch off detecting SIM card
1 Switch on detecting SIM card
Reference Note
User should select 8-pin SIM card holder to implement SIM card detection
function.
6.2.30 AT+CMGDA Delete All SMS
AT+CMGDA Delete All SMS
Response
+CMGDA: (list of supported <type>s)
OK
+CMS ERROR: <err>
Test Command
AT+CMGDA=?
Parameter
See Write Command
Response
OK
ERROR
+CMS ERROR: <err>
Write Command
AT+CMGDA=<t
ype>
Parameter
<type>
1) If text mode:
"DEL READ" Delete all read messages
"DEL UNREAD" Delete all unread messages
"DEL SENT" Delete all sent SMS
"DEL UNSENT" Delete all unsent SMS
"DEL INBOX" Delete all received SMS
"DEL ALL" Delete all SMS
2) If PDU mode:
1 Delete all read messages
2 Delete all unread messages
3 Delete all sent SMS
4 Delete all unsent SMS
5 Delete all received SMS
6 Delete all SMS
Reference Note