iTegno 39XX GPRS Modem
AT Commands Guide
02000C17
•
v1.5
Confidential
All specifications are correct at the time of release. iWOW Connections owns the proprietary rights to the information contained herein this
document. It may not be edited, copied or circulated without prior written agreement by iWOW Connections Pte Ltd. © 2011, 2012 iWOW
Connections Pte Ltd
87
Description:
This command deletes message from preferred message storage.
•
Set command deletes message from memory.
•
Read command is not supportable.
•
Test command returns list of supported indexes and list of supported deletion flags.
Execution command deletes 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. If
deleting fails, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result
Code for <err> values.
Test command shows the valid memory locations and optionally the supported values of <delflag>.
Syntax:
AT+CMGD=<index>[,<delflag>]
Command
Possible Responses
AT+CMGD=<index>[,<delfla
g>]
OK
or
+CMS ERROR: <err>
AT+CMGD=?
+CMGD: (list of supported <index>s)[,(list of supported <delflag>s)]
OK
Defined Values
<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.