beautypg.com

Example, 11 at+cmgr read message, Pdu mode – Sony Ericsson GM47 User Manual

Page 268: 11 at+cmgr, Read message

background image

GM47/GM48 INTEGRATOR’S MANUAL

268

LZT 123 7263 R1C

Example

Display cell broadcast messages:

AT+CNMI=3,0,2,0,0

15.11 AT+CMGR Read Message

PDU Mode

Returns message with location value from preferred message
storage to the TE. Status of the message and entire message
data unit is returned. If status of the message is ‘received
unread’, status in the storage changes to ‘received read’. If reading fails,
final result code +CMS ERROR: is returned.

Description

Command

Possible Responses

Read

message

AT+CMGR=

+CMGR: ,[],]

• +CMS ERROR:

• OK
• ERROR

Show if the

command is

supported

AT+CMGR=?

• OK
• ERROR

Description

0

Received unread message (i.e. new message)

1

Received read message

2

Stored unsent message (only applicable to SMs)

3

Stored sent message (only applicable to SMs)

Description

Integer type

Value in the range of location numbers supported by the

associated memory

Description

String type

Manufacturing specific. Should be left empty but not

omitted

Description

Integer type

Value indicating in PDU mode (+CMGF=0), the length of

the actual TP data unit in octets (i.e. the RP layer SMSC

address octets are not counted in the length)

This manual is related to the following products: