At+Cmgl List Sms Messages From Preferred Store - Multi-Tech MultiModem EDGE Reference Manual

Wireless edge modems
Table of Contents

Advertisement

12.5 AT+CMGL List SMS Messages from Preferred Store

The write command returns messages with status value <stat> from message storage <mem1>
Description:
to the TE. If the status of the message is 'received unread', the status in the storage changes to
'received read'.
The execute command is the same as the write command with the given default for <stat>.
Test Command Syntax:
Response:
Exec Command Syntax:
Response:
Write Command Syntax:
Response:
Notes:
The selected <mem1> can contain different types of SMs (e.g., SMS-DELIVERs, SMS-SUBMITs, SMS-
STATUS-REPORTs and SMS-COMMANDs), the response may be a mix of the responses of different SM types.
TE application can recognize the response format by examining the third response parameter.
The parameters <ra> and <tora> will only display if parameter <ra> of the AT^SSCONF command is set to 1.
Users should be aware that when using this AT command quickly after SIM PIN authentication, the SIM data
may not yet be accessible, resulting in a short delay before the requested AT command response is returned.
See Section 20.1 Restricted Access to SIM Data after SIM PIN Authentication.
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
AT+CMGL=?
+CMGL: (list of supported <stat>s)
OK
AT+CMGL
+CMGL: (see write command for default of <stat>)
OK
AT+CMGL=<stat>
Output if text mode (AT+CMGF=1) and command successful:
For SMS- SUBMITs and/or SMS-DELIVERs
+CMGL: <index>, <stat>, <oa>/<da>, [<alpha>], [<scts>][, <tooa>/<toda>, <length>]
data>
[... ]
OK
For SMS-STATUS-REPORTs
+CMGL: <index>, <stat>, <fo>, <mr>, [<ra>], [<tora>], <scts>, <dt>, <st>
[... ]
OK
For SMS-Commands
+CMGL: <index>, <stat>, <fo>, <ct>
[... ]
OK
Output if PDU mode AT+CMGF=0 and command successful:
For SMS-SUBMITs and/or SMS-DELIVERs
+CMGL: <index>, <stat>, [<alpha>], <length>
<pdu>
[... ]
OK
If error is related to ME functionality
ERROR
+CMS ERROR
Chapter 12 – Short Message Service (SMS) Commands
200

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MultiModem EDGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents