Rainbow Electronics MG260 User Manual

Page 75

Advertising
background image

FLYFOT-MG260-MODULE

Page: 75 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

Syntax :

Command syntax : AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>
Command

Possible responses

AT+CNMI=2,1,0,0,0 (default value)
Note : <mt>=1

OK
Note: message received and saved in sim, then
route the SMS-DELIVERS with unsolicited
result codes:

+CMTI: SM, <index>

AT+CNMI=2,2,0,0,0
Note : <mt>=2

OK
Note: message received, then route the
SMS-DELIVERS with

unsolicited result codes:

+CMT: [<alpha>,] <length> <CR> <LF> <pdu>

AT+CNMI=2,0,0,1,0
Note : <ds>=1

OK
Note: SMS-STATUS-REPORTS are routed
using unsolicited code:
+CDS : <length> <CR> <LF> <pdu>

AT+CNMI=2,0,0,0,0
Note : <ds>=0

OK
Note: No SMS-STATUS-REPORTs are routed.

at+cnmi?
Note : Read

+CNMI: 2,2,0,1,0

at+cnmi=? +CNMI:

(0-3),(0-3),(0-3),(0-1),(0,1)

Defined values :

<mode> : controls the processing of unsolicited result codes
0: Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered
in some other place or the oldest indications may be discarded and replaced with the new received
indications
1: Discard indication and reject new received message unsolicited result codes when TA-TE link is
reserved. Otherwise forward them directly to the TE
2: Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them to the TE after
reservation. Otherwise forward them directly to the TE
3: Forward unsolicited result codes directly to the TE. TA-TE link specific in hand used to embed result
codes and data when TA is in on-line data mode

Important note: only <mode>=2 is supported.

Any other value for <mode> (0,1 or 3) is accepted (return code will be OK), but the processing of
unsolicited result codes will be the same as with<mode>=2.

<mt> : sets the result code indication routing for SMS-DELIVER indications.
Default is 1.

0: No SMS-DELIVER indications are routed.

1: SMS-DELIVERs are routed using unsolicited code : +CMTI: “SM”,<index>

Advertising