Smart Machine Smart Decision
SIM7000 Series_AT Command Manual_V1.03 68 2018-05-08
given
<ctrl-Z/ESC>
reference value <mr> is returned to the TE on successful message delivery.
Optionally (when +CSMS <service> value is 1 and network supports)
<scts> is returned. Values can be used to identify message upon unsolicited
delivery status report result code.
1) If text mode(+CMGF=1) and sending successful:
+CMGS: <mr>
OK
2) If PDU mode(+CMGF=0) and sending successful:
+CMGS: <mr>
OK
3)If error is related to ME functionality:
Parameter
<mr> GSM 03.40 TP-Message-Reference in integer format
Mode
NO_SAVE
Time
60s
Reference
3GPP TS 27.005
Note
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
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
Response
TA transmits SMS message (either SMS-DELIVER or SMS-
from TE to memory storage <mem2>. Memory location <index
stored mess
age 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:
<oa> GSM 03.40 TP-Originating-Address Address-Value field in
string format(string should be included in quotation marks); BCD numbers