Rainbow Electronics GM862-QUAD-PY User Manual

Page 203

Advertising
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:
<stat>
"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: <index>,<stat>,<oa/da>,,[,<tooa/toda>,<length>]
<CR><LF> <data>

where
<index> - message position in the storage
<stat> - message status
<oa/da> - originator/destination address, string type, represented in the

currently selected character set (see +CSCS)

<tooa/toda> - type of number <oa/da>
129 - number in national format
145 - number in international format (contains the "+")
<length> - text length
<data> - TP-User-Data

Each message delivery confirm is represented in the format:

@CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>

where
<index> - message position in the storage
<stat> - message status
<fo> - first octet of the message PDU
<mr> - message reference number
<scts> - arrival time of the message to the SC
<dt> - sending time of the message
<st> - message status as coded in the PDU

Note: The command differs from the +CMGL because at the end of the
listing a <CR><LF> 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 <stat>s

Advertising