2 send message from storage - +cmss – Rainbow Electronics GM862-QUAD-PY User Manual

Page 222

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 222 of 434

+CMGS - Send Message

SELINT 2

Note: it is possible to send a concatenation of at most 10 SMs; the
maximum number of chars depends on the <dcs>: 1520 chars if GSM
03.38 default alphabet is used, 1330 chars if 8-bit is used, 660 chars if
UCS2 is used. If entered text is longer than this maximum value an
error is raised

AT+CMGS=?

Test command resturns the OK result code.

Note

To avoid malfunctions is suggested to wait for the +CMGS: <mr> or
+CMS ERROR: <err> response before issuing further commands.

Reference GSM

07.05

3.5.5.4.2 Send Message From Storage - +CMSS

+CMSS - Send Message From Storage

SELINT 0 / 1

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

Execution command sends to the network a message which is already
stored in the <memw> storage (see +CPMS) at the location <index>.

Parameters:
<index> - location value in the message storage <memw> of the message

to send

<da> - destination address, string type represented in the currently selected

character set (see +CSCS); if it is given it shall be used instead of the
one stored with the message.

<toda> - type of destination address
129 - number in national format
145 - number in international format (contains the "+")

If message is successfully sent to the network then the result is sent in the
format:

+CMSS: <mr>
where:
<mr> - message reference number.

If message sending fails for some reason, an error code is reported:

+CMS ERROR:<err>

Note: to store a message in the <memw> storage see command +CMGW.

Note: care must be taken to ensure that during the command execution,
which may take several seconds, no other SIM interacting commands are
issued.

Note

To avoid malfunctions is suggested to wait for the +CMSS: <mr> or +CMS
ERROR: <err>
response before issuing further commands.

Reference GSM

07.05

Advertising