Cmgl, +Mmgl, List Messages - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

SMS
The following table shows the +CDS parameters.
<Parameter>
<fo>
<mr>
<ra>
<tora>
<scts>
<dt>
<st>
After sending a +CDS unsolicited response to the TE, the G24 will expect a +CNMA (new
message acknowledgement) from the TE within a predefined timeout of 60 seconds. The G24
will not send another +CDS unsolicited response to the TE before the previous one is
acknowledged. If the +CDS is acknowledged 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
OK
AT+CSMP?
+CSMP: 49,167,0,0
OK
AT+CNMI=0,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

+CMGL, +MMGL, List Messages

These commands display a list of all SMs with the status value <stat>, from the G24 message
storage <mem1> (selected using the +CPMS command). The command returns a series of
responses, one per message, 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".
3-114
Table 3-64: +CDS Parameters
First octet of the SM
Message Reference
Message Recipient address
Type of Recipient address
Service center time stamp
Discharge-Time
Status
AT Commands Reference Manual
Description
December 31, 2007

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents