Cmgl, +Mmgl,List Messages - Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

After sending a +CDS unsolicited response to the TE, the Module will expect a +CNMA (new message
acknowledgment) from the TE within a predefined timeout of 60 seconds. The Module will not send
another +CDS unsolicited response to the TE before the previous one is acknowledged. If the +CDS is
acknowledge d within the timeout, the new SM is not saved in the message storage. If the +CDS is not
acknowledged and the timeout has expired, the new SM is saved in the message storage and +CNMI
parameter <ds> is set to '0'.
Example:
AT+CMGF=1
OK
AT+CSMP=49,167
OK
AT+CSMP?
+CSMP: 49,167,0,0
OK
AT+CNMI=1,0,0,1
OK
AT+CMGS="052468000"
> Hello
+CMGS: 187
OK
+CDS: 6,187,"+97252468000",145,"05/08/03,08: 56: 34+08","05/08/03,08: 56: 34+08",70
AT+CNMA
OK

7.1.11 +CMGL, +MMGL,List Messages

These commands display a list of all SMS with the status value <stat>, from the Module message storage
<mem1> (selected using the +CPMS command). The command returns a series of responses, one per
message, and each containing the message index, status, and data. If the status of a message is
"RECEIVED UNREAD", execution of the +CMGL command changes the status of the message to
"RECEIVED READ".
The +MMGL command does not change the message status. In addition, +MMGL includes a <stat>
selection that can be used to query the Module for a list of message headers without attendant message
data.
Command
Set
G5/G6-Family AT Commands User Manual
Syntax
Response/Action
+CMGL[=<
If text mode (+CMGF=1) command execution
Remarks
Page 98 of 243

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents