- No category
advertisement
M10
AT Commands Manual
GSM/GPRS Module Series
Rev. M10_AT_Commands_Manual_V4.0
Date: 2014-11-04 www.quectel.com
GSM/GPRS Module Series
M10 AT Commands Manual
Our aim is to provide customers with timely and comprehensive service. For any assistance, please contact our company headquarters:
Quectel Wireless Solutions Co., Ltd.
Office 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233
Tel: +86 21 5108 6236
Mail: [email protected]
Or our local office, for more information, please visit:
http://www.quectel.com/support/salesupport.aspx
For technical support, to report documentation errors, please visit:
http://www.quectel.com/support/techsupport.aspx
GENERAL NOTES
QUECTEL OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
Quectel
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
Confidential
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. 2014. All rights reserved.
M10_AT_Commands_Manual Confidential / Released 1 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
About the Document
History
3.1
3.2
4.0
Author Description Revision Date
3.0 2012-03-06 Derrick DAI Initial
1. Added AT Command AT+QLTS
2012-03-16 Bonnie ZHAO
2. TCP/UDP over CSD is not supported at present.
2012-05-20 Bonnie ZHAO
1. Modified default value for AT+QRIMODE
2. Added AT Commands:
Quectel
2. Deleted AT Commands:
2014-11-04 Ada LI
AT+CSIM/AT+CMOD/AT+CACM/AT+CAOC/AT+C
PUC/AT+CCWE/AT+DR/AT+DS/AT+CRLP/AT+Q
GPIO/AT+QMUXC/AT+CBST
Confidential
M10_AT_Commands_Manual Confidential / Released 2 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Contents
Combining AT Commands on the Same Command Line ........................................... 11
Entering Successive AT Commands on Separate Lines ............................................ 11
AT+CGSN Request Product Serial Number Identification (Identical with +GSN) .............. 19
ATX Set CONNECT Result Code Format and Monitor Call Progress ............................... 25
M10_AT_Commands_Manual Confidential / Released 3 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+QEXTUNSOL Enable/Disable Proprietary Unsolicited Indications .............................. 46
AT+CTZU Network Time Synchronization and Update the RTC Time .............................. 51
M10_AT_Commands_Manual Confidential / Released 4 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
ATS7 Set Number of Seconds to Wait for Connection Completion ................................... 86
ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier ................................. 87
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier ....................... 88
M10_AT_Commands_Manual Confidential / Released 5 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+QCLASS0 Store Class 0 SMS to SIM when Receiving Class 0 SMS ....................... 120
AT+QMGHEX Enable to Send Non-ASCII Character SMS ............................................. 122
AT+QISEND Send Data through TCP or UDP Connection .............................................. 144
AT+QIREGAPP Start TCPIP Task and Set APN, User Name and Password .................. 148
AT+QISTATE Query Connection Status of the Current Access ....................................... 152
AT+QIDNSGIP Query the IP Address of Given Domain Name ....................................... 155
AT+QIDNSIP Connect with IP Address or Domain Name Server .................................... 156
M10_AT_Commands_Manual Confidential / Released 6 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+QISHOWRA Set Whether or Not to Display the Address of Sender ..................... 161
AT+QISHOWPT Control Whether or Not to Show the Protocol Type .............................. 165
AT+QIMUX Control Whether or Not to Enable Multiple TCPIP Session .......................... 166
AT+QISHOWLA Control Whether or Not to Display Local IP Address ............................ 167
AT+QISDE Control Whether or Not to Echo the Data for QISEND ................................. 171
M10_AT_Commands_Manual Confidential / Released 7 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
M10_AT_Commands_Manual Confidential / Released 8 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Table Index
TABLE 3: ATV0&ATV1 RESULT CODES NUMERIC EQUIVALENTS AND BRIEF DESCRIPTIONS .............. 24
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 9 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
1
Introduction
1.1. Scope of the Document
This document presents the AT Commands Set for Quectel cellular engine M10.
1.2. AT Command Syntax
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
Quectel recommendation V.25ter and 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
Confidential 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. “<m>” is optional; if it is missing, then a default value is assigned.
Extended syntax
These commands can be operated in several modes, as following table:
M10_AT_Commands_Manual Confidential / Released 10 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Table 1: Types of AT Commands and Responses
Test Command
Read Command
AT+<x>=?
AT+<x>?
This command returns the list of parameters and value ranges set by the corresponding Write Command or internal processes.
This command returns the currently set value of the parameter or parameters.
Write Command
AT+<x>=<…> This command sets the user-definable parameter values.
Execution
Command
AT+<x>
This command reads non-variable parameters affected by internal processes in the GSM engine
1.2.1. Combining AT Commands on the Same Command Line
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 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”.
Quectel
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 M10 AT Command interface defaults to the IRA character set. The M10 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 of SMS and SMS Cell Broadcast Messages, the entry and display of phone book entries text field and
M10_AT_Commands_Manual Confidential / Released 11 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
SIM Application Toolkit alpha strings.
1.4. Flow Control
Flow control is very important for correct communication between the GSM engine and DTE. For example, in the case such as a data or FAX call, the sending device is transferring data faster than the receiving side is ready to accept. When the receiving buffer reaches its capacity, the receiving device should be capable 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. M10 supports both two kinds of flow control.
In Multiplex mode, it is recommended to use the hardware flow control.
The default flow control approach of M10 is closed.
1.4.1. Software Flow Control (XON/XOFF Flow Control)
Quectel
The default flow control approach of M10 is closed, to enable software flow control in the DTE interface and within GSM engine, type the following AT command:
AT+IFC=1, 1<CR>
with AT&W<CR>.
Confidential uses 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.
M10_AT_Commands_Manual Confidential / Released 12 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
1.4.2. Hardware Flow Control (RTS/CTS Flow Control)
The default flow control approach of M10 is closed, 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 should be suspended, the CTS line is set inactive until the transfer from the receiving buffer has completed. When the receiving buffer is ok to receive more data, CTS goes active once again.
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform.
1.5. Unsolicited Result Code
automatically when an event occurs, to reflect change in system state or as a result of a query the ME received before, often 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 Appendix.
Confidential
M10_AT_Commands_Manual Confidential / Released 13 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2
General Commands
2.1. ATI Display Product Identification Information
ATI Display Product Identification Information
Execution Command
ATI
Response
TA issues product information text
Quectel_Ltd
Quectel_M10
Maximum Response Time
Reference
Revision: M10FARxxAxx
Quectel
V.25ter
Example
ATI
OK
Quectel_Ltd
Quectel_M10
Confidential
2.2. AT+GMI Request Manufacturer Identification
AT+GMI Request Manufacturer Identification
Test Command
AT+GMI=?
Execution Command
AT+GMI
Response
OK
Response
TA reports one or more lines of information text which permit the user to identify the manufacturer.
M10_AT_Commands_Manual Confidential / Released 14 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
V.25ter
Quectel_Ltd
Quectel_M10
Revision: MTK 0828
OK
300ms
2.3. AT+GMM Request TA Model Identification
AT+GMM Request TA Model Identification
Test Command
AT+GMM=?
Response
OK
Execution Command
AT+GMM
Maximum Response Time
Response
TA returns a product model identification text.
Quectel_M10
300ms
Reference
V.25ter
AT+GMR Request TA Revision Identification of Software Release
Test Command
AT+GMR=?
Execution Command
AT+GMR
Response
OK
Response
TA reports one or more lines of information text which permit the user to identify the revision of software release.
Revision: <revision>
OK
Maximum Response Time 300ms
Reference
V.25ter
M10_AT_Commands_Manual Confidential / Released 15 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<revision> Revision of software release
Example
AT+GMR
Revision: M10FAR01A01
OK
2.5. AT+GOI Request Global Object Identification
AT+GOI Request Global Object Identification
Test Command
AT+GOI=?
Execution Command
AT+GOI
Response
OK
Response
Quectel
<Object Id>
OK
Maximum Response Time
Reference
V.25ter
Parameter
300ms
Confidential
<Object Id> Identifier of device type
NOTE
See X.208, 209 for the format of <Object Id>. For example, in M10 wireless module, string
“M10” is displayed.
M10_AT_Commands_Manual Confidential / Released 16 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2.6. AT+CGMI Request Manufacturer Identification
AT+CGMI Request Manufacturer Identification
Test Command
AT+CGMI=?
Execution Command
AT+CGMI
Response
OK
Response
TA returns manufacturer identification text.
Quectel_Ltd
Quectel_M10
Revision: MTK 0828
OK
Maximum Response Time
Reference
GSM 07.07
300ms
AT+CGMM Request Model Identification
Test Command
AT+CGMM=?
Execution Command
AT+CGMM
Response
OK
Response
Maximum Response Time
Reference
GSM 07.07
300ms
2.8. AT+CGMR Request TA Revision Identification of Software Release
AT+CGMR Request TA Revision Identification of Software Release
Test Command
AT+CGMR=?
Execution Command
AT+CGMR
Response
OK
Response
TA returns product software version identification text.
M10_AT_Commands_Manual Confidential / Released 17 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
Revision: <revision>
OK
300ms
Parameter
<revision> Product software version identification text
2.9. AT+GSN Request International Mobile Equipment Identity (IMEI)
AT+GSN Request International Mobile Equipment Identity (IMEI)
Test Command
AT+GSN=?
Execution Command
AT+GSN
Response
Quectel the individual ME device.
<sn>
Maximum Response Time
Reference
V.25ter
Parameter
OK
300ms
Confidential
<sn> IMEI of the telephone
NOTE
The serial number (IMEI) is varied with the individual ME device.
M10_AT_Commands_Manual Confidential / Released 18 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2.10. AT+CGSN Request Product Serial Number Identification
(Identical with +GSN)
AT+CGSN Request Product Serial Number Identification (Identical with +GSN)
Test Command
AT+CGSN=?
Execution Command
AT+CGSN
Response
OK
Response
<sn>
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<sn>
NOTE
See +GSN.
Quectel
AT+QGSN Request Product Serial Number Identification (IMEI)
Test Command
AT+QGSN=?
Execution Command
AT+QGSN
Response
OK
Response
+QGSN: <sn>
OK
Maximum Response Time
Reference
300ms
M10_AT_Commands_Manual Confidential / Released 19 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<sn> A string parameter which indicates the IMEI of the telephone
NOTE
The serial number (IMEI) is varied with the individual ME device.
Example
AT+QGSN
//Query the IMEI
+QGSN: "865734020000749"
OK
2.12. AT&F Set all Current Parameters to Manufacturer Defaults
Execution Command
AT&F[<value>]
Quectel profile.
OK
Maximum Response Time
Reference
V.25ter
Parameter
300ms
Confidential
<value> 0 Set all TA parameters to manufacturer defaults
2.13. AT&V Display Current Configuration
AT&V Display Current Configuration
Execution Command
AT&V[<n>]
Response
TA returns the current parameter setting.
ACTIVE PROFILE
M10_AT_Commands_Manual Confidential / Released 20 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
V.25ter
<current configurations text>
OK
300ms
Parameter
<n> 0 Profile number
Table 2: AT&V Display Current Configuration List
AT&V or AT&V0
AT&V
E: 1
Q: 0
V: 1
X: 4
S0: 0
S2: 43
S3: 13
ACTIVE PROFILE
Quectel
S4: 10
S5: 8
S6: 2
S7: 60
S8: 2
S10: 15
+FCLASS: 0
Confidential
+CR: 0
+CMGF: 0
+CSDH: 0
+ILRR: 0
+CMEE: 1
+IFC: 0,0
+ICF: 3,3
+CNMI: 2,1,0,0,0
+CSCS: "GSM"
+IPR: 0
&C: 1
&D: 0
M10_AT_Commands_Manual Confidential / Released 21 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CSTA: 129
+CRLP: 61,61,128,6,0,3
+CCWE: 0
+QSIMSTAT: 0
+CMUX: -1
+CCUG: 0,10,0
+CLIP: 0
+COLP: 0
+CCWA: 0
+CAOC: 1
+CLIR: 0
+CUSD: 0
+CREG: 0
+QSIMDET: 0,0,0
+QMIC: 4,9,8
+QECHO(NORMAL_AUDIO): 253,96,16388,57351,0
+QECHO(Earphone_AUDIO): 253,0,10756,57351,1
OK
+QECHO(LoudSpk_AUDIO): 224,96,5256,57351,2
+QSIDET(NORMAL_AUDIO): 80
+QSIDET(HEADSET_AUDIO): 144
+QCLIP: 0
+QCOLP: 0
+CSNS: 0
Quectel
2.14. AT&W Store Current Parameter to User Defined Profile
Confidential
AT&W[<n>]
Response
TA stores the current parameter setting in the user defined profile.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
<n> 0 Profile number to store to
M10_AT_Commands_Manual Confidential / Released 22 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
The profile defined by user is stored in nonvolatile memory.
2.15. ATQ Set Result Code Presentation Mode
ATQ Set Result Code Presentation Mode
Execution Command
ATQ[<n>]
Response
This parameter setting determines whether or not the TA transmits any result code to the TE. Information text transmitted in response is not affected by this setting.
If <n>=0:
OK
If <n>=1:
Maximum Response Time
Reference
V.25ter
Parameter
(none)
300ms
Quectel
<n> 0 TA transmits result code
1 Result codes are suppressed and not transmitted
ATV TA Response Format
Execution Command
ATV[<value>]
Maximum Response Time
Response
This parameter setting determines the contents of the header and trailer transmitted with result codes and information responses.
When <value>=0
0
When <value>=1
OK
300ms
M10_AT_Commands_Manual Confidential / Released 23 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Reference
V.25ter
Parameter
<value> 0 Information response: <text><CR><LF>
Short result code format: <numeric code><CR>
1 Information response: <CR><LF><text><CR><LF>
Long result code format: <CR><LF><verbose code><CR><LF>
NOTE
The result codes, their numeric equivalents and brief descriptions of the use of each are listed in the following table.
OK
Example
0
ATV1
//Set <value>=1
OK
AT+CSQ
+CSQ: 30,0
Quectel
OK
//When <value>=1 result code is OK
ATV0
//Set <value>=0
ATV1
AT+CSQ
+CSQ: 30,0
0
Confidential
ATV0 Description
0
CONNECT
RING
NO CARRIER
1
2
3
Acknowledges execution of a command
A connection has been established; the DCE is moving from command state to online data state
The DCE has detected an incoming call signal from network
The connection has been terminated or the attempt to establish a connection failed
Command not recognized, command line maximum ERROR 4
M10_AT_Commands_Manual Confidential / Released 24 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NO DIALTONE
BUSY
NO ANSWER
PROCEEDING
CONNECT <text>
6 length exceeded, parameter value invalid, or other problem with processing the command line
No dial tone detected
7
8
9
Manufacturer-specific
Engaged (busy) signal detected
"@" (Wait for Quiet Answer) dial modifier was used, but remote ringing followed by five seconds of silence was not detected before expiration of the connection timer
(S7)
An AT command is being processed
Same as CONNECT, but includes manufacturer-specific text that may specify DTE speed, line speed, error control, data compression, or other status
2.17. ATX Set CONNECT Result Code Format and Monitor Call
Progress
Quectel
Execution Command
ATX[<value>]
Response
This parameter setting determines whether or not the TA
Maximum Response Time
Reference detected the presence of dial tone and busy signal and whether or not TA transmits particular result codes.
Confidential
V.25ter
Parameter
<value> 0 CONNECT result code only returned, dial tone and busy detection are both disabled
1 CONNECT<text> result code only returned, dial tone and busy detection are both disabled
2 CONNECT<text> result code returned, dial tone detection is enabled, busy detection is disabled
3 CONNECT<text> result code returned, dial tone detection is disabled, busy detection is enabled
M10_AT_Commands_Manual Confidential / Released 25 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
4 CONNECT<text> result code returned, dial tone and
NOTES
busy detection are both enabled
1. If parameter is omitted, the command has the same behavior of ATX0.
2. The factory default is <value>=4.
2.18. ATZ Set all Current Parameters to User Defined Profile
ATZ Set all Current Parameters to User Defined Profile
Execution Command
ATZ[<value>]
Response
TA sets all current parameters to the user defined profile.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
Quectel
<value> 0 Reset to profile number 0
NOTES
2. If the user profile is invalid, it will default to the factory default profile.
3. Any additional commands on the same command line are ignored.
2.19. AT+CFUN Set Phone Functionality
AT+CFUN Set Phone Functionality
Test Command
AT+CFUN=?
Read Command
AT+CFUN?
Response
+CFUN: (list of supported <fun>s), (list of supported <rst>s)
OK
Response
+CFUN: <fun>
M10_AT_Commands_Manual Confidential / Released 26 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
AT+CFUN=<fun>[,<rst>]
Maximum Response Time
Reference
GSM 07.07
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
15s, determined by network.
Parameter
<fun> 0 Minimum functionality
1 Full functionality (Default)
4 Disable phone both transmit and receive RF circuits
<rst> 0 Do not reset the ME before setting it to <fun> power level
This is default when <rst> is not given nonvolatile memory
Example
1
Quectel
AT+CFUN=0
//Switch phone to minimum functionality
OK
+CPIN: NOT READY
OK
AT+COPS?
+COPS: 0
Confidential
AT+CPIN?
+CME ERROR: 13
//SIM failure
AT+CFUN=1
//Switch phone to full functionality
OK
+CPIN: SIM PIN
AT+CPIN=1234
+CPIN: READY
OK
Call Ready
M10_AT_Commands_Manual Confidential / Released 27 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+CPIN?
+CPIN: READY
OK
AT+COPS?
+COPS: 0,0,"CHINA MOBILE"
//Operator is registered
OK
2.20. AT+QPOWD Power off
AT+QPOWD Power off
Write Command
AT+QPOWD=<n>
Response
When <n>=0
OK
Maximum Response Time
Reference
Parameter
When <n>=1
NORMAL POWER DOWN
Quectel
<n>
Example
0 Urgent power off ( Do not send out URC "NORMAL POWER DOWN")
1 Normal power off (Send out URC "NORMAL POWER DOWN")
AT+QPOWD=0
Confidential
OK
//Urgent power off, returned OK
AT+QPOWD=1
NORMAL POWER DOWN
//Normal power off, send out URC
“NORMAL
POWER DOWN
”
2.21. AT+CMEE Report Mobile Equipment Error
AT+CMEE Report Mobile Equipment Error
Test Command
AT+CMEE=?
Response
+CMEE: (list of supported <n>s)
M10_AT_Commands_Manual Confidential / Released 28 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Read Command
AT+CMEE?
Write Command
AT+CMEE=[<n>]
Maximum Response Time
Reference
GSM 07.07
OK
Response
+CMEE: <n>
OK
Response
TA disables or enables the use of result code +CME ERROR:
<err> as an indication of an error related to the functionality of the ME.
OK
300ms
Parameter
<n> 0 Disable result code
2 Enable result code and use verbose values
Example
1
Quectel
AT+CMEE=0
//Disable result code
OK
AT+CPIN=1234
ERROR
//Only
“ERROR” will be displayed
AT+CMEE=1
OK
AT+CPIN=1234
Confidential
+CME ERROR: 10
AT+CMEE=2
//Enable error result code with verbose (string)
values
OK
AT+CPIN=1234
+CME ERROR: SIM not inserted
M10_AT_Commands_Manual Confidential / Released 29 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2.22. AT+CSCS Select TE Character Set
AT+CSCS Select TE Character Set
Test Command
AT+CSCS=?
Read Command
AT+CSCS?
Write Command
AT+CSCS=<chset>
Response
+CSCS: (list of supported <chset>s)
OK
Response
+CSCS: <chset>
OK
Response
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
Reference
GSM 07.07
Parameter
<chset> "GSM"
300ms
Quectel
GSM default alphabet
"HEX" Character strings consist only of hexadecimal numbers from 00 to FF
"IRA" International reference alphabet
"PCCP437" PC character set code
"8859-1" ISO 8859 Latin 1 character set
Example
Confidential
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
M10_AT_Commands_Manual Confidential / Released 30 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2.23. AT+GCAP Request Complete TA Capabilities List
AT+GCAP Request Complete TA Capabilities List
Test Command
AT+GCAP=?
Execution Command
AT+GCAP
Response
OK
Response
TA reports a list of additional capabilities.
+GCAP: <name>
OK
Maximum Response Time
Reference
V.25ter
300ms
Parameter
<name> +CGSM GSM function is supported
+FCLASS
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 31 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
3
Serial Interface Control Commands
3.1. AT&C Set DCD Function Mode
AT&C Set DCD Function Mode
Execution Command
AT&C[<value>]
Response
This parameter determines how the state of circuit 109(DCD) relates to the detection of received line signal from the distant end.
OK
Maximum Response Time
Reference
V.25ter
Parameter
300ms
Quectel
<value> 0 DCD line is always ON
1 DCD line is ON only in the presence of data carrier
AT&D Set DTR Function Mode
Execution Command
AT&D[<value>]
Maximum Response Time
Reference
V.25ter
Response
This parameter determines how the TA responds when circuit
108/2(DTR) is changed from the ON to the OFF condition during data mode.
OK
300ms
M10_AT_Commands_Manual Confidential / Released 32 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<value> 0 TA ignores status on DTR
1 ON->OFF on DTR: Change to command mode with remaining the connected call
2 ON->OFF on DTR: Disconnect data call, change to command mode. During state
DTR = OFF auto-answer is off
3.3. AT+ICF Set TE-TA Control Character Framing
AT+ICF Set TE-TA Control Character Framing
Test Command
AT+ICF=?
Response
+ICF: (list of supported <format>s), (list of supported
<parity>s)
OK
Read Command
AT+ICF?
Write Command
AT+ICF=[<format>[,<parity>]]
Response
+ICF: <format>,<parity>
Response
This parameter setting determines the serial interface character framing format and parity received by TA from TE.
OK
Maximum Response Time
Reference
V.25ter
Parameter
300ms
Confidential
<format> 1 8 data 0 parity 2 stop
2 8 data 1 parity 1 stop
3 8 data 0 parity 1 stop
4 7 data 0 parity 2 stop
5 7 data 1 parity 1 stop
6 7 data 0 parity 1 stop
<parity> 0 Odd
1 Even
2 Mark (1)
3 Space (0)
M10_AT_Commands_Manual Confidential / Released 33 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTES
1. The command is applied for command state.
2. The <parity> field is ignored if the <format> field specifies no parity.
3.4. AT+IFC Set TE-TA Local Data Flow Control
AT+IFC Set TE-TA Local Data Flow Control
Test Command
AT+IFC=?
Response
+IFC: (list of supported <dce_by_dte>s), (list of supported
<dte_by_dce>s)
OK
Read Command Response
AT+IFC?
Write Command
AT+IFC=<dce_by_dte>,<dte_by_dce>
+IFC: <dce_by_dte>,<dte_by_dce>
OK
This parameter setting determines the data flow control on the serial interface for data mode.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
Confidential
0 None
1 XON/XOFF, do not pass characters on to data stack
2 RTS flow control
<dte_by_dce> Specifies the method will be used by TA when receiving data from TE
0 None
1 XON/XOFF
2 CTS flow control
M10_AT_Commands_Manual Confidential / Released 34 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
The <dce_by_dte> and <dte_by_dce> need be same, otherwise error will reported.
Example
AT+IFC=2,2
//Open the hardware flow control
OK
AT+IFC?
+IFC: 2,2
OK
3.5. AT+ILRR Set TE-TA Local Data Rate Reporting Mode
AT+ILRR Set TE-TA Local Data Rate Reporting Mode
Test Command
AT+ILRR=?
Quectel
Read Command
AT+ILRR?
Response
+ILRR: <value>
Write Command
AT+ILRR=[<value>]
OK
Response 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
300ms Maximum Response Time
Reference
V.25ter
Parameter
<value> 0 Disables reporting of local port rate
1 Enables reporting of local port rate
M10_AT_Commands_Manual Confidential / Released 35 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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
4800
9600
14400
19200
28800
38400
57600
115200
AT+IPR Set TE-TA Fixed Local Rate
Test Command Response
AT+IPR=? +IPR: (list of supported auto detectable <rate>s),(list of
Read Command
AT+IPR?
supported fixed-only<rate>s)
Confidential
Write Command
OK
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 of command takes effect.
OK
300ms Maximum Response Time
Reference
V.25ter
M10_AT_Commands_Manual Confidential / Released 36 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<rate> Baud rate per second
0 (Autobauding)
75
150
300
600
1200
2400
4800
9600
14400
19200
28800
38400
57600
115200
NOTES
2. If a fixed baud rate is set, make sure that both TE (DTE, usually external processor) and TA (DCE,
Quectel GSM module) are configured to the same rate. If adaptive baud is enabled, the TA could automatically recognize the baud rate currently used by the TE after receiving
“AT” or “at” string.
3. The value of AT+IPR cannot be restored with AT&F and ATZ, but it is still storable with AT&W and visible in AT&V.
4. In multiplex mode, the baud rate cannot be changed by the write command AT+IPR=<rate>, and the
Confidential
“OK”.
Example
AT+IPR=115200
//Set fixed baud rate to 115200
OK
AT&W
//Store current setting, that is, the serial
communication speed is 115200 after restart
module
OK
AT+IPR?
+IPR: 115200
OK
M10_AT_Commands_Manual Confidential / Released 37 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
3.6.1. Adaptive Baud
To take advantage of adaptive baud mode, specific attention must be paid to the following requirements:
1. Adaptive baud synchronization between TE and TA.
Ensure that TE and TA are correctly synchronized and the baud rate used by the TE is detected by the TA. To allow the baud rate to be synchronized simply use an
“AT” or “at” string. This is necessary after customer activates adaptive baud or when customer starts up the module with adaptive baud 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 enabled. Otherwise undefined characters might be returned.
2. Restriction on adaptive baud operation.
The serial interface shall be used with 8 data bits, no parity and 1 stop bit (factory setting).
The command “A/” can‟t be used.
Only the string “AT” or “at” can be detected (either “At” or “aT”).
URCs that may be issued before the TA detects a new baud rate by receiving the first AT character, and they will be sent at the previously detected baud rate.
If TE ‟s baud rate is changed after TA has recognized the earlier baud rate, loss of
Quectel
“AT” or “at” string must be re-sent by TE to regain synchronization on baud rate. To avoid undefined characters during baud rate resynchronization and the possible malfunction of resynchronization, it is not recommended to switch TE
‟s baud rate when adaptive baud is enabled. Especially, this operation is forbidden in data mode.
3. Adaptive baud and baud rate after restarting.
In the adaptive baud mode, the detected baud rate is not saved. Therefore, resynchronization is
Confidential stored to the user profile with AT&W.
Until the baud rate is synchronized, URCs after restarting will not be output when adaptive baud is enabled.
4. Adaptive baud and multiplex mode.
If adaptive baud is active it is not recommended to switch to multiplex mode.
5. Adaptive baud and Windows modem.
The baud rate used by Windows modem can be detected while setting up a dial-up GPRS/CSD connection. However, some Windows modem drivers switch TE
‟s baud rate to default value automatically after the GPRS call is terminated. In order to prevent no response to the Windows
M10_AT_Commands_Manual Confidential / Released 38 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
modem when it happens, it is not recommended to establish the dial-up GPRS/CSD connection in adaptive baud mode.
Based on the same considerations, it is also not recommended to establish the FAX connection in adaptive baud mode for PC FAX application, such as WinFax.
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 after start-up.
3.7. AT+CMUX Multiplexer Control
AT+CMUX Multiplexer Control
Test Command Response
AT+CMUX=?
Read Command
+CMUX:
(list of supported <mode>s),(<subset>s),
(<port_speed>s),(<N1>s),(<T1>s),(<N2>s),(<T2>s),(<T3>s),
Quectel
+CMUX:<mode>,0,5,127,10,3,30,10,2 AT+CMUX?
Write Command
AT+CMUX=[<mode>[,<subset>[,<port
_speed>[,<N1>[,<T1>[,<N2>[,<T2>[,<T
3>[,<k>]]]]]]]]]
OK
ERROR
Response
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<mode> Multiplexer transparency mechanism
0 Basic option
<subset> The way by which the multiplexer control channel is set up
0 UIH frames used only
<port_speed> Transmission rate
M10_AT_Commands_Manual Confidential / Released 39 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
5 115200bit/s
<N1> Maximum frame size
127
<T1> Acknowledgement timer in a unit of ten milliseconds
10
<N2> Maximum number of re-transmissions
3
<T2> Response timer for the multiplexer control channel in a unit of ten milliseconds
30
<T3> Wake up response timers in seconds
10
<k> Window size, for Advanced operation with Error Recovery options
2
NOTES
1. Advanced option with Error Recovery options is not supported.
2. The multiplexing transmission rate is fixed according to the current serial baud rate. It is recommended to enable multiplexing protocol under 115200 bit/s baud rate.
None
1
Quectel
2 07.07 and 07.05 2
3 07.07 and 07.05 3
4 07.07 and 07.05 4
AT+QEAUART Configure Dual UART Function
Test Command
AT+QEAUART=?
Read Command
AT+QEAUART?
Write Command
AT+QEUART=<enable>
Response
+QEAUART: (0,1)
OK
Response
+QEAUART: <enable>
OK
Response
OK
M10_AT_Commands_Manual Confidential / Released 40 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<enable> 0 Disable dual UART function
1 Enable dual UART function
NOTES
1. When dual UART function is enabled, the UART port 3 can be used to execute AT commands. About
UART port 3, please refer to M10 HD document.
2. The UART port 3 can NOT be used to execute data transmission-related AT commands, such as
TCPIP, GPRS data transmission-related AT commands.
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 41 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
4
Status Control Commands
4.1. AT+CEER Extended Error Report
AT+CEER Extended Error Report
Test Command
AT+CEER=?
Execution Command
AT+CEER
Response
OK
Response
TA returns an extended report of the reason for the last call release.
300ms Maximum Response Time
Reference
GSM 07.07
Parameter
<locationID>
<cause>
Confidential proceeding from the Location ID given in Section 8.3.1
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,""
M10_AT_Commands_Manual Confidential / Released 42 / 247
GSM/GPRS Module Series
M10 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
4.2. AT+CPAS Mobile Equipment Activity Status
AT+CPAS Mobile Equipment Activity Status
Test Command Response
AT+CPAS=?
Execution Command
AT+CPAS
+CPAS: (list of supported <pas>s)
Quectel
OK
If error is related to ME functionality:
Maximum Response Time
Reference
GSM 07.07
Parameter
+CME ERROR: <err>
Confidential
<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
//Module is idle
M10_AT_Commands_Manual Confidential / Released 43 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
OK
ATD10086;
OK
AT+CLCC
+CLCC: 1,0,3,0,0,"10086",129,""
OK
AT+CPAS
+CPAS: 3
//Module is incoming call (ringing)
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,""
OK
AT+CPAS
+CPAS: 4
//Call in progress
OK
AT+QINDRI Indicate RI When Using URC
Test Command Response
AT+QINDRI=?
Read Command
AT+QINDRI?
+QINDRI: (list of supported <status>s)
Confidential
Write Command
OK
Response
AT+QINDRI=<status> OK
ERROR
Maximum Response Time
Reference
300ms
Parameter
<status> 0 Off
M10_AT_Commands_Manual Confidential / Released 44 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
1 On
4.4. AT+QMOSTAT Show State of Mobile Originated Call
AT+QMOSTAT Show State of Mobile Originated Call
Test Command
AT+QMOSTAT=?
Read Command
AT+QMOSTAT?
Response
+QMOSTAT: (list of supported <mode>s)
OK
Response
+QMOSTAT: <mode>
OK
Write Command Response
AT+QMOSTAT=<mode> OK
Maximum Response Time
Reference
Parameter
ERROR
300ms
Quectel
OK
<mode> 0 Do not show call state of mobile originated call
1 Show call state of mobile originated call. After dialing call numbers, the URC strings of MO RING will be sent if the other call side is alerted and the URC strings
Example
Confidential
AT+QMOSTAT=1
//Show call state of mobile originated call
ATD10086;
OK
MO RING
//The other call side is alerted
MO CONNECTED
//The call is established
M10_AT_Commands_Manual Confidential / Released 45 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
4.5. AT+QIURC Enable or Disable Initial URC Presentation
AT+QIURC Enable or Disable Initial URC Presentation
Test Command
AT+QIURC=?
Read Command
AT+QIURC?
Write Command
AT+QIURC=<mode>
Response
+QIURC: (list of supported <mode>s)
OK
Response
+QIURC: <mode>
OK
Response
OK
ERROR
Maximum Response Time 300ms
Reference
1 Enable URC presentation
Parameter
<mode>
0
Quectel
NOTE
When the module powers on and initialization procedure is over. URC "Call Ready" will be presented if
<mode> is 1.
Confidential
4.6. AT+QEXTUNSOL Enable/Disable Proprietary Unsolicited
Indications
AT+QEXTUNSOL Enable/Disable Proprietary Unsolicited Indications
Test Command
AT+QEXTUNSOL=?
Write Command
AT+QEXTUNSOL=<exunsol>,<mode>
Response
+QEXTUNSOL: (list of supported <extunsol>s)
OK
Response
OK
M10_AT_Commands_Manual Confidential / Released 46 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
ERROR
300ms
Parameter
<extunsol> String type. Values currently reserved by the present document
"SQ" Signal Quality Report. Displays signal strength and channel bit error rate (similar
to AT+CSQ) in form +CSQN: <rssi>, <ber>when values change.
"FN" Forbidden network available only. When returning to a non-registered state, this indicates whether all the available PLMNs are forbidden.
"MW" SMS Message waiting. On receiving an SMS (as indicated by the +CMTI
indication) the SMS is decoded and checked to see if it contains one or more of
the message waiting indications (i.e. voicemail, email, fax etc). If so, an unsolicited
indication is shown in the form for each message type:
+QMWT: <store>,<index>,<voice>,<fax>,<email>,<other>. Where <store>
"UR"
is the message store containing the SM, index is the message index and <voice>,
<email>, <fax>, <other> contain the number of waiting messages (with
„0‟
Quectel
<event>. Where <event> describes the current call state:
<event>:
0 Terminated active call, at least one held call remaining
1 Attempt to make an Mobile Originated call
Confidential
6 Mobile Originated or Mobile Terminated call has been disconnected
7 Mobile Originated or Mobile Terminated call hung up.
8 Mobile Originated call dialed a non-emergency number in emergency mode
9 No answer for mobile Originated call
10 Remote number busy for Mobile Originated call
"BC" Battery Charge. Displays battery connection status and battery charge level
(similar to AT+CBC) in form +CBCN:<bcs>,<bcl> when values change.
"BM" Band mode. Displays band mode (similar to AT+QBAND) in form +QBAND:
<band> when value changes.
"SM" Additional SMS Information. Displays additional information about SMS events in
the form of Unsolicited messages of the following format +TSMSINFO: <CMS
M10_AT_Commands_Manual Confidential / Released 47 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
error info> where <CMS error info> is a standard CMS error in the format
defined by the AT+CMEE command i.e. either a number or a string.
"CC" Call information. Displays the disconnected call ID and the remaining call
numbers after one of the call is disconnected. +CCINFO: <Call id
disconnected>,<Remain calls>
<mode> 0 Disable
1 Enable
2 Query
4.7. AT+QINISTAT Query State of Initialization
AT+QINISTAT Query State of Initialization
Test Command
AT+QINISTAT=?
Response
OK
Execution Command Response
AT+QINISTAT
Maximum Response Time
Reference
Parameter
+QINISTAT: <state>
Quectel
<state> 0
3
No initialization
Confidential
NOTE
When <state> is 3, it also means initialization of SIM card related functions has finished.
4.8. AT+QNSTATUS Query GSM Network Status
AT+QNSTATUS Query GSM Network Status
Test Command
AT+QNSTATUS=?
Response
OK
M10_AT_Commands_Manual Confidential / Released 48 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Execution Command
AT+QNSTATUS
Maximum Response Time
Reference
Response
+QNSTATUS: <status>
OK
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<status>
255 Not ready to retrieve network status
0 Work in normal state
1 No available cell
2 Only limited service is available
AT+QNITZ Network Time Synchronization
Response Test Command
AT+QNITZ=?
+QNITZ: (list of supported <enable>s)
Read Command
AT+QNITZ?
OK
Confidential
Write Command
AT+QNITZ=<enable>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Reference
300ms
M10_AT_Commands_Manual Confidential / Released 49 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<enable> 0
1
Disable to synchronize time from GSM network
Enable to synchronize time from GSM network
<time>
If the function is enabled, on receiving network time message, an unsolicited indication is shown in the form:
“+QNITZ: <time>,<ds>”
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
<ds>
Daylight Saving Time. It is zero equal to "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.
AT+QLTS Obtain Latest Network Time Synchronized
Test Command
AT+QLTS=?
Execution Command
AT+QLTS
Response
OK
Response
Write Command
AT+QLTS=<mode>
Maximum Response Time
Reference
If error is related to ME functionality:
+CME ERROR: <err>
Execution Command returns latest time for Network synchronization.
Response
+QLTS: <time>,<ds>
OK
If error is related to ME functionality
+CME ERROR: <err>
300ms
M10_AT_Commands_Manual Confidential / Released 50 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<mode> Query network time mode
0 Query latest time that network synchronized
1 Query current GMT time calculated from the latest time that network synchronized
2 Query current LOCAL time calculated from the latest time network synchronized
<time>
String type value. Format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate year
<ds>
(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.
Daylight Saving Time. It is zero equals to "04/05/06,22:10:00+08,0"
4.11. AT+CTZU Network Time Synchronization and Update the RTC
Time
AT+CTZU Network Time Synchronization and Update the RTC Time
Test Command
AT+CTZU=?
Quectel
Read Command
AT+CTZU?
Response
+CTZU: <mode>
Write Command
AT+CTZU=<mode>
OK
Confidential
Maximum Response Time
Reference
300ms
Parameter
<mode>
0 Disable automatic update RTC time via NITZ.
1 Update network synchronized time to RTC and save time zone into NVRAM.
2 Update GMT time with time zone to RTC, save time zone into NVRAM, ignore
3
4
daylight saving time.
Update localized time and time zone to RTC, and save time zone into NVRAM.
Same with <mode>=2
M10_AT_Commands_Manual Confidential / Released 51 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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.
4.12. AT+CTZR Network Time Synchronization Report
AT+CTZR Network Time Synchronization Report
Test Command
AT+CTZR=?
Response
+CTZR: (list of supported <mode>s)
OK
Response
+CTZR: <mode>
Read Command
AT+CTZR?
Write Command
AT+CTZR=<mode>
OK
Response
Quectel
Maximum Response Time
+CME ERROR: <err>
300ms
Reference
Parameter
<mode>
0
Confidential
1 Enable time zone change event reporting by unsolicited result code +CTZV: <tz>
2 Enable extended time zone reporting by unsolicited result code
+CTZE: <tz>,<dst>,[<time>]
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 take effect.
M10_AT_Commands_Manual Confidential / Released 52 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
5
SIM Related Commands
5.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI)
AT+CIMI Request International Mobile Subscriber Identity (IMSI)
Test Command
AT+CIMI=?
Execution Command
AT+CIMI
Response
OK
Response
TA returns <IMSI>for identifying the individual SIM which is attached to ME.
Maximum Response Time
Reference
GSM 07.07
Parameter
<IMSI>
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Example
AT+CIMI
460023210226023
//Query IMSI number of SIM which is attached to ME
OK
M10_AT_Commands_Manual Confidential / Released 53 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
5.2. AT+CLCK Facility Lock
AT+CLCK Facility Lock
Test Command
AT+CLCK=?
Response
+CLCK: (list of supported <fac>s)
OK
Write Command
AT+CLCK=<fac>,<mode>,<passwd>[,
<class>]
Response
This command is used to lock, unlock or interrogate a ME or a network facility <fac>. Password is normally needed to do 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>.
If <mode><>2 and command is successful
OK
If <mode>=2 and command is successful
Quectel
Maximum Response Time 5s
Reference
GSM 07.07
Parameter
<fac> "PS"
Confidential
SIM card inserted; ME may remember certain amount of previously used cards thus not requiring password when they are inserted)
"SC" SIM (lock SIM card) (SIM asks password in ME power-up and when this lock command is issued)
"AO" BAOC (Barr All Outgoing Calls) (refer to GSM02.88[6] clause 1)
"OI" BOIC (Barr Outgoing International Calls) (refer to GSM02.88[6] clause 1)
"OX" BOIC-exHC (Barr Outgoing International Calls except to Home Country) (refer to
GSM02.88[6] clause 1)
"AI"
"IR"
BAIC (Barr All Incoming Calls) (refer to GSM02.88[6] clause 2)
BIC-Roam (Barr Incoming Calls when Roaming outside the home country) (refer to GSM02.88 [6] clause 2)
"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
M10_AT_Commands_Manual Confidential / Released 54 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<mode>=0)
"AC" All in Coming barring services (refer to GSM02.30[19])(applicable only for
<mode>=0)
"FD" 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 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
<status>
Example
0
1
Off
On
OK
OK
AT+CLCK="SC", 2
+CLCK: 0
//Query the status of SIM card lock, 0-unlock
Confidential
AT+CLCK="SC",2
+CLCK: 1
//Query the status of SIM card lock, 1-lock
OK
AT+CLCK="SC",0,"1234"
//Unlock SIM card
OK
M10_AT_Commands_Manual Confidential / Released 55 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
5.3. AT+CPIN Enter PIN
AT+CPIN Enter PIN
Test Command
AT+CPIN=?
Read Command
AT+CPIN?
Response
OK
Response
TA returns an alphanumeric string indicating whether or not some password is required.
+CPIN: <code>
OK
Write Command
AT+CPIN=<pin>[,<new pin>]
Response
TA stores a password which is necessary before it can be operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.). 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.
If the PIN required is SIM PUK or SIM PUK2, the second pin is required. This second pin, <new pin>, is used to replace
Quectel
Maximum Response Time 5s
Reference
GSM 07.07
Parameter
SIM PIN ME is waiting for SIM PIN
SIM PUK ME is waiting for SIM PUK
PH_SIM PIN ME is waiting for phone to SIM card (antitheft)
PH_SIM PUK ME is waiting for SIM PUK (antitheft)
SIM PIN2 PIN2, e.g. it is possible to edit the FDN book only if preceding command was acknowledged with +CME ERROR:17
SIM PUK2 Possible only if preceding command was acknowledged with error
+CME ERROR: 18
<pin>
String type; password
<new pin> String type; If the PIN required is SIM PUK or SIMPUK2: new password
M10_AT_Commands_Manual Confidential / Released 56 / 247
GSM/GPRS Module Series
M10 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
OK
AT+CPIN="26601934","1234"
//Enter PUK and new PIN password
+CPIN: READY
OK
AT+CPIN?
+CPIN: READY
Quectel
AT+CPWD Change Password
Test Command
AT+CPWD=?
Write Command
AT+CPWD=<fac>,<oldpwd>,<newpwd
>
Maximum Response Time
Response
TA returns a list of pairs which present the available facilities and the maximum length of their password.
+CPWD: (list of supported <fac>s), (<pwdlength>s)
OK
Response
TA sets a new password for the facility lock function.
OK
5s
M10_AT_Commands_Manual Confidential / Released 57 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Reference
GSM 07.07
Parameter
<fac> "PS" Phone locked to 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" SIM (lock SIM card) (SIM asks password in ME power-up and when this lock
Command issued)
"AO" BAOC (Barr All Outgoing Calls) (refer to GSM02.88[6] clause 1)
"OI" BOIC (Barr Outgoing International Calls) (refer to GSM02.88[6] clause 1)
"OX" BOIC-exHC (Barr Outgoing International Calls except to Home Country) (refer to
GSM02.88[6] clause 1)
"AI" BAIC (Barr All Incoming Calls) (refer to GSM02.88[6] clause 2)
"IR" BIC-Roam (Barr Incoming Calls when Roaming outside the home country) (refer to GSM02.88 [6] clause 2)
"AB" All Barring services (refer to GSM02.30[19]) (applicable only for <mode>=0)
"AG" All outgoing barring services (refer to GSM02.30[19]) (applicable only for
"AC"
Quectel
"P2" SIM PIN2
<pwdlength>Integer. Max. length of password
OK
OK
<oldpwd> Password specified for the facility from the user interface or with command
<newpwd> New password
Example
AT+CPIN?
+CPIN: READY
Confidential
AT+CPWD="SC","1234","4321"
//Change SIM card password to
“4321”
AT+CPIN?
//Restart module or re-activate the 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
M10_AT_Commands_Manual Confidential / Released 58 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
OK
5.5. AT+CRSM Restricted SIM Access
AT+CRSM Restricted SIM Access
Test Command
AT+CRSM=?
Write Command
AT+CRSM=<Command>[,<fileId>[,<P
1>,<P2>,<P3>[,<data>]]]
Response
OK
Response
+CRSM: <sw1>, <sw2> [,<response>]
OK
ERROR
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<Command> 176
Quectel
178 READ RECORD
192 GET RESPONSE
214 UPDATE BINARY
220 UPDATE RECORD
242 STATUS
<fileId>
Confidential
<P1>,<P2>,<P3> Integer type; parameters passed on by the ME to the SIM. These parameters are mandatory for every command, except GET RESPONSE and STATUS. The values are described in GSM 11.11
<data> Information which shall be written to the SIM (hexadecimal character format)
<sw1>,<sw2>
Integer type; information from the SIM about the execution of the actual command.
These parameters are delivered to the TE in both cases, on successful or failed execution of the command
<response> Response of a successful completion of the command previously issued (hexadecimal character format). STATUS and GET RESPONSE return data, which gives information about the current elementary data field. This information includes the type of file and its size (refer to GSM 11.11). After READ BINARY or READ RECORD command the requested data will be returned. The parameter is not returned after a successful
UPDATE BINARY or UPDATE RECORD command
M10_AT_Commands_Manual Confidential / Released 59 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Example
AT+CRSM=242
+CRSM: 145, 211, "000000007F100200000000000A13000C0400838A808A"
OK
//<sw1>=145,<sw2>=211,"000000007F100200000000000
A13000C0400838A808A" which is the command
previously return data, refer to GSM 11.11
5.6. AT+QCSPWD Change PS Super Password
AT+QCSPWD Change PS Super Password
Test Command
AT+QCSPWD=?
Response
OK
Write Command Response
AT+QCSPWD=<oldpwd>,<newpwd> OK
Maximum Response Time
Reference
Parameter
ERROR
300ms
Quectel
<oldpwd>
String type. Old password and length should be 8
<newpwd>
String type. New password and length should be 8
NOTES
2. If the module is locked to a specific SIM card through +CLCK and password lost or SIM state is
PH-SIM PUK, you can use the super password to unlock it.
5.7. AT+QCCID Show ICCID
AT+QCCID Show ICCID
Test Command
AT+QCCID=?
Execution Command
AT+QCCID
Response
OK
Response
ccid data
M10_AT_Commands_Manual Confidential / Released 60 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
OK
300ms
Example
AT+QCCID
//Query ICCID of the SIM card
898600220909A0206023
OK
5.8. AT+QSIMDET Switch on or off Detecting SIM Card
AT+QSIMDET Switch on or off Detecting SIM Card
Test Command
AT+QSIMDET=?
Read Command
Response
Quectel
AT+QSIMDET?
Response
+QSIMDET: <mode>,<active>
Write Command
AT+QSIMDET=<mode>[,<active>]
Maximum Response Time
OK
Response
OK
Confidential
Reference
Parameter
<mode> 0 Switch off detecting SIM card
1 Switch on detecting SIM card
<active> 0 Low level of SIM_PRESENCE pin indicates SIM card is present
1 High level of SIM_PRESENCE pin indicates SIM card is present
M10_AT_Commands_Manual Confidential / Released 61 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
5.9. AT+QSIMSTAT SIM Inserted Status Reporting
AT+QSIMSTAT SIM Inserted Status Reporting
Test Command
AT+QSIMSTAT=?
Read Command
AT+QSIMSTAT?
Write Command
AT+QSIMSTAT=<n>
Response
+QSIMSTAT: (list of supported <n>s)
OK
Response
+QSIMSTAT: <n>,<SIM inserted>
OK
Response
OK
ERROR
If error is related to ME functionality:
+CMS ERROR: <err>
Reference
<n>
Maximum Response Time
Parameter
300ms
Quectel
A numeric parameter which indicates whether to show an unsolicited event code that indicates whether the SIM has just been inserted or removed.
0 Switch off detecting SIM card
1 Switch on detecting SIM card
Confidential
5.10. AT+QGID Get SIM Card Group Identifier
AT+QGID Get SIM Card Group Identifier
Execution Command
AT+QGID
Response
+QGID: <gid1> <gid2>
OK
ERROR
Maximum Response Time 300ms
M10_AT_Commands_Manual Confidential / Released 62 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Reference
Parameter
<gid1> Integer type of SIM card group identifier 1
<gid2>
Integer type of SIM card group identifier 2
NOTE
If the SIM supports GID files, the GID values are retuned. Otherwise 0xff is retuned.
5.11. AT+QSIMVOL Select SIM Card Operating Voltage
AT+QSIMVOL Select SIM Card Operating Voltage
Test Command
AT+QSIMVOL=?
Read Command
Response
Quectel
AT+QSIMVOL?
Response
+QSIMVOL: <mode>
Write Command
AT+QSIMVOL=<mode>
OK
Response
ERROR
+CME ERROR: <err>
Maximum Response Time
Reference
300ms
Parameter
<mode> 0 Recognize 1.8V and 3.0V SIM card (Default)
1 Recognize 1.8V SIM card only
2 Recognize 3.0V SIM card only
M10_AT_Commands_Manual Confidential / Released 63 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
AT+QSIMVOL can take effect only when the command is set successfully and the module is restarted.
5.12. AT+QSPN Get Service Provider Name from SIM
AT+QSPN Get Service Provider Name from SIM
Read Command
AT+QSPN?
Response
+QSPN: (<spn>s), (list of supported <display mode>s)
OK
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Parameter
<spn>
Quectel
<display mode> 0 Do not display PLMN. Already registered on PLMN
1 Display PLMN
NOTE
5.13. AT+QTRPIN Times Remain to Input SIM PIN/PUK
AT+QTRPIN Times Remain to Input SIM PIN/PUK
Execution Command
AT+QTRPIN
Response
Times remain to input SIM PIN.
+QTRPIN: <chv1>,<chv2>,<puk1>,<puk2>
OK
Maximum Response Time
Reference
300ms
M10_AT_Commands_Manual Confidential / Released 64 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<chv1>
Times remain to input chv1
<chv2>
Times remain to input chv2
<puk1>
Times remain to input puk1
<puk2>
Times remain to input puk2
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 65 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
6
Network Service Commands
6.1. AT+COPS Operator Selection
AT+COPS Operator Selection
Test Command
AT+COPS=?
Response
TA returns a list of quadruplets, each representing an operator present in the network. Any of the formats may be unavailable and should then be an empty field. The list of operators shall be in order: home network, networks referenced in SIM and other networks.
+COPS: (list of supported<stat>, long alphanumeric <oper>,
Quectel
If error is related to ME functionality:
+CME ERROR: <err>
Read Command
AT+COPS?
Response
TA returns the current mode and the currently selected
Confidential
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command
AT+COPS=<mode>[,<format>[,<oper
>]]
Response
TA forces an attempt to select and register the GSM network operator. If the selected operator is not available, no other operator shall be selected (except <mode>=4). The format of selected operator name shall apply to further read commands
(+COPS?).
OK
If error is related to ME functionality:
M10_AT_Commands_Manual Confidential / Released 66 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CME ERROR: <err>
Maximum Response Time
Reference
GSM 07.07
75s, determined by network.
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 +COPS?)
– not shown in Read Command
<format>
0 Long format alphanumeric <oper>;can be up to 16 characters long
1 Short format alphanumeric <oper> response
4 Manual/automatic selected; if manual selection fails, automatic mode
Quectel
2 Numeric <oper>; GSM Location Area Identification number
NOTE
The write command is automatically saved to NVRAM.
Example
Confidential
AT+COPS=?
//List all current network operators
+COPS: (2,"CHINA MOBILE","CMCC","46000"),(3,"CHINA UNICOM GSM","UNICOM","46001")
,,(0-4),(0-2)
OK
AT+COPS?
//Query the currently selected network operator
+COPS: 0,0,"CHINA MOBILE"
OK
M10_AT_Commands_Manual Confidential / Released 67 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
6.2. AT+CREG Network Registration
AT+CREG Network Registration
Test Command
AT+CREG=?
Response
+CREG: (list of supported <n>s)
OK
Read Command
AT+CREG?
Response
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
Write Command
AT+CREG=<n>
If error is related to ME functionality:
+CME ERROR: <err>
Response
Quectel
Maximum Response Time
OK
300ms
Reference
GSM 07.07
Parameter
<n> 0
Confidential
1 Enable network registration unsolicited result code +CREG: <stat>
2 Enable network registration unsolicited result code with location information
<stat> 0 Not registered, ME is not currently searching a new operator to register to
1 Registered, home network
2 Not registered, but ME is currently searching a new operator to register to
3 Registration denied
4 Unknown
5 Registered, roaming
<lac> String type; two byte location area code in hexadecimal format
<ci> String type; two byte cell ID in hexadecimal format
M10_AT_Commands_Manual Confidential / Released 68 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
Unsolicited result code
If <n>=1 and there is a change in the ME network registration status +CREG: <stat>
If <n>=2 and there is a change in the ME network registration status or a change of the network cell:
+CREG: <stat>[,<lac>,<ci>]
Example
AT+CREG=1
OK
+CREG: 1
//URC reports that operator has been found
AT+CREG=2
//Activates extended URC mode
OK
+CREG: 1,"1878","0873"
//URC reports that operator has been found with location
area code and cell ID
Quectel
AT+CSQ Signal Quality Report
Test Command Response
AT+CSQ=?
Execution Command
AT+CSQ
+CSQ: (list of supported <rssi>s),(list of supported <ber>s)
+CSQ: <rssi>,<ber>
OK
+CME ERROR: <err>
Execution Command returns received signal strength indication <rssi> and channel bit error rate <ber> from the
ME. Test Command returns values supported by the TA.
300ms Maximum Response Time
Reference
GSM 07.07
M10_AT_Commands_Manual Confidential / Released 69 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<rssi> 0 -113 dBm or less
1 -111 dBm
2...30 -109... -53 dBm
31 -51 dBm or greater
99 Not known or not detectable
<ber> (in percent):
0...7 As RXQUAL values in the table in GSM 05.08 subclause 8.2.4
99 Not known or not detectable
Example
AT+CSQ=?
+CSQ: (0-31,99),(0-7,99)
OK
AT+CSQ
OK
+CSQ: 28,0
//Query the current signal strength indication is 28 and
the bit error rate is 0
Quectel
6.4. AT+CPOL Preferred Operator List
AT+CPOL Preferred Operator List
Test Command
AT+CPOL=?
Confidential
Read Command
OK
Response
AT+CPOL? +CPOL: <index1>,<format>,<oper1>
Write Command
AT+CPOL=<index>[,<format>[,<oper>
]]
[<CR><LF>+CPOL: <index2>,<format>,<oper2>
[…]]
OK
+CME ERROR: <err>
Response
OK
If error is related to ME functionality:
M10_AT_Commands_Manual Confidential / Released 70 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CME ERROR: <err>
Maximum Response Time
Reference
GSM 07.07
300ms
Parameter
<index> I Integer type: order number of operator in 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 +COPS command)
NOTE
There is SIM card not allowed to edit the list of the preferred operators.
Quectel
AT+COPN Read Operator Names
Test Command
AT+COPN=?
Execution Command
AT+COPN
Response
OK
+COPN: <numeric1>,<alpha1 >
[<CR><LF>+COPN: <numeric2>,<alpha2>
[…]]
OK
+CME ERROR: <err>
300ms Maximum Response Time
Reference
GSM 07.07
Parameter
<numericn> String type: operator in numeric format (see +COPS)
<alphan> String type: operator in long alphanumeric format (see +COPS)
M10_AT_Commands_Manual Confidential / Released 71 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
6.6. AT+QBAND Get and Set Mobile Operation Band
AT+QBAND Get and Set Mobile Operation Band
Test Command
AT+QBAND=?
Read Command
AT+QBAND?
Write Command
AT+QBAND=<op_band>
Response
+QBAND: (list of supported <op_band>s)
OK
Response
+QBAND: <op_band>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 30s, determined by network.
Reference
Parameter
<op_band> "EGSM_MODE"
Quectel
"DCS_MODE"
"PCS_MODE"
"GSM850_EGSM_DCS_PCS_MODE
”
NOTE
"GSM850_MODE"
"EGSM_DCS_MODE"
Confidential
The following radio setting to be updated is stored in non-volatile memory.
6.7. AT+QENG Switch on or off Engineering Mode
AT+QENG Switch on or off Engineering Mode
Test Command
AT+QENG=?
Response
+QENG: (list of supported <mode>s),(list of supported
<dump>s)
M10_AT_Commands_Manual Confidential / Released 72 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
OK
Read Command
AT+QENG?
Response
The corresponding information is reported selectively according to <dump>.
+QENG: <mode>,<dump>
URCs of the serving cell information:
+QENG:
0,<mcc>,<mnc>,<lac>,<cellid>,<bcch>,<bsic>,<dbm>,<c1
>,<c2>,<txp>,<rla>,<tch>,<ts>,<maio>,<hsn><ta>,<rxq_s ub>,<rxq_full>
URCs of 1-6 the neighboring cell information:
[+QENG:1,list of (<ncell>,<bcch>,<dbm>,<bsic>,<c1>,
<c2>,<mcc>, <mnc>,<lac>,
<cellid>)…]
Write Command
URCs of cell frequency list(CA) of the serving cell:
[+QENG: 2,list of (<arfcn>)…]
Quectel
OK
Response
AT+QENG=<mode>[,<dump>]
Maximum Response Time
Reference
OK
ERROR
Confidential
Parameter
<mode> 0 Switch off engineering mode
1 Switch on engineering mode
2 Switch on engineering mode, and activate the URC report of network information
<dump> 0 Only display the serving cell information
1 Display the serving cell information, 1-6 neighboring cells information
2 Display the serving cell information and list of serving cell carrier list
3 Display the serving cell information,1-6 neighboring cell information and list of serving cell carrier list
M10_AT_Commands_Manual Confidential / Released 73 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
4 Display the serving cell information,1-6 neighboring cell information, list of serving cell carrier list and BA measured resulte list.
<mcc> Mobile country code
<mnc> Mobile network code
<lac> Location area code in hex format
<cellid> Cell ID in hex format
<bcch> Absolute Radio Frequency Channel Number of Broadcast Control Channel BCCH
<bsic> Base station identity code
<dbm> Receive signal level in dBm unit
<c1> C1 value
<c2> C2 value
<txp> Maximum TX power level when accessing on a CCH
<rla> Minimum receiving level permitted to access the system
<ts> TimeSlots
<maio> MAIO value
<hsn> HSN value
<tch> ARFCN of TCH,
„h‟ figure hopping
<arfcn> Absolute radio frequency channel number
<ta> Timing Advance,range 0~63
<rxq_sub> RX quality(sub), range 0 - 7
<rxq_full> RX quality(full), range 0 - 7
<ncell>
Quectel
NOTES
The following radio setting to be updated is stored in non-volatile memory.
1. When mode is 2, auto URCs are reported per 5 seconds.
2. The <lac> and <cellid> parameters in hex format, the parameter is in decimal.
Confidential of TCH is instable. Using the
‟h‟ figure <tch> under this mode.
6. Under expert mode, when the <c1> and <c2> of the serving cell cannot be updated. Using the
„-1‟ figure to display the illegal value. At the same time,the <txp> and <rla> parameter cannot be updated in a certain condition, all the same holding the value of idle mode. This is because ME cannot be updated in this mode, ME cannot update the selection of cell and reselection of the parameter. When the connecting is over, mobile device goes back idle mode and gives out the correct value.
7. If TA can report the information of the neighboring cell, the URCs of six neighboring cell should be reported. If some cells cannot be measured, the
„x‟ char will be filled in the parameter of these cells.
8. Under the special mode, the <c1> and <c2> parameters of the neighboring cell may be measured, then will report an unmeaning value. When the <mcc>, <mnc> ,<lac> and <cellid> parameter of the neighboring cell cannot be measured, the 'x' char will be filled in these parameters of all the six cells.
M10_AT_Commands_Manual Confidential / Released 74 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
9. The command does not report the RX level and the RX quality. The
“AT+CSQ” command can be used to query the values of RX level and RX quality.
10.
The “AT+QSPCH” command can be used to re-query the type of the voice channel duration calling
(FR, HR, EFR, AMR_FR, AMR_HR).
11. The BA measured list max record numbers are 32. If any of the BCCH cannot get the BSIC value, the
BSIC will show
„x‟ instead. The measured list is only including the measured BCCH in the BA list, not the whole BA list.
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:
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
AT+QSCANF Scan Power of GSM Frequency
Test Command
AT+QSCANF=?
Write Command
AT+QSCANF=<band>,<freq>
Response
+QSCANF: (list of supported <band>s),(list of supported
<freq>s)
OK
Response
If <freq>=9999 and command is successful:
+QSCANF:
1, CH113, -63.5
2, CH80, -64.2
4, CH22, -64.5
M10_AT_Commands_Manual Confidential / Released 75 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
…..
20, CH116, -74.2
OK
If <freq> is fixed frequency and command is successful:
+QSCANF:
CH<freq>, <dbm>
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<band>
0 BAND 900
<freq>
<dbm>
1 BAND 1800
2 BAND 1900
3
Quectel
NOTE
Before using this AT command, RF function of system MUST be disabled. Please make sure CFUN state
Confidential
6.9. AT+QLOCKF Lock GSM Frequency
AT+QLOCKF Lock GSM Frequency
Test Command
AT+QLOCKF=?
Read Command
AT+QLOCKF?
Response
+QLOCKF: (list of supported <mode>s),(list of supported
<band1900>s), (list of supported <arfcn>s)
OK
Response
+QLOCKF: <status>
M10_AT_Commands_Manual Confidential / Released 76 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
AT+QLOCKF=<mode>,<band1900>,< arfcn1>[,<arfcn2>[,<arfcn3>]]
Maximum Response Time
Reference
OK
Response
OK
ERROR
+CME ERROR: <err>
300ms
Parameter
<mode>
0 Disable lock frequency
1
2
Enable lock frequency
Enable lock frequency and auto switch to saved frequency after powered on
<band1900>
0 Not a cell ID of 1900 band
1 Cell ID of 1900 band
<arfcn>
<status>
2 Auto distinguish whether is a cell ID of 1900 band
0-1024 ARFCN information
0
1
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 77 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7
Call Related Commands
7.1. ATA Answer an Incoming Call
ATA Answer an Incoming Call
Execution Command
ATA
Response
TA sends off-hook to the remote station.
Response in case of voice call, if successfully connected:
OK
Reference
V.25ter
Maximum Response Time
Response if no connection:
NO CARRIER
Quectel
NOTES
1. Any additional commands on the same command line are ignored.
2. This command may be aborted generally by receiving a character during execution. The aborting is
3. See also ATX.
Confidential
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
M10_AT_Commands_Manual Confidential / Released 78 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.2. ATD Mobile Originated Call to Dial a Number
ATD Mobile Originated Call to Dial a Number
Execution Command
ATD<n>[<mgsm>][;]
Response
This command can be used to set up outgoing voice, data or
FAX calls. It also serves to control supplementary services.
If no dial tone and (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy and (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be established:
NO CARRIER
Maximum Response Time
Reference
V.25ter
Parameter
If connection is successful and voice call:
OK
Quectel
<n> String of dialing digits and optionally V.25ter modifiers dialingdigits:0-9, * , #, +, A, B, C
Emergency call:
Confidential
<n>
Standardized emergency number 112(no SIM needed)
<mgsm> String of GSM modifiers:
I Actives CLIR (Disables presentation of own number to called party)
i Deactivates CLIR (Enable presentation of own number to called party)
G Activates closed user group invocation for this call only
g Deactivates closed user group invocation for this call only
<;> Only required to set up voice call, return to command state
M10_AT_Commands_Manual Confidential / Released 79 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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.
2. Parameter "I" and "i" only if no *# code is within the dial string.
3. <n> is 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 mode 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 DIALTONE”, “NO
CARRIER
”.
7. Using ATD during an active voice call:
OK
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 the AT+CLCC command.
Example
Quectel
ATD10086;
//Dialing out the party
‟s number
ATD><n> Originate Call to Phone Number in Current Memory
Execution Command
ATD><n> [;]
Response
This command can be used to dial a phone number from current phone book memory.
If error is related to ME functionality:
+CME ERROR: <err>
If no dial tone and (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy and (parameter setting ATX3 or ATX4):
M10_AT_Commands_Manual Confidential / Released 80 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
V.25ter
BUSY
If a connection cannot be established:
NO CARRIER
If connection successful and non-voice call:
CONNECT<text> TA switches to data mode
When TA returns to command mode after call release:
OK
If connection is successful and voice call:
OK
1s, determined by network.
Parameter
<n> used
<;> Only required to set up voice call, return to command state
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
Confidential
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
Example
ATD>1;
//Dialing out the first number from current phone book memory
OK
M10_AT_Commands_Manual Confidential / Released 81 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.4. ATDL Redial Last Telephone Number Used
ATDL Redial Last Telephone Number Used
Execution Command
ATDL
Response
This command redials the last voice and data call number used.
If error is related to ME functionality:
+CME ERROR: <err>
If no dial tone and (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy and (parameter setting ATX3 or ATX4):
BUSY
If a connection cannot be established:
NO CARRIER
Quectel
When TA returns to command mode after call release:
OK
Reference
V.25ter
Maximum Response Time
If connection is successful and voice call:
OK
Confidential
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
2. <text> output only if ATX<value> parameter setting with the <value> >0
3. See ATX command for setting result code and call monitoring. parameters
M10_AT_Commands_Manual Confidential / Released 82 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.5. ATH Disconnect Existing Connection
ATH Disconnect Existing Connection
Execution Command
ATH[n]
Response
Disconnect existing call by local TE from command line and terminate call.
OK
Maximum Response Time
Reference
V.25ter
90s, determined by network.
Parameter
<n> 0 Disconnect from line and terminate call
NOTE
7.6. +++ Switch from Data Mode to Command Mode
+++ Switch from Data Mode to Command Mode
+++
Confidential cancel the data flow over the AT interface and switch to command mode. This allows you to enter AT command while maintaining the data connection with the remote server or, accordingly, the GPRS connection.
OK
300ms Maximum Response Time
Reference
V.25ter
M10_AT_Commands_Manual Confidential / Released 83 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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 should be less than 1 second and for a transparent TCPIP 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.
7.7. ATO Switch from Command Mode to Data Mode
ATO Switch from Command Mode to Data Mode
Execution Command
ATO[n]
Response
Quectel else
TA returns to data mode from command mode CONNECT
Maximum Response Time
Reference
V.25ter
Parameter
<text>
300ms
Confidential
<n> 0 Switch from command mode to data mode
NOTE
TA returns to data mode from command mode CONNECT <text>,<text> only if parameter setting is X>0.
M10_AT_Commands_Manual Confidential / Released 84 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.8. ATP Select Pulse Dialing
ATP Select Pulse Dialing
Execution Command
ATP
Maximum Response Time
Reference
V.25ter
NOTE
No effect in GSM.
Response
OK
300ms
7.9. ATS0 Set Number of Rings before Automatically Answering Call
Read Command
ATS0?
Quectel
Write Command
OK
Response
ATS0=<n>
Maximum Response Time
Reference
This parameter setting determines the number of rings before auto-answer.
Confidential
V.25ter
Parameter
<n> 0 Automatic answering is disabled
1-255 Enable automatic answering on the ring number specified
NOTE
If <n> is set too high, the calling party may hang up before the call can be answered automatically.
M10_AT_Commands_Manual Confidential / Released 85 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Example
ATS0=3
//Set three rings before automatically answering a call
OK
RING
//Call coming
RING
RING
//Automatically answering the call after three rings
7.10. ATS6 Set Pause before Blind Dialing
ATS6 Set Pause before Blind Dialing
Read Command
ATS6?
Response
<n>
OK
Write Command
ATS6=<n>
Maximum Response Time
Reference
V.25ter
Parameter
Response
OK
Quectel
<n> 0-2-10 Number of seconds to wait before blind dialing
NOTE
No effect in GSM.
Confidential
7.11. ATS7 Set Number of Seconds to Wait for Connection Completion
ATS7 Set Number of Seconds to Wait for Connection Completion
Read Command
ATS7?
Response
<n>
OK
M10_AT_Commands_Manual Confidential / Released 86 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
ATS7=<n>
Maximum Response Time
Reference
V.25ter
Response
This parameter setting determines the amount of time to wait for the connection completion in case of answering or originating a call.
OK
300ms
Parameter
<n> 1-60-255 Number of seconds to wait for connection completion
NOTES
1. If 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.
Quectel
7.12. ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier
ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier
Read Command
ATS8?
Response
Confidential
Write Command
ATS8=<n>
Response
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
<n> 0 No pause when comma encountered in dial string
1-2-255 Number of seconds to wait
M10_AT_Commands_Manual Confidential / Released 87 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
No effect in GSM.
7.13. ATS10 Set Disconnect Delay after Indicating the Absence of Data
Carrier
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
Read Command
ATS10?
Response
<n>
OK
Response Write Command
ATS10=<n>
Maximum Response Time
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
Quectel
Reference
V.25ter
Parameter
<n> 1-15-254
Confidential
7.14. ATT Select Tone Dialing
ATT Select Tone Dialing
Execution Command
ATT
Maximum Response Time
Reference
V.25ter
Response
OK
300ms
M10_AT_Commands_Manual Confidential / Released 88 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
No effect in GSM.
7.15. AT+CSTA Select Type of Address
AT+CSTA Select Type of Address
Test Command
AT+CSTA=?
Response
+CSTA: (list of supported <type>s)
OK
Read Command
AT+CSTA?
Response
+CSTA: <type>
Maximum Response Time
Reference
GSM 07.07
Parameter
OK
300ms
Quectel
<type> Current address type setting.
129 Unknown type (IDSN format number)
145 International number type (ISDN format )
161
Confidential
7.16. AT+CLCC List Current Calls of ME
AT+CLCC List Current Calls of ME
Test Command
AT+CLCC=?
Execution Command
AT+CLCC
Response
OK
Response
TA returns a list of current calls of ME. If command succeeds but no calls are available, no information response is sent to
TE.
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>[,
<number>,<type>[,""]]
M10_AT_Commands_Manual Confidential / Released 89 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
[<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>[,
<number>,<type>[,""]]
[...]]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<idx> Integer type; call identification number as described in GSM 02.30 sub clause 4.5.5.1; this number can be used in +CHLD Command operations
<dir> 0 Mobile originated (MO) call
1 Mobile terminated (MT) call
<stat>
0
1
2
Quectel
3 Alerting (MO call)
4 Incoming (MT call)
5 Waiting (MT call)
<mode> Bearer/tele service
0 Voice
<mpty>
1
2
9
0
Confidential
1 Call is one of multiparty (conference) call parties
<number> Phone number in string type in format specified by <type>
<type> Type of address of octet in integer format
129 Unknown type(IDSN format number)
145 International number type (ISDN format )
Example
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,""
//List the current call of ME
OK
M10_AT_Commands_Manual Confidential / Released 90 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.17. AT+CR Service Reporting Control
AT+CR Service Reporting Control
Test Command
AT+CR=?
Read Command
AT+CR?
Write Command
AT+CR=[<mode>]
Response
+CR: (list of supported <mode>s)
OK
Response
+CR: <mode>
OK
Response
TA controls whether or not intermediate result code +CR:
<serv> is returned from the TA to the TE when a call set up.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
Quectel
<mode> 0 Disable
1 Enable
<serv> ASYNC Asynchronous transparent
SYNC Synchronous transparent
REL ASYNC Asynchronous non-transparent
NOTE
Confidential
Intermediate result code:
If it is enabled, an intermediate result code is transmitted at the point during connect negotiation at which the TA has determined which speed and quality of service will be used, before any error control or data compression reports are transmitted, and before any final result code (e.g. CONNECT) is transmitted.
M10_AT_Commands_Manual Confidential / Released 91 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.18. AT+CRC Set Cellular Result Codes for Incoming Call Indication
AT+CRC Set Cellular Result Codes for Incoming Call Indication
Test Command
AT+CRC=?
Read Command
AT+CRC?
Write Command
AT+CRC=[<mode>]
Response
+CRC: (list of supported <mode>s)
OK
Response
+CRC: <mode>
OK
Response
TA controls whether or not the extended format of incoming call indication is used.
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
Quectel
<mode> 0 Disable extended format
1 Enable extended format
NOTE
When it is enabled, an incoming call is indicated to the TE with unsolicited result code +CRING: <type> instead of the normal RING.
Parameter
<type> ASYNC Asynchronous transparent
SYNC Synchronous transparent
REL ASYNC Asynchronous non-transparent
REL SYNC Synchronous non-transparent
FAX Facsimile
VOICE Voice
Example
AT+CRC=1
//Enable extended format
OK
M10_AT_Commands_Manual Confidential / Released 92 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CRING: VOICE
//Indicate incoming call to the TE
ATH
OK
AT+CRC=0
//Disable extended format
OK
RING
//Indicate incoming call to the TE
ATH
OK
7.19. AT+CSNS Single Numbering Scheme
AT+CSNS Single Numbering Scheme
Test Command
AT+CSNS=?
Response
+CSNS: (list of supported <mode>s)
Read Command
AT+CSNS?
AT+CSNS=[<mode>]
OK
Quectel
Response
OK
Write Command
Maximum Response Time
Reference
GSM 07.07
Parameter
ERROR
300ms
Confidential
<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
M10_AT_Commands_Manual Confidential / Released 93 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.20. AT+QSFR Preference Speech Coding
AT+QSFR Preference Speech Coding
Test Command
AT+QSFR=?
Read Command
AT+QSFR?
Write Command
AT+QSFR=<mode>
Response
+QSFR: (list of supported <mode>s)
OK
Response
+QSFR: <mode>
OK
Response
OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
<mode>
0
1
Quectel
2 HR
3 EFR
4 AMR_FR
5 AMR_HR
6
7
8
9
Confidential
10 AMR_FR and FR, AMR_FR priority
11 AMR_FR and HR, AMR_FR priority
12 AMR_FR and EFR, AMR_FR priority
13 AMR_HR and FR, AMR_HR priority
14 AMR_HR and HR, AMR_HR priority
15 AMR_HR and EFR, AMR_HR priority
NOTE
This setting is stored in the non-volatile memory and will be used whenever the module is powered up again.
M10_AT_Commands_Manual Confidential / Released 94 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
7.21. AT+QSPCH Speech Channel Type Report
AT+QSPCH Speech Channel Type Report
Test Command
AT+QSPCH=?
Read Command
AT+QSPCH?
Write Command
AT+QSPCH=<mode>
Response
+QSPCH: (list of supported <mode>s)
OK
Response
+QSPCH: <mode>,<speech channel>
OK
Response
OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
<mode>
Quectel
<speech channel> Speech channel type
0 NO SPEECH TCH
4 AMR_FR
5 AMR_HR
1 FR
2 HR
Confidential
NOTE
URC +QSPCH: <mode>,<speech channel> will be indicated when speech channel type changes.
7.22. AT+QDISH Disable ATH
AT+QDISH Disable ATH
Test Command
AT+QDISH=?
Response
+QDISH: (list of supported <disableath>s)
M10_AT_Commands_Manual Confidential / Released 95 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Read Command
AT+QDISH?
Write Command
AT+QDISH=<disableath>
Maximum Response Time
Reference
OK
Response
+QDISH: <disableath>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<disableath> Disable ATH
0 Enable ATH command
1
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 96 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
8
SMS Commands
8.1. AT+CSMS Select Message Service
AT+CSMS Select Message Service
Test Command
AT+CSMS=?
Response
+CSMS: (list of supported <service>s)
OK
Read Command Response
AT+CSMS?
Write Command
AT+CSMS=<service>
+CSMS: <service>,<mt>,<mo>,<bm> Quectel
OK
If error is related to ME functionality:
Maximum Response Time
Reference
GSM 07.05
Parameter
+CMS ERROR: <err>
300ms
Confidential
<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
0 Type not supported
M10_AT_Commands_Manual Confidential / Released 97 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
1 Type supported
<bm> Broadcast Type Messages
0 Type not supported
1 Type supported
8.2. AT+CMGF Select SMS Message Format
AT+CMGF Select SMS Message Format
Test Command
AT+CMGF=?
Response
+CMGF: (list of supported <mode>s)
OK
Read Command Response
AT+CMGF?
+CMGF: <mode>
Write Command
AT+CMGF=[<mode>]
Maximum Response Time
OK
Response
Quectel
Reference
GSM 07.05
Parameter
<mode> 0
1
Confidential
8.3. AT+CSCA SMS Service Center Address
AT+CSCA SMS Service Center Address
Test Command
AT+CSCA=?
Read Command
AT+CSCA?
Response
OK
Response
+CSCA: <sca>,<tosca>
OK
M10_AT_Commands_Manual Confidential / Released 98 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
AT+CSCA=<sca>[,<tosca>]
Maximum Response Time
Reference
GSM 07.05
Response
TA updates the SMSC address, through which mobile originated SMS are transmitted. In text mode, setting is used by sending and writing commands. In PDU mode, setting is used by the same commands, but only when the length of the
SMSC address coded into <pdu> parameter equals zero.
OK
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<tosca> Service center address format GSM 04.11 RP SC address Type-of-Address octet in integer format (default refer to <toda>)
<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
Quectel
NOTE
OK
OK
The Command writes the parameters in NON-VOLATILE memory.
Example
Confidential
AT+CSCA?
//Query SMS service center address
+CSCA: "+8613800210500",145
M10_AT_Commands_Manual Confidential / Released 99 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
8.4. AT+CPMS Preferred SMS Message Storage
AT+CPMS Preferred SMS Message Storage
Test Command
AT+CPMS=?
Read Command
AT+CPMS?
Write Command
AT+CPMS=<mem1>[,<mem2>[,<mem
3>]]
Response
+CPMS: (list of supported <mem1>s),(list of supported
<mem2>s),(list of supported <mem3>s)
OK
Response
+CPMS:
<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<m
em3>,<used3>,<total3>
OK
Response
TA selects memory storages <mem1>, <mem2> and
<mem3> to be used for reading, writing, etc.
+CPMS:
<used1>,<total1>,<used2>,<total2>,<used3>,<total3>
If error is related to ME functionality:
+CMS ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.05
Parameter
<mem1>
Confidential
"SM" SIM message storage
"ME" Mobile Equipment message storage
"MT" Sum of "SM" and "ME" storages
<mem2> Messages will be written and sent to this memory storage
"SM" SIM message storage
"ME" Mobile Equipment message storage
"MT" Sum of "SM" and "ME" storages
<mem3> Received messages will be placed in this memory storage if routing to PC is not set ("+CNMI")
"SM" SIM message storage
"ME" Mobile Equipment message storage
"MT" Sum of "SM" and "ME" storages
M10_AT_Commands_Manual Confidential / Released 100 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<usedx> Integer type; Number of messages currently in <memx>
<totalx> Integer type; Number of messages storable in <memx>
NOTE
The message storages of SIM and ME offer maximum space for 60, the SIM message storage will be priority stored. The SIM storage offer maximum space for 50, the ME storage offer maximum space for
10.
Example
AT+CPMS="SM","SM","SM"
//Set SMS message storage as
“SM”
+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
AT+CMGD Delete SMS Message
Test Command
AT+CMGD=?
Write Command
Response
+CMGD: (list of supported <index>s),(list of supported
Confidential
AT+CMGD=<index>[,<delflag>]
Response
TA deletes message from preferred message storage
<mem1> location <index>.
OK
Maximum Response Time
ERROR
If error is related to ME functionality:
+CMS ERROR:<err>
300ms.
Note: Operation of <delflag> depends on the storage of deleted messages.
Reference
GSM 07.05
M10_AT_Commands_Manual Confidential / Released 101 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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 message specified in <index>=1
OK
OK
AT+CMGD=1,4
//Delete all messages from <mem1> storage
Quectel
AT+CMGL List SMS Messages from Preferred Store
Test Command Response
AT+CMGL=?
Write Command
AT+CMGL=<stat>[,<mode>]
+CMGL: (list of supported <stat>s)
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'.
1) If text mode (+CMGF=1) and command successful: for SMS-SUBMITs and/or SMS-DELIVERs:
+CMGL:
<index>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda>,<
length>]<CR><LF><data>[<CR><LF>
+CMGL:
<index>,<stat>,<da/oa>,[<alpha>],[<scts>][,<tooa/toda>,<
length>]<CR><LF><data>[...]] for SMS-STATUS-REPORTs:
M10_AT_Commands_Manual Confidential / Released 102 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st
>[<CR><LF>
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st
>[...]] for SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]] for CBM storage:
+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<pages><CR
><LF><data>[<CR><LF>
+CMGL:
<index>,<stat>,<sn>,<mid>,<page>,<pages><CR><LF><d ata>[...]]
OK
2) If PDU mode (+CMGF=0) and Command successful:
+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pd u><CR><LF>
Quectel
3)If error is related to ME functionality:
+CMS ERROR: <err>
Maximum Response Time
Reference
GSM 07.05
Parameter
300ms.
Note: Operation of <stat> depends on the storage of listed
Confidential
<stat> 1) If text mode
"REC UNREAD" Received unread messages
"REC READ" Received read messages
"STO UNSENT" Stored unsent messages
"STO SENT" Stored sent messages
"ALL" All messages
2) If PDU mode
0 Received unread messages
1 Received read messages
M10_AT_Commands_Manual Confidential / Released 103 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2 Stored unsent messages
3 Stored sent messages
4 All messages
<mode> 0 Normal(default)
1 Not change 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; used character
<da>
set should be the one selected with command select TE character set +CSCS (see definition of this command in TS 07.07)
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 (refer to command +CSCS in TS 07.07); type of address given by <toda>
<index>
<oa>
<pdu>
<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
GSM 03.40 TPUser-Data-Header-Indication is not set
− if TE character set other than "HEX" (refer to Command Select TE character set
+CSCS in TS 07.07):ME/TA converts GSM alphabet into current TE character set
− if TE character set is "HEX": ME/TA converts each 7-bit character of GSM alphabet into
− according to rules of Annex A two IRA character long hexadecimal number (e.g. character P (GSM 23) is presented
Quectel octet 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 CBM Content of Message in text mode responses; format:
− if <dcs> indicates that GSM 03.38 default alphabet is used
− if TE character set other than "HEX" (refer to Command +CSCS in GSM 07.07): ME/TA
Confidential each 8-bit octet into two IRA character long hexadecimal number
<length>
Integer type value indicating in the text mode (+CMGF=1) the length of the message body
<data> (or <cdata>) in characters; or in PDU mode (+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)
Integer type; value in the range of location numbers supported by the associated memory
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 (refer to command +CSCS in TS 07.07); type of address given by <tooa>
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
M10_AT_Commands_Manual Confidential / Released 104 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<scts>
<toda>
GSM 03.40 TP-Service-Center-Time-Stamp in time-string format (refer to <dt>)
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","","",
OK
This is a test from Quectel
+CMGL: 2,"STO UNSENT","","",
Quectel
8.7. AT+CMGR Read SMS Message
Test Command
AT+CMGR=?
Confidential
Write Command
AT+CMGR=<index>[,<mode>]
Response
TA returns SMS message with location value <index> from message storage <mem1> to the TE. If status of the message is 'received unread', status in the storage changes to 'received read'.
1) If text mode (+CMGF=1) and command is executed successfully: for SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,< sca>,<tosca>,<length>]<CR><LF><data>
for SMS-SUBMIT:
M10_AT_Commands_Manual Confidential / Released 105 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CMGR:
<stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>],< sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORTs:
+CMGR:
<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
for SMS-COMMANDs:
+CMGR:
<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><
CR><LF><cdata>]
for CBM storage:
+CMGR:
<stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><dat a>
2) If PDU mode (+CMGF=0) and command successful:
+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>
Maximum Response Time
OK
Quectel
Reference
GSM 07.05
<da>
Parameter
<index>
<mode>
0
1
Confidential
<alpha>
String type alphanumeric representation of <da> or <oa> corresponding to the entry found in MT phonebook; implementation of this feature is manufacturer specific
<data>
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 +CSCS in TS 07.07); type of address given by <toda>
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
GSM 03.40 TPUser-Data-Header-Indication is not set
− if TE character set other than "HEX" (refer to command select TE character set
+CSCS in TS 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
M10_AT_Commands_Manual Confidential / Released 106 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<dcs>
into two IRA character long hexadecimal number (e.g. character P (GSM 23) is presented as 17 (IRA 49 and 55))
− if <dcs> indicates that 8-bit or UCS2 data coding scheme is used, or <fo> indicates that GSM 03.40 TP-User-Data-Header-Indication is set: ME/TA converts each 8-bit octet 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 CBM Content of Message in text mode responses; format
− if <dcs> indicates that GSM 03.38 default alphabet is used
− if TE character set other than "HEX" (refer to command +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
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
<mid>
<oa>
<fo>
<length>
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
Quectel
GSM 03.41 CBM Message Identifier in integer format
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
<pdu>
<sca>
character set (specified by +CSCS in TS 07.07); type of address given by <tooa>
In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
Confidential
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
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
<scts>
<stat>
<toda>
character set (specified by +CSCS in TS 07.07); type of address given by <tosca>
GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer to <dt>)
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
4 "ALL" All messages
GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
M10_AT_Commands_Manual Confidential / Released 107 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<tooa>
<tosca>
character of <da> is + (IRA 43) default value is 145, otherwise default is 129)
GSM 04.11 TP-Originating-Address Type-of-Address octet in integer format (default refer to <toda>)
GSM 04.11 RP SC address Type-of-Address octet in integer format (default refer to
<toda>)
<vp>
Depending on SMS-SUBMIT <fo> setting: GSM 03.40 TP-Validity-Period either in integer format (default value is 167) or 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
AT+CMGS Send SMS Message
Test Command Response
AT+CMGS=?
Write Command
1) If text mode (+CMGF=1):
AT+CMGS=<da>[,<toda>]<CR>
text is entered
<ctrl-Z/ESC>
OK
Confidential
ESC quits without sending
2) If PDU mode (+CMGF=0):
Response
TA sends message from a TE to the network (SMS-SUBMIT).
Message reference value <mr> is returned to the TE on successful message delivery. Optionally (when +CSMS
<service> value is 1 and network supports) <scts> is returned. Values can be used to identify message upon unsolicited delivery status report result code.
1) If text mode (+CMGF=1) and sent successfully:
AT+CMGS=<length><CR> +CMGS: <mr>
PDU is given <ctrl-Z/ESC>
OK
2) If PDU mode (+CMGF=0) and sent successfully:
+CMGS: <mr>
OK
3)If error is related to ME functionality:
+CMS ERROR: <err>
M10_AT_Commands_Manual Confidential / Released 108 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.05
120s, determined by network.
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 +CSCS in TS 07.07); type of address given by <toda>
GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
<toda>
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129)
<length> Integer type value indicating in the text mode (+CMGF=1) the length of the message body
<data> (or <cdata>) in characters; or in PDU mode (+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
OK
Example
AT+CMGF=1
OK
AT+CSCS="GSM"
Quectel
AT+CMGS="15021012496"
> This is a test from Quectel
//Enter in text, <CTRL+Z> send message,<ESC> quits
without sending
OK
+CMGS: 247
Confidential
8.9. AT+CMGW Write SMS Message to Memory
AT+CMGW Write SMS Message to Memory
Test Command
AT+CMGW=?
Write Command
1) If text mode (+CMGF=1):
AT+CMGW[=<oa/da>[,<tooa/toda>[,<s tat>]]]
<CR> text is entered
<ctrl-Z/ESC>
<ESC> quits without sending
Response
OK
Response
TA transmits SMS message (either SMS-DELIVER or
SMS-SUBMIT) from TE to memory storage <mem2>.
Memory location <index> of the stored message is returned.
By default message status will be set to 'stored unsent', but parameter <stat> also allows other status values to be given.
M10_AT_Commands_Manual Confidential / Released 109 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2) If PDU mode (+CMGF=0):
AT+CMGW=<length>[,<stat>]<CR>
PDU is given <ctrl-Z/ESC>
Maximum Response Time
Reference
GSM 07.05
If writing is successful:
+CMGW: <index>
OK
If error is related to ME functionality:
+CMS ERROR: <err>
300ms
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 +CSCS in TS 07.07);type of address given by <tooa>
<da>
<tooa>
<toda>
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
Quectel 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>
2 "STO UNSENT" Stored unsent messages
3 "STO SENT" Stored sent messages
4 "ALL" All messages
<length>
Integer type value indicating in the text mode (+CMGF=1) the length of the message body
<data> (or <cdata>) in characters; or in PDU mode (+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)
<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
<index>
Index of message in selected storage <mem2>
M10_AT_Commands_Manual Confidential / Released 110 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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
8.10. AT+CMSS Send SMS Message from Storage
AT+CMSS Send SMS Message from Storage
Test Command
AT+CMSS=?
Write Command
AT+CMSS=<index>[,<da>[,<toda>]]
Response
OK
TA sends message with location value <index> from message storage <mem2> to the network (SMS-SUBMIT). If new recipient address <da> is given, it shall be used instead of the one stored with the message. Reference value <mr> is returned to the TE on successful message delivery. Values can be used to identify message upon unsolicited delivery status report result code.
Confidential
2) If PDU mode(+CMGF=0) and sent successfully;
+CMSS: <mr> [,<ackpdu>]
OK
3) If error is related to ME functionality:
+CMS ERROR: <err>
120s, determined by network. Maximum Response Time
Reference
GSM 07.05
M10_AT_Commands_Manual Confidential / Released 111 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<index>
<da>
Integer type; value in the range of location numbers supported by the associated memory
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
<toda>
character set (specified by +CSCS in TS 07.07); type of address given by <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
8.11. AT+CMGC Send SMS Command
AT+CMGC Send SMS Command
Test Command
AT+CMGC=?
Write Command
Quectel
1) If text mode (+CMGF=1):
AT+CMGC=<fo>[,<ct>,<pid>,<mn>,<d
Response
TA transmits SMS command message from a TE to the network (SMS-COMMAND). Message reference value <mr>
a>,<toda>]<CR> text is entered
<ctrl-Z/ESC>
Confidential
AT+CMGC=<length><CR>
PDU is given <ctrl-Z/ESC> is returned to the TE on successful message delivery. Value can be used to identify message upon unsolicited delivery status report result code.
1) If text mode(+CMGF=1) and sent successfully:
+CMGC: <mr> [,<scts>]
OK
2) If PDU mode(+CMGF=0) and sent successfully:
+CMGC: <mr> [,<ackpdu>]
OK
3)If error is related to ME functionality:
+CMS ERROR: <err>
300ms Maximum Response Time
Reference
GSM 07.05
M10_AT_Commands_Manual Confidential / Released 112 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<fo>
<ct>
<pid>
<mn>
<da>
First octet of GSM 03.40 SMS-COMMAND (default value is 2) in integer format
GSM 03.40 TP-Command-Type in integer format (default value is 0)
GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
GSM 03.40 TP-Message-Number in integer format
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 +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 (+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
Quectel
8.12. AT+CNMI New SMS Message Indications
AT+CNMI New SMS Message Indications
Test Command
AT+CNMI=?
Response
Confidential
Read Command
OK
Response
AT+CNMI?
+CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
OK
Write Command
AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds
>[,<bfr>]]]]]
Response
TA selects the procedure on how the received new messages 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.
M10_AT_Commands_Manual Confidential / Released 113 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.05
OK
If error is related to ME functionality:
ERROR
300ms
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. TA-TE link specific inband
<mt>
Quectel
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)
Confidential
<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 (+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
M10_AT_Commands_Manual Confidential / Released 114 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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
Unsolicited result code
+CMTI: <mem>,<index> Indicates that new message has been received
+CMT: [<alpha>],<length><CR><LF><pdu> Short message is output directly
+CBM: <length><CR><LF><pdu> Cell broadcast message is output directly
OK
Example
AT+CMGF=1
OK
AT+CSCS="GSM"
Quectel
AT+CNMI=2,1
//SMS-DELIVER is stored into ME/TA, indication of the
OK
memory location is routed to the TE
OK
+CMTI: "SM",5
AT+CNMI=2,2
Confidential
+CMT: "+8615021012496"," ","2010/09/25 17:25:01+32",145,4,0,241,"+8613800210500",145,27
This is a test from Quectel
//Short message is output directly
8.13. AT+CRES Restore SMS Settings
AT+CRES Restore SMS Settings
Test Command
AT+CRES=?
Response
+CRES: (list of supported <profile>s)
M10_AT_Commands_Manual Confidential / Released 115 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
AT+CRES[=<profile>]
OK
Response
TA restores SMS settings from non-volatile memory to active memory. A TA can contain several profiles of settings.
Settings specified in commands service centre address
+CSCA, set message parameters +CSMP and select cell broadcast message types +CSCB (if implemented) are restored. Certain settings may not be supported by the storage (e.g. SIM SMS parameters) and therefore cannot be restored.
OK
If error is related to ME functionality:
ERROR
300ms Maximum Response Time
Reference
GSM 07.05
Parameter
<profile> 0-3
Quectel
8.14. AT+CSAS Save SMS Settings
AT+CSAS Save SMS Settings
Test Command
AT+CSAS=?
Confidential
Write Command
OK
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 centre address
+CSCA, Set Message Parameters +CSMP and Select cell broadcast message Types +CSCB (if implemented) are saved. Certain settings may not be supported by the storage
(e.g. SIM SMS parameters) and therefore cannot be saved.
OK
If error is related to ME functionality:
ERROR
M10_AT_Commands_Manual Confidential / Released 116 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.05
300ms
Parameter
<profile>
0-3 Manufacturer specific profile number where settings are to be stored
8.15. AT+CSCB Select Cell Broadcast SMS Messages
AT+CSCB Select Cell Broadcast SMS Messages
Response Test Command
AT+CSCB=?
+CSCB: (list of supported <mode>s)
Read Command
AT+CSCB?
OK
Quectel
AT+CSCB=<mode>[,mids>[,<dcss>]]
Response
TA selects which types of CBMs are to be received by the ME.
Write Command
OK
Maximum Response Time
Reference
GSM 07.05
Parameter
If error is related to ME functionality:
+CMS ERROR: <err>
Confidential
<mode> 0 Message types specified in <mids> and <dcss> are accepted
1 Message types specified in <mids> and <dcss> are not accepted
<mids>
String type; all different possible combinations of CBM message identifiers (refer to <mid>)
(default is empty string) e.g. "0,1,5,320-478,922"
<dcss>
String type; all different possible combinations of CBM data coding schemes (refer to
<dcs>) (default is empty string) e.g. "0-3,5"
M10_AT_Commands_Manual Confidential / Released 117 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
The Command writes the parameters in NON-VOLATILE memory.
8.16. AT+CSDH Show SMS Text Mode Parameters
AT+CSDH Show SMS Text Mode Parameters
Test Command
AT+CSDH=?
Read Command
AT+CSDH?
Response
+CSDH: (list of supported <show>s)
OK
Response
+CSDH: <show>
Write Command
AT+CSDH=[<show>]
Maximum Response Time
OK
Response
Quectel
Reference
GSM 07.05
Parameter
<show> 0
Confidential
+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
M10_AT_Commands_Manual Confidential / Released 118 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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
8.17. AT+CSMP Set SMS Text Mode Parameters
AT+CSMP Set SMS Text Mode Parameters
Test Command
AT+CSMP=?
Response
+CSMP: (list of supported <fo>s), (list of supported <vp>s),
(list of supported <pid>s), (list of supported <dcs>s)
Read Command
AT+CSMP?
OK
Quectel
AT+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]
Response
TA selects values for additional parameters needed when SM
Write Command
]]]
is sent to the network or placed in a storage when text mode is selected (+CMGF=1). It is possible to set the validity period starting from when the SM is received by the SMSC (<vp> is
Confidential
Maximum Response Time 300ms
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>)
M10_AT_Commands_Manual Confidential / Released 119 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<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
The Command writes the parameters in NON-VOLATILE memory.
8.18. AT+QRSTCB Reset cell broadcast
AT+QRSTCB Reset cell broadcast
Execution Command
AT+QRSTCB
Response
OK
Maximum Response Time 300ms
Reference
GSM 07.05
NOTE
Quectel
The Command is used to reset the CB module.
SMS
AT+QCLASS0 Store Class 0 SMS to SIM when Receiving Class 0 SMS
Test Command
AT+QCLASS0=?
Read Command
AT+QCLASS0?
Write Command
AT+QCLASS0=<mode>
Response
+QCLASS0: (list of supported <mode>s)
OK
Response
+QCLASS0: <mode>
OK
Response
OK
ERROR
M10_AT_Commands_Manual Confidential / Released 120 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
300ms
Parameter
<mode> 0 Disable to store Class 0 SMS when receiving Class 0 SMS
1 Enable to store Class 0 SMS when receiving Class 0 SMS
Example
For example message in text mode:
AT+CPMS?
+CPMS: "SM",6,50,"SM",6,50,"SM",6,50
OK
AT+QCLASS0=0
//Disable to store SMS when receiving Class 0 SMS
OK
TEST1 from Quectel
//Short message is output directly
AT+QCLASS0=1
//Enable to store SMS when receiving Class 0 SMS
OK
+CMTI: "SM",7
//Indicate that new message has been received
OK
AT+CMGR=7
+CMGR: "REC UNREAD","+8615021012496","","2010/09/26 09:56:17+32"
Confidential
8.20. AT+QMGDA Delete all SMS
AT+QMGDA Delete all SMS
Test Command
AT+QMGDA=?
Write Command
AT+QMGDA=<type>
Response
+QMGDA: (listed of supported <type>s)
OK
Response
OK
ERROR
M10_AT_Commands_Manual Confidential / Released 121 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
+CME ERROR: <err>
Depends on the storage of deleted messages.
Parameter
<type>
1) If text mode:
"DEL READ" Delete all read messages
"DEL UNREAD" Delete all unread messages
"DEL SENT" Delete all sent SMS
"DEL UNSENT" Delete all unsent SMS
"DEL INBOX" Delete all received SMS
"DEL ALL" Delete all SMS
2) If PDU mode:
1 Delete all read messages
2 Delete all unread messages
3 Delete all sent SMS
4 Delete all unsent SMS
5
6
Quectel
8.21. AT+QMGHEX Enable to Send Non-ASCII Character SMS
AT+QMGHEX Enable to Dend Non-ASCII Character SMS
Test Command
AT+QMGHEX=?
Confidential
Read Command
AT+QMGHEX?
OK
Response
+QMGHEX: <mode>
OK
Write Command
AT+QMGHEX=<mode>
Response
OK
ERROR
Maximum Response Time
Reference
Depends on the storage of deleted messages.
M10_AT_Commands_Manual Confidential / Released 122 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<mode>
0 Send SMS in ordinary way
1 Enable to send SMS varying from 0x00 to 0x7f except 0x1a and 0x1b under text mode and GSM character set
NOTE
Only be available in text mode and +CSCS="GSM".
8.22. AT+QSMSCODE Configure SMS Code Mode
AT+QSMSCODE Configure SMS Code Mode
Test Command Response
AT+QSMSCODE=?
Read Command
AT+QSMSCODE?
+QSMSCODE: (list of supported <mode>s)
Quectel
Write Command
OK
Response
AT+QSMSCODE=<mode> OK
Maximum Response Time
Reference
Parameter
ERROR
Confidential
<mode>
0 Code mode according with NOKIA
1 Code mode according with SIEMENS
2 Code mode according with NOKIA, and hexadecimal 0x11 treated as
“_” hexadecimal 0x02 treated as "$"
M10_AT_Commands_Manual Confidential / Released 123 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
9
Phonebook Commands
9.1. AT+CPBS Select Phonebook Memory Storage
AT+CPBS Select Phonebook Memory Storage
Test Command
AT+CPBS=?
Response
+CPBS: (list of supported <storage>s)
OK
Read Command Response
AT+CPBS?
Write Command
AT+CPBS=<storage>
+CPBS: <storage>[,<used>,<total>] Quectel
Maximum Response Time
OK
300ms
Reference
GSM 07.07
Parameter
Confidential
<storage> "MC" ME missed (unanswered) calls list
"RC" ME received calls list
"DC" ME dialed calls list(+CPBW may not be applicable or this storage)(same as LD)
"LA" Last Number All list (LND/LNM/LNR)
"ME" ME phonebook
"BN" SIM barred dialed number
"SD" SIM service dial number
"VM" SIM voice mailbox
"FD" SIM fix dialing-phone book
"LD" SIM last-dialing-phone book
"ON" SIM (or ME) own numbers (MSISDNs) list
"SM" SIM phonebook
M10_AT_Commands_Manual Confidential / Released 124 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<used> Integer type value indicating the total number of used locations in selected memory
<total> Integer type value indicating the total number of locations in selected memory
NOTE
SIM phonebook record can stores up to 250pcs and ME phonebook record can store up to 100pcs.
9.2. AT+CPBW Write Phonebook Entry
AT+CPBW Write Phonebook Entry
Test Command
AT+CPBW=?
Response
TA returns location range supported by the current storage, the maximum length of <number> field, supported number formats of the storage, and the maximum length of <text>
Write Command field.
+CPBW: (The range of supported <index>s), <nlength>, (list
Quectel
AT+CPBW=<index>[,<number>[,<typ
Response
TA writes phone book entry in location number <index> in the current phone book memory storage selected with +CPBS.
e>[,<text>]]]
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
Confidential
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<nlength> Maximum length of phone number
<tlength> Maximum length of text for number
<index> Location number
<number> Phone number
<type> Type of number
M10_AT_Commands_Manual Confidential / Released 125 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
129 Unknown type(IDSN format number)
145 International number type(ISDN format )
<text> Text for phone number in current TE character set specified by +CSCS
NOTE
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
OK
AT+CPBW=10,"15021012496",129,"QUECTEL"
OK
AT+CPBW=10
Quectel
9.3. AT+CPBR Read Current Phonebook Entries
AT+CPBR Read Current Phonebook Entries
Test Command
AT+CPBR=?
Confidential and <text> fields.
+CPBR: (list of supported <index>s),<nlength>,<tlength>
OK
Write Command
AT+CPBR=<index1>[,<index2>]
Response
TA returns phone book entries in location number range
<index1>... <index2> from the current phone book memory storage selected with +CPBS. If <index2> is left out, only location <index1> is returned.
+CPBR:<index1>,<number>,<type>,<text>[<CR><LF>+C
PBR: .....+CPBR: <index2>, <number>, <type>, <text>]
M10_AT_Commands_Manual Confidential / Released 126 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
OK
300ms.
Note: Operation of <index2>depends on the storage of read phonebook entries.
Parameter
<index> Location number
<nlength> Maximum length of phone number
<tlength> Maximum length of name for number
<index1> The first phone book record to read
<index2>
The last phonebook record to read
<number> Phone number
<type> Type of number
OK
OK
<text> Text name for phone number in current TE character set specified by +CSCS
Example
AT+CSCS="GSM"
Quectel
AT+CPBR=10
//Query phone book entries in location 10
+CPBR: 10,"15021012496",129,"QUECTEL"
AT+CPBF Find Phonebook Entries
Test Command
AT+CPBF=?
Write Command
AT+CPBF=[<findtext>]
Response
+CPBF: <nlength>,<tlength>
OK
Response
TA returns phone book entries (from the current phone book memory storage selected with +CPBS) which contain alphanumeric string <findtext>.
[+CPBF: <index1>, <number>,<type>, <text>[[...]
<CR><LF>+CBPF: <index2>,<number>,<type>,<text>]
M10_AT_Commands_Manual Confidential / Released 127 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
OK
Depends on the storage of phonebook entries.
Parameter
<findtext> String type field of maximum length <tlength> in current TE character set specified by
+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
<tlength>
+CSCS
<nlength> Integer type value indicating the maximum length of field <number>
Quectel
9.5. AT+CNUM Subscriber Number
AT+CNUM Subscriber Number
Test Command
AT+CNUM=?
Execution Command
AT+CNUM
Response
+CNUM: [<alpha1>],<number1>,<type1>
[<CR><LF>+CNUM: [<alpha2>],<number2>,<type2>
[...]]
OK
+CME ERROR: <err>
300ms Maximum Response Time
Reference
GSM 07.07
M10_AT_Commands_Manual Confidential / Released 128 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<alphax> Optional alphanumeric string associated with <numberx>;used character set should be the
one selected with command. Select TE character set +CSCS
<numberx> Phone number in string type of format specified by <typex>
<typex> Type of address octet in integer format (refer to GSM 04.08subclause 10.5.4.7)
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 129 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
10
GPRS Commands
10.1. AT+CGATT Attach to/Detach from GPRS Service
AT+CGATT Attach to/Detach from GPRS Service
Test Command
AT+CGATT=?
Read Command
AT+CGATT?
Response
+CGATT: (list of supported <state>s)
OK
Response
Write Command
AT+CGATT=<state>
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 75s, determined by network.
Reference
GSM 07.07
Parameter
Confidential
<state> Indicates the state of GPRS attachment
0 Detached
1 Attached
Other values are reserved and will result in an ERROR response to the Write Command
Example
AT+CGATT=1
//Attach to GPRS service
OK
AT+CGATT=0
//Detach from GPRS service
OK
AT+CGATT?
//Query the current GPRS service state
M10_AT_Commands_Manual Confidential / Released 130 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CGATT: 0
OK
10.2. AT+CGDCONT Define PDP Context
AT+CGDCONT Define PDP Context
Test Command
AT+CGDCONT=?
Response
+CGDCONT: (range of supported <cid>s), <PDP_type>,
<APN>, <PDP_addr>, (list of supported <data_comp>s),
(list of supported <head_comp>s)
OK
Response Read Command
AT+CGDCONT? +CGDCONT:
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<h ead_comp>
Quectel
OK
Write Command
AT+CGDCONT=<cid>[,<PDP_type>[,<
APN>[,<PDP_addr>[,<d_comp>[,<h_c omp>]]]]]
Maximum Response Time
Reference
Response
OK
ERROR
Confidential
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
M10_AT_Commands_Manual Confidential / Released 131 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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 +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
AT+CGQREQ Quality of Service Profile (Requested)
Test Command Response
AT+CGQREQ=?
Read Command
+CGQREQ: <PDP_type>,(list of supported <precedence>s),
(list of supported <delay>s),(list of supported <reliability>s),
(list of supported <peak>s),(list of supported <mean>s)
Confidential
AT+CGQREQ?
Response
+CGQREQ:
<cid>,<precedence>,<delay>,>reliability>,<peak>,<mean
>
<CR><LF>+CGQREQ:
<cid>,<precedence>,<delay>,<reliability>,<peak >,<mean
>
…
OK
Write Command
AT+CGQREQ=<cid>[,<precedence>[,
<delay>[,<reliability>[,<peak>[,<mean
>]]]]]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
M10_AT_Commands_Manual Confidential / Released 132 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
300ms
Parameter
<cid>
A numeric parameter which specifies a particular PDP context definition (see
+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
10.4. AT+CGQMIN Quality of Service Profile (Minimum Acceptable)
Test Command
AT+CGQMIN=?
Quectel
(list of supported <delay>s), (list of supported <reliability>s),
(list of supported <peak>s), (list of supported <mean>s)
Read Command
AT+CGQMIN?
OK
Response
Confidential
<CR><LF>+CGQMIN:
<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean
>
…
Write Command
AT+CGQMIN=<cid>[,<precedence>[,< delay>[,<reliability>[,<peak>[,<mean>
]]]]]
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
M10_AT_Commands_Manual Confidential / Released 133 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Reference
GSM 07.07
Parameter
<cid>
A numeric parameter which specifies a particular PDP context definition (see
+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
10.5. AT+CGACT PDP Context Activate or Deactivate
AT+CGACT PDP Context Activate or Deactivate
Test Command
AT+CGACT=?
Quectel
Read Command
AT+CGACT?
OK
Response
+CGACT:
Write Command
AT+CGACT=<state>,<cid>
<cid>,<state>[<CR><LF>+CGACT:<cid><state>
…]
OK
NO CARRIER
If error is related to ME functionality:
+CME ERROR: <err>
150s, determined by network. Maximum Response Time
Reference
GSM 07.07
Parameter
<state> Indicates the state of PDP context activation
0 Deactivated
1 Activated
M10_AT_Commands_Manual Confidential / Released 134 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Other values are reserved and will result in an ERROR response to the Write Command
<cid> A numeric parameter which specifies a particular PDP context definition (see +CGDCONT command)
NOTE
If context is deactivated successfully, NO CARRIER is returned.
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
AT+CGDATA Enter Data State
Test Command Response
AT+CGDATA=? +CGDATA: (list of supported <L2P>s)
Write Command
AT+CGDATA=<L2P>[,<cid>[,<cid>[,
]]]
…
OK
Response
NO CARRIER
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Reference
GSM 07.07
300ms
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
M10_AT_Commands_Manual Confidential / Released 135 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<cid>
A numeric parameter which specifies a particular PDP context definition (see +CGDCONT command)
10.7. AT+CGPADDR Show PDP Address
AT+CGPADDR Show PDP Address
Test Command
AT+CGPADDR=?
Write Command
AT+CGPADDR=<cid>
Response
+CGPADDR: (list of defined <cid>s)
OK
Response
+CGPADDR: <cid>[,<PDP_addr>]
OK
ERROR
Maximum Response Time
Reference
GSM 07.07
Parameter
300ms
Quectel
<cid>
A numeric parameter which specifies a particular PDP context definition (see +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 command)
<PDP_addr> A string that identifies the MT in the address space applicable to the PDP. The address may
Confidential
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
M10_AT_Commands_Manual Confidential / Released 136 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+CGPADDR=1
//Show PDP address
+CGPADDR: 1,"10.76.51.180"
OK
10.8. AT+CGCLASS GPRS Mobile Station Class
AT+CGCLASS GPRS Mobile Station Class
Test Command
AT+CGCLASS=?
Response
+CGCLASS: (list of supported <class>s)
OK
Read Command Response
AT+CGCLASS?
+CGCLASS: <class>
Write Command
AT+CGCLASS=<class>
OK
Response
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 30s, determined by network.
Reference
GSM 07.07
Parameter
<class>
Confidential
order)
"B" Class B
"CG" Class C in GPRS only mode
"CC" Class C in circuit switched only mode
10.9. AT+CGEREP Control Unsolicited GPRS Event Reporting
AT+CGEREP Control Unsolicited GPRS Event Reporting
Test Command
AT+CGEREP=?
Response
+CGEREP: (list of supported <mode>s)
M10_AT_Commands_Manual Confidential / Released 137 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Read Command
AT+CGEREP?
Maximum Response Time
Write Command
AT+CGEREP=<mode>
Reference
GSM 07.07
OK
Response
+CGEREP: <mode>
OK
300ms
Response
OK
ERROR
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
NOTE
Quectel
Unsolicited Result Codes supported:
+CGEV: NW DEACT <PDP_type>, <PDP_addr>[,<cid>]
+CGEV: ME DEACT <PDP_type>, <PDP_addr>[,<cid>]
+CGEV: NW DETACH
+CGEV: ME CLASS <class>
Parameters
Confidential
<cid>
Context ID (see +CGDCONT command)
<class>
GPRS mobile class (see +CGCLASS command)
10.10. AT+CGREG Network Registration Status
AT+CGREG Network Registration Status
Test Command
AT+CGREG=?
Response
+CGREG: (list of supported <n>s)
OK
M10_AT_Commands_Manual Confidential / Released 138 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Read Command
AT+CGREG?
Write Command
AT+CGREG=[<n>]
Maximum Response Time
Reference
GSM 07.07
Response
+CGREG: <n>,<stat>[,<lac>,<ci>]
OK
Response
OK
ERROR
300ms
Parameter
<n> 0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code +CGREG:<stat>
2 Enable network registration and location information unsolicited result code
+CGREG: <stat>[,<lac>,<ci>]
<stat>
0 Not registered, ME is not currently searching a new operator to register to
1
2
3
4
Quectel
5 Registered, roaming
<lac> String type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in
decimal)
<ci> String type; two bytes cell ID in hexadecimal format
NOTE
Example
AT+CGATT=0
NO CARRIER
+CGREG: 0,"1878","0873"
AT+CGATT=1
OK
+CGREG: 2,"1878","0873"
M10_AT_Commands_Manual Confidential / Released 139 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CGREG: 1,"1878","0873"
10.11. AT+CGSMS Select Service for MO SMS Messages
AT+CGSMS Select Service for MO SMS Messages
Test Command
AT+CGSMS=?
Read Command
AT+CGSMS?
Response
+CGSMS: (list of currently available <service>s)
OK
Response
+CGSMS: <service>
OK
Response
OK
Write Command
AT+CGSMS=[<service>]
Maximum Response Time
Reference
GSM 07.07
Parameter
If error is related to ME functionality:
+CME ERROR: <err>
Quectel
2 GPRS preferred (use circuit switched if GPRS not available)
3 Circuit switch preferred (use GPRS if circuit switched not available)
<service> A numeric parameter which indicates the service or service preference to be used
0 GPRS
1
Confidential
NOTE
The circuit switched service route is the default method.
M10_AT_Commands_Manual Confidential / Released 140 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
10.12. AT+QGPCLASS Change GPRS Multi-slot Class
AT+QGPCLASS Change GPRS Multi-slot Class
Test Command
AT+QGPCLASS=?
Read Command
AT+QGPCLASS?
Write Command
AT+QGPCLASS=<class>
Response
MULTISLOT CLASS: (list of currently available <class>s)
OK
Response
MULTISLOT CLASS: <class>
OK
Response
OK
ERROR
Maximum Response Time 300ms
Reference
1-12 default value is 12
Parameter
<class>
Quectel
NOTE
Need to reboot for the change of GPRS multi-slot class to take effect.
Confidential
10.13. AT+QGDVOL Network Data Throughput
AT+QGDVOL Network Data Throughput
Test Command
AT+QGDVOL=?
Write Command
AT+QGDVOL=<mode>
Response
+QGDVOL: (0,1,2)
OK
Response
Execution command reports, for every active PDP context, the amount of data the last GPRS session received and transmitted, or it will report the total amount of data received and transmitted during all past GPRS sessions, since last
M10_AT_Commands_Manual Confidential / Released 141 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference reset.
+QGDVOL:<cidn>,<totn>,<sentn>,<receivedn>
+QGDVOL: <cidm>,<totm>,<sentm>,<receivedm>[…]]
OK
300ms
Parameter
<mode> 0 Clear GPRS data traffic of all PDP connection.
1 Report all available data traffic of the last PDP connection.
2 Report the current total GPRS data traffic.
<cidn> PDP context identifier
0-2 Numeric parameter which specifies PDP context.
<totn> Number of bytes received and transmitted
<sentn>
Number of bytes transmitted
<receivedn>
NOTE
Quectel
GPRS data traffic for the last time cannot be saved in NVM when the module is powered off
Confidential
M10_AT_Commands_Manual Confidential / Released 142 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11
TCPIP Commands
11.1. AT+QIOPEN Start up TCP or UDP Connection
AT+QIOPEN Start up TCP or UDP Connection
Test Command
AT+QIOPEN=?
Response
+QIOPEN: (list of supported <mode>)s,(IP address
range),(port)
<CR><LF>+QIOPEN: (list of supported <mode>s),(domain
name),(port)
Write Command
AT+QIOPEN=[<index>,]<mode>,<IP address>/<domain name>,<port>
OK
Response
If format is right, respond:
OK
Otherwise respond:
ERROR
If the connection has already existed, respond:
ALREADY CONNECT
Confidential
Otherwise respond:
[<index>,] CONNECT FAIL
Maximum Response Time 75s, determined by network.
Reference
Parameter
<index> A numeric indicates which socket opens the connection. M10 supports at most 6 sockets at the same time. 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
M10_AT_Commands_Manual Confidential / Released 143 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<mode> A string parameter which indicates the connection type
"TCP" Establish a TCP connection
"UDP" Establish a UDP connection
<IP address>
A string parameter that gives the address of the remote server in dotted decimal style.
<port> The port of the remote server
0-65535
<domain name> A string parameter which represents the domain name address of the remote server
NOTES
1. This command is allowed to establish a TCP/UDP connection only when the state is IP INITIAL or 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 or 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.
AT+QISEND Send Data through TCP or UDP Connection
Test Command
AT+QISEND=?
Response
+QISEND: <length>
Execution Command
AT+QISEND
response"> ", then type data to send, tap CTRL+Z to send, tap ESC to cancel the operation
OK
Response
This command is used to send changeable length data.
If connection is not established or disconnected:
ERROR
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
Write Command
1)When AT+QIMUX=0
AT+QISEND=<length>
2)When AT+QIMUX=1
AT+QISEND=<index>[,<length>]
Response
This command is used to send fixed-length data or send data on the given socket (defined by <index>).
If connection is not established or disconnected:
ERROR
M10_AT_Commands_Manual Confidential / Released 144 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
300ms
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
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 note, it is necessary to execute the command AT+QISACK to query it.
Confidential
AT+QICLOSE Close TCP or UDP Connection
Test Command
AT+QICLOSE=?
Execution Command
AT+QICLOSE
Response
OK
Response
If close succeeds:
CLOSE OK
If close fails:
ERROR
Response
If close succeeds:
Write Command
AT+QICLOSE=<index>
M10_AT_Commands_Manual Confidential / Released 145 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
<index>, CLOSE OK
If close fails:
ERROR
300ms
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
1. Execution Command AT+QICLOSE:
If QISRVC is 1 (please refer to AT+QISRVC) and QIMUX is 0 (please refer to AT+QIMUX), this command will close the connection in which the module is used as a client. remote client.
Quectel
If QISRVC is 2 and QIMUX is 0 and the module is in listening state without any client, this command will cause the module to quit the listening state.
If QISRVC is 2 and QIMUX is 1 and the module is used as a server, this command will close all the income connection and cause the module to quit the listening state.
Confidential
If QISRVC is 2 and QIMUX is 1, this command will close the incoming connection according to
<index>.
3. If QISRVC is 1 and QIMUX is 0, AT+QICLOSE only closes the connection when the statue is
CONNECTING or CONNECT OK, otherwise respond with ERROR. After closing the connection, the status is IP CLOSE.
M10_AT_Commands_Manual Confidential / Released 146 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11.4. AT+QIDEACT Deactivate GPRS/CSD PDP Context
AT+QIDEACT Deactivate GPRS/CSD PDP Context
Test Command
AT+QIDEACT=?
Execution Command
AT+QIDEACT
Response
OK
Response
If close succeeds:
DEACT OK
If close fails:
ERROR
Maximum Response Time 40s, determined by network.
Reference
NOTES
1. Except at the status of IP INITIAL, you can deactivate GPRS/CSD PDP context by AT+QIDEACT.
Quectel
11.5. AT+QILPORT Set Local Port
AT+QILPORT Set Local Port
Test Command
AT+QILPORT=?
Confidential
Read Command
AT+QILPORT?
Response
<mode>: <port>
<CR><LF><mode>: <port>
OK
Write Command
AT+QILPORT=<mode>,<port>
Response
OK
ERROR
Maximum Response Time
Reference
300ms
M10_AT_Commands_Manual Confidential / Released 147 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<mode> A string parameter which indicates the connection type
"TCP" TCP local port
"UDP" UDP local port
<port> 0-65535 A numeric parameter which indicates the local port
NOTE
This command is used to set the port for listening.
11.6. AT+QIREGAPP Start TCPIP Task and Set APN, User Name and
Password
AT+QIREGAPP Start TCPIP Task and Set APN, User Name and Password
Test Command
AT+QIREGAPP=?
Quectel
Read Command
AT+QIREGAPP?
Response
+QIREGAPP: <apn>,<user name>,<password>
Write Command
AT+QIREGAPP=<apn>,<user name>,< password>[,<rate>]
OK
Response
OK
ERROR
Execution Command
AT+QIREGAPP
Response
OK
ERROR
Maximum Response Time
Reference
300ms
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
M10_AT_Commands_Manual Confidential / Released 148 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTES
1. The write command and execution command of this command is valid only at the status of IP
INITIAL. After operating this command, the status will become to 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.
11.7. AT+QIACT Activate GPRS/CSD Context
AT+QIACT Activate GPRS/CSD Context
Test Command
AT+QIACT=?
Execution Command
Response
OK
Response
AT+QIACT
OK
Maximum Response Time
Reference
NOTES
ERROR
150s, determined by network.
Quectel
1. AT+QIACT only activates GPRS/CSD context at the status of IP START. After operating this command, the status will become to IP CONFIG. If TA accepts the activated operation, the status will become to IP IND; after GPRS/CSD context is activated successfully, the status will become to IP
Confidential
11.8. AT+QILOCIP Get Local IP Address
AT+QILOCIP Get Local IP Address
Test Command
AT+QILOCIP=?
Execution Command
AT+QILOCIP
Response
OK
Response
If execution successful, respond
<IP address>
Otherwise respond
ERROR
M10_AT_Commands_Manual Confidential / Released 149 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
300ms
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 to IP STATUS after the command.
2. CSD function is not supported at present.
AT+QISTAT Query Current Connection Status
Response
OK
Test Command
AT+QISTAT=?
Execution Command
AT+QISTAT
Response
When AT+QIMUX=0, respond
OK
When AT+QIMUX=1, respond
List of
(+QISTAT: <index>,<mode>,<addr>,<port><CR><LF>)
OK
Maximum Response Time 300ms
Reference
Parameter
<state> A string parameter to indicate the status of the connection
"IP INITIAL" The TCPIP stack is in idle state
M10_AT_Commands_Manual Confidential / Released 150 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
"IP START" The TCPIP stack has been registered
"IP CONFIG" It has been start-up to activate GPRS/CSD context
"IP IND" It is activating GPRS/CSD context
"IP GPRSACT" GPRS/CSD context has been activated successfully
"IP STATUS" The local IP address has been gotten by the command
AT+QILOCIP
"TCP CONNECTING" It is trying to establish a TCP connection
"UDP CONNECTING" It is trying to establish a UDP connection
"IP CLOSE" The TCP/UDP connection has been closed
"CONNECT OK" The TCP/UDP connection has been established successfully
"PDP DEACT" GPRS/CSD context was deactivated because of unknown reason
If ATV was set to 0 by the command ATV0, the TCPIP stack gives the following numeric to indicate the former status
0 "IP INITIAL"
1 "IP START"
2 "IP CONFIG"
3 "IP IND"
4 "IP GPRSACT"
5
6
7
Quectel
8 "CONNECT OK"
9 "PDP DEACT"
"UDP" UDP connection
<addr> The IP address of the remote
<port> The port of the remote
<index> The index of the connection, the range is (0-5)
<mode> The type of the connection
Confidential
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.
M10_AT_Commands_Manual Confidential / Released 151 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11.10. AT+QISTATE Query Connection Status of the Current Access
AT+QISTATE Query Connection Status of the Current Access
Test Command
AT+QISTATE=?
Response
OK
Execution Command
AT+QISTATE
Response
When AT+QIMUX=0, respond
OK
STATE: <state>
When AT+QIMUX=1, respond
OK
STATE: <state>
+QISTATE:
Maximum Response Time
<index>,<mode>,<addr>,<port>,<socketstate>
OK
Quectel
Reference
Parameter
<state>
Confidential
"IP INITIAL" The TCPIP stack is in idle state.
"IP START" The TCPIP stack has been registered.
"IP CONFIG" It has been start-up to activate GPRS/CSD context.
"IP IND" It is activating GPRS/CSD context.
"IP GPRSACT" GPRS/CSD context has been activated successfully.
"IP STATUS" The local IP address has been gotten by the command
AT+QILOCIP.
"TCP CONNECTING" It is trying to establish a TCP connection.
"UDP CONNECTING" It is trying to establish a UDP connection.
"IP CLOSE" The TCP/UDP connection has been closed.
"CONNECT OK" The TCP/UDP connection has been established successfully.
"PDP DEACT" GPRS/CSD context was deactivated because of unknown
M10_AT_Commands_Manual Confidential / Released 152 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
reason.
When AT+QIMUX=1:
"IP INITIAL" The TCPIP stack is in idle state.
"IP START" The TCPIP stack has been registered.
"IP CONFIG" It has been start-up to activate GPRS/CSD context.
"IP IND" It is activating GPRS/CSD context.
"IP GPRSACT" GPRS/CSD context has been activated successfully.
"IP STATUS" The local IP address has been gotten by the command
AT+QILOCIP.
“IP PROCESSING”
Data phase. Processing the existing connection now.
"PDP DEACT" GPRS/CSD context was deactivated because of unknown reason.
<index> The index of the connection, the range is (0-5)
<mode> The type of the connection
"TCP" TCP connection
"UDP" UDP connection
<addr> The IP address of the remote
<port> The port of the remote
<socketstate> A string parameter to indicate the status of the access connection, including
INITIAL,CONNECTED.
AT+QISSTAT Query the Current Server Status
Test Command
AT+QISSTAT=?
Execution Command
AT+QISSTAT
Response
OK
When AT+QIMUX=0, respond
OK
S: <ServerState>
When AT+QIMUX=1, respond
OK
S: <ServerState>
C: <index>,<mode>,<addr>,<port>
Otherwise respond
ERROR
Maximum Response Time
Reference
300ms
M10_AT_Commands_Manual Confidential / Released 153 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<ServerState>
A string parameter to indicate the status of the connection
"INITIAL" The TCPIP stack is in idle state
"OPENNING" The TCPIP stack has been registered
"LISTENING" Listening to server port
"CLOSING" Closing connection now
<index> The index of the connection, the range is (0-4)
<mode> The type of the connection
"TCP" TCP connection
"UDP" UDP connection
<addr> The IP address of the remote
<port> The port of the remote
11.12. AT+QIDNSCFG Configure Domain Name Server
AT+QIDNSCFG Configure Domain Name Server
Test Command
AT+QIDNSCFG=?
Read Command
AT+QIDNSCFG?
Quectel
SecondaryDns: <sec_dns>
Write Command
AT+QIDNSCFG=<pri_dns>[,<sec_dns
>]
Maximum Response Time
Reference
OK
Response
OK
Confidential
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.
M10_AT_Commands_Manual Confidential / Released 154 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2. CSD function and configuration are not supported currently.
11.13. AT+QIDNSGIP Query the IP Address of Given Domain Name
AT+QIDNSGIP Query the IP Address of Given Domain Name
Test Command
AT+QIDNSGIP=?
Response
OK
Write Command
AT+QIDNSGIP=<domain name>
Response
OK
ERROR
If succeeds, return:
<IP address>
If fails, return:
Maximum Response Time
Reference
Parameter
ERROR: <err>
STATE: <state>
Quectel
<domain name> A string parameter which indicates the domain name
<IP address> A string parameter which indicates the IP address corresponding to the domain name
<err>
Confidential
4 No server
5 Time out
6 No configuration
7 No memory
8 Unknown error
<state> Refer to AT+QISTAT
M10_AT_Commands_Manual Confidential / Released 155 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11.14. AT+QIDNSIP Connect with IP Address or Domain Name Server
AT+QIDNSIP Connect with IP Address or Domain Name Server
Test Command
AT+QIDNSIP=?
Read Command
AT+QIDNSIP?
Write Command
AT+QIDNSIP=<mode>
Response
+QIDNSIP: (list of supported <mode>s)
OK
Response
+QIDNSIP: <mode>
OK
Response
OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
<mode>
Quectel
0 The address of the remote server is a dotted decimal IP address
1 The address of the remote server is a domain name
AT+QIHEAD Add an IP Header when Receiving Data
Test Command
AT+QIHEAD=?
Read Command
AT+QIHEAD?
Write Command
AT+QIHEAD=<mode>
Response
+QIHEAD: (list of supported <mode>s)
OK
Response
+QIHEAD: <mode>
OK
Response
OK
ERROR
M10_AT_Commands_Manual Confidential / Released 156 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
300ms
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):"
11.16. AT+QIAUTOS Set Auto Sending Timer
AT+QIAUTOS Set Auto Sending Timer
Test Command
AT+QIAUTOS=?
Read Command
Response
+QIAUTOS: (list of supported <mode>s), (list of supported
<time>s)
Quectel
AT+QIAUTOS?
Response
+QIAUTOS: <mode>,<time>
OK
Write Command
AT+QIAUTOS=<mode>[,<time>]
Maximum Response Time
Reference
Response
OK
Confidential
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
M10_AT_Commands_Manual Confidential / Released 157 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11.17. AT+QIPROMPT Set Prompt of
„>‟ when Sending Data
AT+QIPROMPT Set Prompt of
„>‟ when Sending Data
Test Command
AT+QIPROMPT=?
Read Command
AT+QIPROMPT?
Write Command
AT+QIPROMPT=<send prompt>
Response
+QIPROMPT: (list of supported <send prompt>s)
OK
Response
+QIPROMPT: <send prompt>
OK
Response
OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
<send prompt>
Quectel
0 No prompt ">" and show "SEND OK" when sending successes
1 Echo prompt ">" and show "SEND OK" when sending successes
2 No prompt and not show "SEND OK" when sending successes
3 Echo prompt ">" and show
“socket ID” "SEND OK" when sending
Confidential
11.18. AT+QISERVER Configured as Server
AT+QISERVER Configured as Server
Test Command
AT+QISERVER=?
Read Command
AT+QISERVER?
Execution Command
AT+QISERVER
Response
OK
Response
+QISERVER: <mode>, <num>
OK
Response
OK
ERROR
M10_AT_Commands_Manual Confidential / Released 158 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
AT+QISERVER=<type>[,<max>]
Maximum Response Time
Reference
If configured as server successfully, return:
SERVER OK
If configured as server unsuccessfully, return:
CONNECT FAIL
Response
OK
ERROR
If configured as server successfully, return:
SERVER OK
If configured as server unsuccessfully, return:
CONNECT FAIL
150s, determined by network.
Parameter
<mode>
<num>
0
1
Quectel
0 TCP server
1 UDP server
<max> The maximum number of clients allowed to connect in. The default value is 1. The range is 1-5
NOTES
2. The parameter <max> is excluded when QIMUX is 0.
11.19. AT+QICSGP Select CSD or GPRS as the Bearer
AT+QICSGP Select CSD or GPRS as the Bearer
Test Command
AT+QICSGP=?
Response
+QICSGP: 0-CSD,DIAL NUMBER,USER
NAME,PASSWORD,RATE(0-3)
+QICSGP: 1-GPRS,APN,USER NAME,PASSWORD
M10_AT_Commands_Manual Confidential / Released 159 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Read Command
AT+QICSGP?
Write Command
AT+QICSGP=<mode>[,(<apn>,<user name>,<password>)/(<dial number>,<user name>,<password>,<rate>)]
Maximum Response Time
Reference
OK
Response
+QICSGP: <mode>
OK
Response
OK
ERROR
300ms
Parameter
<mode> A numeric parameter which indicates the bearer type
GPRS parameters:
<apn>
0 Set CSD as the bearer for TCPIP connection
1
Quectel
<user name> A string parameter which indicates the user name
<password> A string parameter which indicates the password
CSD parameters:
<user name>
<password>
<rate>
Confidential
0 2400
1 4800
2 9600
3 14400
NOTE
CSD configuration is not supported at present.
M10_AT_Commands_Manual Confidential / Released 160 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11.20. AT+QISRVC Choose Connection
AT+QISRVC Choose Connection
Test Command
AT+QISRVC=?
Read Command
AT+QISRVC?
Write Command
AT+QISRVC=<connection>
Response
+QISRVC: (list of supported <connection>s)
OK
Response
+QISRVC: <connection>
OK
Response
OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
1 Choose the connection in which MS used as a client
2 Choose the connection in which MS used as a server
NOTE
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.
11.21. AT+QISHOWRA Set Whether or Not to Display the Address of
Sender
AT+QISHOWRA Set Whether or Not to Display the Address of Sender
Test Command
AT+QISHOWRA=?
Response
+QISHOWRA: (list of supported <mode>s)
OK
M10_AT_Commands_Manual Confidential / Released 161 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Read Command
AT+QISHOWRA?
Write Command
AT+QISHOWRA=<mode>
Maximum Response Time
Reference
Response
+QISHOWRA: <mode>
OK
Response
OK
ERROR
300ms
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. Default
1 Show the address; the format to show the address is like: RECV FROM:
<IP ADDRESS>:<PORT>
AT+QISCON Save TCPIP Application Context
Test Command
AT+QISCON=?
Read Command
AT+QISCON?
Response
OK
Response
Confidential
+QIDNSIP:<mode>
+QIPROMPT:<sendprompt>
+QIHEAD:<iphead>
+QISHOWRA:<srip>
+QICSGP:<csgp>
Gprs Config APN:<apn>
Gprs Config UserId:<gusr>
Gprs Config Password:<gpwd>
Gprs Config inactivityTimeout:<timeout>
CSD Dial Number:<cnum>
CSD Config UserId:<cusr>
CSD Config Password:<cpwd>
CSD Config rate:<crate>
M10_AT_Commands_Manual Confidential / Released 162 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Execution Command
AT+QISCON
Maximum Response Time
Reference
App Tcpip Mode:<mode>
In Transparent Transfer Mode
Number of Retry:<nmRetry>
Wait Time:<waitTm>
Send Size:<sendSz> esc:<esc>
OK
Response
OK
300ms
Parameter
<mode> See AT+QIDNSIP
<sendprompt> See AT+QIPROMPT
<iphead> See AT+QIHEAD
<srip>
<csgp>
<apn>
<gusr>
Quectel
<gpwd> See AT+QICSGP
<timeout> See AT+QICSGP
<cnum> See AT+QICSGP
<cusr>
See AT+QICSGP
<cpwd>
<crate>
Confidential
<nmRetry>
See AT+QITCFG
<waitTm>
See AT+QITCFG
<sendSz>
See AT+QITCFG
<esc>
See AT+QITCFG
NOTES
1. The execution command TA saves TCPIP Application Context which consists of the following AT
Command parameters, and when system is rebooted, the 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).
M10_AT_Commands_Manual Confidential / Released 163 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
3. CSD configuration is not supported at present.
11.23. AT+QIMODE Select TCPIP Transfer Mode
AT+QIMODE Select TCPIP Transfer Mode
Test Command
AT+QIMODE=?
Read Command
AT+QIMODE?
Response
+QIMODE:(0-NORMAL MODE,1-TRANSPARENT MODE)
OK
Response
+QIMODE: <mode>
OK
Response Write Command
AT+QIMODE=<mode> OK
Maximum Response Time
Reference
Parameter
ERROR
Quectel
<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
Confidential
11.24. AT+QITCFG Configure Transparent Transfer Mode
AT+QITCFG Configure Transparent Transfer Mode
Test Command
AT+QITCFG=?
Response
+QITCFG: (list of supported <NmRetry>s),(list of supported
<WaitTm>s),(list of supported <SendSz>s),(list of supported
<esc>s)
OK
M10_AT_Commands_Manual Confidential / Released 164 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Read Command
AT+QITCFG?
Write Command
AT+QITCFG=<NmRetry>,<WaitTm>,<
SendSz>,<esc>
Maximum Response Time
Reference
Response
+QITCFG: <NmRetry>,<WaitTm>,<SendSz>,<esc>
OK
Response
OK
ERROR
300ms
Parameter
<NmRetry> Number of times to retry to send an IP packet
<WaitTm>
Number of 100ms intervals to wait for serial input before sending the packet
<SendSz> Size in bytes of data block to be received from serial port before sending
<esc> Whether to turn on the escape sequence or not, default is TRUE
NOTES
2. Firstly, if the length of the input data from UART is greater than or equal to <SendSz>, the TCPIP stack will send the data by length <SendSz> to the remote.
3. Secondly, if the length of the input data from UART is less than <SendSz>, and the idle time keeps beyond the time defined by <WaitTm>, the TCPIP stack will send all the data in the buffer to the remote.
4. This command is invalid when QIMUX is 1.
Confidential
Type
AT+QISHOWPT Control Whether or Not to Show the Protocol Type
Test Command
AT+QISHOWPT=?
Read Command
AT+QISHOWPT?
Response
+QISHOWPT: (list of supported <mode>s)
OK
Response
+QISHOWPT: <mode>
OK
M10_AT_Commands_Manual Confidential / Released 165 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
AT+QISHOWPT=<mode>
Maximum Response Time
Reference
Response
OK
ERROR
300ms
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
This command is invalid if QIHEAD was set as 0 by the command AT+QIHEAD=0.
Quectel
Session
AT+QIMUX Control Whether or Not to Enable Multiple TCPIP Session
Test Command
AT+QIMUX=?
Read Command
Response
Confidential
AT+QIMUX?
Response
+QIMUX: <mode>
OK
Write Command
AT+QIMUX=<mode>
Response
OK
ERROR
Maximum Response Time
Reference
300ms
M10_AT_Commands_Manual Confidential / Released 166 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<mode>
0 DO NOT enable multiple TCPIP session at the same time
1 Enable multiple TCPIP session at the same time
11.27. AT+QISHOWLA Control Whether or Not to Display Local IP
Address
AT+QISHOWLA Control Whether or Not to Display Local IP Address
Test Command
AT+QISHOWLA=?
Response
+QISHOWLA: (list of supported <mode>s)
OK
Read Command Response
AT+QISHOWLA?
Write Command
AT+QISHOWLA=<mode>
+QISHOWLA: <mode>
OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
<mode>
Confidential
0 DO NOT show the destination address
1 Show the destination address: TO:<IP ADDRESS>
NOTE
Because M10 can activate two GPRS contexts at the same time, i.e. M10 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.
M10_AT_Commands_Manual Confidential / Released 167 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11.28. AT+QIFGCNT Select a Context as Foreground Context
AT+QIFGCNT Select a Context as Foreground Context
Test Command
AT+QIFGCNT=?
Read Command
AT+QIFGCNT?
Write Command
AT+QIFGCNT=<id>
Response
+QIFGCNT: (list of supported <id>s)
OK
Response
+QIFGCNT: <id>,<channel>
OK
Response
OK
ERROR
Maximum Response Time
Reference
300ms
Parameter
<channel> A numeric indicates which channel is controlling the context <id>
0 VIRTUAL_UART_1
1 VIRTUAL_UART_2
NOTE
2 VIRTUAL_UART_3
3 VIRTUAL_UART_4
255
Confidential
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.
11.29. AT+QISACK Query the Data Information for Sending
AT+QISACK Query the Data Information for Sending
Test Command
AT+QISACK=?
Execution Command
Response
OK
Response
M10_AT_Commands_Manual Confidential / Released 168 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+QISACK
Write Command
AT+QISACK=<n>
Maximum Response Time
Reference
+QISACK: <sent>, <acked>, <nAcked>
OK
Response
+QISACK: <sent>, <acked>, <nAcked>
OK
300ms
Parameter
<n> The index for querying the connection
<sent> A numeric indicates the total length of the data that has been sent through the session
<acked> A numeric indicates the total length of the data that has been acknowledged by the remote
<nAcked> A numeric indicates the total length of the data that has been sent but not acknowledged by the remote
NOTES
2. This command could be affected by the command AT+QISRVC. If the QISRVC was set as 1, this command is used to query the information of sending data during the session in which M10 serves as a client. If the QISRVC was set as 2, this command is used to query the data information for sending during the session in which M10 serves as a server.
Confidential
AT+QINDI Set the Method to Handle Received TCP/IP Data
Test Command Response
AT+QINDI=? +QINDI: (list of supported <m>s)
OK
Read Command
AT+QINDI?
Write Command
AT+QINDI=<m>
Response
+QINDI: <m>
OK
Response
OK
ERROR
M10_AT_Commands_Manual Confidential / Released 169 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
300ms
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,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.
<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 M10 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>
0.
Quectel
11.31. AT+QIRD Retrieve the Received TCP/IP Data
Test Command
AT+QIRD=?
Confidential
OK
Write Command
AT+QIRD=<id>,<sc>,<sid>,<len>
Response
[+QIRD:
<ipAddr>:<port>,<type>,<length><CR><LF><data>]
OK
ERROR
Maximum Response Time
Reference
300ms
M10_AT_Commands_Manual Confidential / Released 170 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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 M10 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
<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
UDP the transport protocol is UDP
<length> The real length of the retrieved data
<data> The retrieved data
NOTES
connection.
Quectel
“+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
11.32. AT+QISDE Control Whether or Not to Echo the Data for QISEND
Test Command
Confidential
AT+QISDE=?
Response
+QISDE: (list of supported <m>s)
OK
Read Command
AT+QISDE?
Write Command
AT+QISDE=<m>
Response
+QISDE: <m>
OK
Response
OK
ERROR
Maximum Response Time 300ms
M10_AT_Commands_Manual Confidential / Released 171 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Reference
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
11.33. AT+QPING Ping a Remote Server
AT+QPING Ping a Remote Server
Test Command
AT+QPING=?
Response
+QPING: "HOST",(list of supported <timeout>s),(list of supported <pingnum>s)
Write Command
AT+QPING= ingnum>]]
“<host>”[,[<timeout>][,<p
OK
OK
[+QPING:
<result>[,<ipAddr>,<bytes>,<time>,<ttl>]<CR><LF>
…]<CR><LF>
Maximum Response Time
Reference
+QPING:<finresult>[,<sent>,<rcvd>,<lost>,<min>,<max>,
<avg>]
Confidential
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
M10_AT_Commands_Manual Confidential / Released 172 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<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
5 Failed to activate PDP context. In the case, no other information follows it
<sent> Total number of sending the ping requests
<rcvd> Total number of the ping requests that received the response
<lost> Total number of the ping requests that were timeout
<min> The minimum response time. Unit: ms
<max> The maximum response time. Unit: ms
<avg> The average response time. Unit: ms
11.34. AT+QNTP Synchronize the Local Time Via NTP
Test Command
Quectel
AT+QNTP=?
Response
+QNTP
: “SERVER”,(list of supported <port>s)
Read Command
AT+QNTP?
Execution Command
OK
Response
+QNTP: "<server>",<port>
Confidential
AT+QNTP
Response
OK
+QNTP: <result>
Write Command
AT+QNTP="<server>"[,<port>]
Response
OK
+QNTP: <result>
ERROR
Maximum Response Time 120s, determined by network.
Reference
M10_AT_Commands_Manual Confidential / Released 173 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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
0 Successfully synchronize the local time
1 Failed to synchronize the local time because of unknown reason
2 Failed to receive the response from the Time Server
3 The TCP/IP stack is busy now
4 Do Not find the Time Server
5 Failed to activate PDP context
NOTE
The factory Time Server is the National Time Service Centre of China whose address is "210.72.145.44" and port is 123.
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 174 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
12
Supplementary Service Commands
12.1. AT+CCFC Call Forwarding Number and Conditions Control
AT+CCFC Call Forwarding Number and Conditions Control
Test Command
AT+CCFC=?
Response
+CCFC: (list of supported <reads>s)
OK
Write Command Response
AT+CCFC=<reads>,<mode>[,<number
>[,<type>[,<class>[,<subaddr>[,<satype
>[,time]]]]]]
TA controls the call forwarding supplementary service.
Registration, erasure, activation, deactivation, and status
Quectel
OK
If <mode>=2 and command successful (only in connection with <reads> 0
–3)
For registered call forwarding numbers:
Confidential
If no call forwarding numbers are registered (and therefore all classes are inactive):
+CCFC: <status>, <class>
OK
where <status>=0 and <class>=15
If error is related to ME functionality:
+CME ERROR: <err>
300ms Maximum Response Time
Reference
GSM 07.07
M10_AT_Commands_Manual Confidential / Released 175 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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
7
8
Quectel
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
OK
seconds to wait before call is forwarded, default value is 20
<status>
0 Not active
Example
1
Confidential
AT+CCFC=0,3,
“15021012496”
//Register the destination number for unconditional call
forwarding (CFU)
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
M10_AT_Commands_Manual Confidential / Released 176 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
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
12.2. AT+CCUG Closed User Group Control
AT+CCUG Closed User Group Control
Test Command
AT+CCUG=?
Response
OK
Read Command Response
AT+CCUG? +CCUG: <n>,<index>,<info>
Write Command
AT+CCUG=[<n>][,<index>[,<info>]]
OK
TA sets the closed user group supplementary service parameters as a default adjustment for all following calls.
OK
If error is related to ME functionality:
Maximum Response Time
Reference
GSM 07.07
Parameter
+CME ERROR: <err>
300ms
Confidential
<n> 0 Disable CUG
1 Enable CUG
<index> 0...9 CUG index
10 No index (preferred CUG taken from subscriber data)
<info> 0 Bo information
1 Suppress OA (Outgoing Access)
2 Suppress preferential CUG
3
Suppress OA and preferential CUG
M10_AT_Commands_Manual Confidential / Released 177 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
12.3. AT+CCWA Call Waiting Control
AT+CCWA Call Waiting Control
Test Command
AT+CCWA=?
Read Command
AT+CCWA?
Response
+CCWA: (list of supported <n>s)
OK
Response
+CCWA: <n>
OK
Write Command
AT+CCWA=[<n>][,<mode>[,<class>]]
Response
TA controls the call waiting supplementary service. Activation, deactivation and status query are supported.
If <mode><>2 and command successful:
OK
If <mode>=2 and command successful:
+CCWA:<status>,<class1>[<CR><LF>+CCWA:<status>,<
Quectel
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Reference
GSM 07.07
Parameter
300ms
Confidential
<n> 0 Disable presentation of an unsolicited result code
1 Enable presentation of an unsolicited result code
<mode> When <mode> parameter is not given, network is not interrogated
0 Disable
1 Enable
2 Query status
<class> A sum of integers, each integer represents a class of information
1 Voice (telephony)
2 Data (bearer service)
4 FAX(facsimile)
16 Data circuit sync
32 Data circuit async
M10_AT_Commands_Manual Confidential / Released 178 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<status> 0 Disable
1 Enable
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 abortable 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
Example
Quectel
AT+CCWA=1,1
//Enable presentation of an unsolicited result code
OK
OK
ATD10086;
//Establish a call
Confidential
12.4. AT+CHLD Call Hold and Multiparty
AT+CHLD Call Hold and Multiparty
Test Command
AT+CHLD=?
Write Command
AT+CHLD=[<n>]
Response
+CHLD: (list of supported <n>s)
OK
Response
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.
M10_AT_Commands_Manual Confidential / Released 179 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
OK
If error is related to ME functionality:
+CME ERROR: <err>
300ms
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
NOTE
3
Quectel
These supplementary services are only available to the teleservice 11 (Speech: Telephony).
OK
Example
ATD10086;
Confidential
+CCWA: "02154450293",129,1
//Indication of a call that has been waiting
AT+CHLD=2
//Place the active call on hold and accept the waiting call as
the active call
OK
AT+CLCC
+CLCC: 1,0,1,0,0,"10086",129,""
//The first call on hold
+CLCC: 2,1,0,0,0,"02154450293",129,""
//The second call becomes active
OK
AT+CHLD=21
//Place the active call except call X=1 on hold
OK
M10_AT_Commands_Manual Confidential / Released 180 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,""
//The first call becomes active
+CLCC: 2,1,1,0,1,"02154450293",129,"" //The second call on hold
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
12.5. AT+CLIP Calling Line Identification Presentation
Test Command
AT+CLIP=?
Quectel
OK
Read Command Response
AT+CLIP?
Write Command
AT+CLIP=[<n>]
Response
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
If error is related to ME functionality:
+CME ERROR: <err>
15s, determined by network. Maximum Response Time
Reference
GSM 07.07
M10_AT_Commands_Manual Confidential / Released 181 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<n> 0 Suppress unsolicited result codes
1 Display unsolicited result codes
<m> 0 CLIP not provisioned
1 CLIP provisioned
2 Unknown
NOTE
Unsolicited result code
When the presentation of the CLI at the TE is enabled (and calling subscriber allows), an unsolicited result code is returned after every RING (or +CRING: <type>) at a mobile terminating call.
+CLIP: <number>, <type>,"",,<alphaId>,<CLI validity>
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 )
<alphaId>
<CLI validity> 0
1
Quectel
2 CLI is not available due to interworking problems or limitations of originating network
Example
OK
AT+CLIP=1
OK
RING
+CLIP: "02151082965",129,"",,"",0
M10_AT_Commands_Manual Confidential / Released 182 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
12.6. AT+QCLIP Control Whether or Not to Show the Name of Incoming
Call Number
AT+QCLIP Control Whether or Not to Show the Name of Incoming Call Number
Test Command
AT+QCLIP=?
Read Command
AT+QCLIP?
Response
+QCLIP: (list of supported <n>s)
OK
Response
+QCLIP: <n>
OK
Write Command
AT+QCLIP=<n>
Response
OK
Maximum Response Time
Reference
Parameter
If error is related to ME functionality:
+CME ERROR: <err>
Quectel
<n> Open or close the function of show the name of incoming call number
NOTE
0 Open
1
Confidential
This AT command should be used in conjunction with CLIP command.
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+QCLIP=1
OK
AT+CLIP=1
OK
M10_AT_Commands_Manual Confidential / Released 183 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
RING
+CLIP: "02151082965",129,"",,"QUECTEL",0
12.7. AT+CLIR Calling Line Identification Restriction
AT+CLIR Calling Line Identification Restriction
Test Command
AT+CLIR=?
Read Command
AT+CLIR?
Response
+CLIR: (list of supported <n>s)
OK
Response
+CLIR: <n>,<m>
OK
Write Command
AT+CLIR=[<n>]
Response
TA restricts or enables the presentation of the calling line
Quectel adjustment can be revoked by using the opposite Command.
OK
Maximum Response Time
Reference
GSM 07.07
Parameter
If error is related to ME functionality:
+CME ERROR: <err>
Confidential
<n> (Parameter sets the adjustment for outgoing calls)
0 presentation indicator is used according to the subscription of the CLIR service
1 CLIR invocation
2 CLIR suppression
<m> (Parameter shows the subscriber CLIR service status in the network)
0 CLIR not provisioned
1 CLIR provisioned in permanent mode
2 Unknown (e.g. no network, etc.)
3 CLIR temporary mode presentation restricted
4 CLIR temporary mode presentation allowed
M10_AT_Commands_Manual Confidential / Released 184 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
12.8. AT+COLP Connected Line Identification Presentation
AT+COLP Connected Line Identification Presentation
Test Command
AT+COLP=?
Read Command
AT+COLP?
Response
+COLP: (list of supported <n>s)
OK
Response
+COLP: <n>,<m>
OK
Write Command
AT+COLP=[<n>]
Response
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.
Maximum Response Time
Reference
GSM 07.07
Intermediate result code is returned from TA to TE before any
+CR or V.25ter responses.
OK
Quectel
Parameter
<n> (Parameter sets/shows the result code presentation status in the TA)
<m>
0
1
0
Confidential
1 COLP provisioned
2 Unknown (e.g. no network, etc.)
NOTE
Intermediate result code
When enabled (and called subscriber allows), an intermediate result code is returned before any +CR or
V.25ter responses:
+COLP: <number>,<type>[,<subaddr>,<satype> [,<alpha>]]
Parameters
<number> Phone number in string type, format specified by <type>
M10_AT_Commands_Manual Confidential / Released 185 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<type> Type of address octet in integer format
129 Unknown type(IDSN format number)
145 International number type(ISDN format )
<subaddr> String type sub-address of format specified by <satype>
<satype> Type of sub-address octet in integer format (refer to GSM 04.08 sub clause 10.5.4.8)
<alpha> Optional string type alphanumeric representation of <number> corresponding to the entry found in phone book
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+COLP=1
OK
ATD02151082965;
+COLP: "02151082965",129,"",0,""
OK
AT+QCOLP Show Alpha Field in +COLP String
Test Command Response
AT+QCOLP=?
Read Command
AT+QCOLP?
+QCOLP: (list of supported <mode>s)
Confidential
Write Command
OK
Response
AT+QCOLP=<mode> OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
M10_AT_Commands_Manual Confidential / Released 186 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<mode> Whether or not to show alpha field in +COLP string
0 NOT show alpha field in +COLP string
1 Show alpha field in +COLP string
NOTE
This command setting only works under AT+COLP=1.
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+QCOLP=1
OK
AT+COLP=1
OK
OK
ATD02151082965;
Quectel
12.10. AT+CUSD Unstructured Supplementary Service Data
Test Command
AT+CUSD=?
Confidential
Read Command
OK
Response
AT+CUSD?
Write Command
AT+CUSD=[<n>[,<str>[,<dcs>]]
+CUSD: <n>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 120s, determined by network.
M10_AT_Commands_Manual Confidential / Released 187 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Reference
GSM 07.07
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"
OK
+CUSD:
1,"0031002E59296C14000A0032002E65B095FB000A0033002E8BC15238000A0034002E5F6979680
E900051FA000A", 72
Quectel
12.11. AT+CSSN Supplementary Services Notification
Test Command
AT+CSSN=?
Confidential
OK
Read Command
AT+CSSN?
Write Command
AT+CSSN=[<n>[,<m>]]
Response
+CSSN: <n>,<m>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
M10_AT_Commands_Manual Confidential / Released 188 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
300ms
Parameter
<n> A numeric parameter which indicates whether to show the +CSSI:<code1>[,<index>] result code presentation status after a mobile originated call setup
0 Disable
1 Enable
<m> A numeric parameter which indicates whether to show the +CSSU:<code2> result code presentation status during a mobile terminated call setup or during a call, or when a forward check supplementary service notification is received
0 Disable
1 Enable
<code1> 0 Unconditional call forwarding is active
1 Some of the conditional call forwarding are active
2 Call has been forwarded
3 Call is waiting
4
5
6
Quectel
7 CLIR suppression rejected
<index> Closed user group index
<code2> 0 This is a forwarded call
Confidential
M10_AT_Commands_Manual Confidential / Released 189 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
13
Audio Commands
effect.
13.1. ATL Set Monitor Speaker Loudness
ATL Set Monitor Speaker Loudness
Execution Command
ATL<value>
Response
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
<value> 0
1
Quectel
2 Medium speaker volume
3 High speaker volume
NOTE
13.2. ATM Set Monitor Speaker Mode
ATM Set Monitor Speaker Mode
Execution Command
ATM<value>
Response
OK
Maximum Response Time
Reference
V.25ter
300ms
M10_AT_Commands_Manual Confidential / Released 190 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<value> 0 Speaker is always off
1 Speaker is on until TA inform TE that carrier has been detected
2 Speaker is always on when TA is off-hook
NOTE
The two commands ATL and ATM are implemented only for V.25 compatibility reasons and have no effect.
13.3. AT+VTD Tone Duration
AT+VTD Tone Duration
Test Command
AT+VTD=?
Read Command
AT+VTD?
Response
+VTD: ( list of supported <internalduration>s )[,( list of supported <duration>s )]
Response
+VTD: <internalduration>,<duration>
OK
Write Command
AT+VTD=<internalduration>[,<duratio n>]
Maximum Response Time
Response
This command refers to an integer <internalduration> that
Confidential
Reference
GSM 07.07
Parameter
<internalduration> 1-255 Duration between two tones in 1/10 second
<duration> 0 Do not set duration of every single tone.
1-100000 Duration of every single tone in 1 ms
M10_AT_Commands_Manual Confidential / Released 191 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
13.4. AT+VTS DTMF and Tone Generation
AT+VTS DTMF and Tone Generation
Test Command
AT+VTS=?
Write Command
AT+VTS=<dtmf-string>
Response
+VTS: (list of supported <dtmf>s), ,(list of supported
<duration>s)
OK
Response
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
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time Depends on the length of <dtmf-string>.
Reference
GSM 07.07
Parameter
Quectel
<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
<duration>
Confidential
Example
ATD10086;
//Establish a call
OK
AT+VTS=1
//Send a single DTMF tone according to the prompts of voice
OK
M10_AT_Commands_Manual Confidential / Released 192 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
13.5. AT+CALM Alert Sound Mode
AT+CALM Alert Sound Mode
Test Command
AT+CALM=?
Read Command
AT+CALM?
Write Command
AT+CALM=<mode>
Response
+CALM: (list of supported <mode>s)
OK
Response
+CALM: <mode>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Reference
GSM 07.07
Parameter
300ms
Quectel
<mode> 0 Normal mode
1 Silent mode (all sounds from ME are prevented)
AT+CRSL Ringer Sound Level
Test Command
AT+CRSL=?
Read Command
AT+CRSL?
Write Command
AT+CRSL=<level>
Response
+CRSL: (list of supported <level>s)
OK
Response
+CRSL: <level>
OK
Response
OK
M10_AT_Commands_Manual Confidential / Released 193 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
GSM 07.07
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<level> Integer type value(0-100) with manufacturer specific range (Smallest value represents the lowest sound level)
13.7. AT+CLVL Loud Speaker Volume Level
AT+CLVL Loud Speaker Volume Level
Test Command
AT+CLVL=?
Read Command
AT+CLVL?
Response
+CLVL: (list of supported <level>s)
Response
+CLVL: <level>
OK
Write Command
AT+CLVL=<level>
Response
OK
+CME ERROR: <err>
Maximum Response Time
Reference
GSM 07.07
300ms
Parameter
<level> Integer type value(0-100) with manufacturer specific range (Smallest value represents the lowest sound level)
M10_AT_Commands_Manual Confidential / Released 194 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
13.8. AT+CMUT Mute Control
AT+CMUT Mute Control
Test Command
AT+CMUT=?
Read Command
AT+CMUT?
Write Command
AT+CMUT=<n>
Response
+CMUT: (list of supported <n>s)
OK
Response
+CMUT: <n>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Reference
GSM 07.07
Parameter
300ms
Quectel
<n>
0 Mute off
1 Mute on
AT+QSIDET Change the Side Tone Gain Level
Test Command
AT+QSIDET=?
Read Command
AT+QSIDET?
Response
+QSIDET: (list of supported <gainlevel>s)
OK
Response
+QSIDET(NORMAL_AUDIO): <gainlevel>
OK
+QSIDET(HEADSET_AUDIO): <gainlevel>
OK
M10_AT_Commands_Manual Confidential / Released 195 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Write Command
AT+QSIDET=<gainlevel>
Maximum Response Time
Reference
GSM 07.07
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Parameter
<gainlevel>
Range is 0-255
NOTE
<gainlevel> value is related to specific channel.
Quectel
AT+QMIC Change the Microphone Gain Level
Test Command Response
AT+QMIC=?
Read Command
+QMIC: (list of supported <channel>s), (list of supported
<gainlevel>s)
Response
AT+QMIC? +QMIC:
<gainlevel(Normal_Mic)>,<gainlevel(Headset_Mic)>,<gai nlevel(Loudspeaker_Mic)>
Write Command
AT+QMIC=<channel>,<gainlevel>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
M10_AT_Commands_Manual Confidential / Released 196 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Parameter
<channel> 0 Normal microphone
1 Headset microphone
2 Loudspeaker microphone
<gainlevel> Range is 0 - 15
13.11. AT+QLDTMF Generate Local DTMF Tones
AT+QLDTMF Generate Local DTMF Tones
Test Command
AT+QLDTMF=?
Response
+QLDTMF: (list of supported <n>s), (list of supported
<DTMF-string>s)
OK
Write Command
AT+QLDTMF=<n>[,<DTMF string>]
Execution Command
Response
OK
+CME ERROR: <err>
Response
AT+QLDTMF
OK
Maximum Response Time Depends on the length of <DTMF string>.
Reference
<n>
Parameter
Confidential
<DTMF -string> in 1/10 seconds
<DTMF-string> A string parameter which has a max length of 20 DTMF characters (single ASCII chars in the set 0-9,#,*,A-D), separated by commas
NOTE
Aborts any DTMF tones that are generated currently and any DTMF tones sequence.
M10_AT_Commands_Manual Confidential / Released 197 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
13.12. AT+QAUDCH Swap the Audio Channels
AT+QAUDCH Swap the Audio Channels
Test Command
AT+QAUDCH=?
Read Command
AT+QAUDCH?
Write Command
AT+QAUDCH=[<n>]
Response
+QAUDCH: (list of supported <n>s)
OK
Response
+QAUDCH: <n>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
Maximum Response Time
Parameter
300ms
Quectel
<n> 0 Normal audio channel (default)
1 Headset audio channel
2 Loudspeaker audio
AT+QAUDLOOP Audio Channel Loop Back Test
Test Command
AT+QAUDLOOP=?
Write Command
AT+QAUDLOOP=<state>,<type>
Response
+QAUDLOOP: (list of supported <state>s),(list of supported
<type>s)
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
M10_AT_Commands_Manual Confidential / Released 198 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
300ms
Parameter
<state> 0 Test is off
1 Test is on
<type> 0 Normal audio channel
1 Headset audio channel
2 Loudspeaker audio channel
13.14. AT+QLTONE Generate Local Specific Tone
AT+QLTONE Generate Local Specific Tone
Test Command
AT+QLTONE=?
Response
+QLTONE: (list of supported <mode>s), (list of supported
Quectel
AT+QLTONE=<mode>,<frequency>,<
OK
Response
OK
Write Command
periodOn>,<periodOff>,<duration>
Maximum Response Time
Reference
If error is related to ME functionality:
Confidential
Parameter
<mode>
0 Stop playing tone
1 Start playing tone
<frequency> The frequency of tone to be generated
<periodOn> The period of generating tone
<periodOff> The period of stopping tone
<duration> Duration of tones in milliseconds
M10_AT_Commands_Manual Confidential / Released 199 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
NOTE
When playing tone, module will continuously play for <periodOn>, then stop playing for <periodOff> in a cycle. The total time of cycles is <duration>.
13.15. AT+QTONEP Set DTMF Output Path
AT+QTONEP Set DTMF Output Path
Test Command
AT+QTONEP=?
Response
+QTONEP: (list of supported <outputpath>s)
Read Command
OK
Response
AT+QTONEP? +QTONEP: <outputpath>
Write Command
AT+QTONEP=<outputpath>
OK
Response
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Parameter
<outputpath> Output path
Confidential
0 Output DTMF or tone from Normal speaker
1 Output DTMF or tone from Headset speaker
2 Output DTMF or tone from Loud speaker
3 Auto
NOTE
Set AT+QTONEP=3, output DTMF or tone from default speak path. For more details, consult
AT+QAUDCH.
M10_AT_Commands_Manual Confidential / Released 200 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
13.16. AT+QTDMOD Set Tone Detection Mode
AT+QTDMOD Set Tone Detection Mode
Test Command
AT+QTDMOD=?
Read Command
AT+QTDMOD?
Response
+QTDMOD: (list of supported <operatefuntion>s),(list of supported <funtionstatus>s)
OK
Response
+QTDMOD: <operatefuntion>,<funtionstatus>
OK
Response
OK
Write Command
AT+QTDMOD=<operatefuntion>,<funt ionstatus>
If error is related to ME functionality:
Maximum Response Time
Reference
Parameter
+CME ERROR: <err>
300ms
Quectel
<operatefuntion>Operate function
1 Set detection range
2 Set detection mode
0
Confidential
1 When set <operatefuntion>=1, only detect 1400 and 2300 handshake signal by using optimal arithmetic. When set <operatefuntion>=2, detect long continuous DTMF tone by using optimal arithmetic
NOTES
1. Set AT+QTDMOD=1,0, detect all DTMF, including 1400 and 2300 handshake signal.
2. Set AT+QTDMOD=1,1, only detect 1400 and 2300 handshake signal by using optimal arithmetic.
3. Set AT+QTDMOD=2,0, detect DTMF tone by using normal arithmetic.
4. Set AT+QTDMOD=2,1, detect long continuous DTMF tone by using optimal arithmetic.
5. Consult AT+QTONEDET.
M10_AT_Commands_Manual Confidential / Released 201 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
13.17. AT+QTONEDET Detect DTMF
AT+QTONEDET Detect DTMF
Test Command
AT+QTONEDET=?
Read Command
AT+QTONEDET?
Response
+QTONEDET: (list of supported <mode>s)
OK
Response
+QTONEDET: <mode>
OK
Write Command
AT+QTONEDET=<mode>[,<operate >]
[,<prefixpause>][,<lowthreshold>][,<h ighthreshold>]
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
Open after successful DTMF tone is detected, will be reported:
Quectel
Reference
Parameter
< mode>
0
1
2
Confidential
3 Configure 1400Hz and 2300Hz 400ms detection threshold
4 Configure DTMF detection threshold
5 Open debug
<operate>
Operate value
When <mode>=2,<operate > set as follows
0 Query threshold values, these values are 1400Hz and 2300Hz detection threshold, each duration of which is 100ms
1 Set threshold values, these values are 1400Hz and 2300Hz 100ms detection threshold
When <mode>=3,<operate > set as follows
0 Query threshold values, these values are 1400Hz and 2300Hz 400ms detect threshold
M10_AT_Commands_Manual Confidential / Released 202 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
1 Set threshold values, these values are 1400Hz and 2300Hz 400ms detect threshold.
When <mode>=4,<operate > set as follows
0 Query threshold values, these values are detection threshold
1 Set threshold values, these values are DTMF detection threshold
When <mode>=5,<param1> set as follows
0 Working status, default value, report +QTONEDET: x,x, please refer to Note3
1 Debug status, only report +QTONEDTD:x,x,
… debug information (refer to
Note2)
2 Debug status and working status, report +QTONEDTD: x,x,
… debug information (refer to Note2) and +QTONEDET:x,x, please refer to Note3
<prefixpause> Prefix pause number
<lowthreshold> Low threshold value
<highthreshold> High threshold value
<dtmfcode> DTMF tone code corresponding ASSCII
48 DTMF 0
49 DTMF 1
50 DTMF 2
51 DTMF 3
52
53
54
Quectel
55 DTMF 7
56 DTMF 8
57 DTMF 9
65 DTMF A
66 DTMF B
Confidential
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
1. Available during voice call.
2. If the duration of DTMF tone is within the value range of low and high threshold value, its effective. unit is 20ms.
3. When in debug mode, report +QTONEDTD: <dtmfcode>,<weak>,<strong>,<pause_f7>,
M10_AT_Commands_Manual Confidential / Released 203 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
<pause_dtmf>,<pause_unkown>,<framecnt>.
4. When report as follow
+QTONEDET: 50 Detected DTMF 2
+QTONEDET: 69,100 Detected 100ms of 1400Hz
+QTONEDET: 70,100 Detected 100ms of 2300Hz
+QTONEDET: 69,400 Detected 400ms of 1400Hz
+QTONEDET: 70,400 Detected 400ms of 2300Hz
5. Consult AT+QTDMOD.
13.18. AT+QWDTMF Play DTMF Tone During the Call
AT+QWDTMF Play DTMF Tone During the Call
Test Command Response
AT+QWDTMF=? +QWDTMF: (list of supported <ul_volume>s),(list of supported<dl_volume>s),(
“<dtmfcode>,<continuancetime
Write Command
AT+QWDTMF=<ul_volume>,
>,<mutetime>
”),(list of supported <channel>s),(list of supported <mode>s)
Quectel
<dl_volume>,(“<dtmfcode>,<continu ancetime>,<mutetime>”)[,<channel>][
Response
If success is related to ME functionality:
+QWDTMF: 5
,<mode>] OK
Confidential
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time Depends on the content of the play.
Reference
Parameter
<ul_volume> 0~7, uplink channel of the volume
<dl_volume> 0~7, downlink channel of the volume, recommended to set 0
<dtmfcode> The DTMF tone strings
M10_AT_Commands_Manual Confidential / Released 204 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
'0' DTMF 0
'1' DTMF 1
'2' DTMF 2
'3' DTMF 3
'4' DTMF 4
'5' DTMF 5
'6' DTMF 6
'7' DTMF 7
'8' DTMF 8
'9' DTMF 9
'A' DTMF A
'B' DTMF B
'C' DTMF C
'D' DTMF D
'*' DTMF *
'#' DTMF #
„E‟
Frequency of 1400Hz
„F‟
Frequency of 2300Hz
„G‟
Frequency of 1KHz
<continuancetime> Duration of each DTMF tone, unit is ms
<mutetime>
<channel>
0
1
Quectel
2 Loudspeaker audio
<mode>
0 Algorithm 1(Default)
1 Algorithm 2
<playcode>
Indicate status of sending DTMF
NOTES
If <playcode> is 5, it means sending DTMF successfully
Confidential
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.
M10_AT_Commands_Manual Confidential / Released 205 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
14
Hardware Related Commands
14.1. AT+CCLK Clock
AT+CCLK Clock
Test Command
AT+CCLK=?
Read Command
AT+CCLK?
Response
OK
Response
+CCLK: <time>
Write Command
AT+CCLK=<time>
OK
Response
Quectel
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<time>
Confidential 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 6 th
, 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
M10_AT_Commands_Manual Confidential / Released 206 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
14.2. AT+QALARM Set Alarm
AT+QALARM Set Alarm
Test Command
AT+QALARM=?
Write Command
AT+QALARM=<state>,<time>,<repeat
>,<power>
Maximum Response Time
Response
+QALARM: (list of supported <state>s),<time>,(list of supported <repeat>s),(list of supported <power>s)
OK
Response
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
300ms
Reference
Parameter
<state>
0
Quectel
1 SET ALARM
<time>
A string parameter which indicates the time when a alarm arises. The format is
“yy/MM/dd,hh:mm:ss+-zz” where characters indicate the last two digits of year, month, day, hour, minute, second and time zone. The time zone is expressed in quarters of an hour
<repeat>
0
1
Confidential
2 Weekly
3 Monthly
<power> An integer parameter which indicates the method of controlling power when alarm arises
0 None. Only send
“ALARM RING” to serial port
1 Alarm power off. Send
“ALARM RING” to serial port and power off in 5 seconds
2 Alarm power on. Send
“ALARM MODE” to serial port and enter into alarm mode
NOTE
In alarm mode, protocol stack and SIM protocol are closed, only a few AT command 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 right now.
M10_AT_Commands_Manual Confidential / Released 207 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
14.3. AT+CBC Battery Charge
AT+CBC Battery Charge
Test Command
AT+CBC=?
Execution Command
AT+CBC
Response
+CBC: (list of supported <bcs>s),(list of supported
<bcl>s),(voltage)
OK
Response
+CBC: <bcs>, <bcl>,<voltage>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
Quectel
<bcs> Charge status
0 ME is not charging
1 ME is charging
<bcl>
Battery connection level
<voltage>
2 Charging has finished
Confidential
NOTE
The hardware of M10 module does not support ME charging, please ignore the <bcs> and <bcl>. The first two parameters are kept for compatibility.
M10_AT_Commands_Manual Confidential / Released 208 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
14.4. AT+QSCLK Configure Slow Clock
AT+QSCLK Configure Slow Clock
Test Command
AT+QSCLK=?
Read Command
AT+QSCLK?
Write Command
AT+QSCLK=<n>
Response
+QSCLK: (list of supported <n>s)
OK
Response
+QSCLK: <n>
OK
Response
OK
Maximum Response Time 300ms
Reference
Parameter
<n> 0
1
2
Quectel serial port in 5 seconds, module can enter sleep mode. Otherwise, it will quit from sleep mode.
AT+QLEDMODE Configure the Network LED Patterns
Test Command
AT+QLEDMODE=?
Read Command
AT+QLEDMODE?
Write Command
AT+QLEDMODE=<ledmode>
Response
+QLEDMODE: (list of supported <ledmode>s)
OK
Response
+QLEDMODE: <ledmode>
OK
Response
OK
If error is related to ME functionality:
M10_AT_Commands_Manual Confidential / Released 209 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
+CME ERROR: <err>
Maximum Response Time
Reference
300ms
Parameter
<ledmode> 0 Network LED flashes rapidly when a call is ringing
1 No effect on the Network LED when a call is ringing
2 No effect on the Network LED when a call is ringing, and RI will not change when URC reported until the ringing ends
NOTE
Please restart the module after the command is set.
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 210 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
15
Others Commands
15.1. A/ Re-issues the Last Command Given
A/ Re-issues the Last Command Given
Execution Command
A/
Response
Re-issues the previous command
Maximum Response Time 300ms
Reference
V.25ter
NOTE
terminating character.
Example
AT
OK
OK
A/
Confidential
15.2. ATE Set Command Echo Mode
ATE Set Command Echo Mode
Execution Command
ATE[<value>]
Maximum Response Time
Reference
Response
This setting determines whether or not the TA echoes characters received from TE during command state.
OK
300ms
M10_AT_Commands_Manual Confidential / Released 211 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
V.25ter
Parameter
<value> 0 Echo mode off
1 Echo mode on
15.3. ATS3 Set Command Line Termination Character
ATS3 Set Command Line Termination Character
Read Command
ATS3?
Response
<n>
OK
Write Command
ATS3=<n>
Maximum Response Time
Response
This parameter setting determines the character recognized
Quectel
Reference
V.25ter
Parameter
<n>
Confidential
15.4. ATS4 Set Response Formatting Character
ATS4 Set Response Formatting Character
Read Command
ATS4?
Write Command
ATS4=<n>
Response
<n>
OK
Response
This parameter setting determines the character generated
M10_AT_Commands_Manual Confidential / Released 212 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
V.25ter by the TA for result code and information text.
OK
300ms
Parameter
<n> 0-10-127 Response formatting character (Default 10=<LF>)
15.5. ATS5 Set Command Line Editing Character
ATS5 Set Command Line Editing Character
Read Command
ATS5?
Write Command
ATS5=<n>
Response
<n>
Response
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
Reference
V.25ter
Parameter
300ms
Confidential
<n> 0-8-127 Response editing character (Default 8=<Backspace>)
15.6. AT+CCID Show ICCID
AT+CCID Show ICCID
Test Command
AT+CCID=?
Response
OK
M10_AT_Commands_Manual Confidential / Released 213 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Execution Command
AT+CCID
Maximum Response Time
Reference
Response
+CCID: "ccid data"
OK
300ms
Example
AT+QCCID
//Query ICCID of the SIM card
+CCID: "898602A0125285516300"
OK
15.7. AT+QADC Read ADC
Test Command
AT+QADC=?
Quectel
<value>s)
Read Command
AT+QADC?
Maximum Response Time
OK
Response
+QADC: <status>,<value>
300ms
Reference
Parameter
<status>
Status
0 Fail
1 Success
<value>
0
– 2800
Voltage
M10_AT_Commands_Manual Confidential / Released 214 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
15.8. AT+QEADC Read the Second ADC Channel
AT+QADC Read the Second ADC Channel
Test Command
AT+QEADC=?
Read Command
AT+QEADC?
Response
+QEADC: (list of supported <status>s), (list of supported
<value>s)
OK
Response
+QEADC: <status>,<value>
OK
Maximum Response Time
Reference
300ms
Parameter
<status>
<value>
0
1
0
Quectel
15.9. AT+QRIMODE Set RI Time
Test Command
AT+QRIMODE=?
Confidential
OK
Read Command
AT+QRIMODE?
Write Command
AT+QRIMODE=<timemode>
Response
+QRIMODE: <timemode>
OK
Response
OK
If error is related to ME functionality:
+CME ERROR: <err>
M10_AT_Commands_Manual Confidential / Released 215 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
Maximum Response Time
Reference
300ms
Parameter
<timemode> Time mode
0 Receive SMS, RI 120ms low pulse, other URC RI 120ms low pulse
1 Receive SMS, RI 120ms low pulse, other URC RI 50ms low pulse
2 When a SMS is received, RI changes to LOW and holds low level for 120ms, other URC RI take no effect
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 216 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
16
Appendix
16.1. Related Documents
[2]
[3]
[8]
[9]
[4]
[5]
[6]
[7]
Table 4: Related Documents
SN
[1]
Document name Remark
V.25ter Serial asynchronous automatic dialing and control
GSM 07.07
GSM 07.05
Digital cellular telecommunications (Phase 2+); AT command set for GSM Mobile Equipment (ME)
Use of Data Terminal Equipment - Data Circuit
Message Service (SMS) and Cell Broadcast Service
(CBS)
GSM 07.10
GSM_TCPIP_Application_Note
Support GSM 07.10 multiplexing protocol
GSM TCPIP Application Note
GPRS_Startup_ User_Guide
GSM_MUX_Application_Note
SMS_Application_Note
GPRS Startup User Guide
SMS Application Note
M10_Hardware_Design_V4.0 M10 R3.0 Hardware Design
16.2. Terms and Abbreviations
Table 5: Terms and Abbreviations
Abbreviation
AMR
Description
Adaptive Multi-Rate
M10_AT_Commands_Manual Confidential / Released 217 / 247
PDP
TCP
UDP
GPRS
DCD
DTR
CSD
PSC
ME
TA
MS
DCE
TE
DTE
RTS/CTS
GSM/GPRS Module Series
M10 AT Commands Manual
Mobile Equipment
Terminal Adapter
Mobile Station
Data Communication Equipment
Terminal Equipment
Data Terminal Equipment
Request To Send/Clear To Send
General Packet Radio Service
Dynamic Content Delivery
Data Terminal Ready
Packet Data Protocol
Transmission Control Protocol
User Datagram Protocol
Table 6: Factory Default Settings Restorable with AT&F
AT Command
ATE
ATQ
ATS0
ATS3
ATS4
Parameters
<value>
<n>
<n>
<n>
<n>
0
0
Factory Defaults
1
13
10
M10_AT_Commands_Manual Confidential / Released 218 / 247
AT&D
AT+ILRR
AT+CREG
AT+CCUG
AT+CCWA
AT+CSCS
AT+CSTA
AT+CLIP
AT+CLIR
ATS5
ATS6
ATS7
ATS8
ATS10
ATV
ATX
AT&C
AT+CMEE
AT+COLP
AT+CR
AT+QDISH
AT+CRLP
AT+CRSL
GSM/GPRS Module Series
M10 AT Commands Manual
<n>
<n>
<n>
<n>
<n>
<value>
<value>
<value>
<value>
<value>
8
2
60
2
15
1
4
1
0
0
AT+CLVL
<n>
<chset>
<type>
<n>
<n>
<mode>
<disableath>
0
“GSM”
129
1
0
0
0
<iws>,<mws>,<T1>,<N2>,<Ver1>,<T4> 61,61,128,6,0,3
<level>
<level>
55
When AT+QAUDCH=0, the default value <level>=60;
When AT+QAUDCH=1, the default value <level>=40;
M10_AT_Commands_Manual Confidential / Released 219 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+CUSD
AT+CSSN
<n>
<n>,<m>
When AT+QAUDCH=2, the default value <level>=35;
0
0,0
AT+CSNS
AT+CMGF
AT+CNMI
AT+CSDH
AT+CSMS
AT+QSIDET
AT+QMIC
<mode>
<mode>
<mode>,<mt>,<bm>,<ds>,<bfr>
<show>
0
0
2,1,0,0,0
0
<service> 0
<gainlevel>
When AT+QAUDCH=0, the default value <gainlevel>=80;
When AT+QAUDCH=1, the default
<gainlevel(Normal_Mic)>,<gainlevel(He adset_Mic)>,<gainlevel(Loudspeaker_
Mic)>
<n> value <gainlevel>=144;
4,9,8
0
<n> 0
AT+QSCLK
AT+QCLIP
AT+QCOLP
AT+QIURC
AT+QEXTUNSOL
AT+QRIMODE
<n>
<mode>
<mode>
<timemode>
0
1
0
16.4. AT Command Settings Storable with AT&W
Table 7: AT Command Settings Storable with AT&W
AT Command
ATE
ATQ
Parameters
<value>
<n>
Display with AT&V
Yes
Yes
M10_AT_Commands_Manual Confidential / Released 220 / 247
ATS0
ATS3
ATS4
ATS5
ATS6
ATS7
ATS8
ATS10
ATV
AT+CCUG
AT+CCWA
AT+CSCS
AT+CSTA
AT+CLIP
AT+CLIR
AT+CMEE
AT+COLP
ATX
AT&C
AT&D
AT+ICF
AT+IFC
AT+ILRR
AT+IPR
AT+CREG
GSM/GPRS Module Series
M10 AT Commands Manual
<n>
<n>
<n>
<n>
<n>
<n>
<n>
<n>
<value>
<value>
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
No
<format>,<parity>
<dce_by_dte>,<dte_by_dce>
<value>
<n>,<index>,<info>
<n>
<chset>
<type>
<n>
<n>
<n>
<n>
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
M10_AT_Commands_Manual Confidential / Released 221 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+CR
AT+QDISH
AT+CRLP
AT+CRSL
AT+CLVL
AT+CUSD
<mode>
<disableath>
Yes
No
<iws>,<mws>,<T1>,<N2>,<Ver1>,<T4> Yes
<level> No
<level>
<n>
No
Yes
AT+CSNS
AT+CMGF
AT+CNMI
<mode>
<mode>
<mode>,<mt>,<bm>,<ds>,<bfr>
Yes
Yes
Yes
AT+CSDH
AT+QSIDET
AT+QMIC
AT+QSCLK
AT+QCLIP
<show> Yes
<gainlevel>
<gainlevel(Normal_Mic)>,<gainlevel(He adset_Mic)>,<gainlevel(Loudspeaker_
Mic)>
<n>
Yes
Yes
No
<n> Yes
AT+QCOLP
AT+QIURC
AT+QEXTUNSOL
<n>
<mode>
<mode>
Yes
No
AT+QRIMODE <timemode> No
16.5. AT Command Settings Storable with ATZ
Table 8: AT Command Settings Storable with ATZ
AT Command
ATE
Parameters
<value>
Factory Defaults
1
M10_AT_Commands_Manual Confidential / Released 222 / 247
AT+CCWA
AT+CSCS
AT+CSTA
AT+CLIP
AT+CLIR
AT+CMEE
AT+COLP
AT+CR
ATS10
ATV
ATX
AT&C
AT&D
AT+ILRR
AT+CREG
AT+CAOC
AT+CCUG
ATQ
ATS0
ATS3
ATS4
ATS5
ATS6
ATS7
ATS8
GSM/GPRS Module Series
M10 AT Commands Manual
<n>
<n>
<n>
<n>
<n>
<n>
<n>
<n>
<n>
<value>
0
0
13
10
8
2
60
2
15
1
<value>
<value>
<n>
<n>
<chset>
<type>
<n>
<n>
<n>
<n>
<mode>
0
0
0
0
“GSM”
129
0
0
1
0
0
M10_AT_Commands_Manual Confidential / Released 223 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
AT+QDISH
AT+CRSL
AT+CLVL
AT+CUSD
AT+CSSN
AT+CSNS
AT+CMGF
<disableath>
<level>
<level>
0
55
When AT+QAUDCH=0, the default value <level>=60;
When AT+QAUDCH=1, the default value <level>=40;
When AT+QAUDCH=2, the default value <level>=35;
0 <n>
<n>,<m>
<mode>
<mode>
<mode>,<mt>,<bm>,<ds>,<bfr>
0,0
0
0
2,1,0,0,0 AT+CNMI
AT+CSDH
AT+CSMS
AT+QSIDET <gainlevel>
When AT+QAUDCH=0, the default value <gainlevel>=80;
When AT+QAUDCH=1, the default value <gainlevel>=144;
AT+QMIC
AT+QSCLK
AT+QCLIP
<gainlevel(Normal_Mic)>,<gainlevel(He adset_Mic)>,<gainlevel(Loudspeaker_
<n>
<n>
4,9,8
0
AT+QCOLP
AT+QIURC
AT+QEXTUNSOL
AT+QRIMODE
<n>
<mode>
<mode>
<timemode>
0
1
0
0
M10_AT_Commands_Manual Confidential / Released 224 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
16.6. Summary of URC
Table 9: Summary of URC
Quectel
Confidential
M10_AT_Commands_Manual Confidential / Released 225 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
11
12
13
14
15
16
17
18
29
1
2
3
4
5
6
7
8
9
10
Index URC Display Meaning
+CMTI:<mem>,<index>
+CMT:[<alpha>],<length><CR><L
F><pdu>
+CMT:<oa>,[<alpha>],<scts>[,<to oa>,<fo>,<pid>,<dcs>,<sca>,<tos ca>,<length>]<CR><LF><data>
+CBM:<length><CR>
+CBM:<sn>,<mid>,<dcs>,<page>
,<pages>,<CR>,<LF><data>
New message is received, and saved to memory
New short message is received and output directly to TE (PDU mode)
New short message is received and output directly to TE (Text mode)
New CBM is received and output directly (PDU mode)
New CBM is received and output directly to TE (Text mode)
+CDS:<length><CR><LF><pdu>
New CDS is received and output directly (PDU mode)
+CDS:<fo>,<mr>,[<ra>],[<tora>],< New CDS is received and output scts>,<dt>,<st>
+CGEV:NW
DEACT<PDP_type>,<PDP_addr>
[,<cid>]
+CGEV:ME directly to TE (Text mode)
Quectel
DEACT<PDP_type>,<PDP_addr>
[,<cid>]
GPRS ME detach
+CGEV:NW DETACH GPRS network detach
Condition
AT+CNMI=2,1
AT+CNMI=2,2
AT+CNMI=2,2
AT+CNMI=2,2
AT+CNMI=2,2
AT+CNMI=2,2
AT+CNMI=2,2
AT+CGEREP=1
AT+CGEREP=1
AT+CGEREP=1
+CGEV:ME DETACH
+CGREG:1
+CGREG:0
GPRS ME detach
Network registered
Network unregistered
AT+CGEREP=1
AT+CGREG=1
AT+CGREG=1
+CGREG:1,<lac><ci>
+CGREG:0,<lac><ci>
+CSQN:<rssi>,<ber>
+CMWT:<store>,<index>,<voice>,
<fax>,<email>,<other>
Network registered, with location code
Network unregistered, with location code
AT+CGREG=2
AT+CGREG=2
Signal quality change
Forbidden network is available only
Message waiting
AT+QEXTUNSOL
="SQ",1
AT+QEXTUNSOL
="FN",1
AT+QEXTUNSOL
="MW",1
+QGURC:<event> Unsolicited result code follows AT+QEXTUNSOL
M10_AT_Commands_Manual Confidential / Released 226 / 247
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
GSM/GPRS Module Series
M10 AT Commands Manual
particular call state transition ="UR",1
+CBCN:<bcs>,<bcl>
+QBAND:<band>
+TSMSINFO:<CMS error info>
Display battery connection status and battery charge level
Band mode display
Additional SMS information
AT+QEXTUNSOL
="BC",1
AT+QEXTUNSOL
="BM",1
AT+QEXTUNSOL
="SM",1
+CCINFO:<Call is
Disconnected>,<remain calls>
Displays the disconnected call ID and the remain call numbers after one of the call is disconnected
Indicates incoming call
AT+QEXTUNSOL
="CC",1
RING N/A
Call Ready
Device is ready to make/receive calls
N/A
UNDER_VOLTAGE POWER
DOWN
Under voltage shutdown indication N/A
UNDER_VOLTAGE WARNING
OVER_VOLTAGE POWER
DOWN
OVER_VOLTAGE WARNING
Under voltage warning
Over voltage warning
N/A
N/A
N/A
NORMAL POWER DOWN
RDY
Normal power down N/A
An incoming call is indicated to the
+CRING:<type>
+CREG:<stat>
TE with unsolicited result code instead of the normal RING
Indicate registration status of the
ME
AT+CRC=1
AT+CREG=1
+CREG:<stat>[,<lac>,<ci>]
After cell neighborhood changing shows whether the network has currently indicated the registration of the ME, with location area code
AT+CREG=2
ME initialization is successful N/A
+CFUN:1
+CPIN:<state>
MO RING
MO CONNECTED
ALARM RING
All function of the ME is available N/A
SIM card pin state N/A
MO call ringing
MO call connected
Alarm event is triggered
AT+QMOSTAT=1
AT+QMOSTAT=1
AT+QALARM=1,<t
M10_AT_Commands_Manual Confidential / Released 227 / 247
40
GSM/GPRS Module Series
M10 AT Commands Manual
ALARM MODE ME is switched on by alarm ime>,<repeat>,0/1
AT+QALARM=1,<t ime>,<repeat>,2
10
11
12
13
14
16.7. Summary of CME ERROR Codes
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.
7
3
4
5
6
2
1
Table 10: Different Coding Schemes of +CME ERROR : <err>
Code of <err>
0
Quectel
No connection to phone
Phone-adaptor link reserved
Operation not allowed
Confidential
PH-FSIM PIN required
PH-FSIM PUK required
SIM not inserted
SIM PIN required
SIM PUK required
SIM failure
SIM busy
M10_AT_Commands_Manual Confidential / Released 228 / 247
15
16
17
18
20
21
22
23
24
46
47
103
106
42
43
44
45
31
32
40
41
25
26
27
30
GSM/GPRS Module Series
M10 AT Commands Manual
SIM wrong
Incorrect password
SIM PIN2 required
SIM PUK2 required
Memory full
Invalid index
Not found
Memory failure
Text string too long
Invalid characters in text string
No network service
Network timeout
Network not allowed - emergency calls only
Network subset personalization PIN required
Network subset personalization PUK required
Service provider personalization PIN required
Service provider personalization PUK required
Corporate personalization PIN required
Corporate personalization PUK required
Illegal MS
Illegal ME
M10_AT_Commands_Manual Confidential / Released 229 / 247
107
111
112
113
132
133
134
148
149
607
608
609
610
603
604
605
606
154
302
601
602
150
151
152
153
GSM/GPRS Module Series
M10 AT Commands Manual
GPRS services not allowed
PLMN not allowed
Location area not allowed
Roaming not allowed in this location area
Service option not supported
Requested service option not subscribed
Service option temporarily out of order
Unspecified GPRS error
PDP authentication failure
Invalid mobile class
Link SIM C person PIN required
Link SIM C person PUK required
Command conflict
Syntax error
Unspecified
Data transfer already
Action already
Not AT command
Multi command too long
Abort COPS
No call disconnect
M10_AT_Commands_Manual Confidential / Released 230 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
3513
3515
3516
3517
3518
3738
3742
3765
3769
Unread records on SIM
PS busy
Couldn't read SMS parameters from SIM
SM not ready
Invalid parameter
CSCS mode not found
CPOL operation format wrong
Invalid input value
Unable to get control
Call setup in progress 3771
3772
3773
3774 Invalid ARFCN
3775 The pin is not in GPIO mode
16.8. Summary of CMS ERROR Codes
Confidential executed. Neither ERROR nor OK result code shall be returned.
<err> values are mostly used by common message commands:
Table 10: Different Coding Schemes of +CMS ERROR : <err>
Code of <err>
300
301
Meaning
ME failure
SMS ME reserved
M10_AT_Commands_Manual Confidential / Released 231 / 247
302
303
304
305
310
311
312
313
314
513
514
515
517
331
332
500
512
320
321
322
330
315
316
317
318
GSM/GPRS Module Series
M10 AT Commands Manual
Operation not allowed
Operation not supported
Invalid PDU mode
Invalid text mode
SIM not inserted
SIM pin necessary
PH SIM pin necessary
SIM failure
SIM busy
SIM wrong
SIM PUK2 required
Memory failure
Invalid memory index
No network
Network timeout
Unknown
SIM not ready
Message length exceeds
Invalid request parameters
ME storage failure
Invalid service mode
M10_AT_Commands_Manual Confidential / Released 232 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
528
529
530
531
3513
3515
3516
3517
3518
3772
3773
3774
3775
3742
3765
3769
3771
More message to send state error
MO SMS is not allow
GPRS is suspended
ME storage full
Unread records on SIM
PS busy
Couldn't read SMS parameters from SIM
SM not ready
Invalid parameter
Incorrect <oper> format
Invalid input value
Quectel
SIM powered down
Unable to operate in this CFUN state
16.9. Summary of Cause for Extended Error Report
16.9.1. Location ID for the Extended Error Report
Table 11: Location ID for the Extended Error Report
ID Description
M10_AT_Commands_Manual Confidential / Released 233 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
2
3
0
1
No error (default)
Cause for protocol stack (PS) layer
Internal cause for Mobility Management (MM) layer
Cause for PPP/IP-Stack
16.9.2. Cause for Protocol Stack (PS) Layer
Table 12: Cause for Protocol Stack (PS) Layer
17
18
19
21
8
10
11
16
22
25
26
27
3
6
0
1
Cause
CM Cause
Description
Radio link fail
Channel unacceptable
Operator determined barring
Call barred
Reserved
Confidential
No user responding
User alerting, no answer
Call rejected
Number changed
Pre-emption
Non-selected user clearing
Destination out of order
M10_AT_Commands_Manual Confidential / Released 234 / 247
28
29
30
31
34
38
41
42
43
79
81
87
88
65
68
69
70
55
57
58
63
44
47
49
50
GSM/GPRS Module Series
M10 AT Commands Manual
Invalid number format (incomplete number)
Facility rejected
Response to STATUS ENQUIRY
Normal, unspecified
No circuit/channel available
Network out of order
Temporary failure
Switching equipment congestion
Access information discarded
Requested circuit/channel not available
Requested facility not subscribed
Incoming calls barred within the CUG
Bearer capability not authorized
Bearer service not implemented
ACM equal or greater than ACM maximum
Requested facility not implemented
Only restricted digital information bearer capability is available
Service or option not implemented, unspecified
Invalid transaction identifier value
User not member of CUG
Incompatible destination
M10_AT_Commands_Manual Confidential / Released 235 / 247
91
95
96
97
98
99
100
101
102
176
192
193
194
159
160
161
175
130
143
144
145
111
127
128
129
GSM/GPRS Module Series
M10 AT Commands Manual
Invalid transit network selection
Semantically incorrect message
Invalid mandatory information
Message type non-existent or not implemented
Message type not compatible with protocol state
Information element non-existent or not implemented
Conditional information element error
Message not compatible with protocol
Recovery on timer expiry
Protocol error, unspecified
Short message Type 0 not supported
Cannot replace short message
Unspecified TP-PID error
Unspecified TP-DCS error
Command cannot be acted
Command unsupported
Unspecified TP-Command error
TPDU not supported
SC busy
No SC subscription
SC system failure
M10_AT_Commands_Manual Confidential / Released 236 / 247
195
196
197
198
199
208
209
210
211
330
340
500
512
313
320
321
322
226
255
304
305
212
213
224
225
GSM/GPRS Module Series
M10 AT Commands Manual
Invalid SME address
Destination SME barred
SM Rejected-Duplicate SM
TP-VPF not supported
TP-VP not supported
SIM SMS storage full
No SMS storage capability in SIM
Error in MS
Memory Capacity Exceeded
SIM Application Toolkit Busy
RP trim timeout
SMS connection broken
Unspecified error cause
SIM failure
Memory failure
Invalid memory index
Memory full
SMSC address unknown
No +CNMA acknowledgement expected
Unknown error
SMS no error
M10_AT_Commands_Manual Confidential / Released 237 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
513
514
515
516
517
518
519
520
521
768
769
770
771
530
531
532
CC Cause
526
527
528
529
522
523
524
525
Message length exceeds maximum length
Invalid request parameters
ME storage failure
Invalid bearer service
Invalid service mode
Invalid storage type
Invalid message format
Too many MO concatenated messages
SMSAL not ready
SMSAL no more service
Not support TP-Status-Report&TP-Command in storage
Quectel
The port number is already registered
There is no free entity for port number
GPRS is suspended
ME storage full
Doing SIM refresh
Command not allowed
Illegal card ID
Call allocation fail
BC fill fail
M10_AT_Commands_Manual Confidential / Released 238 / 247
772
773
774
775
776
777
778
896
SS Cause
1045
1051
1053
1054
1041
1042
1043
1044
1035
1036
1037
1040
1024
1025
1033
1034
GSM/GPRS Module Series
M10 AT Commands Manual
Call RE EST
Illegal DTMF tone
Illegal BC
Modify actual mode
Data action fail
No response from network
Call accept not allowed
General cause
Cause none
Bearer service not provisioned
Tele service not provisioned
Illegal equipment
SS error status
SS not available
SS subscription violation
SS incompatibility
Facility not supported
Absent subscriber
Short term denial
Long term denial
M10_AT_Commands_Manual Confidential / Released 239 / 247
1058
1059
1060
1061
1062
1067
1078
1095
1096
1157
1158
1159
1160
1153
1154
1155
1156
1149
1150
1151
1152
1145
1146
1147
1148
GSM/GPRS Module Series
M10 AT Commands Manual
System failure
Data missing
Unexpected data value
PW registration failure
Negative PW check
Number of PW attempts violation
Position method failure
Unknown alphabet
USSD busy
Rejected by user
Special service code
Invalid deflection to number
Max number of MPTY participants exceeded
General problem, mistyped component
General problem, badly structured component
Invoke problem, duplicate invoked
Invoke problem, unrecognized operation
Invoke problem, mistyped parameter
Invoke problem, resource limitation
Invoke problem, initiating release
Invoke problem, unrecognized linked ID
M10_AT_Commands_Manual Confidential / Released 240 / 247
1161
1162
1163
1164
1165
1166
1167
1168
1169
2059
2060
2061
2062
2055
2056
2057
2058
2051
2052
2053
2054
1170
MM Cause
2048
2050
GSM/GPRS Module Series
M10 AT Commands Manual
Invoke problem, linked resource unexpected
Invoke problem, unexpected linked operation
Return result problem, RR unrecognized invoked
Return result problem, RR, return result unexpected
Return result problem, RR mistyped parameter
Return error problem, RE, unrecognized invoked
Return error problem, RE return error unexpected
Return error problem, RE unrecognized error
Return error problem, RE unexpected error
Return error problem, RE mistyped parameter
IMSI unknown in HLR
Illegal MS
IMSI unknown in VLR
GPRS not allowed
None GPRS not allowed
MS ID not derived by network
Implicit detach
PLMN not allowed
Location area not allowed
Roaming area not allowed
GPRS not allowed in PLMN
M10_AT_Commands_Manual Confidential / Released 241 / 247
2063
2064
2065
2068
2069
2070
2080
2081
2082
2160
2161
2162
2163
2147
2148
2149
2159
2143
2144
2145
2146
2086
2088
2096
2111
GSM/GPRS Module Series
M10 AT Commands Manual
No suitable cells in LA
MSC temp not reachable
Network failure
MAC failure
Sync failure
Congestion
Serve option not supported
Request serve option not subscribed
Serve option temp out of order
Call cannot be identified
Retry upon entry into a new cell
Semantically incorrect message
Invalid MM info
IE not implemented
Conditional MM IE error
Message not compatible with protocol state
Protocol error unspecified
Access barred
Assignment reject
Random access failure
RR no service
M10_AT_Commands_Manual Confidential / Released 242 / 247
2164
2165
2166
2167
2168
2169
2170
2171
2172
2568
2569
2570
2571
2564
2565
2566
2567
2560
2561
2562
2563
2173
2174
2175
SIM Cause
GSM/GPRS Module Series
M10 AT Commands Manual
PLMN search reject emergency
RR connection release
Authentication failure
IMSI detach
Abort by network
Connection timeout
Enqueue fail
Not updated
State not allowed
Emergency not allowed
Command success
Command fail
CHV not init
CHV verify error
CHV block
Access not allow
SAT command busy
DL error
Memory problem
Technical problem
M10_AT_Commands_Manual Confidential / Released 243 / 247
2572
SM Cause
3080
3097
3098
3099
3100
3101
3102
3116
3117
3118
3153
3112
3113
3114
3115
3108
3109
3110
3111
3103
3104
3105
3106
GSM/GPRS Module Series
M10 AT Commands Manual
PUK unlock
Operator determined barring
LLC SND failure
Insufficient resource
Unknown APN
Unknown PDP address or type
Authentication failure
Activation reject GGSN
Activation reject
Out of order service option
Regular deactivation
QOS not accepted
Unsupported network context activation
Semantic error in TFT operation
Syntactical error in TFT operation
Unknown PDP context
Semantic error in packet filter
Syntax error in packet filter
PDP context WO TFT already act
Invalid TI
M10_AT_Commands_Manual Confidential / Released 244 / 247
3167
3168
3169
3170
3171
3172
3173
3183
3184
3374
3375
3376
3377
3286
TCM Cause
3372
3373
3276
3283
3284
3285
ABM Cause
3273
3274
3275
GSM/GPRS Module Series
M10 AT Commands Manual
Incorrect message
Invalid MAND info
Unimplemented message type
Incompatible message type protocol state
Unimplemented IE
Conditional IE error
Incompatible message protocol state
Unspecified
Startup failure
GPRS reactivate
GPRS protocol rejection
Rejected
None auto deactivation
Invalid parameter
NSAPI not in use
ACL action not allowed
ACL SIM file full
ACL add entry failed
ACL del entry failed
M10_AT_Commands_Manual Confidential / Released 245 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
3378
3379
3380
ACL set entry failed
ACL SIM read failed
ACL SIM write failed
16.9.3. Internal cause for MM layer
Table 13: Internal Cause for MM Layer
122
123
124
125
118
119
120
121
126
127
128
129
Cause
112
113
114
115
116
117
Description
Forbidden PLMN
Access class barred
No coverage
SIM inserted
SIM removed
SIM absent
SIM invalid for PS
Confidential
Low layer fail
Connection in progress
Not updated
Connection establish failure
Connection abort
Connection failure
Emergency not allowed
M10_AT_Commands_Manual Confidential / Released 246 / 247
GSM/GPRS Module Series
M10 AT Commands Manual
130
131
132
133
16.9.4. Cause for PPP/IP-Stack
No GPRS coverage
Abnormal LU
Abnormal LU less than 4 times
Same LAI IMSI attaching
Table 14: Cause for PPP/IP-Stack
9
10
11
12
13
7
8
5
6
3
4
1
2
Cause
0
Description
No error
LCP fail
ESC detect
Plug out detect
PPP GPRS dialup already activated
PPP not activated by external modem yet
Confidential
PPP already activated by WAP over CSD
PPP wrong CSD mode ID
PPP detect AT command during dialup
PPP detect escape during dialup
M10_AT_Commands_Manual Confidential / Released 247 / 247
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 34 AT+ICF Set TE-TA Control Character Framing
- 35 AT+IFC Set TE-TA Local Data Flow Control
- 36 AT+ILRR Set TE-TA Local Data Rate Reporting Mode
- 37 AT+IPR Set TE-TA Fixed Local Rate
- 39 Adaptive Baud
- 40 AT+CMUX Multiplexer Control
- 41 AT+QEAUART Configure Dual UART Function
- 43 Status Control Commands
- 43 AT+CEER Extended Error Report
- 44 AT+CPAS Mobile Equipment Activity Status
- 45 AT+QINDRI Indicate RI When Using URC
- 46 AT+QMOSTAT Show State of Mobile Originated Call
- 47 AT+QIURC Enable or Disable Initial URC Presentation
- 47 AT+QEXTUNSOL Enable/Disable Proprietary Unsolicited Indications
- 49 AT+QINISTAT Query State of Initialization
- 49 AT+QNSTATUS Query GSM Network Status
- 50 AT+QNITZ Network Time Synchronization
- 51 AT+QLTS Obtain Latest Network Time Synchronized
- 52 AT+CTZU Network Time Synchronization and Update the RTC Time
- 55 AT+CLCK Facility Lock
- 57 AT+CPIN Enter PIN
- 58 AT+CPWD Change Password
- 60 AT+CRSM Restricted SIM Access
- 61 AT+QCSPWD Change PS Super Password
- 64 AT+QSIMVOL Select SIM Card Operating Voltage
- 65 AT+QSPN Get Service Provider Name from SIM
- 65 AT+QTRPIN Times Remain to Input SIM PIN/PUK
- 67 Network Service Commands
- 67 AT+COPS Operator Selection
- 69 AT+CREG Network Registration
- 70 AT+CSQ Signal Quality Report
- 71 AT+CPOL Preferred Operator List
- 72 AT+COPN Read Operator Names
- 73 AT+QBAND Get and Set Mobile Operation Band
- 73 AT+QENG Switch on or off Engineering Mode
- 76 AT+QSCANF Scan Power of GSM Frequency
- 77 AT+QLOCKF Lock GSM Frequency
- 79 Call Related Commands
- 79 ATA Answer an Incoming Call
- 80 ATD Mobile Originated Call to Dial a Number
-
81
ATD>
Originate Call to Phone Number in Current Memory - 83 ATDL Redial Last Telephone Number Used
- 84 ATH Disconnect Existing Connection
- 84 +++ Switch from Data Mode to Command Mode
- 85 ATO Switch from Command Mode to Data Mode
- 86 ATP Select Pulse Dialing
- 86 ATS0 Set Number of Rings before Automatically Answering Call
- 87 ATS6 Set Pause before Blind Dialing
- 87 ATS7 Set Number of Seconds to Wait for Connection Completion
- 88 ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier
- 89 ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
- 89 ATT Select Tone Dialing
- 90 AT+CSTA Select Type of Address
- 90 AT+CLCC List Current Calls of ME
- 92 AT+CR Service Reporting Control
- 96 AT+QDISH Disable ATH
- 98 SMS Commands
- 98 AT+CSMS Select Message Service
- 99 AT+CMGF Select SMS Message Format
- 106 AT+CMGR Read SMS Message
- 109 AT+CMGS Send SMS Message
- 110 AT+CMGW Write SMS Message to Memory
- 112 AT+CMSS Send SMS Message from Storage
- 113 AT+CMGC Send SMS Command
- 114 AT+CNMI New SMS Message Indications
- 116 AT+CRES Restore SMS Settings
- 117 AT+CSAS Save SMS Settings
- 118 AT+CSCB Select Cell Broadcast SMS Messages
- 119 AT+CSDH Show SMS Text Mode Parameters
- 120 AT+CSMP Set SMS Text Mode Parameters
- 121 AT+QRSTCB Reset cell broadcast
- 121 AT+QCLASS0 Store Class 0 SMS to SIM when Receiving Class 0 SMS
- 122 AT+QMGDA Delete all SMS
- 123 AT+QMGHEX Enable to Send Non-ASCII Character SMS
- 124 AT+QSMSCODE Configure SMS Code Mode
- 125 Phonebook Commands
- 125 AT+CPBS Select Phonebook Memory Storage
- 126 AT+CPBW Write Phonebook Entry
- 127 AT+CPBR Read Current Phonebook Entries
- 128 AT+CPBF Find Phonebook Entries
- 129 AT+CNUM Subscriber Number
- 131 GPRS Commands
- 131 AT+CGATT Attach to/Detach from GPRS Service
- 132 AT+CGDCONT Define PDP Context
- 133 AT+CGQREQ Quality of Service Profile (Requested)
- 134 AT+CGQMIN Quality of Service Profile (Minimum Acceptable)
- 135 AT+CGACT PDP Context Activate or Deactivate
- 136 AT+CGDATA Enter Data State
- 137 AT+CGPADDR Show PDP Address
- 138 AT+CGCLASS GPRS Mobile Station Class
- 142 AT+QGPCLASS Change GPRS Multi-slot Class
- 142 AT+QGDVOL Network Data Throughput
- 144 TCPIP Commands
- 144 AT+QIOPEN Start up TCP or UDP Connection
- 145 AT+QISEND Send Data through TCP or UDP Connection
- 149 AT+QIREGAPP Start TCPIP Task and Set APN, User Name and Password
- 150 AT+QIACT Activate GPRS/CSD Context
- 150 AT+QILOCIP Get Local IP Address
- 151 AT+QISTAT Query Current Connection Status
- 153 AT+QISTATE Query Connection Status of the Current Access
- 154 AT+QISSTAT Query the Current Server Status
- 155 AT+QIDNSCFG Configure Domain Name Server
- 156 AT+QIDNSGIP Query the IP Address of Given Domain Name
- 157 AT+QIDNSIP Connect with IP Address or Domain Name Server
- 157 AT+QIHEAD Add an IP Header when Receiving Data
- 158 AT+QIAUTOS Set Auto Sending Timer
- 159 QIPROMPT Set Prompt of „>‟ when Sending Data
- 159 AT+QISERVER Configured as Server
- 160 AT+QICSGP Select CSD or GPRS as the Bearer
- 162 AT+QISRVC Choose Connection
- 162 AT+QISHOWRA Set Whether or Not to Display the Address of Sender
- 163 AT+QISCON Save TCPIP Application Context
- 165 AT+QIMODE Select TCPIP Transfer Mode
- 165 AT+QITCFG Configure Transparent Transfer Mode
- 166 AT+QISHOWPT Control Whether or Not to Show the Protocol Type
- 167 AT+QIMUX Control Whether or Not to Enable Multiple TCPIP Session
- 168 AT+QISHOWLA Control Whether or Not to Display Local IP Address
- 169 AT+QIFGCNT Select a Context as Foreground Context
- 169 AT+QISACK Query the Data Information for Sending
- 170 AT+QINDI Set the Method to Handle Received TCP/IP Data
- 171 AT+QIRD Retrieve the Received TCP/IP Data
- 172 AT+QISDE Control Whether or Not to Echo the Data for QISEND
- 173 AT+QPING Ping a Remote Server
- 174 AT+QNTP Synchronize the Local Time Via NTP
- 176 Supplementary Service Commands
- 176 AT+CCFC Call Forwarding Number and Conditions Control
- 178 AT+CCUG Closed User Group Control
- 185 AT+CLIR Calling Line Identification Restriction
- 186 AT+COLP Connected Line Identification Presentation
- 187 AT+QCOLP Show Alpha Field in +COLP String
- 188 AT+CUSD Unstructured Supplementary Service Data
- 189 AT+CSSN Supplementary Services Notification
- 192 AT+VTD Tone Duration
- 193 AT+VTS DTMF and Tone Generation
- 194 AT+CALM Alert Sound Mode
- 194 AT+CRSL Ringer Sound Level
- 195 AT+CLVL Loud Speaker Volume Level
- 196 AT+CMUT Mute Control
- 196 AT+QSIDET Change the Side Tone Gain Level
- 197 AT+QMIC Change the Microphone Gain Level
- 198 AT+QLDTMF Generate Local DTMF Tones
- 199 AT+QAUDCH Swap the Audio Channels
- 199 AT+QAUDLOOP Audio Channel Loop Back Test
- 200 AT+QLTONE Generate Local Specific Tone
- 201 AT+QTONEP Set DTMF Output Path
- 202 AT+QTDMOD Set Tone Detection Mode
- 203 AT+QTONEDET Detect DTMF
- 205 AT+QWDTMF Play DTMF Tone During the Call
- 207 Hardware Related Commands
- 207 AT+CCLK Clock
- 208 AT+QALARM Set Alarm
- 209 AT+CBC Battery Charge
- 210 AT+QSCLK Configure Slow Clock
- 210 AT+QLEDMODE Configure the Network LED Patterns
- 212 Others Commands
- 212 A/ Re-issues the Last Command Given
- 212 ATE Set Command Echo Mode
- 213 ATS3 Set Command Line Termination Character
- 213 ATS4 Set Response Formatting Character
- 214 ATS5 Set Command Line Editing Character
- 214 AT+CCID Show ICCID
- 215 AT+QADC Read ADC
- 216 AT+QEADC Read the Second ADC Channel
- 218 Terms and Abbreviations
- 219 Factory Default Settings Restorable with AT&F
- 221 AT Command Settings Storable with AT&W
- 223 AT Command Settings Storable with ATZ
- 226 Summary of URC
- 234 Location ID for the Extended Error Report
- 235 Cause for Protocol Stack (PS) Layer
- 247 Internal cause for MM layer
- 248 Cause for PPP/IP-Stack