At+Cmgw Write Message To Memory - Quectel EC25 Command Manual

Lte module series, at commands
Hide thumbs Also See for EC25:
Table of Contents

Advertisement

NOTE
After the use of Read Command, a delay of 5-10 seconds is required before issuing the Write Command.
Otherwise the +CMS ERROR: 500 may appear.

9.10. AT+CMGW Write Message to Memory

The Write and Execution Commands store short messages from TE to memory storage <mem2>, and
then the memory location <index> of the stored message is returned. Message status will be set to
"stored unsent" by default, but parameter <stat> also allows other status values to be given.
The syntax of input text is the same as the one specified in AT+CMGS Write Command.
AT+CMGW Write Message to Memory
Test Command
AT+CMGW=?
Write Command
1) If text mode (AT+CMGF=1):
AT+CMGW=<oa/da>[,<tooa/toda>[,<st
at>]]<CR>
text is entered
<Ctrl+Z/ESC>
<ESC> quits without sending
2) If PDU mode (AT+CMGF=0):
AT+CMGW=<length>[,<stat>]<CR>
PDU is given <Ctrl+Z/ESC>
Maximum Response Time
Reference
3GPP TS 27.005
Parameter
<da>
Destination address. 3GPP TS 23.040 TP-Destination-Address Address-Value field in
string format. BCD numbers (or GSM 7 bit default alphabet characters) are converted to
characters of the currently selected TE character set (refer to AT+CSCS command in
EC25&EC21_AT_Commands_Manual
Response
OK
Response
TA transmits SMS message (either SMS-DELIVER or
SMS-SUBMIT) from TE to memory storage <mem2>, and
then the memory location <index> of the stored message is
returned. By default the message status will be set to „stored
unsent‟, but parameter <stat> also allows other status values
to be given.
If writing is successful:
+CMGW: <index>
OK
If there is any error related to ME functionality:
+CMS ERROR: <err>
300ms
LTE Module Series
EC25&EC21 AT Commands Manual
132 / 231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec21

Table of Contents