Rainbow Electronics GM862-QUAD-PY User Manual

Page 219

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 219 of 434

+CMGS - Send Message

SELINT 2


Note: the DCD signal shall be in ON state while text is entered.

Note: the echoing of entered characters back from the TA is controlled
by echo command E

To send the message issue Ctrl-Z char (0x1A hex).
To exit without sending the message issue ESC char (0x1B hex).

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

+CMGS: <mr>

where

<mr> - message reference number; GSM 03.40 TP-Message-

Reference in integer format.


Note: if message sending fails for some reason, an error code is
reported.

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: it is possible to send a concatenation of at most 10 SMs; the
maximum number of chars depends on the <dcs>: 1530 chars if GSM
03.38 default alphabet is used, 1340 chars if 8-bit is used, 670 chars if
UCS2 is used.

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.

#

S

M

S

M

O

D

E

=
0



#

S

M

S

M

O

D

E

=
0



Reference GSM

07.05

(#SMSMODE=1)

#

S

M

S

M

O

D

E

=
1

(PDU Mode)
AT+CMGS=
<length>

(PDU Mode)

Execution command sends to the network a message.

Parameter:
<length> - length of the PDU to be sent in bytes (excluding the SMSC

address octets).

7..164

After command line is terminated with <CR>, the device responds
sending a four character sequence prompt:

Advertising