Table 58. +Cmgd Parameters - Motorola g20 Developer's Manual

At commands
Hide thumbs Also See for g20:
Table of Contents

Advertisement

AT+CMGW="5124335432",145,"STO SENT"
> This is the message body. ^Z
+CMGW: 127
OK
AT+CMGR=127
+CMGR: "STO SENT","+5124335432"
This is the message body.
OK
4.5.1.17
+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.
Set Command
Command
+CMGD=<index>[,<delflag>]
Read Command
The Read command for +CMGD is not defined by ETSI, and therefore is not supported by the g20. The g20 returns an error.
Test Command
Command
+CMGD=?
The following table shows the +CMGD parameters.
<Parameter>
<index>
1-352
98-08901C68-O
OK
or:
+CMS ERROR: <err>
+CMGD: (1-352),(0-4)

Table 58. +CMGD Parameters

Description
Index in the SMS memory of the message to be
deleted.
Response/Action
Response/Action
AT Commands Reference
135

Advertisement

Table of Contents
loading

Table of Contents