SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
9 Short Messages Service
Page 70 of 307
Type
Syntax
Response
Example
OK
Test
AT+CRES=?
+CRES: (list of supported <profile>s)
OK
+CRES: (0)
OK
9.6.3 Defined values
Parameter
Type
Description
<profile>
Number
Specific SMS profile index from where to read the message service settings
9.7 New message indiCNMI
+CNMI
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
partial
Yes
No
-
9.7.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 [
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.7.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