beautypg.com

3 list messages improved - @cmgl – Rainbow Electronics GM862-QUAD-PY User Manual

Page 202

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 202 of 434

+CMGL - List Messages

SELINT 2

Reference in integer format

- recipient address, string type , represented in the currently

selected character set (see +CSCS)

- type of number

- arrival time of the message to the SC

- sending time of the message

- message status as coded in the PDU

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

.

Note: the order in which the messages are reported by +CMGL
corresponds to their position in the memory storage

AT+CMGL=?

Test command returns a list of supported s

#

S

M

S

M

O

D

E

=
1



Reference

GSM 07.05, GSM 03.40

3.5.5.3.3 List Messages Improved - @CMGL

@CMGL - List Messages Improved

SELINT 0

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)

(PDU Mode)

Parameter:

0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
4 - all messages.

Each message to be listed is represented in the format:

@CMGL: ,,

where
- message position in the memory storage list.
- status of the message
- length of the PDU in bytes
- message in PDU format according to GSM 3.40

(Text Mode)