![SimCom SIM5350 Command Set Download Page 108](http://html1.mh-extra.com/html/simcom/sim5350/sim5350_command-set_1274792108.webp)
SIM5350 AT Command Set
Examples
AT+CMGW="13012832788" <CR> (TEXT MODE)
ABCD<ctrl-Z/ESC>
+CMGW:1
OK
7.16
AT+CMGD Delete message
Description
This command is used to delete message from preferred message storage
<mem1>
location
<index>
. If
<delflag>
is present and not set to 0 then the ME shall ignore
<index>
and follow the
rules for
<delflag>
shown below.
SIM PIN References
YES
3GPP TS 27.005
Syntax
Test Command
Responses
AT+CMGD=?
+CMGD: (list of supported
<index>
s)[,(list of supported
<delflag>
s)]
OK
Write Command
Responses
OK
ERROR
AT+CMGD=
<index>
[,
<delfl
ag>
]
+CMS ERROR:
<err>
Defined values
<index>
Integer type; value in the range of location numbers supported by the associated memory and start
with zero.
<delflag>
an integer indicating multiple message deletion request as follows:
0 – (or omitted) Delete the message specified in
<index>
.
1 – Delete all read messages from preferred message storage, leaving unread messages and
stored mobile originated messages (whether sent or not) untouched.
2 – Delete all read messages from preferred message storage and sent mobile originated
messages, leaving unread messages and unsent mobile originated messages untouched.
3 – Delete all read messages from preferred message storage, sent and unsent mobile
originated messages leaving unread messages untouched.
4 – Delete all messages from preferred message storage including unread messages.
SIM5350_ATC_V1.02
6/9/2014
107