![GOSUNCN ME3630 Series Скачать руководство пользователя страница 53](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368053.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
52
AT Command Reference Guide of Module Product
ME3630
at+cmgd=1,4
OK
6.15.
AT+CMGC Send Command
Execution command sends a command message from a TE to the network (SMS-COMMAND). The entering of text/PDU (3GPP
TS 23.040 TP-Command-Data) is done similarly as specified in command Send MCMGS, but for text mode the format is fixed
to be a sequence of two IRA character long hexadecimal numbers which ME/TA converts into 8-bit octets (refer +CMGS). Message
reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS <service> value is 1 and network
supports) <scts>/<ackpdu> 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.
For details about these parameters, please refer to 8.1 SMS parameter.
Note: this command can only support PDU format only, not support TEXT mode yet.
Command
Response
if text mode (+CMGF=1),can’t sCMGC
command, if you want to send SMS in this mode, please
use +CMGS command:
if PDU mode (+CMGF=0):
+CMGC=<length><CR>
PDU is given<ctrl-Z/ESC>
if PDU mode (+CMGF=0) and sending successful:
<CR><LF>+CMGC: <mr>[,<ackpdu>]<CR><LF>
<CR><LF>OK<CR><LF>
if sending fails:
<CR><LF>+CMS ERROR: <err><CR><LF>
+CMGC=?
<CR><LF>OK<CR><LF>
<da>: Destination-Address
<toda>,<tooa>,<tosca>: 8 bytes Type of address for TP-Destination-Address, TP-Originating-Address, TP-Service-
Centre-Address ( when the initial character of <da> is +(IRA43), default vaule is 145, otherwise, its value is 129)
<data>: SMS information (less than 160 characters)
<mr>: message parameter
<scts>: Service Centre Time Stamp in time-string format. Can set (+CSMS<service>as 1, network supported) return <scts>
<length>: Message Length, Integer type value indicating in PDU mode (AT+CMGF=0), the length of the actual TP data unit in
<mn>: [0]~255 Message number. 3GPP TS 24.040 TP-Message-Number integer format.
<ackpdu>: Can set (+CSMS<service>as 1, network supported) return <acjpdu>
Example
AT+CMGC=14
> 0891685109200905F011000B818198016032F90011FF00
+CMGC: 251
OK
6.16.
AT+CMMS More Messages to Send
Set command controls the continuity of SMS relay protocol link. When feature is enabled (and supported by network) multiple
messages can be sent much faster as link is kept open.