3 add sms service centre number (only if required), At+csca=<number>,<type><cr, 4 select new messages indication behavior – Rainbow Electronics GM862-QUAD-PY User Manual

Page 58: At+cnmi=<mode>,<mt>,<bm>,<ds>,<bfr><cr

Advertising
background image





GM862-QUAD / PY Software User Guide

1vv0300747 Rev. 3 - 10/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 58 of 96

3.5.1.3 Add SMS Service Centre number (only if required)

If your previously check for SMSC returned an empty field:
+CSCA: ,129
or if the SMSC number stored does not correspond to the desired one, then the new number has to be
stored. In this way the previously stored number will be overwritten.

send command

AT+CSCA=<number>,<type><cr>

where:
<number> is the desired SMSC number
<type> is the SMSC number type:

145 – international numbering scheme (number begins with "+")
129 – national numbering scheme

wait for

OK

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.

Advertising