User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
9Short Messages Service
Page 81 of 401
9.7.4Notes
SARA-R4 / SARA-N4
The <show> parameter is mandatory in the set command.
9.8New message indication +CNMI
+CNMI
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial Yes Profile No - +CMS Error
9.8.1Description
Selects the procedure to indicate the reception of a new SMS in case of the MT is active (the DTR signal is ON).
If the MT is inactive (the DTR signal is OFF), the message reception should be done as specified in 3GPP TS
23.038 [7].
The +UCMT URC notifies the SMS-DELIVER status for 3GPP2 Mobile Terminated SMSes; it is equivalent to
+CMT but valid only for 3GPP2 SMS (i.e. 3GPP2 SMS over IMS received on Verizon MNO).
9.8.2Syntax
Type Syntax Response Example
Set AT+CNMI=[<mode>[,<mt>[,<bm>[,
<ds>[,<bfr>]]]]]
OK AT+CNMI=1,1
OK
Read AT+CNMI? +CNMI: <mode>,<mt>,<bm>,<ds>,
<bfr>
OK
+CNMI: 0,0,0,0,0
OK
Test AT+CNMI=? +CNMI: (list of supported <mode>s),
(list of supported <mt>s),(list of
supported <bm>s),(list of supported
<ds>s),(list of supported <bfr>s)
OK
+CNMI: (0-2),(0-3),(0-3),(0-2),(0-1)
OK
URC +CMTI: <mem>,<index> +CMTI: "SM",5
Text mode (+CMGF=1):
+CMT: <oa>,[<alpha>],
<scts>[,<tooa>,<fo>,<pid>,
<dcs>,<sca>,<tosca>,
<length>]<CR><LF><data>
+CMT: "+393475234652",,"14/11/21,
11:58:23+01"
Hello world
URC
PDU mode (+CMGF=0):
+CMT: ,<length><CR><LF><pdu>
Text mode (+CMGF=1):
+UCMT: <message_id>,
<oa>,<scts>,[<priority>],
[<privacy>],[<callback_number>],
<encoding>,[<status>],[<num_
sms>,<part>,<reference>],
<length><CR><LF><text>
+UCMT: 1,+1231241241,"18:02:28+0
8",,,,2,,,,,6
Hello!
URC
PDU mode (+CMGF=0):
+UCMT: <pdu_
length><CR><LF><pdu>
URC +CBMI: <mem>,<index> +CBMI: "BM",48
Text mode (+CMGF=1):
+CBM: <sn>,<mid>,<dcs>,<page>,
<pages><CR><LF><data>
+CBM: 271,1025,1,1,1
The quick brown fox jumps over the
lazy dog 0123456789
URC
PDU mode (+CMGF=0):
+CBM: <length><CR><LF><pdu>
URC +CDSI: <mem>,<index> +CDSI: "MT",2