6 at+cmgr read sms messages – Siemens Brodersen MC55 AT User Manual

Page 340

Advertising
background image

MC55_ATC_V04.00

Page 340 of 475

3/17/06

Confidential / Released

13.6

AT+CMGR Read SMS messages

The write command returns SMS message with location value

<index>

from message storage

<mem1>

to the

TE. If status of the message is 'received unread', status in the storage changes to 'received read'.

Syntax

Test Command

AT+CMGR=?

Response(s)

OK

Write Command

AT+CMGR=

<index>

Response(s)

Output if text mode (

AT+CMGF

=1) and command successful:

For SMS-DELIVER
+CMGR:

<stat>

,

<oa>

, [

<alpha>

],

<scts>

[,

<tooa>

,

<fo>

,

<pid>

,

<dcs>

,

<sca>

,

<tosca>

,

<length>

]

<data>

[... ]
OK

For SMS-SUBMIT
+CMGR:

<stat>

,

<da>

, [

<alpha>

][,

<toda>

,

<fo>

,

<pid>

,

<dcs>

, [

<vp>

],

<sca>

,

<tosca>

,

<length>

]

<data>

[... ]
OK

For SMS-STATUS-REPORT
+CMGR:

<stat>

,

<fo>

,

<mr>

, [

<ra>

], [

<tora>

],

<scts>

,

<dt>

,

<st>

<data>

[... ]
OK

For SMS-Commands
+CMGR:

<stat>

,

<fo>

,

<ct>

[,

<pid>

, [

<mn>

], [

<da>

], [

<toda>

],

<length>

]

<data>

[... ]
OK

Output if PDU mode (

AT+CMGF

=0) and command successful:

For SMS-SUBMITs and/or SMS-DELIVERs
+CMGR:

<stat>

, [

<alpha>

],

<length>

<pdu>

[... ]
OK

ERROR

+CMS ERROR

Reference(s)

PIN

ASC0 ASC1

MUX1

MUX2

MUX3 Charge 

Last

GSM 07.05

%

%

%

%

%

%

!

!

!

Advertising