beautypg.com

Westermo GDW-11 User Manual

Page 97

background image

Short Messages commands 97

6615-2220

+CMGS – Send message

Description:

The

field is the address of the terminal to which the message is sent. To send
the message, simply type, character (ASCII 26). The text can contain all existing
characters except and (ASCII 27).
This command can be aborted using the character when entering text.
In PDU mode, only hexadecimal characters are used (‘0’. . .’9’,’A’. . .’F’).

Syntax in text mode:

AT+CMGS= [ , ]

text is entered

Syntax in PDU mode:

AT+CMGS=

PDU is entered

Parameters:

See table in beginning of section “short messages commands”

NOTE:

The message reference that is returned to the application is allocated by the prod-
uct. This number begins with 0 and is incremented by one for each outgoing message
(successful and failure cases); it is cyclic on one byte (0 follows 255).
This number is not a storage number – outgoing messages are not stored.

Command example

Possible responses

Note

AT+CMGS=”

>

Send a message

+33146290800”

in text mode

Please call me soon, Fred.

+CMGS:

OK

AT+CMGS=

>

Send a message

in PDU mode

+CMGS:

OK

This manual is related to the following products: