HUAWEI MC509 CDMA LGA Module

 

AT Command Interface Specification

SMS Interface Commands

In case of using the command without <stat>, <stat> is set to 0.

<index>: An integer, identifying the position in the storage medium.

<tag>: an integer:0~3

0:WMS_TAG_MT_NOT_READ

1:WMS_TAG_MT_READ

2:WMS_TAG_MO_NOT_SENT

3:WMS_TAG_MO_SENT

<length>the length of the bytes of layer3 packet

8.14 ^HCMGRCommand for Reading a Short Message

8.14.1 Syntax

Command

Possible Response(s)

 

 

^HCMGR=<index>[,<mode>]

If PDU mode, command successful:

 

<CR><LF>^HCMGR:

 

<stat>,[<reserved>],<length><CR><LF> <layer3

 

packet><CR><LF>

 

If TEXT mode, command successful:

 

<CR><LF>^HCMGR

 

<callerID>,<year>,<month>,<day>,<hour>,<minute

 

>,<second>,<lang>,<format>,<length>,<prt>,<prv>

 

,<type><stat><CR><LF><msg><ctrlz><CR><LF>

 

OK<CR><LF>

 

In case of an SMS-related error:

 

<CR><LF>+CMS ERROR:<err><CR><LF>

 

 

^HCMGR=?

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

 

 

8.14.2Interface Description

The execution command returns short messages with the storage position of <index> from the storage medium specified by <mem1>. Whether to modify the short message status depends on the value of <mode>.

8.14.3Parameter Description

<index>: An integer, identifying the position in the storage medium.

<mode>: Specifies the change mode of the short message status. The values are as follows:

Issue 01 (2011-08-26)

Huawei Proprietary and Confidential

103

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 103
Image 103
Huawei MC509 manual HCMGR-Command for Reading a Short Message, Crlfhcmgr :, HCMGR=? Crlfokcrlf