Send Message From Storage +Cmss; Set Text Mode Parameters +Csmp - Multitech MMCModem GPRS (MTMMC-G) Reference Manual

Wireless gsm/gprs modems at commands reference guide
Table of Contents

Advertisement

Send Message from Storage +CMSS

Description:
This command sends a message stored at location value <index>.
Values:
<index>
<da>
<toda>
<mr>
Syntax:
Command syntax: AT+CMSS=<index>[,<da> [,<toda>] ]
Response syntax: +CMSS: <mr> or +CMS ERROR: <err> if sending fails
If a new recipient address <da> is given, it will be used instead of the one stored with the message.
Command
AT+CMGW=0660123456<CR>
Today is my birthday
AT+CMSS=5, 0680654321
Note: Send the message 5 to a different destination number

Set Text Mode Parameters +CSMP

Description:
This command selects values for <vp>, <pid>, and <dcs>.
Values:
<fo>
<pid>
<dcs>
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
Location of stored message
Desination address
Type of destination address
Message reference
byte comprises 6 different fields:
b7
b6
b5
RP
UDHI
SRR
Note:
<fo> must be entered in DECIMAL format. Hexadecimal format would lead to
irrelevant results
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 that has the same <mr> and <da> as the previously submitted 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)
In text mode <vp> is only coded in "relative" format. The default value is 167 (24 hours). This
means that one byte can describe different values:
VP value
Validity period value
0 to 143
(VP + 1) x 5 minutes (up to 12 hours)
144 to 167
12 hours + ( (VP – 143) x 30 minutes )
168 to 196
(VP – 166) x 1 day
197 to 255
(VP – 192) x 1 week
This is used to indicate the higher layer protocol being used or indicates interworking with a
certain type of telematic device. For example, 0x22 is for group 3 telefax, 0x24 is for voice
telephone, 0x25 is for ERMES (European Radio Messaging System).
This is used to determine the way the information is encoded. Compressed text is not
supported. Only GSM default alphabet, 8 bit data and UCS2 alphabet are supported.
Chapter 9 – Short Messages Commands
Possible responses
+CMGW: 5
OK
Note: Message stored with index 5
AT+CMSS:<mr>
OK
Note: Successful transmission
b4
b3
b2
b1
VPF
RD
b0
MTI
72

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents