beautypg.com

Cmgd, delete message, Cmgd, delete message -108, Cmgd parameters -108 – PIONEERPOS AT Commands G24-LC User Manual

Page 172

background image

SMS

3-108

G24-L AT Commands Reference Manual

April 15, 2008

+CMGD, Delete Message

This command handles deletion of a single message from memory location , or multiple
messages according to . If the optional parameter is entered, and is greater
than 0, the parameter is practically ignored. If deletion fails, result code +CMS ERROR:
is returned.

Note:

The deletion of multiple commands is a time-consuming process that may require more
than 60 seconds to complete.

The following table shows the +CMGD parameters.

Example

AT+CMGD=4

OK

AT+CMGD=1,3

OK

Command Type

Syntax

Response/Action

Remarks

Set

+CMGD=

[,]

OK

or:

+CMS ERROR:

Read

The Read command for +CMGD is not
defined by ETSI, and therefore is not
supported by the G24-L. The G24-L
returns an error.

Test

+CMGD=?

+CMGD: (list of valid

s), (list of valid
s)

The Test command displays the
supported values of .

Table 3-68: +CMGD Parameters

Description

1-352 Index in the SMS memory of the message to be deleted.

0

Deletes the message specified in

1

Deletes all read messages

2

Deletes all read messages and sent MO messages

3

Deletes all read messages, sent and unsent MO messages

4

Deletes all messages

This manual is related to the following products: