Neo_M660 AT Command Set
Copyright © Neoway Technology Co., Ltd
29
AT+CNMI?<CR>
Parameter
<mode>: Set the instruction mode after receiving SMS messages.
0: SMS instruction codes can be saved in the buffer of the module. If the TA is full, the old
codes can be saved in other place or replaced with new codes.
1: When the module is online, it will discard saved SMS instruction codes and reject new
codes. In other situations, the codes are displayed on the end device.
2: When the module is online, the SMS instruction codes are saved in the buffer of the
module. After the connection is released, the SMS instruction codes are output through
UART. In other situations, codes are directly displayed on the end device.
3: When the module is online, SMS instruction codes are transmitted with other data and
displayed on the end device.
<mt>: Set the format of the new SMS instruction codes. The default value is 0.
0: SMS instruction codes will not be sent to the end device.
1: The format of the new SMS instruction codes is
+CMTI: "MT"
,
<index>
. The SMS
message is stored rather than directly displayed.
2: The format of the new SMS instruction codes is
+CMT :<oa>,<scts>,<tooa>,<lang>,<encod>,<priority>[,<cbn>],<length><CR><LF>
<data>
(text mode). SMS messages are directly displayed rather than stored.
3: Use the report codes defined by
<mt>=2
to transmit SMS instruction codes to the end
device. The SMS instruction codes in other modes are the same as that of
<mt>=1
.
<bm>: Set the format of the new cell broadcast codes. The default value is
1
.
0: Not send the instruction information of new cell broadcast. The cell broadcast will not
be stored.
1: The cell broadcast instruction code is
+CBMI:" BC" ,<index>
and the cell broadcast is
stored.
2: The format of the new cell broadcast instruction codes is
<oa>,[<alpha>,]<scts>[,<tooa>,<length>] <CR><LF><data>
(text mode). The cell
broadcast will be directly displayed rather than stored.
3: The CBM of the third-type information will be displayed on the end device using the
report codes defined by
<bm>=2
. For other type SMS messages that support CBM storage,
the instruction codes are the same as that of
<bm>=1
.
<ds>: Report status of SMS message sending. The default value is 1.
0: No status report of SMS message sending
1: The format of the SMS sending status report is
+CDS :<fo>,<mr>,[<ra>],[<tora>],<scts>, <dt>,<st>
(text mode).
<bfr>: The default value is 0.
0: When
<mode>
is set to
1
or
2
, codes defined by this command and stored in TA will be
sent to TE. The module will return
OK
before transmitting the codes.
1: When
<mode>
is set to
1
or
2
, the codes defined by this command and stored in TA will
be cleared.
Return
Value
See the Example.