> 07917952140230F212000000000c9179524286502900 //SMS Command
+CMGW: 132
OK
AT+CMGR=132
+CMGR: 2,,14
07917952140230F212000000000C9179524286502900
OK
AT+CMGF=1
OK
AT+CMGR=132
+CMGR: "STO UNSENT",18,0,0,0,"+972524680592",145,0
OK
7.1.15+CMGD, Delete Message
This command handles deletion of a single message from memory location <index>, or multiple
messages according to <delflag>. If the optional parameter <delflag> is entered, and is greater than 0, the
<index> parameter is practically ignored. If deletion fails, result code +CMS ERROR: <err> is returned.
Note: The deletion of multiple commands is a time-consuming process that may require more than 60
seconds.
Command
Syntax
Set
+CMGD=<inde
x>[,<delflag>]
Read
Test
+CMGD=?
The following table shows the +CMGD parameters.
<Parameter>
<index>
G5/G6-Family AT Commands User Manual
Response/Action
OK
or:
+CMS ERROR:
<err>
+CMGD: (list of
valid<index>s), (list
of valid<deflag>s)
Description
1-352 Index in the SMS memory of the message to be deleted.
Remarks
The Read command for +CMGD is not
defined by ETSI, and therefore is not
supported by the Module. The Module
returns an error.
The Test command displays the supported
values of <n>.
Page 116 of 243