beautypg.com

Rainbow Electronics GM862-QUAD-PY User Manual

Page 203

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

@CMGL - List Messages Improved

SELINT 0

Parameter:

"REC UNREAD" - new message
"REC READ" - read message
"STO UNSENT" - stored message not yet sent
"STO SENT" - stored message already sent
"ALL" - all messages.

Each message to be listed is represented in the format (the information
written in italics will be present depending on +CSDH last setting):


@CMGL: ,,,,[,,]


where
- message position in the storage
- message status
- originator/destination address, string type, represented in the

currently selected character set (see +CSCS)

- 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: The command differs from the +CMGL because at the end of the
listing a is put before the OK result code.

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