HUAWEI UMTS M2M Module V100R001
AT Command Interface Specification
Issue 18 (2009-06-22)
Commercial in Confidence
Page 66 of 169
5.8.1 Command Syntax
Command
Possible response(s)
+CMGD=<index>[,<delfla
g>]
<CR><LF>OK<CR><LF>
In case of SMS-related error:
<CR><LF>+CMS ERROR: <err><CR><LF>
+CMGD=?
<CR><LF>+CMGD: (list of supported <index>s)[,(list of
supported
<delflag>s)]<CR><LF><CR><LF>OK<CR><LF>
5.8.2 Description
EXECUTION 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.
TEST command returns the valid memory locations and the supported values of
<delflag>.
The TEST command returns the storage position where the message is currently
stored, and the supported <delflag> values.
5.8.3 Defined Values
<index>: Storage position of message
<delflag>:
0 (or default) Delete the messages specified by <index>.
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.
3 Delete all read messages from preferred message storage, sent and unsent
mobile originated messages leaving unread messages untouched.
4 Delete all messages from preferred message storage including unread
messages.
5.9 New Message Acknowledgement to +CNMA
5.9.1 Command Syntax
Command
Possible response(s)
Содержание EM770W
Страница 2: ......