beautypg.com

Rainbow Electronics GM862-QUAD-PY User Manual

Page 207

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

+CMGR - Read Message

SELINT 0 / 1

- 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
- Originator address, string type represented in the currently selected

character set (see +CSCS)

- Destination address, string type represented in the currently

selected character set (see +CSCS)

- Service Centre number
,, - type of number ,,
129 - number in national format
145 - number in international format (contains the "+")
- text length
- TP-User_data

Note: in both cases if status of the message is 'received unread', status in
the storage changes to 'received read'.

Note: an error result code is sent on empty record .

AT+CMGR=?

Test command returns the OK result code.

Note

The improving command @CMGR has been defined

Reference GSM

07.05


+CMGR - Read Message

SELINT 2

Note: the behaviour of command +CMGR differs depending on whether or not the improved SMS
commands operation mode has been enabled (see #SMSMODE)

(#SMSMODE=0)

#

S

M

S

M

O

D

E

=
0



#

S

M

S

AT+CMGR=

Execution command reports the message with location value
from message storage ( is the message storage for
read and 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)

If there is a message in location , the output has the
following format:

+CMGR: ,,

where