
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8.13 ^HCMGL–Short Message List Command
8.13.1 Syntax
if pdu mode (+CMGF=0), command successful.
<CR><LF>^HCMGL:<index1>,
<tag1>,[<reserved>],<length><CR><LF>< Layer3
packet ><CR><LF>
<CR><LF>^HCMGL:<index2>,
<tag2>,<reserved>],<length><CR><LF>< Layer3
packet ><CR><LF>
……
<CR><LF>OK<CR><LF>
if text mode (+CMGF=1), command successful.
<CR><LF>^HCMGL:<index1>,<tag1><CR><LF>
<CR><LF>^HCMGL:<index2>,<tag2><CR><LF>
……
<CR><LF>OK<CR><LF>
Else:
<CR><LF>+CMS ERROR:<err><CR><LF>
<CR><LF>^HCMGL:(supported <stat> list)<CR><LF>
<CR><LF>OK<CR><LF>
8.13.2 Interface Description
The execution command returns all short message indexes with the status value of
<stat> from the storage medium specified by <mem1>.
Status report short messages are considered as received common short messages.
All supported stat values are returned when the test command is executed.
8.13.3 Parameter Description
<stat>: Specifies the type of a short message. The values are as follows:
0: received unread short messages
1: received read short messages
2: stored unsent short messages
3: stored sent short messages
4: all short messages