beautypg.com

Westermo GS-01 User Manual

Page 45

background image

45

6195-2201

+CMSS – Send Message From Storage

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

Command syntax:

AT+CMSS=[, [,] ]

Response syntax:

+CMSS:
or +CMS ERROR: if sending fails

If new recipient address 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 Write a message in text mode

Today is my birthday

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:

Successful Transmission

OK

Application to GSM

AT+CMSS=5, 0680654321

Send the message 5 to a different
GSM

GSM to application

+CMSS:

Successful Transmission

OK

+CSMP – Set Text Mode Parameters

This command shall be used to select value for the , , the .
The application must send the following command:

Command syntax:

AT+CSMP=, , ,

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 -> field is not present

b4=1 & b3=0 -> 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 and the same as the previously submitted