Table 57. +Cmgw Parameters - Motorola g20 Developer's Manual

At commands
Hide thumbs Also See for g20:
Table of Contents

Advertisement

AT Commands Reference
4.5.1.16
+CMGW, Write Message to Memory
This command is used to write and save a message in the device memory. The user can type the message text only, or specify
other optional parameters such as DA, TODA, and message status. The message text is saved in the memory, and the message
index is displayed to the user.
An email address cannot contain the `#' character, according to Section 3.8.2 in "GSM: Technical Realization of the
Short Messaging Service (GSM 03.40) v7.1.0."
Note
Set Command
The Set command writes a message.
Command
+CMGW[=<oa/da>[,<tooa/toda>
[,<stat>]]]<CR>
(text is entered using <ctrl-Z/ESC>)
Read Command
The Read command for +CMGW is not defined by ETSI, and therefore is not supported by the g20. The g20 returns an error.
Test Command
The Test command for +CMGW is not defined by ETSI, and therefore is not supported by the g20. The g20 returns an error.
The following table shows the +CMGW parameters.
<Parameter>
<da>
Destination address in quoted string. This field contains a
single MIN number.
<ctrl-Z>
Indicates the end of the message body.
<ESC>
Cancels the command processing.
Example
AT+CMGW="5124335432"
This is the message body. ^Z
+CMGW: 7
OK
134
+CMGW: <index>
or:
+CMS ERROR: <err>

Table 57. +CMGW Parameters

Description
Response/Action
98-08901C68-O

Advertisement

Table of Contents
loading

Table of Contents