Cmgw-Store Message To Memory; Command Syntax; Description; Defined Values - Huawei MU509 At Command Interface Specification

Hsdpa lga module
Hide thumbs Also See for MU509:
Table of Contents

Advertisement

HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification
6.13 +CMGW–Store Message to Memory

6.13.1 Command Syntax

Command
If PDU mode (+CMGF=0):
+CMGW=<length>[,<stat>]<C
R>PDU is given<ctrl-Z/ESC>
If TEXT mode (+CMGF=1):
+CMGW[=<oa/da>[,<tooa/toda
>[,<stat>]]]<CR>
text is entered<ctrl-Z/ESC>
+CMGW=?

6.13.2 Description

Store a message to the <mem2> storage set via the "+CPMS" command.

6.13.3 Defined Values

PDU mode:
<length>: number of actually sent TPDU characters/2.
<mr>: message ID. The digits are decimal numbers that range from 0 to 9. The value
range is: 0–255.
<ctrl-Z>: identifies the end of a PDU data. The characters are: '0x1A'
<ESC>: cancels the sending of this message. The characters are: '0x1B'
<stat>: storage state of the message. The values are as follows: (In the PDU mode,
the default value is 2)
0
1
2
3
4
command)
<index>: position number in the storage. The digits are decimal numbers that range
from 0 to 9. The value range is 0~maximum capacity of storage-1.
The PDU packet structure is consistent with the description of the "+CMGS"
command.
TEXT mode:
Issue 04 (2013-01-28)
"REC UNREAD" received unread message
"REC READ" received read message
"STO UNSENT" stored unsent message
"STO SENT" stored sent message
all messages (This value is only applicable to the "+CMGL"
"ALL"
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Short Message Service Commands
Possible response(s)
<CR><LF>+CMGW:
<index><CR><LF><CR><LF>OK<CR><LF>
In case of SMS-related error:
<CR><LF>+CMS ERROR: <err><CR><LF>
<CR><LF>OK<CR><LF>
93

Advertisement

Table of Contents
loading

Table of Contents