6 at+cmgr read sms messages, Obile, Mc55 at command set – Siemens MC55 User Manual

Page 321

Advertising
background image

MC55 AT Command Set

12.6 AT+CMGR

s

m

obile

MC55_ATC_V01.05

Page 321 of 469

2/10/04

Confidential / Released

12.6

AT+CMGR Read SMS messages

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

Advertising