Huawei MC509 Network Router User Manual


 
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
SMS Interface Commands
Issue 01 (2011-08-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
103
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.2 Interface 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.3 Parameter 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: