HUAWEI MC509 CDMA LGA Module

 

AT Command Interface Specification

SMS Interface Commands

8.13 ^HCMGLShort Message List Command

8.13.1 Syntax

Command

Possible Response(s)

 

 

^HCMGL[=<stat>]

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>

 

 

^HCMGL=?

<CR><LF>^HCMGL:(supported <stat> list)<CR><LF>

 

<CR><LF>OK<CR><LF>

 

 

8.13.2Interface 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.3Parameter 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

Issue 01 (2011-08-26)

Huawei Proprietary and Confidential

102

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 102
Image 102
Huawei MC509 manual HCMGL-Short Message List Command, Hcmgl=?