beautypg.com

Rainbow Electronics GM862-QUAD-PY User Manual

Page 208

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

+CMGR - Read Message

SELINT 2

M

O

D

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


- status of the message
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
- string type alphanumeric representation of or ,

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

- length of the PDU in bytes.
- message in PDU format according to GSM 3.40.

The status of the message and entire message data unit is
returned.

(Text Mode)

If there is a Received message in location the output
format is (the information written in italics will be present depending
on +CSDH last setting):
+CMGR: ,,,[,,,,
,,,]


If there is either a Sent or an Unsent message in location
the output format is:
+CMGR: ,,[,,,,,,
,,]


If there is a Message Delivery Confirm in location the
output format is:
+CMGR: ,,,,,,

,

where:
- status of the message
"REC UNREAD" - new received message unread
"REC READ" - received message read
"STO UNSENT" - message stored not yet sent
"STO SENT" - message stored already sent
- first octet of the message PDU

- message reference number; GSM 03.40 TP-Message-

Reference in integer format

- arrival time of the message to the SC

- sending time of the message
- message status as coded in the PDU
- Protocol Identifier
- Data Coding Scheme
- Validity period; only the integer format is supported
- Originator address, string type represented in the currently

selected character set (see +CSCS)