4 select new messages indication behavior, At+cnmi=<mode>,<mt>,<bm>,<ds>,<bfr><cr – Rainbow Electronics GE863-GPS low power User Manual
Page 61

GE863-GPS Software User Guide
1vv0300724 Rev. 3 - 05/07/07
Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved
page 61 of 122
For example:
1- Let's assume your desired SMSC number is +39335123456 (stored in international format):
command:
AT+CSCA=+39335123456,145<cr>
response:
OK
3.5.1.4 Select New Messages indication behavior
When the device receives a new message a unsolicited indication is generated, this indication may be
sent to the DTE, buffered if the DTE is busy (for example during a data call) or discarded.
To set the desired behavior:
•
send command
AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr><cr>
where:
Set command selects the behaviour of the device on how the receiving of new messages from the
network is indicated to the DTE.
Parameter:
<mode> - unsolicited result codes buffering option
0 - Buffer unsolicited result codes in the T A. If T A 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 T A in case the DTE is busy and flush them to the TE after
reservation. Otherwise forward them directly to the TE.
3 - if <mt> is set to 1 an indication via 100 ms break is issued when a SMS is received while the
module is in GPRS online mode. It enables the hardware ring line for 1 s. too.
<mt> - result code indication reporting for SMS-DELIVER
0 - No SMS-DELIVER indications are routed to the TE.
1 - If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed to the TE using
the following unsolicited result code:
+CMTI: <memr>,<index>
where:
<memr> - memory storage where the new message is stored
"SM"
"ME"
<index> - location on the memory where SM is stored.
2 - SMS-DELIVERs (except class 2 messages and messages in the message waiting indication
group) are routed directly to the TE using the following unsolicited result code:
(PDU Mode)
+CMT: <alpha>,<length><CR><LF><pdu>
where: