HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Short Messages
Issue 02 (2010-11-23) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd. 156
11 Commands for Short Messages
This chapter describes the AT commands related to short messages. Currently, the
MG323 does not support short messages in text mode.

11.1 AT+CMGD - Command for Deleting Short Messages

The AT+C MGD command deletes the short messages that are stored on the
preferred memory<mem1> (for details, see AT+CPMS).

11.1.1 Checking the Parameter Range Supported by the Command

Test
command
AT+CMGD=?
Function Checks the supported indexes of short messages and deletes the
parameters of short message type.
Response z In case of successful execution:
<CR><LF>+CMGD: (list of supported <index>s),(list of supported
<delflag>s)<CR><LF>
<CR><LF>OK<CR><LF>
z In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z In case of an error related to the MS: <CR><LF>+CMS ERROR:
<err><CR><LF>