Specifications

AT Command Set Reference
Ver. 1.00
GSM1308AT001 Page 132 Ver. 1.00 – 10/29/2008
2.2.4.4. AT+CMGD Delete Message
Command Function Deletes message from preferred storage
location.
Command Functional Short Message Services
Group
Command Format Query AT+CMGD=?
Response +CMGD:(0-255),(0-4)
Write Format N/A
Response N/A
Read Format N/A
Response N/A
Execution Format AT+CMGD=<index>,<status>
Response OK
Parameter Values
<index> Integer value of memory location.
<status> 0 Delete the messages specified by
the index
1 Ignore the index and delete all the
read messages
2 Ignore the index and delete all the
read and sent messages
3 Ignore the index and delete all the
read, sent and unsent messages.
4 Ignore the index and delete all the
messages whatever the status is
Reference GSM Ref. 07.05 Chapter 3.5.4
Standard Scope Optional
Enfora Implementation Scope Full
Notes If there is no message stored in the
selected index, an error will be returned.