beautypg.com

Rainbow Electronics GM862-QUAD-PY User Manual

Page 206

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

+CMGR - Read Message

SELINT 0 / 1

delete SMs as last settings of command +CPMS).


Parameter:
- message index.

The output depends on the last settings of command +CMGF (message
format to be used)

(PDU Mode)

The output has the following format:

+CMGR: ,

where
- status of the message
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
- 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)

Output format for received messages (the information written in italics will
be present depending on +CSDH last setting):

+CMGR: ,,, [,,,,,,
,]


Output format for either sent or unsent messages:
+CMGR: ,,[,,,,,
,,]


Output format for message delivery confirm:
+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