User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
9Short Messages Service
Page 75 of 308
Parameter Type Description
<pages> Number 3GPP TS 23.041 [9] CBM Page Parameter bits 0-3 in integer format
<pdu> String Protocol data unit: each 8-bit octet is presented as two IRA character long
hexadecimal numbers, e.g. octet with integer value 42 is presented to TE as two
characters 2A (IRA 50 and 65)
9.9New message acknowledgement to MT +CNMA
+CNMA
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No No < 150 s +CMS Error
9.9.1Description
Confirms the reception of a new message (SMS-DELIVER or SMS-STATUS-REPORT) which is routed directly
to the TE (see the +CNMI command). This acknowledgement command shall be used when +CSMS parameter
<service> equals 1. The MT shall not send another +CMT or +CDS (see the +CNMI command) unsolicited result
codes to the TE before the previous one is acknowledged. If the MT does not get acknowledgement within
required time (network timeout), the MT should respond as specified in 3GPP TS 24.011 [13] to the network.
The MT shall automatically disable routing to the TE by setting both <mt> and <ds> values of +CNMI to zero.
If the command is executed, but no acknowledgement is expected, or some other MT related error occurs, the
final result code +CMS ERROR: <err> is returned.
In PDU mode, it is possible to send either positive (RP-ACK) or negative (RP-ERROR) acknowledgement to the
network. The <n> parameter defines which one will be sent. Optionally (when <length> is greater than zero) an
acknowledgement TPDU (SMS-DELIVER-REPORT for RP-ACK or RP-ERROR) may be sent to the network. The
entering of PDU is done similarly as specified in +CMGS command, except that the format of <ackpdu> is used
instead of <pdu> (i.e. SMSC address field is not present). The PDU shall not be bounded by double quotes.
9.9.2Syntax
Type Syntax Response Example
Text mode (+CMGF=1):
AT+CNMA
OK AT+CNMA
OK
Set
PDU mode (+CMGF=0):
AT+CNMA[=<n>[,<length> [PDU is
given<Ctrl-Z>/<ESC>]]]
OK AT+CNMA=1,5
>0007000000 <Ctrl-Z>
OK
Text mode (+CMGF=1):
OK
OKTest AT+CNMA=?
PDU mode (+CMGF=0):
+CNMA: (list of supported <n>s)
OK
+CNMA: (0-2)
OK
9.9.3Defined values
Parameter Type Description
<n> Number
0: the command operates similarly as defined for the text mode
1: sends RP-ACK (or buffered result code received correctly)
2: sends RP-ERROR (if PDU is not given, ME/TA shall send SMS-DELIVER-REPORT
with 3GPP TS 23.040 [8] TP-FCS value set to 'FF' (unspecified error cause))
<length> Number PDU's length in octets without the Service Center's address