Rainbow Electronics GM862-QUAD-PY User Manual

Page 198

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

+CMGL - List Messages

SELINT 2

E

=
0



#

S

M

S

M

O

D

E

=
0



#

S

M

S

M

O

D

E

=
0



#

S

M

S

M

O

D

E

=
0



#

S

(PDU Mode)

Parameter:
<stat>
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
4 - all messages.

If there is at least one message to be listed the representation format
is:

+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>
[<CR><LF>
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>[...]]

where:
<index> - message position in the memory storage list.
<stat> - status of the message
<alpha> - string type alphanumeric representation of <da> or <oa>,

corresponding to an entry found in the phonebook; used
character set is the one selected with command +CSCS.

<length> - length of the PDU in bytes
<pdu> - message in PDU format according to GSM 3.40

(Text Mode)

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.

The representation format for stored messages (either sent or unsent)
or received messages (either read or unread, not message delivery
confirm) is (the information written in italics will be present depending
on +CSDH last setting):


+CMGL: <index>,<stat>,<oa/da>,<alpha>,<scts>[,<tooa/toda>,
<length>]
<CR><LF><data>[<CR><LF>
+CMGL: <index>,<stat>,<oa/da>,<alpha>,<scts>[,<tooa/toda>,
<length>]
<CR><LF><data>[...]]

where:

Advertising