Specifications

Chapter 12 – Short Message Service (SMS) Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 223
12.11 AT+CNMI New Short Message Indication
Description: The write command selects the procedure how the receipt of new short messages from the
network is indicated to the TE when TE is active; e.g., the DTR signal is ON. If TE is inactive
(e.g., DTR signal is OFF), message receiving should be done as specified in GSM 03.38. If the
DTR signal is not available or the state of the signal is ignored (V.250 command AT&D), reliable
message transfer can be assured by using AT+CNMA acknowledgment procedure.
The rules <mt>=2 and <mt>=3 for storing received messages are possible only if phase 2+
compatibility is activated with AT+CSMS=1. The parameter <ds>=1 is only available in phase 2+.
Syntax: Test Command: AT+CNMI=?
Response: +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
Read Command: AT+CNMI?
Response: +CNMI: <mode>, <mt>, <bm>, <ds>, <bfr>
OK
Write Command: AT+CNMI=[<mode>][, <mt>][, <bm>][, <ds>][, <bfr>]
Response: OK
ERROR
+CMS ERROR: <err>
Unsolicited Result Codes:
URC 1
<mt>=1:
+CMTI: <mem3>, <index>
Indicates that new message has been received
URC 2
<mt>=2 (PDU mode enabled):
+CMT: <length><CR><LF><pdu>
Indicates that new message has been received
URC 3
<mt>=2 (text mode enabled):
+CMT: <oa>, <scts>[, <tooa>, <fo>, <pid>, <dcs>, <sca>, <tosca>, <length>]<CR><LF><data>
Indicates that new message has been received
URC 4
<bm>=2 (PDU mode enabled):
+CBM: <length><CR><LF><pdu>
Indicates that new cell broadcast message has been received
URC 5
<bm>=2 (text mode enabled):
+CBM: <sn>, <mid>, <dcs>, <page>, <pages><CR><LF><data>
Indicates that new cell broadcast message has been received
URC 6
<ds>=1 (PDU mode enabled):
+CDS: <length><CR><LF><pdu>
Indicates that new SMS status report has been received
URC 7
<ds>=1 (text mode enabled):
+CDS: <fo>, <mr>[, <ra>][, <tora>], <scts>, <dt>, <st>
Indicates that new SMS status report has been received
URC 8
<ds>=2:
+CDSI: <mem3>, <index>
Indicates that new SMS status report has been received