HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification
Short Message Service Commands
Issue 04 (2013-01-28)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
94
<oa/da>: originating address/Destination address. Same as defined in SCA. Total
2
–12 Otects. Therefore, the longest address in the OA segment contains 20 digits.
<tooa>: Type-of-Originating-Address.
<toda>:Type-of-Destination-Address.
<stat>, <ctrl-Z>, <ESC>: please refer to the defined values of PDU mode.
6.14 +CMGL–List Message List
6.14.1
Command Syntax
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><CR><LF><pdu>
[...]]<CR><LF>]<CR><LF>OK<CR><LF>
If text mode, command successful and SMS-SUBMITs and/or
SMS-DELIVERs:
[<CR><LF>+CMGL:
<index>,<stat>,<oa/da>,<reserved>[,<scts>]<CR><LF><data
>][<CR><LF>+CMGL:
<index>,<stat>,<oa/da>,<reserved>[,<scts>]<CR><LF><data
>][...]<CR><LF>]<CR><LF>OK<CR><LF>
If text mode, command successful and
SMS-STATUS-REPORTs:
[<CR><LF>+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
[<CR><LF>+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>[...]
<CR><LF>]<CR><LF>]]<CR><LF>OK<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>
6.14.2
Description
The SET 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.