Cmgd-Delete Message; Command Syntax; Description; Defined Values - Huawei MU509 At Command Interface Specification

Hsdpa lga module
Hide thumbs Also See for MU509:
Table of Contents

Advertisement

HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification
<ra>: recipient-address
<tora>: receive-address type
<scts>: service-centre-time-stamp.
<dt>: discharge-time.
<st>: status.
6.8 +CMGD–Delete Message

6.8.1 Command Syntax

Command
If delflag value is 0:
+CMGD=<index>[,<delflag>]
If delflag value isn‟t 0:
+CMGD=[<index>],<delflag>
+CMGD=?

6.8.2 Description

The SET command deletes message from memory <mem1> location <index>. For
the setting of <mem1> and description, see the "+CPMS command". If the second
parameter <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, +CMS ERROR: <err> is
returned.
The TEST command returns the storage position where the message is currently
stored, and the supported <delflag> values.

6.8.3 Defined Values

<index>: storage position of message
<delflag>:
0: Delete the messages specified by <index> (default value).
1: Delete all read messages from preferred message storage, leaving unread
messages 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.
Issue 04 (2013-01-28)
Possible response(s)
<CR><LF>OK<CR><LF>
In case of SMS-related error:
<CR><LF>+CMS ERROR: <err><CR><LF>
<CR><LF>+CMGD: (list of supported <index>s)
,(list of supported <delflag>s)<CR><LF>
<CR><LF>OK<CR><LF>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Short Message Service Commands
74

Advertisement

Table of Contents
loading

Table of Contents