Data Sheet
Smart Machine Smart Decision
SIM800 Series_AT Command Manual_V1.09 121 2015-08-03
+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
Mode
NO_SAVE
Max Response
Time
60s
Reference
3GPP TS 27.005
Note
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.
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
AT+CMGW=?
Response
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
(+CMGF=0):
AT+CMGW=<le
ngth>[,<stat>]
<CR>PDU is
given
<ctrl-Z/ESC>
Parameters
<oa> GSM 03.40 TP-Originating-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
27.007);type of address given by <tooa>
<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