Cmgw, Write Message To Memory - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

+CMGW, Write Message to Memory

This command is used to write and save a message to <mem2>. The message is saved in memory,
and the message index is displayed to the user.
By default, messages are saved with the status of "STO UNSENT", but status "STO SENT" can
be applied using the <stat> parameter.
In TEXT mode, the header parameters will be set according to CSMP settings.
Command
Type
Set
The following table shows the +CMGW parameters.
<Parameter>
<da>
<toda>
<stat>
<length>
<index>
<PDU>
December 31, 2007
Syntax
If text mode (+CMGF=1):
+CMGW[=<da>[,<toda>[,<stat>]]]<CR>te
xt is entered<ctrl-Z/ESC>
if PDU mode (+CMGF=0):
+CMGW=<length>[,<stat>]<CR> PDU is
given<ctrl-Z/ESC>
Table 3-74: +CMGW Parameters
Destination address in quoted string. This field contains a single phone number.
Type of DA. Value between 128-255 (according to GSM 03.40, 9.1.2.5). If this field is
not given and first character of <da> is '+' , <toda> will be 145, otherwise 129.
Status of new message
In text mode: "STO UNSENT" (default) or "STO SENT" In PDU mode: 2 (default)
or 3
Size of message in PDU mode format, in octects, excluding SMSC data.
1-352 Index in storage of the stored message.
Message header and contents in PDU mode format. See description in the tables
below.
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Response/Action
+CMGW: <index>
or:
+CMS ERROR: <err>
Description
Remarks
The Set command
writes a message
and stores it
.
3-127

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents