HUAWEI UMTS M2M Module V100R001
AT Command Interface Specification
Issue 18 (2009-06-22)
Commercial in Confidence
Page 83 of 169
Command
Possible response(s)
+CMGL[=<stat>]
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>
+CMGL=?
<CR><LF>+CMGL: (list of supported <stat>s)
<CR><LF><CR><LF>OK<CR><LF>
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 cCMGL=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 Unread messages that has been received
1
Read message that has been received
2
Unsent message that has been stored
3 Sent message that has been stored
4 Any message
<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:
[<SCA>]
<sc_len> <type_addr>
<numbers>
TPDU
Содержание EM770W
Страница 2: ......