Rainbow Electronics GM862-QUAD-PY User Manual

Page 220

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

+CMGS - Send Message

SELINT 2

<CR><LF><greater_than><space> (IRA 13, 10, 62, 32)

and waits for the specified number of bytes.

Note: the DCD signal shall be in ON state while PDU is given.

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

Note: the PDU shall be hexadecimal format (each octet of the PDU is
given as two IRA character long hexadecimal number) and given in
one line.

Note: when the length octet of the SMSC address (given in the PDU)
equals zero, the SMSC address set with command +CSCA is used; in
this case the SMSC Type-of-Address octet shall not be present in the
PDU.

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.


#

S

M

S

M

O

D

E

=
1



#

S

M

S

M

O

D

E

=
1



#

S

M

S

M

O

D

E

=
1



#

S

M

S

M

O

(Text Mode)
AT+CMGS=<da>
[,<toda>]

(Text Mode)

Execution command sends to the network a message.

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

selected character set (see +CSCS).

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

After command line is terminated with <CR>, the device responds

Advertising