![GOSUNCN ME3630 Series Скачать руководство пользователя страница 40](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368040.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
39
AT Command Reference Guide of Module Product
ME3630
6.
SMS
C
OMMANDS
6.1.
AT+CSMS Select Message Service
Execution command selects messaging service <service>. It returns the types of messages supported by the ME. If chosen
service is not supported by the ME (but is supported by the TA), final result code +CMS ERROR: <err> shall be returned. See chapter
Message Service Failure Result Code for a list of <err> values.
Read command returns supported message types along the current service setting.
Test command returns a list of all services supported by the TA.
NOTE: The +CMGS, +CMGC can be influenced by the parameter <service>.
Command
Response
+CSMS=<service>
<CR><LF>+CSMS: <mt>,<mo>,<bm><CR><LF>
<CR><LF>OK<CR><LF>
or
<CR><LF>+CMS ERROR: <err><CR><LF>
+CSMS?
<CR><LF>+CSMS: <service>,<mt>,<mo>,<bm><CR><LF>
<CR><LF>OK<CR><LF>
+CSMS=?
<CR><LF>+CSMS: (list of supported <service>s) <CR><LF>
<CR><LF>OK<CR><LF>
Parameter
<service>:
0
3GPP TS 23.040 and 3GPP TS 23.041 , all type of messages supported. (Default Value)
1
3GPP TS 23.040 and 3GPP TS 23.041, the requirement of <service> setting 1 is mentioned under corresponding command
descriptions) , all type of messages supported.
<mt> for mobile terminated messages,
0
type not supported
1
type supported
<mo> for mobile originated messages
0
type not supported
1
type supported
<bm> for broadcast type messages
0
type not supported
1
type supported
Example
//CSMS:1
AT+CSMS=1
+CSMS: 1,1,1
OK
AT+CMGF=1
OK
AT+CMGS="18891006239"
> this