Description; Defined Values - Huawei EM770W At Command Interface Specification

Umts m2m
Hide thumbs Also See for EM770W:
Table of Contents

Advertisement

Command
+CMGL[=<stat>]
+CMGL=?

5.15.2 Description

The EXECUTION command returns all messages from <mem1>, which are in the
state specified by the parameter <stat>. If the message state is "Unread message that
has been received", the state of the message in the storage will be converted to "Read
message that has been received" after the command is executed successfully.
When the <stat> takes on the default value, the EXECUTION command is equivalent
to the SET command +CMGL=0.
The TEST command returns all the supported stat values.

5.15.3 Defined Values

PDU mode:
<stat> Message type. The default value is 0:
0
1
2
3
4
<index>: Integer value, which indicates the position in the storage.
<reserved>: Reserved.
<length>: Integer value, which indicates the number of bytes of TPDU data.
<pdu>: Protocol data unit. The data structure is as follows:
<sc_len>
Issue 18 (2009-06-22)
Possible response(s)
In case of pdu mode and successful execution of command:
[<CR><LF>+CMGL:
<index>,<stat>,[<reserved>],<length><CR><LF><pdu>
[<CR><LF>+CMGL:<index>,<stat>,[<reserved>],<length><C
R><LF><pdu>
[...]]<CR><LF>]<CR><LF>OK<CR><LF>
In case of text mode and successful execution of command:
[<CR><LF>+CMGL:<index>,<stat>,<oa/da>,<reserved>[,<sct
s>]<CR><LF><
Otherwise:
<CR><LF>+CMS ERROR: <err><CR><LF>
<CR><LF>+CMGL:
<CR><LF><CR><LF>OK<CR><LF>
Unread messages that has been received
Read message that has been received
Unsent message that has been stored
Sent message that has been stored
Any message
<type_addr>
Commercial in Confidence
HUAWEI UMTS M2M Module V100R001
(list
[<SCA>]
<numbers>
AT Command Interface Specification
of
supported
TPDU
Page 83 of 169
<stat>s)

Advertisement

Table of Contents
loading

Table of Contents