Rainbow Electronics GM862-QUAD-PY User Manual

Page 213

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

@CMGR - Read Message Improved

SELINT 0

<da> - Destination address, string type represented in the currently

selected character set (see +CSCS)

<sca> - Service Centre number
<tooa>,<toda >,<tosca> - type of number <oa>,<da>,<sca>
129 - number in national format
145 - number in international format (contains the "+")
<length> - text length
<text> - message text

Note: the command differs from the +CMGR because after the message
<pdu> or <text> a <CR><LF> is put before the OK result code.

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 <index>.

AT@CMGR=?

Test command has no effect; the answer is OK

Reference GSM

07.05


@CMGR - Read Message Improved

SELINT 1

AT@CMGR=
<index>

Execution command reports the message with location value <index> from
<memr> message storage (<memr> is the message storage for read and
delete SMs as last settings of command +CPMS).

Parameter:
<index> - 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: <stat>,<length><CR><LF><pdu>

where
<stat> - status of the message
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
<length> - length of the PDU in bytes.
<pdu> - message in PDU format according to GSM 3.40.

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

(Text Mode)

Advertising