Huawei ME909u-521 Refrigerator User Manual


 
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.
33
Message State
PDU Mode
All messages
4
Method 2: Use the AT+CMGR command to read a message from a specified
storage location in the message storage. If the message is a received unread
message, its state will be changed to REC READ after it is read using the
AT+CMGR command.
You can use the AT+CMGL command to list all short messages so that you can view
the messages' storage locations.
Figure 5-7 Reading short messages
Reading short messages
Start
List received unread
messages in PDU format
+CMGL:<index1>,0,,<length>
<pdu> (messages in PDU format)
......
+CMGL:<indexn>,0,,<length>
<pdu> (messages in PDU format)
OK
PDU format
+CMGR:n,,<length>
<pdu> (messages in PDU format)
OK
End
AT+CMGL=0
AT+CMGR=n