HUAWEI UMTS M2M Module V100R001
AT Command Interface Specification
Issue 18 (2009-06-22)
Commercial in Confidence
Page 82 of 169
if pdu mode (+CMGF=0):
+CMGW=<length>[,<stat>]<
CR>
PDU is
given
<ctrl-Z/ESC>
if text mode (+CMGF=1):
+CMGW[=
<oa/da>[,<tooa
/toda>[,<stat>]]]<CR>
text is entered
<ctrl-Z/ESC>
<CR><LF>+CMGW:
<index><CR><LF><CR><LF>OK<CR><LF>
In case of SMS-related error:
<CR><LF>+CMS ERROR: <err><CR><LF>
+CMGW=? <CR><LF>OK<CR><LF>
5.14.2 Interface Description
Store a message to the <mem2> storage set via the “+CPMS” command.
5.14.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 0)
0 Unread message that has been received
1 Read message that has been received
2 Unsent message that has been stored
3 Sent message that has been stored
4 Any message (This value is only applicable to the “+CMGL” 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:
<oa./da>: Originating address/Destination address. Same as defined in SCA. Total
2~12Otects. Therefore, the longest address in the OA segment contains 20 digits.
5.15 Message list cCMGL
5.15.1 Command Syntax
Содержание EM770W
Страница 2: ......