7 at+cmgs send message – Sony Ericsson TT4031 (SE-GM29) User Manual

Page 195

Advertising
background image

Owner’s Manual

Rev 1.0

Page 195 of 195

<toda> Description

String type

GSM 04.11 TP-Destination- Address Type-of-Address

octet in integer format (when first character of <da> is

+(IRA 43) default is 145, otherwise default is 129

Note!_

<index> Description

Integer type

Value in the range of location numbers supported by the

associated memory

Note!_

13.7 AT+CMGS Send Message

PDU Mode

Description Command Possible

Responses

Send message

AT+CMGS=<length>

<CR>

PDU is given<ctrl-

Z/ESC>

•_ +CMGS:

<mr>[,<ackpdu>]

•_ +CMS ERROR: <err>
•_ OK
•_ ERROR

Show if the command is

supported

AT+CMGS=?

•_ OK
•_ ERROR

Sends a message from a TE to the network (SMS-SUBMIT). Message

reference value <mr> is returned to the TE on successful message delivery.

Optionally, when AT+CSMS <service> value is 1 and there is network

support, <ackpdu> is returned. Values can be used to identify message upon

unsolicited delivery status report result code. If sending fails in a network or

an ME error, final result code +CMS ERROR: <err> is returned. This

command is abortable.

<length> must indicate the number of octets coded in the TP

layer data unit to be given (i.e. SMSC address octets are

excluded).

The TA shall send a four character sequence

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

command line is terminated with <CR>; after that PDU can be

given from TE to ME/TA.

Advertising