Write message to

AT+CMGW [=<oa/da>

memory

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

 

] <CR>

 

Text is entered <ctrl-

 

Z/ESC>

Show if the command isAT+CMGW=? supported

•_ +CMGW: <index>

•_ +CMS ERROR: <err>

•_ OK

•_ ERROR

•_ OK

•_ ERROR

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.

<stat>

Description

 

 

2

Stored unsent message (only applicable to SMs)

 

 

Note!_

 

<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>

Note!_

 

 

 

 

 

 

 

<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>

Note!_

 

 

 

 

 

 

 

<tooa>

Description

 

 

 

 

 

String type

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

 

 

in integer format (default refer <toda>)

 

 

 

 

Note!_

 

 

Owner’s Manual

Rev 1.0

Page 194 of 194