HUAWEI ME909u-523 LTE LGA Module
Application Guide
5.5 Deleting Short Messages
5.5.1 Reference Process
Command
AT+CMGF=0
OK
AT+CMGL=4
+CMGL: 6,2,,30
0011000A9171798762130000A713C8329BFD6681D0EF3B282C2F83F2EFFA0F
+CMGL: 11,1,,36
0791947106004013240C9194715982699000003080413115748013C8329BFD66
81D0EF3B282C2F83F2EFFA0F
OK
AT+CMGD=1
OK
Issue 04 (2014-12-08)
Either all messages stored in the preferred message storage or a message
stored in the specified storage location in the preferred message storage can be
deleted.
All read or unread messages that have been received can be deleted.
If no messages are stored in the preferred message storage, "OK" is returned
when the action to delete messages is completed.
Meanings of the DelFlag value:
−
1: Delete all read messages in the preferred message storage, and keep the
unread, sent and unsent messages.
2: Delete all read and sent messages in the preferred message storage, and
−
keep the unread and unsent messages.
3: Delete all read, sent, and unsent messages in the preferred message
−
storage, and keep the unread messages.
4: Delete all messages in the preferred message storage, including the
−
unread messages.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Description
Set the message format to PDU mode.
List all short messages (PDU mode).
Delete the message stored in storage location 1.
SMS Application Scenarios
35