Smart Machine Smart Decision
SIM7500_SIM7600 Series_AT Command Manual_V1.07 2017-12-25
SIM PIN References
YES 3GPP TS 27.005
Syntax
AT+CMGW=? OK
Write Command Responses
AT+CMGW=<oa>/<da>[,<t
ooa>/<toda>[,<stat>]]<CR>
Text is entered.
<CTRL-Z/ESC>
If PDU mode(AT+CMGF=
0):
AT+CMGW=<length>[,<sta
t>]<CR>PDU is entered.
<CTRL-Z/ESC>
If write successfully:
+CMGW: <index>
OK
If cancel write:
OK
If write fails:
ERROR
If write fails:
+CMS ERROR: <err>
Defined values
<index>
Integer type; va
lue in the range of location numbers supported by the associated memory and start
with zero.
<oa>
Originating-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, type of
address given by <tooa>.
TP-Originating-Address, Type-of-Address octet in integer format. (default refer <toda>).
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, type of
address given by <toda>.
<toda>
TP-Destination-Address, Type-of-Address octet in integer format. (when first character of <da> is +
(IRA 43) default is 145, otherwise default is 129). The range of value is from 128 to 255.
<length>
Integer type value indicating in the text mode (AT +CMGF=1) the length of the message body
<data> > (or <cdata>) in characters; or in PDU mode (AT+CMGF=0), the length of the actual TP
data unit in octets. (i.e. the RP layer SMSC address octets are not counted in the length).
<stat>