Cmgl-List Message List; Command Syntax; Description - Huawei MU509 At Command Interface Specification

Hsdpa lga module
Hide thumbs Also See for MU509:
Table of Contents

Advertisement

HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification
<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
+CMGL[=<stat>]
+CMGL=?

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.
Issue 04 (2013-01-28)
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><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>
<CR><LF>+CMGL: (list of supported <stat>s)<CR><LF>
<CR><LF>OK<CR><LF>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Short Message Service Commands
94

Advertisement

Table of Contents
loading

Table of Contents