HUAWEI ME909u-521 LTE LGA Module
Application Guide
SMS Application Scenarios
Issue 01 (2013-07-05)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
32
5.4 Reading Short Messages
5.4.1 Reference Process
Command
Description
AT+CMGL=0
List all received unread messages.
+CMGL: 2,0,,48
0891683108608805F9040D916831
09732097F2000001432619001001
F506215744FD3D1A0E930C8429
6D9EC370BFDE86C2F23228FFA
EFF00
+CMGL: 4,0,,64
0891683108608805F9040D916831
09732097F2000001403261310500
32506215744FD3D1A0E930C8429
6D9EC370BFDBE83C2B0380F6A
97416FF7B80C6AVFE5E510
OK
The format of short messages can refer to
the AT+CMGL command.
AT+CMGR=4
Read the message stored in the message
storage location 4.
+CMGR: 1,,64
0891683108608805F9040D916831
09732097F2000001403261310500
32506215744FD3D1A0E930C8429
6D9EC370BFDBE83C2B0380F6A
97416FF7B80C6AVFE5E510
OK
The format of short messages can refer to
the AT+CMGR command.
There are two methods to read short messages:
Method 1: Use the AT+CMGL command to list the messages that are in
specified state and stored in the preferred message storage. The following table
describes the message states. If the message sate is received unread
messages, the REC UNREAD state will be changed to REC READ after the
AT+CMGL command is executed.
Message State
PDU Mode
Received unread messages
0
Received read messages
1
Stored unsent messages
2
Stored sent messages
3