At+Cmgw Write Sms Messages To Memory - Siemens TC63 Command Set

Cellular engine
Table of Contents

Advertisement

TC63 AT Command Set
13.8 AT+CMGW
13.8

AT+CMGW Write SMS messages to memory

Syntax
Test Command
AT+CMGW=?
Response(s)
OK
Exec Command
If text mode (see AT+CMGF=1):
AT+CMGW
Response(s)
Text can be entered.
<CR>
+CMGW:
<index>
OK
If writing fails
ERROR
+CMS ERROR
Write Command
If text mode (see AT+CMGF=1):
AT+CMGW=<oa>/<da>[, [<tooa>/<toda>][, <stat>]]
Response(s)
+CMGW:
<index>
OK
If writing fails see notes below.
Write Command
If PDU mode (see AT+CMGF=0):
AT+CMGW=<length>[, <stat>]
Response(s)
+CMGW:
<index>
OK
If writing fails see notes below.
Reference(s)
GSM 07.05
Command Description
The execute and write commands transmit SMS (either SMS-DELIVER or SMS-SUBMIT) from TE to memory
storage <mem2>. Memory location
'stored unsent' unless otherwise given in parameter <stat>.
After invoking the execute or write command wait for the prompt ">" and then start to write the message. To save
the message simply enter
To abort writing use
<ESC>
Notes
If writing fails, for example, if a message is too long, the result code depends on the current setting of the
command:
AT^SM20
If the
<CmgwMode>=1 (factory default) any failure to send a message is responded with "OK". Users
AT^SM20
should be aware, that despite the "OK" response, the message will not be written to the selected SMS stor-
age.
If the
AT^SM20 <CmgwMode>
TC63_ATC_V00.490
Confidential / Draft - Do not copy
/
<CTRL-Z>
<ESC>
PDU can be entered.
<CR>
of the stored message is returned. Message status will be set to
<index>
. After the prompt a timer will be started to observe the input.
<CTRL-Z>
. Abortion is acknowledged with "OK", though the message will not be saved.
equals 0 any failure to write a message is responded with "ERROR".
Page 333 of 501
Text can be entered.
<CR>
/
<CTRL-Z>
<ESC>
PIN
ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge
%
%
%
%
s
/
<CTRL-Z>
<ESC>
%
%
%
!
Last
%
!
5/24/05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents