Westermo GD-01 User Manual

Page 68

Advertising
background image

68

6196-2220

+CSMP – Set Text Mode Parameters

Description:

This command is used to select a value for <vp>, <pid>, and <dcs>.

Syntax:

AT+CSMP=<fo>, <vp>, <pid>,<dcs>

Command example

Possible responses

Note

AT+CSMP?

+CSMP: 0,0,0,0

Current values, result no

OK

validity period <dcs>=
PCCP437 alphabet
(8 bits ‡ 7 bits)

AT+CMPS=17,23,64,244

OK

<vp> = 23 (2 hours,
relative format),
<dcs> = GSM 8 bits
alphabet.

Defined values:

The <fo> byte comprises 6 different fields :

b7 b6

b5

b4

b3

b2

b1

b0

RP

UDHI

SRR

VPF

RD

MTI

RP:

Reply Path, not used in text mode.

UDHI:

User Data Header Information, b6=1 if the beginning of
the User Data field contains a Header in addition to the
short message.This option is not supported in +CSMP
command, but can be used in PDU mode (+CMGS).

SRR:

Status Report Request, b5=1 if a status report is
requested.This mode is supported.

VPF:

Validity Period Format
b4=0 & b3=0 -> <vp> field is not present
b4=1 & b3=0 -> <vp> field is present in relative format
Others formats (absolute & enhanced) are not supported.

RD:

Reject Duplicates, b2=1 to instruct the SC to reject an
SMS-SUBMIT for an SM still held in the SC which has the
same <mr> and the same <da> as the previously submit-
ted SM from the same <oa>.

MTI:

Message Type Indicator
b1=0 & b0=0 -> SMS-DELIVER
(in the direction SC to MS)
b1=0 & b0=1 -> SMS-SUBMIT
(in the direction MS to SC)

B A C K

Advertising