beautypg.com

Rainbow Electronics GM862-QUAD-PY User Manual

Page 197

background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 197 of 434

+CMGL - List Messages

SELINT 0 / 1

- type of number
129 - number in national format
145 - number in international format (contains the "+")
- text length
- TP-User-Data

Each message delivery confirm is represented in the format:

+CMGL: ,,,,,,,

,

where
- message position in the storage

- message status

- first octet of the message PDU

- message reference number

- arrival time of the message to the SC

- sending time of the message

- message status as coded in the PDU


Note: OK result code is sent at the end of the listing.

Note: If parameter is omitted the command returns the list of sms with “REC
UNREAD” status.

AT+CMGL?

Read command has the same effect as Execution command with parameter
omitted

AT+CMGL=?

Test command returns a list of supported s

Note If

Text

Mode

(+CMGF=1) the Test command output is not included in

parenthesis

AT+CMGL=?
+CMGL: "REC UNREAD","REC READ","STO UNSENT",
"STO SENT","ALL"

Note

The improving command @CMGL has been defined

Reference GSM

07.05


+CMGL - List Messages

SELINT 2

Note: the behaviour of command +CMGL differs depending on whether or not the improved SMS
commands operation mode has been enabled (see #SMSMODE)

(#SMSMODE=0)

#

S

M

S

M

O

D

AT+CMGL
[=]

Execution command reports the list of all the messages with status
value stored into message storage ( is the
message storage for read and delete SMs as last settings of
command +CPMS).

The parameter type and the command output depend on the last
settings of command +CMGF (message format to be used)