Data Sheet

Smart Machine Smart Decision
+CMGS: <mr>
OK
3)If error is related to ME functionality:
+CMS ERROR: <err>
Parameter
<mr> GSM 03.40 TP-Message-Reference in integer format
Parameter Saving NO_SAVE
Mode
Max Response 60s
Time
Reference Note
3GPP TS 27.005 z In text mode, the maximum length of an SMS depends on the used
coding scheme: It is 1024 characters if the 7 bit GSM coding scheme is
used.
z Reject incoming call when sending messages.
4.2.6 AT+CMGW Write SMS Message to Memory
AT+CMGW Write SMS Message to Memory
Test Command Response
AT+CMGW=? OK
Response
TA transmits SMS message (either SMS-DELIVER or SMS-SUBMIT)
from TE to memory storage <mem2>. Memory location <index> of the
stored message is returned. By default message status will be set to 'stored
unsent', but parameter <stat> allows also other status values to be given.
If writing is successful:
+CMGW: <index>
OK
If error is related to ME functionality:
+CMS ERROR: <err>
Write Command
1) If text mode
(+CMGF=1):
AT+CMGW=<o
a/da>[,<tooa/tod
a>][,<stat>]
<CR> text is
entered
<ctrl-Z/ESC>
<ESC> quits
without sending
2) If PDU mode
Parameters
(+CMGF=0):
<oa> GSM 03.40 TP-Originating-Address Address-Value field in
AT+CMGW=<le
string format(string should be included in quotation marks); BCD numbers
ngth>[,<stat>]
(or GSM default alphabet characters) are converted to characters of the
<CR>PDU is
currently selected TE character set (specified by +CSCS in 3GPP TS
given
27.007);type of address given by <tooa>
<ctrl-Z/ESC>
<da> GSM 03.40 TP-Destination-Address Address-Value field in
string format(string should be included in quotation marks); BCD numbers
(or GSM default alphabet characters) are converted to characters of the
currently selected TE character set (specified by +CSCS in 3GPP TS
SIM800 Series_AT Command Manual_V1.05 120 2014-07-31