Text mode – Sony Ericsson GM47 User Manual

Page 256

Advertising
background image

GM47/GM48 INTEGRATOR’S MANUAL

256

LZT 123 7263 R1C

Text Mode

Stores message (either SMS-DELIVER or SMS-SUBMIT) to memory
storage <mem2>. Memory location <index> of the stored message is
returned. By default message status will be set to ‘stored unsent’, but
parameter <stat> allows also other status values to be given. The
entering of text is done as specified in the send message command,
+CMGS. If writing fails, final result code +CMS ERROR: <err> is
returned.

Note!

SMS-COMMANDs and SMS-STATUS-REPORTs cannot be stored in
text mode.

Description

Command

Possible Responses

Write message to

memory

AT+CMGW [=<oa/da>

[,<tooa/toda>[,<stat>]]]

<CR>

Text is entered <ctrl-Z/

ESC>

• +CMGW: <index>

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

Show if the command

is supported

AT+CMGW=?

• OK
• ERROR

<stat>

Description

2

Stored unsent message (only applicable to SMs)

<oa>

Description

String type

GSM 03.40 TP-Originating-Address Value in string format;

BCD numbers (or GSM default alphabet characters) are

converted to characters of the currently selected TE

character (refer command +CSCS). Type of address given

by <tooa>

<da>

Description

String type

GSM 03.40 TP-Destination-Address Value in string format;

BCD numbers (or GSM default alphabet characters) are

converted to characters of the currently selected TE

character (refer command +CSCS). Type of address given

by <toda>

<tooa>

Description

String type

GSM 04.11 TP-Originating-Address Type-of-Address octet

in integer format (default refer <toda>)

<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

Advertising
This manual is related to the following products: