At+Cmgd Delete Message - SimCom SIM5350 Command Set

At command set
Table of Contents

Advertisement

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
<index>. If
<delflag>
rules for
<delflag>
shown below.
SIM PIN
References
YES
3GPP TS 27.005
Syntax
Test Command
AT+CMGD=?
Write Command
AT+CMGD=<index>[,<delfl
ag>]
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
is present and not set to 0 then the ME shall ignore
Responses
+CMGD: (list of supported <index>s)[,(list of supported
<delflag>s)]
OK
Responses
OK
ERROR
+CMS ERROR:
<err>
107
<mem1>
location
<index>
and follow the
6/9/2014

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM5350 and is the answer not in the manual?

Questions and answers

Table of Contents