MC55 AT Command Set

12.6 AT+CMGR

s

mobile

12.6AT+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

MC55_ATC_V01.05

Page 321 of 469

2/10/04

Confidential / Released

 

 

Page 321
Image 321
Siemens MC55 manual 12.6 AT+CMGR Read SMS messages, At+Cmgr=?, +CMGR stat, fo, mr, ra, tora , scts, dt, st data