Quectel MC60 at Commands Manual V1.2
Quectel MC60 at Commands Manual V1.2
Quectel MC60 at Commands Manual V1.2
AT Commands Manual
Rev. MC60_AT_Commands_Manual_V1.2
Date: 2018-03-22
Status: Released
www.quectel.com
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Our aim is to provide customers with timely and comprehensive service. For any
assistance, please contact our company headquarters:
GENERAL NOTES
QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
PROVIDED IS BASED UPON CUSTOMERS‟ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT
ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR
RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO
CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
THE INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF
QUECTEL WIRELESS SOLUTIONS CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION
AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE
FORBIDDEN WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF
DAMAGES. ALL RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR
REGISTRATION OF A UTILITY MODEL OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2018. All rights reserved.
MC60_AT_Commands_Manual 1 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
History
Revision Date Author Description
MC60_AT_Commands_Manual 2 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Contents
1 Introduction ........................................................................................................................................ 10
1.1. Scope of the Document ............................................................................................................ 10
1.2. AT Command Syntax ................................................................................................................ 10
1.2.1. Combining AT Commands on the Same Command Line .............................................. 11
1.2.2. Entering Successive AT Commands on Separate Lines ............................................... 11
1.3. Supported Character Sets ........................................................................................................ 11
1.4. Flow Control .............................................................................................................................. 12
1.4.1. Software Flow Control (XON/XOFF Flow Control) ........................................................ 12
1.4.2. Hardware Flow Control (RTS/CTS Flow Control) .......................................................... 13
1.5. Unsolicited Result Codes .......................................................................................................... 13
MC60_AT_Commands_Manual 3 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
MC60_AT_Commands_Manual 4 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
MC60_AT_Commands_Manual 5 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
MC60_AT_Commands_Manual 6 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
MC60_AT_Commands_Manual 7 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
MC60_AT_Commands_Manual 8 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Table Index
MC60_AT_Commands_Manual 9 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
1 Introduction
This document presents the AT Commands Set for Quectel cellular engine MC60.
The “AT” or “at” prefix must be set at the beginning of each command line. To terminate a command line
enter <CR>. Commands are usually followed by a response that includes
“<CR><LF><response><CR><LF>”. Throughout this document, only the responses are presented,
“<CR><LF>” are omitted intentionally.
The AT Commands Set implemented by MC60 is a combination of GSM07.05, GSM07.07 and ITU-T
recommendation V.25ter as well as the AT commands developed by Quectel.
All these AT commands can be split into three categories syntactically: “basic”, “S parameter”, and
“extended”. They are listed as follows:
Basic syntax
These AT commands have the format of “AT<x><n>”, or “AT&<x><n>”, where “<x>” is the command, and
“<n>” is/are the argument(s) for that command. An example of this is “ATE<n>”, which tells the DCE
whether received characters should be echoed back to the DTE according to the value of “<n>”. “<n>” is
optional and a default will be used if it is missing.
S parameter syntax
These AT commands have the format of “ATS<n>=<m>”, where “<n>” is the index of the S register to set,
and “<m>” is the value to assign to it.
Extended syntax
MC60_AT_Commands_Manual 10 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Write Command AT+<x>=<…> This command sets the user-definable parameter values.
You can enter several AT commands on the same line. In this case, you do not need to type the “AT” or
“at” prefix before every command. Instead, you only need to type “AT” or “at” at the beginning of the
command line. Please note that use a semicolon as command delimiter.
The command line buffer can accept a maximum of 256 characters. If the input characters exceeded the
maximum then no command will be executed and TA will return “ERROR”.
When you need to enter a series of AT commands on separate lines, please note that you need to wait the
final response (for example OK, CME error, CMS error) of the last AT command you entered before you
enter the next AT command.
The MC60 AT command interface defaults to the GSM character set. The MC60 supports the following
character sets:
GSM
UCS2
HEX
IRA
PCCP437
8859-1
The character set can be configured and interrogated using the AT+CSCS command (GSM 07.07). The
character set is defined in GSM specification 07.05. The character set affects transmission and reception
MC60_AT_Commands_Manual 11 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
of SMS and SMS Cell Broadcast Messages, as well as the entry and display of phone book entries text
field and (U)SIM Application Toolkit alpha strings.
Flow control is very important for correct communication between the GSM engine and the DTE. In cases
such as a data or fax call, the sending device is transferring data faster than the receiving side ready to
accept. When the receiving buffer reaches its capacity, the receiving device should be able to cause the
sending device to pause until it catches up.
There are basically two approaches to achieve data flow control: software flow control and hardware flow
control. MC60 supports both two kinds of flow control.
Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal
17) data flow. It is quite useful in some applications that only use three wires on the serial interface.
The default flow control approach of MC60 is disabled. To enable software flow control in the DTE
interface and within GSM engine, type the following AT command:
AT+IFC=1,1<CR>
This setting is stored in volatile memory, for use after restart. AT+IFC=1,1<CR> should be stored to the
user profile with AT&W<CR>.
Ensure that all communication software packages (e.g. ProComm Plus, Hyper Terminal or WinFax Pro)
use software flow control.
NOTE
Software Flow Control should not be used for data calls where binary data will be transmitted or received
(e.g. TCP/IP), because the DTE interface may interpret binary data as flow control characters.
MC60_AT_Commands_Manual 12 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
The default flow control approach of MC60 is disabled. To enable hardware flow control (RTS/CTS flow
control) in the DTE interface and within GSM engine, type the following AT command:
AT+IFC=2,2<CR>
This setting is stored volatile, for use after restart. AT+IFC=2,2<CR> should be stored to the user profile
with AT&W<CR>.
Hardware flow control achieves the data flow control by controlling the RTS/CTS line. When the data
transfer is suspended, the CTS line is set inactive until the transfer from the receiving buffer has been
completed. When the receiving buffer is ready to receive more data, CTS goes active once again.
To achieve hardware flow control, ensure that the RTS/CTS lines are available on your application
platform.
A URC is a report message sent from the ME to the TE. An unsolicited result code can be delivered
automatically when an event occurs, reflect changes in system state, or act as the result of a query the
ME received before. It is often delivered due to occurrences of errors in executing the queries. However, a
URC is not issued as a direct response to an executed AT command. AT commands have their own
implementations to validate inputs such as OK or ERROR.
Typical URCs may be information about incoming calls, received SMS, changing temperature, status of
the battery, etc. A summary of URCs is listed in Chapter 16.6.
When sending a URC, the ME activates its Ring Interrupt (Logic “l”), i.e. the line goes active low for a few
milliseconds. If an event which delivers a URC coincides with the execution of an AT command, the URC
will be output after command execution has been completed.
MC60_AT_Commands_Manual 13 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
2 General Commands
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
Example
ATI
Quectel_Ltd
Quectel_MC60
Revision: MC60CAR01A01
OK
MC60_AT_Commands_Manual 14 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
OK
Maximum Response Time 300ms
Reference
V.25ter
MC60_AT_Commands_Manual 15 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
Example
AT+GMR
Revision: MC60CAR01A01
OK
MC60_AT_Commands_Manual 16 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
the user to identify the device, based on the ISO system for
registering unique object identifiers.
<Object Id>
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTE
See X.208, 209 for the format of <Object Id>. For example, in MC60 module, string “MC60” is displayed.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
MC60_AT_Commands_Manual 17 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
MC60_AT_Commands_Manual 18 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTE
The command returns International Mobile Equipment Identity (IMEI) number of ME. It is identical with
AT+GSN.
OK
Maximum Response Time 300ms
MC60_AT_Commands_Manual 19 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Reference
GSM 07.07
Parameter
NOTE
OK
Maximum Response Time 300ms
Reference
Parameter
NOTE
Example
AT+QGSN //Query the IMEI
+QGSN: "865734020000749"
OK
MC60_AT_Commands_Manual 20 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTE
The command resets AT command settings to their factory default values. However, it does not change
the current baud rate of UART.
Parameter
MC60_AT_Commands_Manual 21 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
AT&V or AT&V0
AT&V
ACTIVE PROFILE
E: 1
Q: 0
V: 1
X: 4
S0: 0
S2: 43
S3: 13
S4: 10
S5: 8
S6: 2
S7: 60
S8: 2
S10: 15
+CR: 0
+FCLASS: 0
+CMGF: 0
+CSDH: 0
+ILRR: 0
+CMEE: 1
+CBST: 7,0,1
+IFC: 0,0
+ICF: 3,3
+CNMI: 2,1,0,0,0
+CSCS: "GSM"
+IPR: 0
&C: 1
&D: 0
+CSTA: 129
+CRLP: 61,61,128,6,0,3
+CCWE: 0
+QSIMSTAT: 0
+CMUX: -1
+CCUG: 0,0,0
+CLIP: 0
+COLP: 0
+CCWA: 0
+CAOC: 1
+CLIR: 0
+CUSD: 0
MC60_AT_Commands_Manual 22 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
+CREG: 0
+QSIMDET: 0,0,0
+QMIC: 4,9,8
+QSIDET(NORMAL_AUDIO): 80
+QSIDET(HEADSET_AUDIO): 144
+QCLIP: 0
+QCOLP: 0
+CSNS: 0
OK
Parameter
NOTE
MC60_AT_Commands_Manual 23 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
Parameter
MC60_AT_Commands_Manual 24 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTE
The result codes, their numeric equivalents and brief descriptions of the use of each are listed in the
following table.
Example
ATV1 //Set <value>=1
OK
AT+CSQ
+CSQ: 30,0
"@" (Wait for Quiet Answer) dial modifier was used, but
remote ringing followed by five seconds of silence was
NO ANSWER 8
not detected before expiration of the connection timer
(S7)
MC60_AT_Commands_Manual 25 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
2.17. ATX Set CONNECT Result Code Format and Monitor Call Progress
ATX Set CONNECT Result Code Format and Monitor Call Progress
Execution Command Response
ATX[<value>] This parameter setting determines whether or not the TA
detected the presence of a dial tone or busy signal, and
whether or not the TA transmits particular result codes.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
<value> 0 CONNECT result code returned only. Dial tone and busy signal detection are
both disabled.
1 CONNECT<text> result code returned only. Dial tone and busy signal
detection are both disabled.
2 CONNECT<text> result code returned. Dial tone detection is enabled, while
busy signal detection is disabled.
3 CONNECT<text> result code returned. Dial tone detection is disabled, while
busy signal detection is enabled.
4 CONNECT<text> result code returned. Dial tone and busy signal detection
are both enabled.
NOTES
MC60_AT_Commands_Manual 26 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Reference
V.25ter
Parameter
NOTES
1. The command restores the current AT command settings to the user defined profile in non-volatile
memory, if there were stored with AT&W before.
2. Any additional AT commands on the same command line are ignored.
3. The command will not change the current baud rate of UART.
4. If the user profile is invalid, it will default to the factory default profile.
OK
Read Command Response
AT+CFUN? +CFUN: <fun>
OK
Write Command Response
AT+CFUN=<fun>[,<rst>] OK
MC60_AT_Commands_Manual 27 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
Example
AT+CFUN=0 //Switch the ME to minimum functionality
+CPIN: NOT READY
OK
AT+COPS?
+COPS: 0 //Not registered to any operator
OK
AT+CPIN?
+CME ERROR: 13 //(U)SIM failure
AT+CFUN=1 //Switch the ME to full functionality
OK
OK
Call Ready
AT+CPIN?
+CPIN: READY
OK
AT+COPS?
+COPS: 0,0,"CHINA MOBILE" //Registered to an operator
OK
MC60_AT_Commands_Manual 28 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
When <n>=1
NORMAL POWER DOWN
Maximum Response Time 300ms
Reference
Parameter
<n> 0 Urgent power off (Do not send out URC NORMAL POWER DOWN)
1 Normal power off (Send out URC NORMAL POWER DOWN)
Example
AT+QPOWD=0
OK //Urgent power off: returns OK
AT+QPOWD=1
NORMAL POWER DOWN //Normal power off: sends out URC NORMAL
POWER DOWN
OK
Read Command Response
AT+CMEE? +CMEE: <n>
OK
Write Command Response
AT+CMEE=[<n>] TA disables or enables the use of result code +CME ERROR:
<err> as an indication of an error related to the functionality of
MC60_AT_Commands_Manual 29 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
the ME.
OK
Reference
GSM 07.07
Parameter
Example
AT+CMEE=0 //Disable result code
OK
AT+CPIN=1234
ERROR //Only ERROR will be displayed
AT+CMEE=1 //Enable error result code with numeric values
OK
AT+CPIN=1234
+CME ERROR: 10
AT+CMEE=2 //Enable error result code with verbose (string)
values
OK
AT+CPIN=1234
+CME ERROR: SIM not inserted
OK
Read Command Response
AT+CSCS? +CSCS: <chset>
OK
Write Command Response
MC60_AT_Commands_Manual 30 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
AT+CSCS=<chset> Set character set <chset> which is used by the TE. The TA
can then convert character strings correctly between the TE
and ME character sets.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
Example
AT+CSCS? //Query the current character set
+CSCS: "GSM"
OK
AT+CSCS="UCS2" //Set the character set to “UCS2”
OK
AT+CSCS?
+CSCS: "UCS2"
OK
OK
MC60_AT_Commands_Manual 31 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
MC60_AT_Commands_Manual 32 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
MC60_AT_Commands_Manual 33 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
OK
Read Command Response
AT+ICF? +ICF: <format>,<parity>
OK
Write Command Response
AT+ICF=<format>[,<parity>] This parameter setting determines the serial interface
character framing format and parity received by TA from TE.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
MC60_AT_Commands_Manual 34 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTES
OK
Read Command Response
AT+IFC? +IFC: <dce_by_dte>,<dte_by_dce>
OK
Write Command Response
AT+IFC=<dce_by_dte>,<dte_by_dce> This parameter setting determines the data flow control on
the serial interface for data mode.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
<dce_by_dte> Specifies the method that will be used by TE when receiving data from TA
0 None
1 XON/XOFF
2 RTS flow control
<dte_by_dce> Specifies the method that will be used by TA when receiving data from TE
0 None
1 XON/XOFF
2 CTS flow control
Example
AT+IFC=2,2 //Open the hardware flow control
OK
MC60_AT_Commands_Manual 35 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
AT+IFC?
+IFC: 2,2
OK
OK
Read Command Response
AT+ILRR? +ILRR: <value>
OK
Write Command Response
AT+ILRR=[<value>] This parameter setting determines whether or not an
intermediate result code of local rate is reported when the
connection is established. The rate is applied after the final
result code of the connection is transmitted to TE.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTE
If the <value> is set to 1, the following intermediate result will come out on connection to indicate the port
rate settings.
+ILRR:<rate>
<rate> Port rate setting on call connection in Baud per second
300
1200
2400
MC60_AT_Commands_Manual 36 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
4800
9600
14400
19200
28800
38400
57600
115200
OK
Read Command Response
AT+IPR? +IPR: <rate>
OK
Write Command Response
AT+IPR=<rate> This parameter setting determines the data rate of the TA on
the serial interface. After the delivery of any result code
associated with the current command line, the rate set by the
command takes effect.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
MC60_AT_Commands_Manual 37 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
2400
4800
9600
14400
19200
28800
38400
57600
115200
NOTES
Example
AT+IPR=115200 //Set fixed baud rate to 115200bps
OK
AT&W //Store current setting, that is, the serial
communication speed is 115200bps after restart
module
OK
AT+IPR?
+IPR: 115200
OK
To take advantage of adaptive baud rate mode, specific attention must be paid to the following
requirements:
MC60_AT_Commands_Manual 38 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
by the TA. The baud rate can be synchronized simply by use an “AT” or “at” string. This is
necessary after customer activates adaptive baud rate or when customer starts up the module
with adaptive baud rate enabled.
It is recommended to wait for 2 to 3 seconds before sending the first “AT” or “at” string after the
module is started up with adaptive baud rate enabled. Otherwise undefined characters might be
returned.
MC60_AT_Commands_Manual 39 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTE
To assure reliable communication and avoid any problem caused by undetermined baud rate between
DCE and DTE, it is strongly recommended to configure a fixed baud rate and save it instead of using
adaptive baud rate after start-up.
OK
Read Command Response
AT+CMUX? +CMUX: <mode>,0,5,127,10,3,30,10,2
OK
Parameter
MC60_AT_Commands_Manual 40 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTES
OK
Read Command Response
AT+QEAUART? +QEAUART: <mode>,<debug port>
OK
MC60_AT_Commands_Manual 41 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTES
1. When dual UART function is enabled, the Debug UART port can be used to execute AT commands.
About Debug UART port, please refer to Quectel_MC60_Hardware_Design.
2. The Aux UART port cannot be used to execute data transmission-related AT commands. It is used for
modem communication with MC60‟s embedded GNSS engine.
OK
Read Command Response
AT+QSEDCB? +QSEDCB: <baudrate>,<databits>,<stopbits>,<parity>
OK
MC60_AT_Commands_Manual 42 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTES
MC60_AT_Commands_Manual 43 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<locationID> Location ID as number code. Location IDs are listed in Table 12.
Each ID is related with another table that contains a list of <cause>s.
<cause> Reason for last call release as number code. The number codes are listed in
several tables, sorted by different categories. The tables can be found in Chapter
16.9.
Example
AT+CEER //Query error reporting in normal state, return “No error”
+CEER: 0,0
OK
ATD10086;
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,""
MC60_AT_Commands_Manual 44 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
NO CARRIER //Established a call and the remote party hangs up the call
AT+CEER //Query error reporting, the <locationID>=1 means “Cause
for protocol stack (PS) layer”, <cause>=16 means
“Normal call clearing”
+CEER: 1,16
OK
OK
Execution Command Response
AT+CPAS TA returns the activity status of ME.
+CPAS: <pas>
OK
Parameter
<pas> 0 Ready
2 Unknown (ME is not guaranteed to respond to instructions)
3 Ringing
4 Call in progress or call hold
Example
AT+CPAS
+CPAS: 0 //The module is idle
MC60_AT_Commands_Manual 45 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
ATD10086;
OK
AT+CLCC
+CLCC: 1,0,3,0,0,"10086",129,""
OK
AT+CPAS
+CPAS: 3 //An incoming call is ringing
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,""
OK
AT+CPAS
+CPAS: 4 //Call in progress
OK
OK
Read Command Response
AT+QINDRI? +QINDRI: <status>
OK
Write Command Response
AT+QINDRI=<status> OK
MC60_AT_Commands_Manual 46 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
<status> 0 Off
1 On
OK
Read Command Response
AT+QMOSTAT? +QMOSTAT: <mode>
OK
Write Command Response
AT+QMOSTAT=<mode> OK
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
Example
AT+QMOSTAT=1 //Show call state of mobile originated call
OK
ATD10086;
OK
MC60_AT_Commands_Manual 47 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Read Command Response
AT+QREFUSECS? +QREFUSECS: <refuse_sms>,<refuse_call>
OK
Write Command Response
AT+QREFUSECS=<refuse_sms>[,<ref OK
use_call>]
If there is any error:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
OK
Read Command Response
AT+QIURC? +QIURC: <mode>
OK
MC60_AT_Commands_Manual 48 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Reference
Quectel
Parameter
NOTE
When the module powers on and initialization procedure is over. URC Call Ready will be presented if
<mode> is 1.
Indications
OK
Write Command Response
AT+QEXTUNSOL=<exunsol>,<mode> OK
Reference
Quectel
MC60_AT_Commands_Manual 49 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
MC60_AT_Commands_Manual 50 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
1 Enable
2 Query
OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
<state> 0 No initialization
1 Ready to execute AT command
2 Phonebook has finished initialization
3 SMS has finished initialization
NOTE
When <state> is 3, it also means initialization of (U)SIM card related functions has been finished.
OK
MC60_AT_Commands_Manual 51 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Reference
Quectel
Parameter
OK
Read Command Response
AT+QNITZ? +QNITZ: <enable>
OK
Write Command Response
AT+QNITZ=<enable> OK
Parameter
MC60_AT_Commands_Manual 52 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
<time> String type value. Format is "yy/MM/dd,hh:mm:ss±zz,ds", where characters indicate year
(two last digits), month, day, hour, minutes, seconds and time zone (indicates the
difference, expressed in quarters of an hour, between the local time and GMT; range:
-47...+48). E.g. 6th of May 2004, 22:10:00 GMT+2 hours equals to “04/05/06,22:10:00+08”
<ds> Daylight Saving Time. When it is zero, the format will be "04/05/06,22:10:00+08,0"
NOTE
This function needs support of local GSM network. And the unsolicited also can be read by AT+QLTS
command later.
OK
If there is any error related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Quectel
Parameter
<time> String type value. Format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate year (two
last digits), month, day, hour, minutes, seconds and time zone (indicates the difference,
expressed in quarters of an hour, between the local time and GMT; range: -47...+48). E.g.
6th of May 2004, 22:10:00 GMT+2 hours equals to “04/05/06,22:10:00+08”
<ds> Daylight Saving Time. When it is zero, the format will be "04/05/06,22:10:00+08,0"
MC60_AT_Commands_Manual 53 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Time
OK
Read Command Response
AT+CTZU? +CTZU: <mode>
OK
Write Command Response
AT+CTZU=<mode> OK
Reference
Parameter
NOTE
This function needs support of local GSM network. After setting the AT+CTZU, the value will be
automatically saved into flash. After the module is restarted, it can also take effect.
MC60_AT_Commands_Manual 54 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Read Command Response
AT+CTZR? +CTZR: <mode>
OK
Write Command Response
AT+CTZR=<mode> OK
Reference
Parameter
NOTE
This function needs support of local GSM network. After setting the AT+CTZU, the value will be
automatically saved into flash. The function takes effect after the module is restarted.
MC60_AT_Commands_Manual 55 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Read Command Response
AT+QSIMDET? +QSIMDET: <enable>,<insert_level>,<pin_choice>
OK
Write Command Response
AT+QSIMDET=<enable>,<insert_level OK
>,<pin_choice>
If there is any error related to ME functionality:
+CME ERROR: <err>
Reference
Parameter
NOTES
MC60_AT_Commands_Manual 56 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Read Command Response
AT+QSIMSTAT? +QSIMSTAT: <enable>,<insert_status>
OK
Write Command Response
AT+QSIMSTAT=<enable> OK
Reference
Parameter
<enable> Enable or disable (U)SIM card insertion status report. If it is enabled, when (U)SIM card is
removed or inserted, the URC +QSIMSTAT: <enable>,<insert_status> will be reported.
0 Disable
1 Enable
<insert_status> (U)SIM card is inserted or removed.
0 Removed
1 Inserted
NOTE
Termination Indication
OK
MC60_AT_Commands_Manual 57 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Write Command Response
AT+QCGTIND=<n> OK
Parameter
<n> A numeric parameter which indicates whether to enable an unsolicited event code indicating
whether a circuit switched voice call, circuit switched data call or GPRS session has been
terminated
0 Disable
1 Enable
<type> Connection type
0 Circuit switched voice call
1 Circuit switched data call
2 PPP connection
NOTE
When enabled, an unsolicited result code +QCGTIND: <type> is returned after the connection has been
terminated.
Example
ATD10086;
OK
NO CARRIER
MC60_AT_Commands_Manual 58 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Parameter
Example
AT+CIMI
460023210226023 //Query IMSI number of (U)SIM which is attached to ME
OK
MC60_AT_Commands_Manual 59 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Write Command Response
AT+CLCK=<fac>,<mode>,<passwd>[, This command is used to lock, unlock or interrogate the ME or
<class>] the network facility <fac>. Password is normally needed to
perform such actions. When querying the status of a network
service (<mode>=2) the response line for „not active‟ case
(<status>=0) should be returned only if service is not active
for any <class>.
OK
Maximum Response Time 5s
Reference
GSM 07.07
Parameter
<fac> "PS" PH-SIM (lock Phone to (U)SIM card) (ME asks password when other than the
current (U)SIM card inserted; ME may remember certain amount of previously
used cards thus not requiring password when they are inserted)
"SC" (U)SIM (lock (U)SIM card) ((U)SIM asks password in ME power-up and when this
lock command is issued)
"AO" BAOC (Bar All Outgoing Calls) (refer to GSM02.88[6] clause 1)
"OI" BOIC (Bar Outgoing International Calls) (refer to GSM02.88[6] clause 1)
"OX" BOIC-exHC (Bar Outgoing International Calls except to Home Country) (refer to
GSM02.88[6] clause 1)
"AI" BAIC (Bar All Incoming Calls) (refer to GSM02.88[6] clause 2)
"IR" BIC-Roam (Bar Incoming Calls when Roaming outside the home country) (refer
to GSM02.88 [6] clause 2)
MC60_AT_Commands_Manual 60 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
"AB" All Barring services (refer to GSM02.30[19]) (applicable only for <mode>=0)
"AG" All out Going barring services (refer to GSM02.30[19]) (applicable only for
<mode>=0)
"AC" All in Coming barring services (refer to GSM02.30[19]) (applicable only for
<mode>=0)
"FD" (U)SIM fixed dialing memory: If the mobile is locked to "FD", only the phone
numbers stored to the "FD" memory can be dialed
"PF" Lock Phone to the very first (U)SIM card
"PN" Network Personalization (refer to GSM 02.22)
"PU" Network subset Personalization (refer to GSM 02.22)
"PP" Service Provider Personalization (refer to GSM 02.22)
"PC" Corporate Personalization (refer to GSM 02.22)
<mode> 0 Unlock
1 Lock
2 Query status
<passwd> Password
<class> 1 Voice
2 Data
4 FAX
7 All telephony except SMS (Default)
8 Short message service
16 Data circuit sync
32 Data circuit async
<status> 0 Off
1 On
Example
AT+CLCK="SC", 2
+CLCK: 0 //Query the status of (U)SIM card lock: unlock
OK
AT+CLCK="SC",1,"1234" //Lock the (U)SIM card, and the password is 1234
OK
AT+CLCK="SC",2
+CLCK: 1 //Query the status of (U)SIM card lock: lock
OK
AT+CLCK="SC",0,"1234" //Unlock the (U)SIM card
OK
MC60_AT_Commands_Manual 61 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Write Command Response
AT+CPIN=<pin>[,<new pin>] TA stores a password, such as (U)SIM PIN, (U)SIM PUK,
PH-SIM PIN, etc., which is necessary before it can be
operated. If the PIN is to be entered twice, the TA shall
automatically repeat the PIN. If no PIN request is pending, no
action is taken and an error message +CME ERROR is
returned to TE.
OK
Maximum Response Time 5s
Reference
GSM 07.07
Parameter
MC60_AT_Commands_Manual 62 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Example
AT+CPIN?
+CPIN: SIM PIN //Query PIN code is locked
OK
AT+CPIN=1234 //PIN
+CPIN: READY
OK
AT+CPIN? //PIN has already been entered
+CPIN: READY
OK
AT+CPIN?
+CPIN: SIM PUK //Query PUK code is locked
OK
AT+CPIN="26601934","1234" //Enter PUK and new PIN password
+CPIN: READY
OK
AT+CPIN?
+CPIN: READY //PUK has already been entered
OK
OK
Write Command Response
AT+CPWD=<fac>,<oldpwd>,<newpwd TA sets a new password for the facility lock function.
>
OK
MC60_AT_Commands_Manual 63 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Reference
GSM 07.07
Parameter
<fac> "PS" Phone locked to (U)SIM (device code). The "PS" password may either be
individually specified by the client or, depending on the subscription, supplied from
the provider (e.g. with a prepaid mobile)
"SC" (U)SIM (lock (U)SIM card) ((U)SIM asks password in ME power-up and when this
lock Command issued)
"AO" BAOC (Bar All Outgoing Calls) (refer to GSM02.88[6] clause 1)
"OI" BOIC (Bar Outgoing International Calls) (refer to GSM02.88[6] clause 1)
"OX" BOIC-exHC (Bar Outgoing International Calls except to Home Country) (refer to
GSM02.88[6] clause 1)
"AI" BAIC (Bar All Incoming Calls) (refer to GSM02.88[6] clause 2)
"IR" BIC-Roam (Bar Incoming Calls when Roaming outside the home country) (refer
to GSM02.88 [6] clause 2)
"AB" All Baring services (refer to GSM02.30[19]) (applicable only for <mode>=0)
"AG" All outgoing barring services (refer to GSM02.30[19]) (applicable only for
<mode>=0
"AC" All incoming barring services (refer to GSM02.30[19]) (applicable only for
<mode>=0)
"FD" (U)SIM fixed dialing memory feature
"P2" (U)SIM PIN2
<pwdlength> Integer. Max length of password
<oldpwd> Password specified for the facility from the user interface or with command
<newpwd> New password
Example
AT+CPIN?
+CPIN: READY
OK
AT+CPWD="SC","1234","4321" //Change (U)SIM card password to “4321”
OK
AT+CPIN? //Restart module or re-activate the (U)SIM card, query PIN
code is locked
+CPIN: SIM PIN
OK
AT+CPIN="4321" //PIN must be entered to define a new password “4321”
+CPIN: READY
MC60_AT_Commands_Manual 64 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Parameter
MC60_AT_Commands_Manual 65 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
requested data will be returned. The parameter is not returned after a successful
UPDATE BINARY or UPDATE RECORD command.
Example
AT+CRSM=242
+CRSM: 145, 211, "000000007F100200000000000A13000C0400838A808A"
OK
Parameter
<length> Integer type. The length of characters sent to the TE in <command> or <response> (i.e.
two times of octets in the raw data).
<command> String type (string should be included in quotation marks);
Hex format: GSM11.11 (U)SIM Command sent from the ME to the SIM
<response> String type (string should be included in quotation marks);
Hex format: GSM11.11 (U)SIM Command sent from the (U)SIM to <command>
MC60_AT_Commands_Manual 66 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTES
1. Default value of <oldpwd> is "12345678".
2. If the module is locked to a specific (U)SIM card through AT+CLCK and the password is lost or
(U)SIM state is PH-SIM PUK, then the super password can be used to unlock it.
OK
Maximum Response Time 300ms
Reference
Quectel
MC60_AT_Commands_Manual 67 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
Parameter
Example
AT+CCID //Query CCID of the (U)SIM card
+CCID: “898600220909A0206023”
OK
OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
Example
AT+QCCID //Query CCID of the (U)SIM card
898600220909A0206023
OK
MC60_AT_Commands_Manual 68 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Parameter
NOTE
If the (U)SIM supports GID files, the GID values are retuned. Otherwise 0xff is retuned.
OK
Read Command Response
AT+QSIMVOL? +QSIMVOL: <mode>
OK
Write Command Response
AT+QSIMVOL=<mode> OK
MC60_AT_Commands_Manual 69 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
ERROR
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTE
AT+QSIMVOL can take effect only when the command is set successfully and after the module is
restarted.
OK
Parameter
MC60_AT_Commands_Manual 70 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTE
OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
OK
Read Command Response
AT+QDSIM? +QDSIM: <simslot>
OK
Write Command Response
AT+QDSIM=<simslot> OK
MC60_AT_Commands_Manual 71 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTE
MC60 supports Dual SIM Single Standby function, and this command is used for switching between the
two (U)SIM cards.
MC60_AT_Commands_Manual 72 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
OK
MC60_AT_Commands_Manual 73 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
<stat> 0 Unknown
1 Operator available
2 Operator current
3 Operator forbidden
<oper> Operator in format as per <mode>
<mode> 0 Automatic mode; <oper> field is ignored
1 Manual operator selection; <oper> field shall be present
2 Manual deregister from network
3 Set only <format> (for read command AT+COPS?) – not shown in read
command response
4 Manual/automatic selected; if manual selection fails, automatic mode
(<mode>=0) is entered
<format> 0 Long format alphanumeric <oper>; can be up to 16 characters long
1 Short format alphanumeric <oper>
2 Numeric <oper>; GSM Location Area Identification number
NOTES
1. This write command is used to choose and register the GSM network operator. The setting of
<mode> allows ME to determine whether automatic or manual network selection shall be used.
When <mode>=0, the ME searches for the operator which shall be used automatically.
When <mode>=1, the ME forces to register the selected <oper>. If the <oper> is invalid, the ME
remains unregistered; until <mode>=0, the ME can register again. If restart module, the ME is
still under <mode>=1 and there is no RPLMN. The ME will also be Not Registered to Network
condition, until the mode is changed via the command to automatic registration mode.
When <mode>=4, if the ME fails to register to this operator, then it starts to select another
operator automatically.
2. This command setting is saved to NVRAM automatically.
Example
AT+COPS=? //List all current network operators
+COPS: (2,"CHINA MOBILE","CMCC","46000"),(3,"CHINA UNICOM GSM","UNICOM","46001")
,,(0-4),(0-2)
MC60_AT_Commands_Manual 74 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
AT+COPS? //Query the currently selected network operator
+COPS: 0,0,"CHINA MOBILE"
OK
OK
Read Command Response
AT+CREG? TA returns the status of result code presentation and an
integer <stat> which shows whether the network has
currently indicated the registration of the ME. Location
information elements <lac> and <ci> are returned only when
<n>=2 and ME is registered in the network.
+CREG: <n>,<stat>[,<lac>,<ci>]
OK
Parameter
MC60_AT_Commands_Manual 75 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTE
Example
AT+CREG=1
OK
+CREG: 1,"1878","0873" //URC reports that operator has been found with location
area code and cell ID
OK
Execution Command The execution command returns received signal strength
AT+CSQ indication <rssi> and channel bit error rate <ber> from the
ME.
Response
+CSQ: <rssi>,<ber>
MC60_AT_Commands_Manual 76 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Parameter
Example
AT+CSQ=?
+CSQ: (0-31,99),(0-7,99)
OK
AT+CSQ
+CSQ: 28,0 //The current signal strength indication is 28 and channel bit
error rate is 0
OK
OK
Read Command Response
MC60_AT_Commands_Manual 77 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Parameter
<index> I Integer type: order number of operator in (U)SIM preferred operator list
<format> 0 Long format alphanumeric <oper>
1 Short format alphanumeric <oper>
2 Numeric <oper>
<oper> String type: <format> indicates either alphanumeric or numeric format is used (see
AT+COPS command)
NOTE
(U)SIM card does not allow editing the list of the preferred operators.
MC60_AT_Commands_Manual 78 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Parameter
OK
Read Command Response
AT+QBAND? +QBAND: <op_band>
OK
Write Command Response
AT+QBAND=<op_band> OK
Parameter
<op_band> "EGSM_MODE"
"DCS_MODE"
"PCS_MODE"
MC60_AT_Commands_Manual 79 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
"GSM850_MODE"
"EGSM_DCS_MODE"
"GSM850_PCS_MODE"
"GSM850_EGSM_DCS_PCS_MODE”
NOTE
OK
Read Command Response
AT+QENG? The corresponding information is reported selectively
according to <dump>.
+QENG: <mode>,<dump>
OK
Write Command Response
AT+QENG=<mode>[,<dump>] OK
MC60_AT_Commands_Manual 80 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
MC60_AT_Commands_Manual 81 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTE
Example
Idle mode:
AT+QENG=2
OK
+QENG: 0,460,00,1806,2602,64,46,-72,119,119,5,8,x,x,x,x,x,x,x
Dedicated mode:
AT+QENG=2,3
OK
+QENG: 0,460,00,1806,2031,17,41,-73,-1,-1,5,8,h,7,0,24,1,0,1
+QENG:
MC60_AT_Commands_Manual 82 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
1,1,17,-74,41,111,95,460,00,1806,2031,2,2,-74,45,110,94,460,00,1878,151,3,22,-77,40,100,84,460,00,1
806,2012,4,24,-77,45,97,81,460,00,1806,2013,5,25,-81,40,83,67,460,00,1806,2032,6,532,-92,48,-1,-1,x
,x,x,x
OK
Write Command Response
AT+QSCANF=<band>,<freq> If <freq>=9999 and command is successful:
+QSCANF:
1, CH113, -63.5
2, CH80, -64.2
4, CH22, -64.5
…..
20, CH116, -74.2
OK
Parameter
MC60_AT_Commands_Manual 83 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTE
Before using this AT command, RF function of system MUST be disabled. Please make sure equipment
functionality level is 0 or 4. About how to change the functionality level, please refer to AT+CFUN.
OK
Read Command Response
AT+QLOCKF? +QLOCKF: <status>
OK
Write Command Response
AT+QLOCKF=<mode>,<band1900>,< OK
arfcn1>[,<arfcn2>[,<arfcn3>]]
If there is any error:
ERROR
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Quectel
Parameter
MC60_AT_Commands_Manual 84 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Response if no connection:
NO CARRIER
Maximum Response Time 1s, determined by network.
Reference
V.25ter
NOTES
Example
RING //A voice call is ringing
AT+CLCC
+CLCC: 1,1,4,0,0,"02154450290",129,""
OK
ATA //Accept the voice call with ATA
OK
MC60_AT_Commands_Manual 85 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTES
1. This command may be aborted generally by receiving an ATH command or a character during
execution. The aborting is not possible during some states of connection establishment such as
handshaking.
MC60_AT_Commands_Manual 86 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
2. Parameter "I" and "i" are applicable for cases where there is no “*” or “#” code within the dial string.
3. <n> is the default value for last number that can be dialed by ATDL.
4. *# codes sent with ATD are treated as voice calls. Therefore, the command must be terminated with
a semicolon ";".
5. See ATX command for setting result code and call monitoring parameters.
6. Responses returned after dialing with ATD
For voice call, two different responses modes can be determined. TA returns OK immediately
either after dialing was completed or after the call was established. The setting is controlled by
AT+COLP. Factory default is AT+COLP=0, which causes the TA returns OK immediately after
dialing was completed; otherwise TA will returns OK, BUSY, NO DIAL TONE, or NO CARRIER.
7. Using ATD during an active voice call:
When a user originates a second voice call while there is already an active voice call, the first
call will be automatically put on hold.
The current states of all calls can be easily checked at any time by using AT+CLCC command.
Example
ATD10086; //Dialing out the called party‟s number
OK
Parameter
<n> 0 Disconnect existing call from command line and terminate the call
NOTE
OK is issued after circuit 109 (DCD) is turned off, if it was previously on.
MC60_AT_Commands_Manual 87 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Maximum Response Time 300ms
Reference
V.25ter
NOTES
1. To prevent the +++ escape sequence from being misinterpreted as data, it should comply to following
sequence:
No characters entered for T1 time (0.5 seconds).
+++ characters entered with no characters in between. For PPP online mode, the interval
between two “+” MUST be less than 1 second and for a transparent TCP/IP connection, the
interval MUST be less than 20ms.
No characters entered for T1 time (0.5 seconds).
Switch to command mode, otherwise go to step 1.
2. To return from command mode back to data or PPP online mode: Enter ATO
Another way to change to command mode is through DTR, see AT&D command for the details.
MC60_AT_Commands_Manual 88 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTE
TA returns to data mode from command mode CONNECT <text>,<text> only if parameter setting is X>0.
NOTE
No effect in GSM.
OK
Write Command Response
MC60_AT_Commands_Manual 89 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTE
If <n> is set too high, the calling party may hang up before the call can be answered automatically.
Example
ATS0=3 //Set three rings before automatically answering a call
OK
OK
Write Command Response
ATS6=<n> OK
Maximum Response Time 300ms
Reference
V.25ter
MC60_AT_Commands_Manual 90 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
NOTE
No effect in GSM.
OK
Write Command Response
ATS7=<n> This parameter setting determines the duration of time to wait
for the connection completion in case of answering or
originating a call.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTES
1. If the called party has specified a high value for ATS0=<n>, call setup may fail.
2. The correlation between ATS7 and ATS0 is important. For example: call may fail if ATS7=30 and
ATS0=20.
3. ATS7 is only applicable to data call.
MC60_AT_Commands_Manual 91 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
7.10. ATS8 Set the Time to Wait for Comma Dial Modifier
OK
Write Command Response
ATS8=<n> OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTE
No effect in GSM.
7.11. ATS10 Set Disconnect Delay after Indicating the Absence of Data
Carrier
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
Read Command Response
ATS10? <n>
OK
Write Command Response
ATS10=<n> This parameter setting determines the amount of time that the
TA will remain connected in absence of data carrier. If the
data carrier is once more detected before disconnection, the
TA remains connected.
OK
MC60_AT_Commands_Manual 92 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Reference
V.25ter
Parameter
NOTE
No effect in GSM.
OK
Read Command Response
AT+CSTA? +CSTA: <type>
OK
Maximum Response Time 300ms
Reference
GSM 07.07
MC60_AT_Commands_Manual 93 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
OK
Parameter
<idx> Integer type; call identification number as described in GSM 02.30 subclause 4.5.5.1; this
number can be used in AT+CHLD Command operations
<dir> 0 Mobile originated (MO) call
1 Mobile terminated (MT) call
<stat> State of the call
0 Active
1 Held
2 Dialing (MO call)
MC60_AT_Commands_Manual 94 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Example
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,"" //List the current call of ME
OK
OK
Read Command Response
AT+CR? +CR: <mode>
OK
Write Command Response
AT+CR=[<mode>] TA controls whether or not intermediate result code +CR:
<serv> is returned from the TA to the TE when a call set up.
OK
Reference
GSM 07.07
MC60_AT_Commands_Manual 95 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
<mode> 0 Disable
1 Enable
<serv> ASYNC Asynchronous transparent
SYNC Synchronous transparent
REL ASYNC Asynchronous non-transparent
REL SYNC Synchronous non-transparent
NOTE
7.16. AT+CRC Set Cellular Result Code for Incoming Call Indication
OK
Read Command Response
AT+CRC? +CRC: <mode>
OK
Write Command Response
AT+CRC=[<mode>] TA controls whether or not the extended format of incoming
call indication is used.
OK
Reference
GSM 07.07
Parameter
MC60_AT_Commands_Manual 96 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
NOTE
Example
AT+CRC=1 //Enable extended format
OK
OK
Read Command Response
MC60_AT_Commands_Manual 97 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Write Command Response
AT+CRLP=[<iws>[,<mws>[,<T1>[,<N2 TA sets radio link protocol (RLP) parameters used when
>[,<ver>[,<T4>]]]]]] non-transparent data calls are set up.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
OK
Read Command Response
AT+CSNS? +CSNS: <mode>
OK
Write Command Response
AT+CSNS=[<mode>] OK
MC60_AT_Commands_Manual 98 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
Parameter
<mode> 0 Voice
1 Alternating voice/fax, voice first
2 FAX
3 Alternating voice/data, voice first
4 Data
5 Alternating voice/fax, fax first
6 Alternating voice/data, data first
7 Voice followed by data
OK
Write Command Response
AT+CMOD=[<mode>] OK
Parameter
MC60_AT_Commands_Manual 99 / 261
GSM/GPRS/GNSS Module Series
MC60 AT Commands Manual
OK
Read Command Response
AT+QSFR? +QSFR: <mode>
OK
Write Command Response
AT+QSFR=<mode> OK
Parameter
NOTE
This setting is stored in the non-volatile memory and will be used whenever the module is powered up
again.
OK
Read Command Response
AT+QSPCH? +QSPCH: <mode>,<speech channel>
OK
Write Command Response
AT+QSPCH=<mode> OK
Parameter
NOTE
URC +QSPCH: <mode>,<speech channel> will be indicated when speech channel type changes.
OK
Read Command Response
AT+QDISH? +QDISH: <disableath>
OK
Write Command Response
AT+QDISH=<disableath> OK
Parameter
8 SMS Commands
OK
Read Command Response
AT+CSMS? +CSMS: <service>,<mt>,<mo>,<bm>
OK
Write Command Response
AT+CSMS=<service> +CSMS: <mt>,<mo>,<bm>
OK
Parameter
<service> 0 GSM 03.40 and 03.41 [the syntax of SMS AT commands is compatible with GSM
07.05 Phase 2 version 4.7.0; Phase 2+ features which do not require new
command syntax may be supported (e.g. correct routing of messages with new
Phase 2+ data coding schemes)]
128 SMS PDU mode - TPDU only used for ending/receiving SMSs
<mt> Mobile Terminated Messages
0 Type not supported
1 Type supported
<mo> Mobile Originated Messages
OK
Read Command Response
AT+CMGF? +CMGF: <mode>
OK
Write Command Response
AT+CMGF=[<mode>] TA sets parameter to denote which kind of I/O format of
messages is used.
OK
Maximum Response Time 300ms
Reference
GSM 07.05
Parameter
OK
Reference
GSM 07.05
Parameter
<sca> GSM 04.11 RP SC address Address-Value field in string format; BCD numbers (or GSM
default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <tosca>
<tosca> Service center address format GSM 04.11 RP SC address Type-of-Address octet in integer
format (default refer to <toda>)
NOTE
Example
AT+CSCA="+8613800210500",145 //SMS service center address
OK
AT+CSCA? //Query SMS service center address
+CSCA: "+8613800210500",145
OK
OK
Read Command Response
AT+CPMS? +CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<t
otal2>,<mem3>,<used3>,<total3>
OK
Write Command Response
AT+CPMS=<mem1>[,<mem2>[,<mem TA selects memory storages <mem1>, <mem2> and
3>]] <mem3> to be used for reading, writing, etc.
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<to
tal3>
OK
Parameter
NOTE
The (U)SIM and ME message storages offer maximum space for 50 and 10 messages, respectively. The
(U)SIM message storage is selected in priority.
Example
AT+CPMS="SM","SM","SM" //Set SMS message storage as “SM” ((U)SIM)
+CPMS: 0,50,0,50,0,50
OK
AT+CPMS? //Query the current SMS message storage
+CPMS: "SM",0,50,"SM",0,50,"SM",0,50
OK
OK
Write Command Response
AT+CMGD=<index>[,<delflag>] TA deletes message from preferred message storage
<mem1> location <index>.
OK
Parameter
<index> Integer type; value in the range of location numbers supported by the associated memory
<delflag> 0 Delete message specified in <index>
1 Delete all read messages from <mem1> storage, leaving unread messages and
stored mobile originated messages (whether sent or not) untouched
2 Delete all read messages from <mem1> storage and sent mobile originated
messages, leaving unread messages and unsent mobile originated messages
untouched
3 Delete all read messages from <mem1> storage, sent and unsent mobile
originated messages, leaving unread messages untouched
4 Delete all messages from <mem1> storage
Example
AT+CMGD=1 //Delete the message specified in <index>=1
OK
AT+CMGD=1,4 //Delete all messages from <mem1> storage
OK
OK
Write Command Response
AT+CMGL=<stat>[,<mode>] TA returns messages with status value <stat> from message
storage <mem1> to the TE. If status of the message is
'received unread', status in the storage changes to 'received
read'.
For SMS-STATUS-REPORTs:
+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<sct
s>,<dt>,<st>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<sct
s>,<dt>,<st>[...]]
For SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
OK
OK
Parameter
<pdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal
number [e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65)]. In the case of CBS: GSM 03.41 TPDU in hexadecimal format
<scts> GSM 03.40 TP-Service-Center-Time-Stamp in time-string format (refer to <dt>)
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129)
<tooa> GSM 04.11 TP-Originating-Address Type-of-Address octet in integer format (refer to
<toda>)
NOTE
If parameter is omitted, the command returns the list of SMS with “REC UNREAD” status.
Example
AT+CMGF=1 //Set SMS message format as text mode
OK
AT+CMGL="ALL" //List all messages from message storage
+CMGL: 1,"STO UNSENT","","",
This is a test from Quectel
OK
+CMGR: <stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pi
d>,<dcs>,<sca>,<tosca>,<length>]<CR><LF><data>
For SMS-SUBMIT:
+CMGR: <stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dc
s>,[<vp>],<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORTs:
+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<s
t>
For SMS-COMMANDs:
+CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],
<length><CR><LF><cdata>]
OK
Parameter
<index> Integer type value in the range of location numbers supported by the associated memory
<mode> 0 Normal
1 Not change the status of the specified SMS record
<alpha> String type alphanumeric representation of <da> or <oa> corresponding to the entry found
in MT phonebook; implementation of this feature is manufacturer specific
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <toda>
<data> In the case of SMS: GSM 03.40 TP-User-Data in text mode responses; format
− if <dcs> indicates that GSM 03.38 default alphabet is used and <fo> indicates that
In the case of CBS: GSM 03.41 CBM Content of Message in text mode responses; format
− if <dcs> indicates that GSM 03.38 default alphabet is used: ME/TA converts GSM into
the current character supported by TE
− if TE character set other than "HEX" (refer to AT+CSCS in GSM 07.07): ME/TA
converts GSM alphabet into current TE character set according to rules of Annex A
− if TE character set is "HEX": ME/TA converts each 7-bit character of GSM alphabet
into two IRA character long hexadecimal number
− if <dcs> indicates that 8-bit or UCS2 data coding scheme is used: ME/TA converts
each 8-bit octet into two IRA character long hexadecimal number
<dcs> Depending on the command or result code: GSM 03.38 SMS Data Coding Scheme
(default value is 0), or Cell Broadcast Data Coding Scheme in integer format
<fo> Depending on the command or result code: first octet of GSM 03.40 SMS-DELIVER,
SMS-SUBMIT (default value is 17), SMS-STATUS-REPORT, or SMS-COMMAND (default
value is 2) in integer format
<length> Integer type value indicating in the text mode (AT+CMGF=1) the length of the message
body <data> (or <cdata>) in characters; or in PDU mode (AT+CMGF=0), the length of the
actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the
length)
<mid> GSM 03.41 CBM Message Identifier in integer format
<oa> GSM 03.40 TP-Originating-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <tooa>
<pdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal
number [e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65)]
In the case of CBS: GSM 03.41 TPDU in hexadecimal format
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
<sca> GSM 04.11 RP SC address Address-Value field in string format; BCD numbers (or GSM
default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <tosca>
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer to <dt>)
Example
+CMTI: "SM",3 //Indicates that new message has been received and saved
to <index>=3 of “SM”
AT+CMGR=3 //Read message
+CMGR: "REC UNREAD","+8615021012496","","2010/09/25 15:06:37+32",145,4,0,241,"+8
613800210500",145,27
This is a test from Quectel
OK
OK
OK
Parameter
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format [when first
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129]
<length> Integer type value indicating in the text mode (AT+CMGF=1) the length of the message
body <data> (or <cdata>) in characters; or in PDU mode ( AT+CMGF=0), the length of the
actual TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the
length)
<mr> GSM 03.40 TP-Message-Reference in integer format
Example
AT+CMGF=1 //Set SMS message format as text mode
OK
AT+CSCS="GSM" //Set character set as GSM which is used by the TE
OK
AT+CMGS="15021012496"
> This is a test from Quectel //Enter in text, <CTRL+Z> send message, <ESC> quits
without sending
+CMGS: 247
OK
Parameter
<oa> GSM 03.40 TP-Originating-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <tooa>
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <toda>
<tooa> GSM 04.11 TP-Originating-Address Type-of-Address octet in integer format (default refer
to <toda>)
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format [when first
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129]
129 Unknown type (IDSN format number)
145 International number type (ISDN format)
<stat> PDU mode Text mode Explanation
0 "REC UNREAD" Received unread messages
1 "REC READ" Received read messages
2 "STO UNSENT" Stored unsent messages
3 "STO SENT" Stored sent messages
Example
AT+CMGF=1 //Set SMS message format as text mode
OK
AT+CSCS="GSM" //Set character set as GSM which is used by the TE
OK
AT+CMGW="15021012496"
> This is a test from Quectel //Enter in text, <CTRL+Z> write message, <ESC> quits
without sending
+CMGW: 4
OK
OK
OK
Parameter
<index> Integer type value in the range of location numbers supported by the associated memory
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format [when first
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129]
<mr> GSM 03.40 TP-Message-Reference in integer format
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer to <dt>)
<ackpdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal
number [e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65)].
In the case of CBS: GSM 03.41 TPDU in hexadecimal format
OK
Parameter
<fo> First octet of GSM 03.40 SMS-COMMAND (default value is 2) in integer format
<ct> GSM 03.40 TP-Command-Type in integer format (default value is 0)
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
<mn> GSM 03.40 TP-Message-Number in integer format
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by AT+CSCS in TS 07.07); type of address given by <toda>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format [when first
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129]
129 Unknown type (IDSN format number)
145 International number type (ISDN format)
<length> Integer type value indicating in PDU mode (AT+CMGF=0), the length of the actual TP data
unit in octets (i.e. the RP layer SMSC address octets are not counted in the length)
<mr> GSM 03.40 TP-Message-Reference in integer format
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer to <dt>)
<ackpdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal
number [e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65)].
In the case of CBS: GSM 03.41 TPDU in hexadecimal format
OK
Read Command Response
AT+CNMI? +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
OK
Write Command Response
AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds TA selects the procedure on how the received new messages
>[,<bfr>]]]]] from the network are indicated to the TE when TE is active,
e.g. DTR signal is ON. If TE is inactive (e.g. DTR signal is
OFF), receiving message should be done as specified in
GSM 03.38.
OK
Parameter
<mode> 0 Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications
can be buffered in some other place or the oldest indications may be discarded
and replaced with the new received indications
1 Discard indication and reject new received message unsolicited result codes
when TA-TE link is reserved (e.g. in on-line data mode). Otherwise forward them
directly to the TE
2 Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g. in
on-line data mode) and flush them to the TE after reservation. Otherwise forward
them directly to the TE
3 Forward unsolicited result codes directly to the TE. Use specified TA-TE link
technique to transmit both result codes and data to TE when TA is in on-line data
mode
<mt> (The rules for storing received SMS depend on its data coding scheme [refer to GSM 03.38
[2]), preferred memory storage (+CPMS) setting and this value]:
0 No SMS-DELIVER indications are routed to the TE
1 If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed
to the TE by using unsolicited result code: +CMTI: <mem>,<index>
2 SMS-DELIVERs (except class 2) are routed directly to the TE using unsolicited
result code: +CMT: [<alpha>],<length><CR><LF><pdu> (PDU mode enabled)
or +CMT: <oa>, [<alpha>],<scts>
[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<length>]<CR><LF><data>
(Text mode enabled; about parameters in italics, refer to Command Show Text
Mode Parameters AT++CSDH). Class 2 messages result in indication as defined
in <mt>=1
3 Class 3 SMS-DELIVERs are routed directly to TE by using unsolicited result
codes defined in <mt>=2. Messages of other classes result in indication as
defined in <mt>=1
<bm> (The rules for storing received CBMs depend on its data coding scheme [refer to GSM
03.38 [2]), the setting of Select CBM Types (AT+CSCB) and this value]:
0 No CBM indications are routed to the TE
2 New CBMs are routed directly to the TE by using unsolicited result code: +CBM:
<length><CR><LF><pdu> (PDU mode enabled) or +CBM:
<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data> (Text mode enabled)
3 Class 3 CBMs are routed directly to TE by using unsolicited result codes defined
in <bm>=2. If CBM storage is supported, messages of other classes result in
indication as defined in <bm>=1
<ds> 0 No SMS-STATUS-REPORTs are routed to the TE
1 SMS-STATUS-REPORTs are routed to the TE by using unsolicited result code:
+CDS: <length><CR><LF><pdu> (PDU mode enabled) or +CDS:
<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> (Text mode enabled)
<bfr> 0 TA buffer of unsolicited result codes defined in this command is flushed to the TE
when <mode> 1...3 is entered (OK response shall be given before flushing the
codes)
1 TA buffer of unsolicited result codes defined within this command is cleared when
<mode>1…3 is entered
NOTE
Example
AT+CMGF=1 //Set SMS message format as text mode
OK
AT+CSCS="GSM" //Set character set as GSM which is used by the TE
OK
AT+CNMI=2,1 //SMS-DELIVER is stored into ME/TA, indication of the
memory location is routed to the TE
OK
OK
Write Command Response
AT+CRES[=<profile>] TA restores SMS settings from non-volatile memory to active
memory. A TA can contain several profiles of settings.
Settings specified in commands service center address
AT+CSCA, set message parameters AT+CSMP and select
cell broadcast message types AT+CSCB (if implemented) are
restored. Certain settings may not be supported by the
storage (e.g. (U)SIM SMS parameters) and therefore cannot
be restored.
OK
Parameter
<profile> 0-3 Manufacturer specific profile number where settings are to be stored
OK
Write Command Response
AT+CSAS[=<profile>] TA saves active message service settings to non-volatile
memory. A TA can contain several profiles of settings.
Settings specified in commands service center address
AT+CSCA, Set Message Parameters AT+CSMP and Select
cell broadcast message Types AT+CSCB (if implemented)
are saved. Certain settings may not be supported by the
storage (e.g. (U)SIM SMS parameters) and therefore cannot
be saved.
OK
Parameter
<profile> 0-3 Manufacturer specific profile number where settings are to be stored
OK
Read Command Response
AT+CSCB? +CSCB: <mode>,<mids>,<dcss>
OK
Write Command Response
AT+CSCB=<mode>[,mids>[,<dcss>]] TA selects which types of CBMs are to be received by the ME.
OK
Reference
GSM 07.05
Parameter
NOTE
OK
OK
Write Command Response
AT+CSDH=[<show>] TA determines whether detailed header information is shown
in text mode result codes.
OK
Reference
GSM 07.05
Parameter
<show> 0 Do not show header values defined in commands AT+CSCA and AT+CSMP
(<sca>, <tosca>, <fo>, <vp>, <pid> and <dcs>) nor <length>, <toda> or
<tooa> in +CMT, +CMGL, +CMGR result codes for SMS-DELIVERs and
SMS-SUBMITs in text mode
1 Show the values in result codes
Example
AT+CSDH=0
OK
AT+CMGR=3
+CMGR: "REC READ","+8615021012496","","2010/09/25 15:06:37+32"
This is a test from Quectel
OK
AT+CSDH=1
OK
AT+CMGR=3
+CMGR: "REC READ","+8615021012496", ,"2010/09/25 15:06:37+32",145,4,0,241,"+861
3800210500",145,27
This is a test from Quectel
OK
OK
Read Command Response
AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>
OK
Write Command Response
AT+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>] TA selects values for additional parameters needed when SM
]]] is sent to the network or placed in a storage when text mode
is selected (AT+CMGF=1). It is possible to set the validity
period starting from when the SM is received by the SMSC
(<vp> is in range 0... 255) or define the absolute time of the
validity period termination (<vp> is a string).
OK
Reference
GSM 07.05
Parameter
<fo> Depending on the command or result code: first octet of GSM 03.40 SMS-DELIVER,
SMS-SUBMIT (default value is 17), SMS-STATUS-REPORT, or SMS-COMMAND (default
value is 2) in integer format. SMS status report is supported under text mode if <fo> is set
to 49
<vp> Depending on SMS-SUBMIT <fo> setting: GSM 03.40 TP-Validity-Period either in integer
format (default 167) or in time-string format (refer to <dt>)
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
<dcs> GSM 03.38 SMS Data Coding Scheme in Integer format
NOTE
0 SMS
OK
Read Command Response
AT+QCLASS0? +QCLASS0: <mode>
OK
Write Command Response
AT+QCLASS0=<mode> OK
Reference
Quectel
Parameter
Example
//When in text mode:
AT+CPMS?
+CPMS: "SM",6,50,"SM",6,50,"SM",6,50
OK
AT+QCLASS0=0 //Disable storing SMS when receiving Class 0 SMS
OK
OK
OK
Write Command Response
AT+QMGDA=<type> OK
Parameter
OK
Read Command Response
AT+QSMSCODE? +QSMSCODE: <mode>
OK
Write Command Response
AT+QSMSCODE=<mode> OK
Reference
Quectel
Parameter
9 Phonebook Commands
OK
Read Command Response
AT+CPBS? +CPBS: <storage>[,<used>,<total>]
OK
Write Command Response
AT+CPBS=<storage> TA selects current phone book memory storage, which is
used by other phone book commands.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
NOTE
(U)SIM phonebook record can store up to 250pcs and ME phonebook record can store up to 100pcs.
OK
Write Command Response
AT+CPBW=<index>[,<number>[,<typ TA writes phone book entry in location number <index> in the
e>[,<text>]]] current phone book memory storage selected with +CPBS.
Entry fields written are phone number <number> (in the
format <type>) and text <text> associated with the number. If
those fields are omitted, phone book entry is deleted. If
<index> is left out, but <number> is given, entry is written to
the first free location in the phone book.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
NOTES
1. If the current memory storage is “MC”, “RC”, “DC”, “LA” or “LD”, <number>, <type> and <text>
parameters must be default. AT+CPBW command only supports settings <index> delete the number
of current phone book.
2. <number> can‟t be empty.
3. The following characters in <text> must be entered via the escape sequence:
GSM char Seq.Seq.(hex) Note
\ \5C 5C 35 43 (backslash)
" \22 5C 32 32 (string delimiter)
BSP \08 5C 30 38 (backspace)
NULL \00 5C 30 30 (GSM null)
„0‟ (GSM null) may cause problems for application layer software when reading string lengths.
Example
AT+CSCS="GSM"
OK
AT+CPBW=10,"15021012496",129,"QUECTEL"
OK //Make a new phonebook entry at location 10
AT+CPBW=10 //Delete entry at location 10
OK
OK
Write Command Response
AT+CPBR=<index1>[,<index2>] TA returns phone book entries in location number range
<index1>... <index2> from the current phone book memory
OK
300ms.
Maximum Response Time Note: Operation of <index2> depends on the storage of read
phonebook entries.
Reference
GSM 07.07
Parameter
Example
AT+CSCS="GSM"
OK
AT+CPBR=10 //Query phonebook entries in location 10
+CPBR: 10,"15021012496",129,"QUECTEL"
OK
OK
Write Command Response
AT+CPBF=[<findtext>] TA returns phonebook entries (from the current phonebook
OK
Maximum Response Time Depends on the storage of phonebook entries.
Reference
GSM 07.07
Parameter
<findtext> String type field of maximum length <tlength> in current TE character set specified by
AT+CSCS.
<index1> Integer type values in the range of location numbers of phone book memory
<index2> Integer type values in the range of location numbers of phone book memory
<number> Phone number in string type of format <type>
<type> Type of address octet in integer format:
129 Unknown type (IDSN format number)
145 International number type (ISDN format )
<text> String type field of maximum length <tlength> in current TE character set specified by
AT+CSCS
<nlength> Integer type value indicating the maximum length of field <number>
<tlength> Integer type value indicating the maximum length of field <text>
OK
Reference
GSM 07.07
Parameter
<alphax> Optional alphanumeric string associated with <numberx>; used character set should be
the one selected with command. Select TE character set AT+CSCS
<numberx> Phone number in string type of format specified by <typex>
<typex> Type of address octet in integer format (refer to GSM 04.08 subclause 10.5.4.7)
10 GPRS Commands
OK
Read Command Response
AT+CGATT? +CGATT: <state>
OK
Write Command Response
AT+CGATT=<state> OK
Parameter
Example
AT+CGATT=1 //Attach to GPRS service
OK
AT+CGATT=0 //Detach from GPRS service
OK
OK
OK
Read Command Response
AT+CGDCONT? +CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<h
ead_comp>
<CR><LF>+CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<h
ead_comp>
…
OK
Write Command Response
AT+CGDCONT=<cid>[,<PDP_type>[,< OK
APN>[,<PDP_addr>[,<d_comp>[,<h_c
omp>]]]]] If there is any error:
ERROR
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<cid> (PDP Context Identifier) a numeric parameter which specifies a particular PDP context
definition. The parameter is local to the TE-MT interface and is used in other PDP
context-related commands. The range of permitted values (minimum value=1) is returned
by the test form of the command
<PDP_type> (Packet Data Protocol type) a string parameter which specifies the type of packet data
protocol X25 ITU-T/CCITT X.25 layer 3 IP Internet Protocol (IETF STD 5) OSPIH Internet
Hosted Octet Stream Protocol PPP Point to Point Protocol (IETF STD 51)
<APN> (Access Point Name) a string parameter that is a logical name that is used to select the
GGSN or the external packet data network. If the value is null or omitted, then the
subscription value will be requested
<PDP_addr> A string parameter identifies the MT in the address space applicable to the PDP. If the value
is null or omitted, then a value may be provided by the TE during the PDP startup
procedure or, failing that, a dynamic address will be requested. The allocated address may
be read using the AT+CGPADDR command
<d_comp> A numeric parameter that controls PDP data compression
0 Off (default if value is omitted)
Other values are reserved
<h_comp> A numeric parameter that controls PDP header compression
0 Off (default if value is omitted)
Other values are reserved
Example
AT+CGDCONT=1,"IP","CMNET" //Define PDP context, <cid>=1,
<PDP_type>=IP,<APN>=CMNET
OK
OK
Read Command Response
AT+CGQREQ? +CGQREQ: <cid>,<precedence>,<delay>,<reliability>,<p
eak>,<mean>
<CR><LF>+CGQREQ: <cid>,<precedence>,<delay>,<reli
ability>,<peak>,<mean>
…
OK
Write Command Response
AT+CGQREQ=<cid>[,<precedence>[, OK
<delay>[,<reliability>[,<peak>[,<mean
>]]]]] If there is any error related to ME functionality:
Parameter
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command)
The following parameter are defined in GSM 03.60
<precedence> A numeric parameter which specifies the precedence class
<delay> A numeric parameter which specifies the delay class
<reliability> A numeric parameter which specifies the reliability class
<peak> A numeric parameter which specifies the peak throughput class
<mean> A numeric parameter which specifies the mean throughput class
OK
Read Command Response
AT+CGQMIN? +CGQMIN: <cid>,<precedence>,<delay>,<reliability>,<pe
ak>,<mean>
<CR><LF>+CGQMIN: <cid>,<precedence>,<delay>,<relia
bility>,<peak>,<mean>
…
OK
Write Command Response
AT+CGQMIN=<cid>[,<precedence>[,< OK
delay>[,<reliability>[,<peak>[,<mean>
]]]]] If there is any error related to ME functionality:
+CME ERROR: <err>
Reference
GSM 07.07
Parameter
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command)
The following parameters are defined in GSM 03.60.
<precedence> A numeric parameter which specifies the precedence class
<delay> A numeric parameter which specifies the delay class
<reliability> A numeric parameter which specifies the reliability class
<peak> A numeric parameter which specifies the peak throughput class
<mean> A numeric parameter which specifies the mean throughput class
OK
Read Command Response
AT+CGACT? +CGACT: <cid>,<state>[<CR><LF>+CGACT:<cid><stat
e>…]
OK
Write Command Response
AT+CGACT=<state>[,<cid>] OK
Parameter
Example
AT+CGDCONT=1,"IP","CMNET" //Define PDP context
OK
AT+CGACT=1,1 //Activated PDP
OK
AT+CGACT=0,1 //Deactivated PDP
NO CARRIER
OK
Write Command Response
AT+CGDATA=<L2P>[,<cid>[,<cid>[,… OK
]]] NO CARRIER
Parameter
<L2P> A string parameter that indicates the layer 2 protocol to be used between the TE and MT:
PPP - Point to Point protocol for a PDP such as IP
Other values are not supported and will result in an ERROR response to the execution
command
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command)
OK
Write Command Response
AT+CGPADDR=<cid> +CGPADDR: <cid>[,<PDP_addr>]
OK
Parameter
<cid> A numeric parameter which specifies a particular PDP context definition (see
AT+CGDCONT command)
<PDP_addr> A string that identifies the MT in the address space applicable to the PDP. The address may
be static or dynamic. For a static address, it will be the one set by the AT+CGDCONT
command when the context was defined. For a dynamic address it will be the one assigned
during the last PDP context activation that used the context definition referred to <cid>.
<PDP_address> is omitted if none is available
NOTE
This command dictates the behaviour of PPP in the ME but not that of any other GPRS-enabled
foreground layer, e.g. browser.
Example
AT+CGDCONT=1,"IP","CMNET" //Define PDP context
OK
AT+CGACT=1,1 //Activated PDP
OK
AT+CGPADDR=1 //Show PDP address
+CGPADDR: 1,"10.76.51.180"
OK
OK
Read Command Response
AT+CGCLASS? +CGCLASS: <class>
OK
Write Command Response
AT+CGCLASS=<class> OK
ERROR
Parameter
<class> A string parameter which indicates the GPRS mobile class (Functionality in descending
order)
"B" Class B
"CG" Class C in GPRS only mode
"CC" Class C in circuit switched only mode
OK
Read Command Response
AT+CGEREP? +CGEREP: <mode>
OK
Maximum Response Time 300ms
Write Command Response
AT+CGEREP=<mode> OK
Parameter
<mode> 0 Buffer unsolicited result codes in the MT; if MT result code buffer is full, the oldest
one can be discarded. No codes are forwarded to the TE
1 Discard unsolicited result codes when MT-TE link is reserved (e.g. in on-line data
mode); otherwise forward them directly to the TE
NOTE
OK
Read Command Response
AT+CGREG? +CGREG: <n>,<stat>[,<lac>,<ci>]
OK
Write Command Response
AT+CGREG=[<n>] OK
Parameter
NOTE
Example
AT+CGATT=0
NO CARRIER
+CGREG: 0,"1878","0873"
AT+CGATT=1
OK
+CGREG: 2,"1878","0873"
+CGREG: 1,"1878","0873"
OK
Read Command Response
AT+CGSMS? +CGSMS: <service>
OK
Write Command Response
AT+CGSMS=[<service>] OK
Parameter
<service> A numeric parameter which indicates the service or service preference to be used
0 GPRS
1 Circuit switch
2 GPRS preferred (use circuit switched if GPRS is not available)
3 Circuit switch preferred (use GPRS if circuit switched is not available)
NOTE
OK
Read Command Response
AT+QGPCLASS? MULTISLOT CLASS: <class>
OK
Write Command Response
AT+QGPCLASS=<class> OK
Parameter
NOTE
11 TCP/IP Commands
OK
Write Command Response
AT+QIOPEN=[<index>,]<mode>,<IP If format is right, respond:
address>/<domain name>,<port> OK
Otherwise respond:
ERROR
Otherwise respond:
[<index>,] CONNECT FAIL
Maximum Response Time 75s, determined by network.
Reference
Quectel
Parameter
<index> A numeric indicates which socket opens the connection. MC60 supports at most 6
sockets at the same time. This parameter is necessary only if AT+QIMUX was set as 1
NOTES
1. This command is allowed to establish a TCP/UDP connection only when the state is IP INITIAL, IP
STATUS or IP CLOSE. So it is necessary to process AT+QIDEACT or AT+QICLOSE before
establishing a TCP/UDP connection with this command when the state is not IP INITIAL, IP STATUS
or IP CLOSE.
2. If AT+QIMUX was set as 0 and the current state is CONNECT OK, which means the connection
channel is used, it will reply ALREADY CONNECT after issuing the Write Command.
OK
Execution Command Response
AT+QISEND This command is used to send changeable length data.
response"> ", then type data to send, If connection is not established or disconnected:
tap CTRL+Z to send, tap ESC to cancel ERROR
the operation
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
Write Command Response
1) When AT+QIMUX=0 This command is used to send fixed-length data or send data
AT+QISEND=<length> on the given socket (defined by <index>).
2) When AT+QIMUX=1 If connection is not established or disconnected:
AT+QISEND=<index>[,<length>] ERROR
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
Maximum Response Time 300ms
Reference
Quectel
Parameter
<index> The index of the socket for sending data. This parameter is necessary only if AT+QIMUX
was set as 1 (refer to AT+QIMUX). When AT+QIMUX was set as 0, the parameter MUST
be omitted
<length> A numeric parameter which indicates the length of data to be sent, it MUST be less than
1460
NOTES
1. This command is used to send data on the TCP or UDP connection that has been established
already. „Ctrl+Z‟ is used as a termination symbol. ESC is used to cancel sending data.
2. The maximum length of the data to input at a time is 1460.
3. There are at most 1460 bytes that can be sent each time.
4. Only send data at the status of connection, otherwise respond with ERROR.
5. SEND OK means the data have been put into the send window to send rather than it has received
the ACK message for the data from the remote node. To check whether the data has been sent to the
remote node, it is necessary to execute the command AT+QISACK to query it.
If close fails:
ERROR
Write Command Response
If close fails:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
<index> The index of the socket for sending data. This parameter is necessary only if AT+QIMUX
was set as 1 (refer to AT+QIMUX). When AT+QIMUX was set as 0, the parameter MUST
be omitted
NOTES
If close fails:
ERROR
Reference
Quectel
NOTES
1. Except at the status of IP INITIAL, GPRS/CSD PDP context can be deactivated by AT+QIDEACT.
After closing the connection, the status becomes IP INITIAL again.
2. CSD context is not supported at present.
OK
Read Command Response
AT+QILPORT? <mode>: <port>
<CR><LF><mode>: <port>
OK
Write Command Response
AT+QILPORT=<mode>,<port> OK
Reference
Quectel
Parameter
NOTE
11.6. AT+QIREGAPP Start TCP/IP Task and Set APN, User Name and
Password
AT+QIREGAPP Start TCP/IP Task and Set APN, User Name and Password
Test Command Response
AT+QIREGAPP=? +QIREGAPP: "APN","USER","PWD"
OK
Read Command Response
AT+QIREGAPP? +QIREGAPP: <apn>,<user name>,<password>
OK
Write Command Response
AT+QIREGAPP=<apn>,<user OK
name>,< password>[,<rate>]
If there is any error:
ERROR
Execution Command Response
AT+QIREGAPP OK
Reference
Quectel
Parameter
<apn> A string parameter which indicates the GPRS access point name or the call number of CSD
<user name>A string parameter which indicates the GPRS/CSD user name
<password> A string parameter which indicates the GPRS/CSD password
<rate> The speed of data transmit for CSD
NOTES
1. The write command and execution commands are valid only at the status of IP INITIAL. After
operating this command, the status will become IP START.
2. The value of QICSGP (please refer to AT+QICSGP) defines what kind of bearer (GPRS or CSD) the
parameters are used for.
3. CSD function and related configuration are not supported at present.
NOTES
1. AT+QIACT only activates GPRS/CSD context at the status of IP START. After operating this
command, the status will become IP CONFIG. If TA accepts the activated operation, the status will
become IP IND. After GPRS/CSD context is activated successfully, the status will become IP
GPRSACT, and respond with OK; otherwise respond with ERROR.
2. CSD context is not supported at present.
Otherwise respond:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
<IP address> A string parameter which indicates the IP address assigned from GPRS or CSD
network
NOTES
1. Only at the following status: IP GPRSACT, IP STATUS, TCP/UDP CONNECTING, CONNECT OK, IP
CLOSE can get local IP address by AT+QILOCIP; otherwise respond ERROR. And if the status
before executing the command is IP GPRSACT, the status will become IP STATUS after the
command.
2. CSD function is not supported at present.
STATE: <state>
When AT+QIMUX=1, respond:
List of
(+QISTAT: <index>,<mode>,<addr>,<port><CR><LF>)
OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTES
1. Display former style of response when QIMUX=0 and the later style of response when QIMUX=1.
2. CSD context is not supported at present.
STATE: <state>
STATE: <state>
+QISTATE:
<index>,<mode>,<addr>,<port>,<socketstate>
OK
Otherwise respond:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
S: <ServerState>
S: <ServerState>
C: <index>,<mode>,<addr>,<port>
Otherwise respond:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
OK
Write Command Response
AT+QIDNSCFG=<pri_dns>[,<sec_dns OK
>]
If there is any error:
ERROR
Parameter
<pri_dns> A string parameter which indicates the IP address of the primary domain name server
<sec_dns> A string parameter which indicates the IP address of the secondary domain name server
NOTES
1. Because TA will negotiate to get the DNS server from GPRS/CSD network automatically when
activating GPRS/CSD context, it is STRONGLY suggested to configure the DNS server at the status
of IP GPRSACT, IP STATUS, CONNECT OK and IP CLOSE if it is necessary.
2. CSD function and configuration are not supported currently.
If succeeds, return:
<IP address>
If fails, return:
ERROR: <err>
STATE: <state>
Reference
Quectel
Parameter
OK
Read Command Response
AT+QIDNSIP? +QIDNSIP: <mode>
OK
Write Command Response
AT+QIDNSIP=<mode> OK
Parameter
<mode> A numeric parameter indicates which kind of server format is used when establishing the
connection: IP address server or domain name server
0 The address of the remote server is a dotted decimal IP address
1 The address of the remote server is a domain name
OK
Read Command Response
AT+QIHEAD? +QIHEAD: <mode>
OK
Write Command Response
AT+QIHEAD=<mode> OK
Parameter
<mode> A numeric parameter which indicates whether or not to add an IP header before the
received data
0 DO Not add IP header
1 Add a header before the received data, and the format is "IPD(data length):"
OK
Read Command Response
AT+QIAUTOS? +QIAUTOS: <mode>,<time>
OK
Parameter
<mode> A numeric parameter which indicates whether or not to set timer when sending data
0 Do not set timer for data sending
1 Set timer for data sending
<time> A numeric parameter which indicates a time in seconds
After the time expires since AT+QISEND, the input data will be sent automatically
OK
Read Command Response
AT+QIPROMPT? +QIPROMPT: <send prompt>
OK
Write Command Response
AT+QIPROMPT=<send prompt> OK
Reference
Quectel
Parameter
<send prompt> A numeric parameter which indicates whether or not to echo prompt ">" after
issuing AT+QISEND Command
0 No prompt ">" and show "SEND OK" when sending succeeds
1 Echo prompt ">" and show "SEND OK" when sending succeeds
2 No prompt and not show "SEND OK" when sending succeeds
3 Echo prompt ">" and show “socket ID” "SEND OK" when sending
succeeds
OK
Execution Command Response
AT+QISERVER OK
ERROR
Parameter
NOTES
1. Execution command configures the module as a TCP server and the maximum allowed client is 1.
2. The parameter <max> is excluded when QIMUX is 0.
OK
Read Command Response
AT+QICSGP? +QICSGP: <mode>
OK
Write Command Response
AT+QICSGP=<mode>[,(<apn>,<user OK
name>,<password>)/(<dial number>,
<user name>,<password>,<rate>)] If there is any error:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
GPRS parameters:
<apn> A string parameter which indicates the access point name
<user name> A string parameter which indicates the user name
<password> A string parameter which indicates the password
CSD parameters:
<dial number> A string parameter which indicates the CSD dial numbers
<user name> A string parameter which indicates the CSD user name
<password> A string parameter which indicates the CSD password
<rate> A numeric parameter which indicates the CSD connection rate
0 2400
1 4800
2 9600
3 14400
NOTE
OK
Read Command Response
AT+QISRVC? +QISRVC: <connection>
OK
Write Command Response
AT+QISRVC=<connection> OK
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTE
There could be two connections at one time: one connection is that MS connects with a remote server as
a client; the other connection is that MS accepts a remote client as a server. Using this command to
specify which connection data will be sent through.
Sender
OK
Read Command Response
AT+QISHOWRA? +QISHOWRA: <mode>
OK
Write Command Response
AT+QISHOWRA=<mode> OK
Parameter
<mode> A numeric parameter which indicates whether or not to show the address (including IP
address in dotted decimal style of the remote end) when receiving data.
0 Do not show the address.
1 Show the address; the format to show the address is like: RECV FROM:
<IP ADDRESS>:<PORT>
OK
Execution Command Response
AT+QISCON OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTES
1. The execution command makes TA save TCP/IP Application Context which consists of the following
AT Command parameters; and when the system is rebooted, these parameters will be loaded
automatically:
AT+QIDNSIP, AT+QIPROMPT, AT+QIHEAD, AT+QISHOWRA, AT+QICSGP, AT+QITCFG.
2. The execution command only save the corresponding parameters of the foreground context (refer to
AT+QIFGCNT).
3. CSD configuration is not supported at present.
OK
Read Command Response
AT+QIMODE? +QIMODE: <mode>
OK
Write Command Response
AT+QIMODE=<mode> OK
Parameter
<mode> 0 Normal mode. In this mode, the data should be sent by the command
AT+QISEND
1 Transparent mode. In this mode, UART will enter data mode after TCP/UDP
connection has been established. In data mode, all input data from UART will be
sent to the remote end. +++ can help to switch data mode to command mode. And
then ATO can help to switch command mode to data mode.
OK
Read Command Response
AT+QITCFG? +QITCFG: <NmRetry>,<WaitTm>,<SendSz>,<esc>
OK
Write Command Response
AT+QITCFG=<NmRetry>,<WaitTm>,< OK
SendSz>,<esc>
If there is any error:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTES
Type
OK
Read Command Response
AT+QISHOWPT? +QISHOWPT: <mode>
OK
Write Command Response
AT+QISHOWPT=<mode> OK
Parameter
<mode> 0 Do not show the transport protocol type at the end of header of the received
TCP/UDP data
1 Show the transport protocol type at the end of header of the received TCP/UDP
data as the following format: IPD(data length)(TCP/UDP):
NOTE
Sessions
OK
Read Command Response
AT+QIMUX? +QIMUX: <mode>
OK
Write Command Response
AT+QIMUX=<mode> OK
Parameter
Address
OK
Read Command Response
AT+QISHOWLA? +QISHOWLA: <mode>
OK
Write Command Response
AT+QISHOWLA=<mode> OK
Parameter
<mode> A numeric parameter indicates whether or not to show the destination address before
receiving data.
0 Do not show the destination address
1 Show the destination address: TO:<IP ADDRESS>
NOTE
Because MC60 can activate two GPRS contexts at the same time, i.e. MC60 can get two local IP
addresses. It is necessary to point out the destination of the received data when two GPRS contexts have
been activated at the same time.
OK
Read Command Response
AT+QIFGCNT? +QIFGCNT: <id>,<channel>
OK
Write Command Response
AT+QIFGCNT=<id> OK
Parameter
<id> A numeric indicates which context will be set as foreground context. The range is 0-1
<channel> A numeric indicates which channel is controlling the context <id>
0 VIRTUAL_UART_1
1 VIRTUAL_UART_2
2 VIRTUAL_UART_3
3 VIRTUAL_UART_4
255 The context is not controlled by any channel
NOTE
When CMUX is opened, if the status of the context defined by <id> is not IP_INITIAL and the context is
controlled by the other channel, it will return ERROR.
OK
Write Command Response
AT+QISACK=<n> +QISACK: <sent>, <acked>, <nAcked>
OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTES
1. Write command is invalid when AT+QIMUX=0.
2. This command could be affected by the command AT+QISRVC. If AT+QISRVC=1, this command is
used to query the information of sending data during the session in which MC60 serves as a client. If
AT+QISRVC=2, this command is used to query the data information for sending during the session in
which MC60 serves as a server.
OK
Read Command Response
AT+QINDI? +QINDI: <m>
OK
Write Command Response
AT+QINDI=<m> OK
Parameter
<m> A numeric indicates how the mode handles the received data
0 Output the received data through UART directly. In the case, it probably includes
header at the beginning of a received data packet. Please refer to the commands
AT+QIHEAD, AT+QISHOWRA, AT+QISHOWPT and AT+QISHOWLA
1 Output a notification statement +QIRDI: <id>,<sc>,<sid> through UART. This
statement will be displayed only one time until all the received data from the
connection (defined by <id>,<sc>,<sid>) have been retrieved by the command
AT+QIRD.
2 Output a notification statement +QIRDI: <id>,<sc>,<sid>,<num>,<len>,<tlen>
through UART. This statement will establish a buffer for each socket, the data
received will be saved in the buffer until it has been retrieved by the command
AT+QIRD, sum lengths of all the buffer is no more than 400K.
<id> A numeric points out which context the connection for the received data is based on.
Please refer to the parameter <id> in the command AT+QIFGCNT. The range is 0-1.
<sc> A numeric points out the role of MC60 in the connection for the received data.
1 The module serves as the client of the connection
2 The module serves as the server of the connection
<sid> A numeric indicates the index of the connection for the received data. The range is 0-5
When QIMUX was set as 0 by the command AT+QIMUX=0, this parameter will be always
0.
<num> The number of packets received in the buffer.
<len> The length of the current package in the buffer.
<tlen> The sum of the length of all packages received in the buffer.
NOTES
1. The length of a package cannot exceed 1460 bytes. If it exceeds 1460 bytes, it may be split to two or
more packages.
2. The sum of lengths of all packages received cannot exceed 400K bytes.
OK
Write Command Response
AT+QIRD=<id>,<sc>,<sid>,<len> [+QIRD: <ipAddr>:<port>,<type>,<length><CR><LF><dat
a>]
OK
Parameter
<id> A numeric points out which context the connection for the received data is based on.
Please refer to the parameter <id> in the command AT+QIFGCNT. The range is 0-1.
<sc> A numeric points out the role of MC60 in the connection for the received data
1 The module serves as the client of the connection
2 The module serves as the server of the connection
<sid> A numeric indicates the index of the connection for the received data. The range is 0-5.
When AT+QIMUX=0, this parameter will be always 0.
<len> The maximum length of data to be retrieved. The range is 1-1500
<ipAddr> The address of the remote end. It is a dotted-decimal IP
<port> The port of the remote end
<type> An alpha string without quotation marks indicates the transport protocol type
TCP the transport protocol is TCP
NOTES
1. <id>, <sc> and <sid> are the same as the parameters in the statement +QIRDI: <id>,<sc>,<sid>.
2. If it replies only OK for the write command, it means there is no received data in the buffer of the
connection.
11.32. AT+QISDE Control Whether or Not to Echo the Data for QISEND
OK
Read Command Response
AT+QISDE? +QISDE: <m>
OK
Write Command Response
AT+QISDE=<m> OK
Parameter
<m> A numeric indicates whether or not to echo the data for AT+QISEND
0 Do not echo the data
1 Echo the data
OK
Write Command Response
AT+QPING=“<host>”[,[<timeout>][,<p OK
ingnum>]]
[+QPING: <result>[,<ipAddr>,<bytes>,<time>,<ttl>]<CR>
<LF>
…]<CR><LF>
+QPING:<finresult>[,<sent>,<rcvd>,<lost>,<min>,<max>,
<avg>]
Parameter
<host> The host address in string style. It could be a domain name or a dotted decimal IP address
<timeout> A numeric gives the maximum time to wait for the response of each ping request. Unit:
second. Range: 1-255. Default: 1
<pingnum> A numeric indicates the maximum time of ping request. Range: 1-10. Default: 4
<result> The result of each ping request
0 Received the ping response from the server. In the case, it is followed by
“,<ipAddr>,<bytes>,<time>,<ttl>”
1 Timeout for the ping request. In the case, no other information follows it
<ipAddr> The IP address of the remote server. It is a dotted decimal IP
<bytes> The length of sending each ping request
<time> The time expended to wait for the response for the ping request. Unit: ms
<ttl> The value of time to live of the response packet for the ping request
<finresult> The final result of the command
2 It is finished normally. It is successful to activate GPRS and find the host. In the
case, it is followed by “,<sent>,<rcvd>,<lost>,<min>,<max>,<avg>”
3 The TCP/IP stack is busy now. In the case, no other information follows it
4 Do NOT find the host. In the case, no other information follows it
OK
Read Command Response
AT+QNTP? +QNTP: "<server>",<port>
OK
Execution Command Response
AT+QNTP OK
+QNTP: <result>
Write Command Response
AT+QNTP="<server>"[,<port>] OK
+QNTP: <result>
Parameter
<server> The address of the Time Server in string style. It could be a domain name or a dotted
decimal IP address
<port> The port of the Time Server
<result> The result of time synchronization
NOTE
The factory Time Server is the National Time Service Centre of China whose address is "210.72.145.44"
and the port is 123.
OK
Read Command Response
AT+QIKALIVE? +QIKALIVE: <switch>,<idle_value>,<interval_value>
OK
Write Command Response
AT+QIKALIVE=<switch>[,<idle_value OK
>,<interval_value>]
If there is any error:
ERROR
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTE
OK
Read Command Response
AT+QHTTPRSP? +QHTTPRSP: <httprsp>,<content-length>
OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
OK
Write Command Response
AT+CCFC=<reads>,<mode>[,<numbe TA controls the call forwarding supplementary service.
r>[,<type>[,<class>[,<subaddr>[,<sat Registration, erasure, activation, deactivation, and status
ype>[,time]]]]]] query are supported.
Only ,<reads> and <mode> should be entered with mode
(0-2,4)
OK
OK
where <status>=0 and <class>=15
Parameter
<reads> 0 Unconditional
1 Mobile busy
2 No reply
3 Not reachable
4 All call forwarding (0-3)
5 All conditional call forwarding (1-3)
<mode> 0 Disable
1 Enable
2 Query status
3 Registration
4 Erasure
<number> Phone number in string type of forwarding address in format specified by <type>
<type> Type of address in integer format; default value is 145 when dialing string includes
international access code character “+”, otherwise 129
<subaddr> String type sub-address of format specified by <satype>
<satype> Type of sub-address in integer
<class> 1 Voice
2 Data
4 Fax
7 All telephony except SMS
8 Short message service
16 Data circuit sync
32 Data circuit async
<time> 1…30 When “no reply” (<reads>=no reply) is enabled or queried, this gives the time in
seconds to wait before call is forwarded, default value is 20
<status> 0 Not active
1 Active
Example
AT+CCFC=0,3,”15021012496” //Register the destination number for unconditional call
forwarding (CFU)
OK
AT+CCFC=0,2 //Query the status of CFU without specifying <class>
+CCFC: 1,1,"+8615021012496",145
+CCFC: 1,4,"+8615021012496",145
+CCFC: 1,32,"+8615021012496",145
+CCFC: 1,16,"+8615021012496",145
OK
AT+CCFC=0,4 //Erase the registered CFU destination number
OK
AT+CCFC=0,2 //Query the status, no destination number
+CCFC: 0,7
OK
OK
Write Command Response
AT+CCUG=[<n>][,<index>[,<info>]] TA sets the closed user group supplementary service
parameters as a default adjustment for all following calls.
OK
Parameter
OK
Read Command Response
AT+CCWA? +CCWA: <n>
OK
Write Command Response
AT+CCWA=[<n>][,<mode>[,<class>]] TA controls the call waiting supplementary service. Activation,
deactivation and status query are supported.
If <mode><>2 and command successful:
OK
OK
Parameter
NOTES
1. <status>=0 should be returned only if service is not active for any <class> i.e. +CCWA: 0, 7 will be
returned in this case.
2. When <mode>=2, all active call waiting classes will be reported. In this mode the command is
available by pressing any key.
3. Unsolicited result code
When the presentation call waiting at the TA is enabled (and call waiting is enabled) and a terminating
call set up during an established call, an unsolicited result code is returned:
+CCWA: <number>,<type>,<class>[,<alpha>]
Parameters
<number> Phone number in string type of calling address in format specified by <type>
<type> Type of address octet in integer format
129 Unknown type (IDSN format number)
145 International number type (ISDN format )
<alpha> Optional string type alphanumeric representation of <number> corresponding to the
entry found in phone book
Example
AT+CCWA=1,1 //Enable presentation of an unsolicited result code
OK
ATD10086; //Establish a call
OK
OK
Write Command Response
AT+CHLD=[<n>] TA controls the supplementary services call hold, multiparty
and explicit call transfer. Calls can be put on hold, recovered,
released, added to conversation and transferred.
OK
Parameter
<n> 0 Terminate all held calls or UDUB (User Determined User Busy) for a waiting call. If
a call is waiting, terminate the waiting call. Otherwise, terminate all held calls (if
any)
1 Terminate all active calls (if any) and accept the other call (waiting call or held
call). It cannot terminate active call if there is only one call
1X Terminate the specific call number X (X=1-7)( active, waiting or held)
2 Place all active calls on hold (if any) and accept the other call (waiting call or held
call) as the active call
2X Place all active calls except call X (X=1-7) on hold
3 Add the held call to the active calls
NOTE
These supplementary services are only available to the teleservice 11 (Speech: Telephony).
Example
ATD10086; //Establish a call
OK
OK
AT+CHLD=21 //Place the active call except call X=1 on hold
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,"" //The first call becomes active
OK
AT+CHLD=3 //Add a held call to the active calls in order to set up a
conference (multiparty) call
OK
AT+CLCC
+CLCC: 1,0,0,0,1,"10086",129,""
+CLCC: 2,1,0,0,1,"02154450293",129,""
OK
OK
Read Command Response
AT+CLIP? +CLIP: <n>,<m>
OK
Write Command Response
AT+CLIP=[<n>] TA enables or disables the presentation of the calling line
identity (CLI) at the TE. It has no effect on the execution of the
supplementary service CLIP in the network.
OK
Parameter
NOTE
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+CLIP=1
OK
RING
+CLIP: "02151082965",129,"",,"",0
Call Number
AT+QCLIP Control Whether or Not to Show the Name of Incoming Call Number
Test Command Response
AT+QCLIP=? +QCLIP: (list of supported <n>s)
OK
Read Command Response
AT+QCLIP? +QCLIP: <n>
OK
Write Command Response
AT+QCLIP=<n> OK
Parameter
<n> Enable or disable the function of show the name of incoming call number
0 Enable
1 Disable
NOTE
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+QCLIP=1
OK
AT+CLIP=1
OK
RING
+CLIP: "02151082965",129,"",,"QUECTEL",0
OK
Read Command Response
AT+CLIR? +CLIR: <n>,<m>
OK
Write Command Response
AT+CLIR=[<n>] TA restricts or enables the presentation of the calling line
identity (CLI) to the called party when originating a call.
The command overrides the CLIR subscription (default is
restricted or allowed) when temporary mode is provisioned as
a default adjustment for all following outgoing calls. This
adjustment can be revoked by using the opposite Command.
OK
Parameter
OK
Read Command Response
AT+COLP? +COLP: <n>,<m>
OK
Write Command Response
AT+COLP=[<n>] TA enables or disables the presentation of the COL
(Connected Line) at the TE for a mobile originating a call. It
has no effect on the execution of the supplementary service
COLR in the network.
Intermediate result code is returned from TA to TE before any
+CR or V.25ter responses.
OK
Maximum Response Time 15s, determined by network.
Reference
GSM 07.07
Parameter
<n> (Parameter sets/shows the result code presentation status in the TA)
0 Disable
1 Enable
<m> (Parameter shows the subscriber COLP service status in the network)
0 COLP not provisioned
1 COLP provisioned
2 Unknown (e.g. no network, etc.)
NOTE
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+COLP=1
OK
ATD02151082965;
+COLP: "02151082965",129,"",0,""
OK
OK
Read Command Response
AT+QCOLP? +QCOLP: <mode>
OK
Write Command Response
AT+QCOLP=<mode> OK
Parameter
NOTE
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+QCOLP=1
OK
AT+COLP=1
OK
ATD02151082965;
+COLP: "02151082965",129,"",0,"QUECTEL"
OK
OK
Read Command Response
AT+CUSD? +CUSD: <n>
OK
Parameter
<n> A numeric parameter which indicates control of the unstructured supplementary service data
0 Disable the result code presentation in the TA
1 Enable the result code presentation in the TA
2 Cancel session (not applicable to read command response)
<str> String type USSD-string
<dcs> Cell Broadcast Data Coding Scheme in integer format (default 0)
Example
AT+CSCS=“UCS2”
OK
AT+CUSD=1,"002A0031003000300023"
+CUSD:
1,"0031002E59296C14000A0032002E65B095FB000A0033002E8BC15238000A0034002E5F6979680
00A0035002E751F6D3B000A0036002E5A314E50000A0037002E5E385DDE98CE91C7000A002A002
E900051FA000A", 72
OK
OK
Read Command Response
AT+CSSN? +CSSN: <n>,<m>
OK
Write Command Response
AT+CSSN=[<n>[,<m>]] OK
Reference
GSM 07.07
Parameter
13 Audio Commands
Parameter
NOTE
The two commands ATL and ATM are implemented only for V.25 compatibility reasons and have no
effect.
Parameter
NOTE
The two commands ATL and ATM are implemented only for V.25 compatibility reasons and have no
effect.
OK
Read Command Response
AT+VTD? +VTD: <internalduration>,<duration>
OK
Write Command Response
AT+VTD=<internalduration>[,<duratio This command refers to an integer <internalduration> that
n>] defines the length of tones emitted as a result of the +VTS
command. This does not affect the D command.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
OK
Write Command Response
AT+VTS=<dtmf-string> This command allows the transmission of DTMF tones and
arbitrary tones in voice mode. These tones may be used (for
example) when announcing the start of a recording period.
OK
Parameter
<dtmf-string> It has a max length of 20 characters, must be entered between double quotes (" ") and
consists of combinations of the following separated by commas. But a single character
does not require quotes
1) <dtmf> A single ASCII characters in the set 0-9, #, *, A-D. This is
interpreted as a sequence of DTMF tones whose duration
is set by the AT+VTD command
2) {<dtmf>, <duration>} This is interpreted as a DTMF tone whose duration is
determined by <duration>
<duration> Duration of the tone, unit: 100ms, range: 1-255
Example
ATD10086; //Establish a call
OK
AT+VTS=1 //Send a single DTMF tone according to the prompts of voice
OK
OK
Read Command Response
AT+CALM? +CALM: <mode>
OK
Write Command Response
AT+CALM=<mode> OK
Parameter
OK
Read Command Response
AT+CRSL? +CRSL: <level>
OK
Write Command Response
AT+CRSL=<level> OK
Parameter
<level> Integer type value (0-100) with manufacturer specific range (smallest value represents the
lowest sound level).
OK
Read Command Response
AT+CLVL? +CLVL: <level>
OK
Write Command Response
AT+CLVL=<level> OK
Parameter
<level> Integer type value (0-100) with manufacturer specific range (smallest value represents
the lowest sound level). Default value is 60.
OK
Read Command Response
AT+CMUT? +CMUT: <n>
OK
Write Command Response
AT+CMUT=<n> OK
Parameter
NOTE
OK
Read Command Response
AT+QSIDET? (1) If AT+QAUDCH=0:
+QSIDET(NORMAL_AUDIO): <gainlevel>
OK
(2) If AT+QAUDCH=1:
+QSIDET(HEADSET_AUDIO): <gainlevel>
OK
Write Command Response
AT+QSIDET=<gainlevel> OK
Parameter
NOTE
OK
Read Command Response
AT+QMIC? +QMIC: <gainlevel(Normal_Mic)>,<gainlevel(Headset_Mi
c)>,<gainlevel(Loudspeaker_Mic)>
OK
Write Command Response
AT+QMIC=<channel>,<gainlevel> OK
Parameter
OK
Write Command Response
AT+QLDTMF=<durations>[,<DTMF OK
string>]
If there is any error related to ME functionality:
+CME ERROR: <err>
Execution Command Response
AT+QLDTMF OK
Maximum Response Time Depends on the length of <DTMF string>.
Reference
Quectel
Parameter
<durations> A numeric parameter (1-1000) which indicates the duration of all DTMF tones in
<DTMF string> in 1/10 seconds
<DTMF string> A string parameter which has a max length of 20 DTMF characters (single ASCII chars
NOTE
Aborts any DTMF tones that are generated currently and any DTMF tones sequence.
OK
Read Command Response
AT+QAUDCH? +QAUDCH: <n>
OK
Write Command Response
AT+QAUDCH=[<n>] OK
Parameter
<type>s)
OK
Write Command Response
AT+QAUDLOOP=<state>[,<type>] OK
Parameter
OK
Write Command Response
AT+QLTONE=<mode>,<frequency>,< OK
periodOn>,<periodOff>,<duration>
If there is any error related to ME functionality:
+CME ERROR: <err>
Maximum Response Time Depends on the content of the play.
Reference
Quectel
Parameter
NOTE
When playing the tone of a specified frequency, the module will continuously play for <periodOn>, and
then stop playing for <periodOff> in a cycle. The total time of cycles is <duration>.
OK
Read Command Response
AT+QTONEP? +QTONEP: <outputpath>
OK
Write Command Response
AT+QTONEP=<outputpath> OK
Parameter
3 Auto
NOTE
Set AT+QTONEP=3, output DTMF or tone from default speak path. For more details, consult
AT+QAUDCH.
OK
Read Command Response
AT+QTDMOD? +QTDMOD: <operatefuntion>,<funtionstatus>
OK
Write Command Response
AT+QTDMOD=<operatefuntion>,<funt OK
ionstatus>
If there is any error related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Quectel
Parameter
<operatefuntion>Operate function
1 Set detection range
2 Set detection mode
<funtionstatus> Function status
0 When set <operatefuntion>=1, detect all DTMF, including 1400Hz and
2300Hz handshake signal. When set <operatefuntion>=2, detect DTMF
tone by normal arithmetic
1 When set <operatefuntion>=1, only detect 1400Hz and 2300Hz handshake
signal by using optimal arithmetic. When set <operatefuntion>=2, detect
NOTES
1. Set AT+QTDMOD=1,0, detect all DTMF, including 1400Hz and 2300Hz handshake signal.
2. Set AT+QTDMOD=1,1, only detect 1400Hz and 2300Hz handshake signal by using optimal
arithmetic.
3. Set AT+QTDMOD=1,2, detect all DTMF, not including 1400Hz and 2300Hz handshake signal.
4. Set AT+QTDMOD=2,0, detect DTMF tone by using normal arithmetic.
5. Set AT+QTDMOD=2,1, detect long continuous DTMF tone by using optimal arithmetic.
6. Consult AT+QTONEDET.
OK
Read Command Response
AT+QTONEDET? +QTONEDET: <mode>
OK
Write Command Response
AT+QTONEDET=<mode>[,<operate >] OK
[,<prefixpause>][,<lowthreshold>][,<h
ighthreshold>] If there is any error related to ME functionality:
+CME ERROR: <err>
Parameter
42 DTMF *
35 DTMF #
69 1400Hz frequency
70 2300Hz frequency
<persistencetime>
100 100ms of the tone is detected, only 1400Hz and 2300 Hz
400 400ms of the tone is detected, only 1400Hz and 2300 Hz
NOTES
OK
Write Command Response
AT+QWDTMF=<ul_volume>,<dl_volu If success is related to ME functionality:
me>,(“<dtmfcode>,<continuancetime +QWDTMF: 5
>,<mutetime>”)[,<channel>][,<mode>
] OK
OK
Parameter
NOTES
1. AT+QWDTMF=7,0,“0A5,50,50,1,55,50,23,100,50”
Send DTMF „0‟ for 50ms, mute 50ms; send DTMF „A‟ for 50ms, mute 50ms; send DTMF „5‟ for 50ms,
mute 50ms; send DTMF „1‟ for 55ms, mute 50ms; send DTMF „2‟ for 100ms, mute 50ms; send DTMF
„3‟ for 100ms, mute 50ms.
2. <channel> is available for non-call.
OK
Write Command Response
AT+QPCMON=<mode>,<sync_type>, OK
<sync_length>, <SignExtension>,<M
SBFirst> If there is any error related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Reference
Quectel
Parameter
NOTE
OK
Read Command Response
AT+QPCMVOL? +QPCMVOL: <vol_pcm_in>,<vol_pcm_out>
OK
Write Command Response
AT+QPCMVOL=<vol_pcm_in>,<vol_p OK
cm_out>
If there is any error related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Reference
Quectel
Parameter
AT+CCLK Clock
Test Command Response
AT+CCLK=? OK
Read Command Response
AT+CCLK? +CCLK: <time>
OK
Write Command Response
AT+CCLK=<time> OK
Parameter
<time> String type value; format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate year (two
last digits),month, day, hour, minutes, seconds and time zone (indicates the difference,
expressed in quarters of an hour, between the local time and GMT; range -47...+48). E.g.
May 6th, 1994, 22:10:00 GMT+2 hours equals to "94/05/06,22:10:00+08"
Example
AT+CCLK? //Query the local time
+CCLK: "08/01/04, 00:19:43+00"
OK
OK
Write Command Response
AT+QALARM=<state>,<time>,<repeat OK
>,<power>
If there is any error:
ERROR
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTE
In alarm mode, protocol stack and (U)SIM protocol are closed, only a few AT commands can be executed,
and system will be powered down after 90 seconds, if neither power key is pressed nor functionality is
changed to full functionality. If power key is pressed, system will be powered down immediately.
OK
Execution Command Response
AT+CBC +CBC: <bcs>, <bcl>,<voltage>
OK
If there is any error related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
NOTE
As MC60 doesn‟t support battery charge, <bcs> and <bcl> are invalid while the <voltage> still
represents the correct voltage of VBATT.
OK
Execution Command Response
AT+QADC? +QADC: <status>,<value>
OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
<status> Status
0 Fail
2 Success
<value> 0-2800 Voltage
OK
Read Command Response
AT+QSCLK? +QSCLK: <n>
OK
Write Command Response
AT+QSCLK=<n> OK
Maximum Response Time 300ms
Reference
Quectel
Parameter
NOTE
In mode 2, the first UART data that the module received in sleep mode will be discarded as it is used to
wake up the module. It‟s suggested to send an extra AT command to wake up the module first, and then
continue to send other commands.
OK
Read Command Response
AT+QLEDMODE? +QLEDMODE: <ledmode>
OK
Write Command Response
AT+QLEDMODE=<ledmode> OK
Parameter
NOTE
OK
Read Command Response
AT+QVBATT? +QVBATT: 0,<threshold>,<state>
+QVBATT: 1,<threshold>,<state>
+QVBATT: 2,<threshold>,<state>
+QVBATT: 3,<threshold>,<state>
OK
Write Command Response
AT+QVBATT=<threshold_type>[,<thr If format is right, response
eshold>[,<state>]] OK
OK
Parameter
NOTES
1. When the battery voltage reaches the setting threshold, reported the URC as follows:
UNDER_VOLTAGE WARNING
UNDER_VOLTAGE POWER DOWN
OVER_VOLTAGE WARNING
OVER_VOLTAGE POWER DOWN
2. This command can be saved by AT&W.
Example
AT+QVBATT=? //Test command, query threshold setting range
+QVBATT: 0,(3451-3600),(0,1)
+QVBATT: 1,(3100-3450),(0,1)
+QVBATT: 2,(4300-4550),(0,1)
+QVBATT: 3,(4551-4730),(0,1)
OK
AT+QVBATT? //Read command
+QVBATT: 0,3500,1
+QVBATT: 1,3100,1
+QVBATT: 2,4500,0
+QVBATT: 3,4600,0
OK
AT+QVBATT=0,3490 //Set the low voltagel warning voltage as 3490mV
OK
AT+QVBATT=0 //Query the low voltage warning threshold and state
+QVBATT: 0,3490,1 //0 is the function type of the low voltage warning; 3490 is
the threshold of the low voltage warning; 1 means that the
function of the low voltage power warning is enabled.
OK
AT+QVBATT=1,3300,0 //The functon of the low voltagel power off is disabled.
OK
AT+QVBATT=1 //Query the threshold of the low voltage power off and the
state
+QVBATT: 1,3300,0 //1 means the function type of the low voltage power off;
OK
OK
Read Command Response
AT+QTEMP? +QTEMP: <mode>,<voltage>,<temperature>
OK
Write Command Response
AT+QTEMP=<mode>[,<tick>,<count> If <mode>=1 and command successful:
] OK
+QTEMP: <mode>,<voltage>,<temperature>
…
Parameter
<mode> 0 Disable
1 Enable
2 Sample and report circularly
<tick> 1-40-65535 Sampling period, only takes effect when <mode>=2
<count> 1-254 Sampling times, only takes effect when <mode>=2
<voltage> The current voltage of the temperature sensitive resistor (mV)
NOTES
1. When <tick> and <count> are omitted, their default values will be used if they haven‟t been set yet;
otherwise their previous values will be used.
2. URC interval time is approximately equal to <count>*(<tick>*4.615 + 6) milliseconds when <mode>=2.
OK
Write Command Response
AT+QMSDC=<mode> OK
Reference
Parameter
NOTE
The configuration of this command will take effect immediately and will not be saved after power off.
15 Others Commands
NOTE
This command does not work when the serial multiplexer is active. It does not have to end with the
terminating character.
Example
AT
OK
A/ //Re-issue the previous command
OK
Parameter
OK
Write Command Response
ATS3=<n> This parameter setting determines the character recognized
by TA to terminate an incoming command line. The TA also
returns this character in output.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
OK
Write Command Response
ATS4=<n> This parameter setting determines the character generated
by the TA for result code and information text.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
OK
Write Command Response
ATS5=<n> This parameter setting determines the character recognized
by TA as a request to delete the immediately preceding
character from the command line.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
OK
Read Command Response
AT+QRIMODE? +QRIMODE: <timemode>
OK
Write Command Response
AT+QRIMODE=<timemode> OK
Parameter
OK
Write Command Response
AT+QCFG=”RFTXburst",<indmode> OK
Parameter
NOTES
4.615ms
RFTXMON
Transmit burst
16 Appendixes
Abbreviation Description
ME Mobile Equipment
MS Mobile Station
TA Terminal Adapter
TE Terminal Equipment
ATE <value> 1
ATQ <n> 0
ATS0 <n> 0
ATS3 <n> 13
ATS4 <n> 10
ATS5 <n> 8
ATS6 <n> 2
ATS7 <n> 60
ATS8 <n> 2
ATS10 <n> 15
ATV <value> 1
ATX <value> 4
AT&C <value> 1
AT&D <value> 0
AT+ILRR <value> 0
AT+CREG <n> 0
AT+CCWA <n> 0
AT+CLIP <n> 0
AT+CLIR <n> 0
AT+CMEE <n> 1
AT+COLP <n> 0
AT+CR <mode> 0
AT+QDISH <disableath> 0
AT+CRSL <level> 55
AT+CUSD <n> 0
AT+CSNS <mode> 0
AT+CMOD <mode> 0
AT+CMGF <mode> 0
AT+CSDH <show> 0
AT+CSMS <service> 0
AT+QSCLK <n> 0
AT+QCLIP <n> 0
AT+QCOLP <n> 0
AT+QIURC <mode> 1
AT+QEXTUNSOL <mode> 0
AT+QRIMODE <timemode> 0
AT+QSIMSTAT <enable> 0
ATX <value> No
AT+QDISH <disableath> No
AT+CRSL <level> No
AT+CLVL <level> No
<gainlevel(Normal_Mic)>,<gainlevel(He
AT+QMIC adset_Mic)>,<gainlevel(Loudspeaker_ Yes
Mic)>
AT+QSCLK <n> No
AT+QIURC <mode> No
AT+QEXTUNSOL <mode> No
AT+QRIMODE <timemode> No
ATE <value> 1
ATQ <n> 0
ATS0 <n> 0
ATS3 <n> 13
ATS4 <n> 10
ATS5 <n> 8
ATS6 <n> 2
ATS7 <n> 60
ATS8 <n> 2
ATS10 <n> 15
ATV <value> 1
ATX <value> 4
AT&C <value> 1
AT&D <value> 0
AT+ILRR <value> 0
AT+CREG <n> 0
AT+CCWA <n> 0
AT+CLIP <n> 0
AT+CLIR <n> 0
AT+CMEE <n> 1
AT+COLP <n> 0
AT+CR <mode> 0
AT+QDISH <disableath> 0
AT+CRSL <level> 55
AT+CUSD <n> 0
AT+CSNS <mode> 0
AT+CMOD <mode> 0
AT+CMGF <mode> 0
AT+CSDH <show> 0
AT+CSMS <service> 0
AT+QSCLK <n> 0
AT+QCLIP <n> 0
AT+QCOLP <n> 0
AT+QIURC <mode> 1
AT+QEXTUNSOL <mode> 0
AT+QRIMODE <timemode> 0
AT+QSIMSTAT <enable> 0
<data>
OVER_VOLTAGE POWER
29 Over voltage shutdown indication N/A
DOWN
AT+QALARM=1,<t
43 ALARM RING Alarm event is triggered
ime>,<repeat>,0/1
AT+QALARM=1,<t
44 ALARM MODE ME is switched on by alarm
ime>,<repeat>,2
Final result code +CME ERROR: <err> indicates an error related to mobile equipment or network. The
operation is similar to ERROR result code. None of the following commands in the same command line is
executed. Neither ERROR nor OK result code shall be returned.
<err> values are mostly used by common message commands. The following table lists most of general
and GRPS related ERROR Codes. For some GSM protocol failure cause described in GSM specifications,
the corresponding ERROR codes are not included.
0 Phone failure
1 No connection to phone
8 PH_SIM_PUK_REQUIRED
13 (U)SIM failure
14 (U)SIM busy
15 (U)SIM wrong
16 Incorrect password
20 Memory full
21 Invalid index
22 Not found
23 Memory failure
30 No network service
31 Network timeout
100 Unknow
103 Illegal MS
106 Illegal ME
600 No Error
604 Unspecified
3515 PS busy
Final result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The
operation is similar to ERROR result code. None of the following commands in the same command line is
executed. Neither ERROR nor OK result code shall be returned.
300 ME failure
331 No network
500 Unknown
3515 PS busy
ID Description
0 No error (default)
Cause Description
CM Cause
1 Unassigned number
3 No route to destination
6 Channel unacceptable
10 Call barred
11 Reserved
17 User busy
18 No user responding
21 Call rejected
22 Number changed
25 Pre-emption
29 Facility rejected
31 Normal, unspecified
34 No circuit/channel available
41 Temporary failure
88 Incompatible destination
192 SC busy
193 No SC subscription
197 SM Rejected-Duplicate SM
210 Error in MS
CC Cause
774 Illegal BC
SS Cause
1044 SS incompatibility
MM Cause
2051 Illegal MS
2054 Illegal ME
2070 Congestion
2163 RR no service
2174 No service
SIM Cause
2563 No inserted
2569 DL error
SM Cause
3153 Invalid TI
3171 Unimplemented IE
3183 Unspecified
ABM Cause
3273 Success
3283 Rejected
3285 Abort
TCM Cause
Cause Description
114 No coverage
131 Abnormal LU
Cause Description
0 No error
1 LCP fail
2 Authentication fail
3 IPCP fail
4 ESC detect