Nokia 6090 AT Command Set 34
+CNMI New Message Indications to TE
This command selects the procedure for indicating the reception of new messages
from the network to the DTE. For a detailed description of the syntax of indication
responses, see Result Codes at page 77. (GSM 07.05)
Syntax:
AT+CNMI=[<mode> [,<mt> [,
<bm> [,<ds> [,<bfr>]]]]]
Select indication procedure.
AT+CNMI?
Query current setting.
Response is +CNMI: <mode>, <mt>,
<bm>, <ds>, <bfr>.
AT+CNMI=?
Show valid values. Response is +CNMI:
lists of supported (<mode>'s), (<mt>'s),
(<bm>'s), (<ds>'s), (<bfr>'s).
Parameters:
<mode>
0 buffer all indications
1 no indications when the DTE-DCE link is reserved (on-line data mode)
2 buffer indications when the DTE-DCE link is reserved, (e.g. in on-line
data mode), and flush them to the DTE after reservation has ended
<mt>
0 no received message indications are routed to the DTE
1 indication of received message is routed to the DTE using a result
code +CMTI
2 received messages (except class 2 messages, which result only in
+CMTI indication) are routed directly to the DTE using a result code
+CMT
3 class 3 received messages are routed directly to the DTE using a
result code +CMT and messages of other classes using a result
indication +CMTI
<bm>
0 no cell broadcast indications are routed to the DTE
2 cell broadcast messages are routed directly to the DTE using a result
code +CBM
3 class 3 CBMs are routed directly to TE using unsolicited result codes
defined in <bm>=2
<ds>
0 no status reports are routed to the DTE
1 status reports are routed to the DTE using a result code +CDS
2 status reports indication of the memory location is routed to the TE
using a result code +CDSI
<bfr>
0 buffer of indications is flushed to the DTE when <mode> 1 or 2 is
entered
1 buffer of indications is cleared when <mode> 1 or 2 is entered
Examples:
To show an incoming SMS on an external Display:
AT+CMGF=1
AT+CNMI=2,1,0,1,0
+CMTI: "SM",1 //received SMS on the 1
st
SMS-location on the SIM card
To show the content of the SMS:
AT+CMGF=1 // Switch to Textmode
AT+CNMI=2,1,0,1,0 // New Message Indication to Terminal Equipment
// New SMS Delivery Indication
AT+CMGR=<index >