Extended AT Commands Manual
Page 39 of 70
2009-06-25
,<dcs>,[<vp>], <sca>,<tosca>,<length>]
<CR><LF><data>
if text mode (
+CMGF=1
), command successful and SMS-STATUS-
REPORT:
+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
if text mode (
+CMGF=1
), command successful and SMS-COMMAND:
+CMGR:
<stat>,<fo>,<ct>
[,<pid>,[<mn>],[<da>],[<toda>],<length>
<CR><LF><cdata>]
if text mode (
+CMGF=1
), command successful and CBM storage:
+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
otherwise:
+CMS ERROR: <err>
+CMGR=?
8.1.1.13.
New Message Acknowledgement to ME/TA +CNMA
Execution command confirms correct reception of a new message (SMS-DELIVER or SMS-
STATUS-REPORT) which is routed directly to the TE. This acknowledgement command (causing
ME to send RP-ACK to the network) shall be used when
+CSMS
parameter
<service>
equals 1. TA
shall not send another
+CMT
or
+CDS
result code to TE before previous one is acknowledged.
If ME does not get acknowledgement within required time (network timeout), ME should respond
as specified in 3GPP TS 24.011 to the network. ME/TA shall automatically disable routing to TE
by setting both
<mt>
and
<ds>
values of
+CNMI
to zero.
If command is executed, but no acknowledgement is expected, or some other ME related error
occurs, final result code
+CMS ERROR: <err>
is returned. See chapter Message Service Failure
Result Code for a list of
<err>
values.
NOTE:
In case that a directly routed message must be buffered in ME/TA (possible when
+CNMI
parameter
<mode>
equals 0 or 2) or AT interpreter remains too long in a state where result codes cannot be sent to
TE (e.g. user is entering a message using
+CMGS
), acknowledgement (RP-ACK) must be sent to the
network without waiting
+CNMA
command from TE. Later, when buffered result codes are flushed to TE,
TE must send
+CNMA
acknowledgement for each result code. In this way, ME/TA can determine if
message should be placed in non-volatile memory and routing to TE disabled (
+CNMA
not received).
Refer command
+CNMI
for more details how to use
<mode>
parameter reliably.
Mandatory when
<service>
value 1 of command Select Message Service
+CSMS
is supported.
Table 11. +CNMA action command syntax
Command
Possible response(s)
If
text mode
(
+CMGF=1
):
+CNMA
+CMS ERROR: <err>
+CNMA=?