> 2.11.7 | Receiving status report

> This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropriate buttons on the toolbar.

> 2.11.7.1 | Description

> This chapter describes all the steps required to obtain a status report. There are two ways to activate the presentation of status reports:

> • | When using PDU mode, status reports can be enabled with the first octet of the PDU.

> • | When using text mode, you can switch it on with the first parameter (<fo>) of AT+CSMP (see Section 2.11.1 “SMS initialization”).

> To be notified when a status report is received, activate the URC presentation with AT+CNMI as described in Section 2.11.6 “Receiving SMS”.

> 2.11.7.2 | Used AT commands

> Command | Explanation
> AT+CMGR | Read SMS message
> AT+CNMA | New SMS message acknowledge to ME/TE, only phase 2+

> For further details about the commands see [2].

> 2.11.7.3 | Flow Chart

> Figure 84: Receiving status report

> 2.11.7.4 | Hints

> Not applicable.

> 2.11.7.5 | Example

> ***************************************
> Comment: Receiving status report
> ***************************************
> ***************************************
> Comment: Enable URC presentation (status report is routed directly to TE)
> ***************************************
> Subscr 1 Send: AT+CNMI=2,1,0,1
> Subscr 1 Receive: AT+CNMI=2,1,0,1
> Subscr 1 Receive: OK
> ***************************************
> Comment: Set text mode Parameter (enable status report)
> ***************************************
> Subscr 1 Send: AT+CSMP=49,200,0,0
> Subscr 1 Receive: AT+CSMP=49,200,0,0
> Subscr 1 Receive: OK
> ***************************************
> Comment: Send SMS
> ***************************************
> Subscr 1 Send: AT+CMGS=+491797782631
> Subscr 1 Receive: AT+CMGS=+491797782631
> Subscr 1 Receive: >
> Subscr 1 Send: Test SMS
> Subscr 1 Receive: Test SMS
> Subscr 1 Receive:
> Subscr 1 Receive: +CMGS: 121
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> Subscr 1 Receive:
> Subscr 1 Receive: +CDS: 6,121,,,"03/08/14,17:14:56+08","03/08/14,17:14:57+08",48
> ***************************************
> Comment: Acknowledge status report
> ***************************************
> Subscr 1 Send: AT+CNMA
> Subscr 1 Receive: AT+CNMA
> Subscr 1 Receive: OK
> ***************************************
> Comment: Enable URC presentation (indication of the memory location is routed to TE)
> ***************************************
> Subscr 1 Send: AT+CNMI=2,1,0,2
> Subscr 1 Receive: AT+CNMI=2,1,0,2
> Subscr 1 Receive: OK
> ***************************************
> Comment: Send SMS
> ***************************************
> Subscr 1 Send: AT+CMGS=+491797782631
> Subscr 1 Receive: AT+CMGS=+491797782631
> Subscr 1 Receive: >
> Subscr 1 Send: Test SMS 2
> Subscr 1 Receive: Test SMS 2
> Subscr 1 Receive:
> Subscr 1 Receive: +CMGS: 122
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> Subscr 1 Receive:
> Subscr 1 Receive: +CDSI: "SM",10
> ***************************************
> Comment: Read status report
> ***************************************
> Subscr 1 Send: AT+CMGR=10
> Subscr 1 Receive: AT+CMGR=10
> Subscr 1 Receive: +CMGR: "REC UNREAD",6,122,,,"03/08/14,17:15:08+08","03/08/14,17:15:10+08",48
> Subscr 1 Receive:
> Subscr 1 Receive: OK