Westermo GS-01 User Manual

Page 45

Advertising
background image

45

6195-2201

+CMSS – Send Message From Storage

This command sends message with location value <index> from storage to the network.

Command syntax:

AT+CMSS=<index>[,<da> [,<toda>] ]

Response syntax:

+CMSS: <mr>
or +CMS ERROR: <err> if sending fails

If new recipient address <da> is given, it will be used instead of the one stored with the
message.

Example of use in Text Mode:

Application to GSM AT+CMGW=0660123456<CR> Write a message in text mode

Today is my birthday<ctrl-Z>

GSM to application

+CMGW: 5

Message stored in index 5

OK

Application to GSM AT+CMSS=5

Send the message 5

GSM to application

+CMSS: <mr>

Successful Transmission

OK

Application to GSM

AT+CMSS=5, 0680654321

Send the message 5 to a different
GSM

GSM to application

+CMSS: <mr>

Successful Transmission

OK

+CSMP – Set Text Mode Parameters

This command shall be used to select value for the <vp>, <pid>, the <dcs>.
The application must send the following command:

Command syntax:

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

<fo> byte is composed of 6 different fields:

b7

b6

b5

b4

b3

b2

b1

b0

RP

UDHI SRR

VPF

VPF

RD

MTI

MTI

RP: Reply Path, not used in text mode.

UDHI: User Data Header Information, b6=1 if the beginning of the User Data field con-
tains 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 submitted

Advertising