![GOSUNCN ME3630 Series Скачать руководство пользователя страница 51](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368051.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
50
AT Command Reference Guide of Module Product
ME3630
excluded).
Example
AT+CMGS="10086"
> 1234
+CMGS: 242
OK
6.12.
AT+CMSS Send Message from Storage
Execution command sends message with location value <index> from preferred message storage <mem2> to the network
(SMS-SUBMIT or SMS-COMMAND). If new recipient address <da> is given for SMS-SUBMIT, it shall be used instead of the one stored
with the message. 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. If sending fails in a network or an ME error, final result code +CMS ERROR: <err> is returned. See chapter Message
Service Failure Result Code for a list of <err> values. This command should be abortable.
Command
Response
+CMSS=<index>[,<da>[,<toda>]]
if text mode (+CMGF=1) and sending successful:
<CR><LF>+CMSS: <mr>[,<scts>]<CR><LF>
<CR><LF>OK<CR><LF>
if PDU mode (+CMGF=0) and sending successful:
<CR><LF>+CMSS: <mr>[,<ackpdu>]<CR><LF>
<CR><LF>OK<CR><LF>
if sending fails:
<CR><LF>+CMS ERROR: <err><CR><LF>
+CMSS=?
<CR><LF>OK<CR><LF>
Parameter
For details about these parameters, please refer to 8.1 SMS parameter.
Example
at+cmgw="18682013070"
> sss
+CMGW: 6
OK
at+cmss=6
+CMSS: 245
OK
6.13.
AT+CMGW Write Message to Memory
Execution command stores message (either SMS-DELIVER or SMS-SUBMIT) 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. The entering of text/PDU is done similarly as specified in command Send MCMGS. If writing
fails, final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.