
Chapter 14 – Short Message Service Control Commands
New Message Indication +CNMI
Description:
Syntax:
This command selects the procedure for message reception from the network. Note: Cell
Broadcast messages and Status Report messages are not stored.
Command syntax: AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>
Command
AT+CNMI=2,1,0,0,0
Possible Responses
OK
Note: <mt>=1
AT+CMTI : “MT”,1
Note: message received
AT+CNMI=2,2,0,0,0
OK
Note: <mt>=2
+CMT : “8585551212”,”98/10/01,12 :30 00”,
129,1,2,0,5<CR><LF>
Hello
Note: message received
AT+CNMI=2,0,0,1,0
Note: <ds>=1
AT+CMGS=”8585551212”<CR>
Message to send <ctrl-Z>
Note: Send a message in text mode
OK
+CMGS : 7
OK
Note: Successful transmission
+CDS : 2, 116, ”8585551212”, 129, “98/10/01,12 :30
:07”, “98/10/01 12 :30 :08”, 32768
Note: message was correctly delivered
Values
<mode>
2
<mt>
0
1
2 or 3
<bm>
0
The <mode> value controls the processing of unsolicited result codes. Only mode 2
is supported at this time.
Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them
to the TE after reservation. Otherwise forward the messages directly to the TE
without storing.
Sets the result code indication routing for SMS-DELIVERs. Default is 1.
No SMS-DELIVER indications are routed.
SMS-DELIVERs are routed using unsolicited code: +CMTI: “MT”, <index>
SMS-DELIVERs (except class 2 messages) are routed using unsolicited code:
+CMT: <oa>, <scts>, <tooa>, <lang>, <encod>,
<priority>[,<cbn>],<length><CR><LF><data> (text mode)
Sets the result code indication routing for received Cell Broadcast Messages. Default
is 0.
No CBM indications are routed to the TE. The CBMs are not stored.
2 or 3 New CBMs are routed directly to the TE using unsolicited result code (format
matches that of +CBM: <oa>, [<alpha>,] <scts> [,<tooa>, <length>]
<CR><LF><data> (text mode)
<ds>
0
1
<bfr>
0
1
Sets the routing for SMS-STATUS-REPORTs. Default is 0.
No SMS-STATUS-REPORTs are routed.
SMS-STATUS-REPORTs are routed using unsolicited code: +CDS: <fo>, <mr>,
[<ra>] , [<tora>], <scts>, <dt>, <st> (Text mode)
Since <mode> cannot be changed, this parameter is no longer used, but these
values are still accepted for legacy purposes. Default is 0.
TA buffer of unsolicited result codes defined within this command is flushed to the TE
when <mode> 1…3 is entered (OK response shall be given before flushing the
codes)
TA buffer of unsolicited result codes defined within this command is cleared when
<mode> 1…3 is entered.
Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide (PN S000478C)
75