Westermo GS-01 User Manual

Page 39

Advertising
background image

39

6195-2201

+CSDH – Show text mode parameters

This commands gives more informations in text mode result codes. These informations
are in brackets in commands +CMTI, +CMT, +CDS, +CMGR, +CMGL.

Application to GSM

AT+CSDH?

Current value

GSM to application

+CSDH: 0

Do not show header values

OK

+CNMI – New message indication

This command selects the procedure how receiving the message from the network.
The application must send the following command:

Command syntax:

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

<mode>: controls the processing of unsolicited result codes

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 than for <mode>=2.

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 band used to embed result codes and data
when TA is in on-line data mode.

<mt>: sets the result code indication routing for SMS-DELIVERs. Default is 0.

0

No SMS-DELIVER indications are routed.

1

SMS-DELIVERs are routed using unsolicited code:
+CMTI: « SM », <index>

2

SMS-DELIVERs (except class 2 messages) are routed using
unsolicited code:
+CMT: [<alpha>,] <length> <CR> <LF> <pdu>
(PDU mode)
or
+CMT: <oa>,[<alpha>,] <scts> [,<tooa>, <fo>, <pid>, <dcs>,
<sca>,<tosca>, <length>] <CR><LF><data>
(text mode)

3

Class 3 SMS-DELIVERS are routed directly using code in
<mt>=2 ;
Message of other classes result in indication <mt>=1

Advertising