AT Commands Manual PDF
AT Commands Manual PDF
AT Commands Manual PDF
AT Commands Manual
Rev. M95_AT_Commands_Manual_V3.1
Date: 2014-09-16
www.quectel.com
GSM/GPRS Module Series
M95 AT Commands Manual
Our aim is to provide customers with timely and comprehensive service. For any
assistance, please contact our company headquarters:
t el
For technical support, to report documentation errors, please visit:
l
http://www.quectel.com/support/techsupport.aspx
GENERAL NOTES
e c t ia
u
QUECTEL OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
n
PROVIDED IS BASED UPON CUSTOMERS’ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
Q ide
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT
ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR
RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO
f
CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
o n
THIS INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF
C
QUECTEL CO., LTD. TRANSMITTABLE, REPRODUCTION, DISSEMINATION AND EDITING OF THIS
DOCUMENT AS WELL AS UTILIZATION OF THIS CONTENTS ARE FORBIDDEN WITHOUT
PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS
ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL
OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2014. All rights reserved.
History
el
Revision Date Author Description
t
1.0 2011-12-30 Jean HU Initial
c l
1. Modified flow control
a
2. Added new parameters for AT+QNITZ/
e i
AT+QBAND
u t
3. Added AT commands:
n
AT+QLTS/AT+QLDTMF/AT+QLTONE/AT+QSFR/
AT+QSPCH/AT+QMUXC
Q ide
1.1 2012-03-20 Vivian WANG
4. Deleted fax related commands
5. Deleted AT commands:
AT+QECHO/AT+QSIMDET/AT+QECHOEX/AT+Q
f
EAUART/AT+QSEDCB/AT+QSIMSTAT/AT+QTE
MP/AT+AUDLOOP/AT+QLOCKF/AT+EGPAU/AT+
n
QTUNBUF/AT+CRSM/AT+QDISP/AT+QCGTIND
o
1. Added AT commands:
AT+QSPN/AT+QTRPIN/AT+QISTATE/AT+QISSTA
C
T/AT+QLTONE/AT+QTONEP/AT+QTDMOD/AT+
QTONEDET/AT+QWDTMF/AT+QLEDMODE/AT+
QALARM/AT+CRSM/AT+CSIM/AT+QCSPWD/AT
+QENG/AT+QSCANF/AT+QLOCKF/AT+QTEMP/
A/
1.2 2013-07-16 Jelly WANG
2. Added new parameters for AT+VTD
3. Added the value range of parameters for
AT+CTZU/AT+QIPROMPT/AT+QSCLK/AT+QSM
SCODE/AT+QRIMODE/AT+QMIC
4. Modified the description of the AT command:
AT+CSCS/AT+QPOWD/AT+CFUN/AT&D/AT+CP
MS/AT+QISSTAT/AT+QISEND
1.3 2013-11-25 Karen REN Added maximum response time to all AT commands.
t el
e c ia l
u n t
Q ide
n f
Co
Contents
1 Introduction ........................................................................................................................................ 11
1.1. Scope of the Document ......................................................................................................... 11
1.2. AT Command Syntax............................................................................................................. 11
1.2.1. Combining AT Commands on the Same Command Line ........................................... 12
1.2.2. Entering Successive AT Commands on Separate Lines ............................................ 12
l
1.3. Supported Character Sets ..................................................................................................... 12
1.4. Flow Control .......................................................................................................................... 13
e
1.4.1. Software Flow Control (XON/XOFF Flow Control) ..................................................... 13
t
1.4.2. Hardware Flow Control (RTS/CTS Flow Control) ....................................................... 14
c l
1.5. Unsolicited Result Code ........................................................................................................ 14
e ia
2 General Commands ........................................................................................................................... 15
t
2.1. ATI Display Product Identification Information.................................................................... 15
u
2.2. AT+GMI Request Manufacturer Identification .................................................................... 15
n
2.3. AT+GMM Request TA Model Identification ......................................................................... 16
Q ide
2.4. AT+GMR Request TA Revision Identification of Software Release ................................... 16
2.5. AT+GOI Request Global Object Identification .................................................................... 17
2.6. AT+CGMI Request Manufacturer Identification.................................................................. 18
2.7. AT+CGMM Request Model Identification ........................................................................... 18
f
2.8. AT+CGMR Request TA Revision Identification of Software Release................................. 19
n
2.9. AT+GSN Request International Mobile Equipment Identity (IMEI) .................................... 19
2.10. AT+CGSN Request Product Serial Number Identification (Identical with +GSN) .............. 20
o
2.11. AT+QGSN Request Product Serial Number Identification (IMEI) ...................................... 20
2.12. AT&F Set all Current Parameters to Manufacturer Defaults .............................................. 21
C
2.13. AT&V Display Current Configuration .................................................................................. 21
2.14. AT&W Store Current Parameter to User Defined Profile.................................................... 23
2.15. ATQ Set Result Code Presentation Mode .......................................................................... 24
2.16. ATV TA Response Format .................................................................................................. 24
2.17. ATX Set CONNECT Result Code Format and Monitor Call Progress ............................... 26
2.18. ATZ Set all Current Parameters to User Defined Profile .................................................... 27
2.19. AT+CFUN Set Phone Functionality .................................................................................... 27
2.20. AT+QPOWD Power off ....................................................................................................... 29
2.21. AT+CMEE Report Mobile Equipment Error ........................................................................ 29
2.22. AT+CSCS Select TE Character Set ................................................................................... 30
2.23. AT+GCAP Request Complete TA Capabilities List ............................................................. 32
l
4.5. AT+QIURC Enable or Disable Initial URC Presentation .................................................... 46
4.6. AT+QEXTUNSOL Enable/Disable Proprietary Unsolicited Indications .............................. 46
e
4.7. AT+QINISTAT Query State of Initialization ......................................................................... 48
t
4.8. AT+QNSTATUS Query GSM Network Status..................................................................... 49
c l
4.9. AT+QNITZ Network Time Synchronization......................................................................... 49
a
4.10. AT+QLTS Obtain Latest Network Time Synchronized ....................................................... 50
e i
4.11. AT+CTZU Network Time Synchronization and Update the RTC Time .............................. 51
t
4.12. AT+CTZR Network Time Synchronization Report .............................................................. 52
u n
5 SIM Related Commands .................................................................................................................... 53
Q ide
5.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) .................................... 53
5.2. AT+CLCK Facility Lock ....................................................................................................... 54
5.3. AT+CPIN Enter PIN ............................................................................................................ 56
5.4. AT+CPWD Change Password ............................................................................................ 57
f
5.5. AT+CRSM Restricted SIM Access...................................................................................... 59
5.6. AT+QCSPWD Change PS Super Password ...................................................................... 60
n
5.7. AT+QCCID Show ICCID ..................................................................................................... 60
o
5.8. AT+QGID Get SIM Card Group Identifier ........................................................................... 61
5.9. AT+QSIMVOL Select SIM Card Operating Voltage............................................................ 62
C
5.10. AT+QSPN Get Service Provider Name from SIM .............................................................. 62
5.11. AT+QTRPIN Times Remain to Input SIM PIN/PUK ........................................................... 63
5.12. AT+QDSIM Dual SIM Switch .............................................................................................. 64
l
7.12. ATT Select Tone Dialing...................................................................................................... 86
7.13. AT+CSTA Select Type of Address ...................................................................................... 86
t e
7.14. AT+CLCC List Current Calls of ME .................................................................................... 87
l
7.15. AT+CR Service Reporting Control ...................................................................................... 88
c
7.16. AT+CRC Set Cellular Result Codes for Incoming Call Indication ...................................... 89
e a
7.17. AT+CRLP Select Radio Link Protocol Parameter .............................................................. 91
t i
7.18. AT+CSNS Single Numbering Scheme ............................................................................... 92
u
7.19. AT+CMOD Configure Alternating Mode Calls .................................................................... 92
n
7.20. AT+QSFR Preference Speech Coding ............................................................................... 93
Q ide
7.21. AT+QSPCH Speech Channel Type Report ........................................................................ 94
7.22. AT+QDISH Disable ATH ..................................................................................................... 95
f
8.1. AT+CSMS Select Message Service ................................................................................... 96
8.2. AT+CMGF Select SMS Message Format........................................................................... 97
n
8.3. AT+CSCA SMS Service Center Address............................................................................ 97
8.4. AT+CPMS Preferred SMS Message Storage ..................................................................... 99
o
8.5. AT+CMGD Delete SMS Message .................................................................................... 100
8.6. AT+CMGL List SMS Messages from Preferred Store ...................................................... 101
C
8.7. AT+CMGR Read SMS Message ...................................................................................... 104
8.8. AT+CMGS Send SMS Message....................................................................................... 107
8.9. AT+CMGW Write SMS Message to Memory ................................................................... 109
8.10. AT+CMSS Send SMS Message from Storage ................................................................. 110
8.11. AT+CMGC Send SMS Command .....................................................................................111
8.12. AT+CNMI New SMS Message Indications ....................................................................... 112
8.13. AT+CRES Restore SMS Settings ..................................................................................... 115
8.14. AT+CSAS Save SMS Settings ......................................................................................... 116
8.15. AT+CSCB Select Cell Broadcast SMS Messages ........................................................... 116
8.16. AT+CSDH Show SMS Text Mode Parameters ................................................................. 117
8.17. AT+CSMP Set SMS Text Mode Parameters .................................................................... 118
8.18. AT+QCLASS0 Store Class 0 SMS to SIM when Receiving Class 0 SMS ....................... 119
8.19. AT+QMGDA Delete all SMS ............................................................................................. 120
8.20. AT+QSMSCODE Configure SMS Code Mode ................................................................. 121
l
10.5. AT+CGACT PDP Context Activate or Deactivate ............................................................. 133
10.6. AT+CGDATA Enter Data State.......................................................................................... 134
e
10.7. AT+CGPADDR Show PDP Address ................................................................................. 135
t
10.8. AT+CGCLASS GPRS Mobile Station Class ..................................................................... 136
c l
10.9. AT+CGEREP Control Unsolicited GPRS Event Reporting .............................................. 137
a
10.10. AT+CGREG Network Registration Status ........................................................................ 138
e i
10.11. AT+CGSMS Select Service for MO SMS Messages ....................................................... 139
t
10.12. AT+QGPCLASS Change GPRS Multi-slot Class ............................................................. 140
u n
11 TCPIP Commands ............................................................................................................................ 141
Q ide
11.1. AT+QIOPEN Start up TCP or UDP Connection ............................................................... 141
11.2. AT+QISEND Send Data through TCP or UDP Connection .............................................. 142
11.3. AT+QICLOSE Close TCP or UDP Connection ................................................................. 143
11.4. AT+QIDEACT Deactivate GPRS/CSD PDP Context ....................................................... 145
f
11.5. AT+QILPORT Set Local Port ............................................................................................ 145
11.6. AT+QIREGAPP Start TCPIP Task and Set APN, User Name and Password .................. 146
n
11.7. AT+QIACT Activate GPRS/CSD Context ......................................................................... 147
o
11.8. AT+QILOCIP Get Local IP Address .................................................................................. 147
11.9. AT+QISTAT Query Current Connection Status ................................................................ 148
C
11.10. AT+QISTATE Query Connection Status of the Current Access ....................................... 150
11.11. AT+QISSTAT Query the Current Server Status ................................................................ 151
11.12. AT+QIDNSCFG Configure Domain Name Server ............................................................ 152
11.13. AT+QIDNSGIP Query the IP Address of Given Domain Name ....................................... 153
11.14. AT+QIDNSIP Connect with IP Address or Domain Name Server .................................... 154
11.15. AT+QIHEAD Add an IP Header when Receiving Data .................................................... 154
11.16. AT+QIAUTOS Set Auto Sending Timer ............................................................................ 155
11.17. AT+QIPROMPT Set Prompt of ‘>’ when Sending Data .................................................... 156
11.18. AT+QISERVER Configured as Server.............................................................................. 156
11.19. AT+QICSGP Select CSD or GPRS as the Bearer ........................................................... 157
11.20. AT+QISRVC Choose Connection ..................................................................................... 159
11.21. AT+QISHOWRA Set Whether or Not to Display the Address of Sender ......................... 159
11.22. AT+QISCON Save TCPIP Application Context ................................................................ 160
11.23. AT+QIMODE Select TCPIP Transfer Mode ...................................................................... 162
l
12 Supplementary Service Commands .............................................................................................. 173
12.1. AT+CCFC Call Forwarding Number and Conditions Control ........................................... 173
e
12.2. AT+CCUG Closed User Group Control ............................................................................ 175
t
12.3. AT+CCWA Call Waiting Control ........................................................................................ 176
c l
12.4. AT+CHLD Call Hold and Multiparty .................................................................................. 177
a
12.5. AT+CLIP Calling Line Identification Presentation ............................................................. 179
e i
12.6. AT+QCLIP Display the +CLIP Number Name .................................................................. 181
t
12.7. AT+CLIR Calling Line Identification Restriction ................................................................ 182
u
12.8. AT+COLP Connected Line Identification Presentation .................................................... 183
n
12.9. AT+QCOLP Display the +COLP Number Name .............................................................. 184
Q ide
12.10. AT+CUSD Unstructured Supplementary Service Data .................................................... 185
12.11. AT+CSSN Supplementary Services Notification .............................................................. 186
f
13.1. ATL Set Monitor Speaker Loudness ................................................................................. 188
13.2. ATM Set Monitor Speaker Mode....................................................................................... 188
n
13.3. AT+VTD Tone Duration ..................................................................................................... 189
o
13.4. AT+VTS DTMF and Tone Generation............................................................................... 190
13.5. AT+CALM Alert Sound Mode ........................................................................................... 191
C
13.6. AT+CRSL Ringer Sound Level ......................................................................................... 191
13.7. AT+CLVL Loud Speaker Volume Level............................................................................. 192
13.8. AT+CMUT Mute Control ................................................................................................... 193
13.9. AT+QSIDET Change the Side Tone Gain Level ............................................................... 193
13.10. AT+QMIC Change the Microphone Gain Level ................................................................ 194
13.11. AT+QLDTMF Generate Local DTMF Tones ..................................................................... 195
13.12. AT+QAUDCH Swap the Audio Channels ......................................................................... 196
13.13. AT+QLTONE Generate Local Specific Tone ..................................................................... 196
13.14. AT+QTONEP Set DTMF Output Path .............................................................................. 197
13.15. AT+QTDMOD Set Tone Detection Mode .......................................................................... 198
13.16. AT+QTONEDET Detect DTMF ......................................................................................... 199
13.17. AT+QWDTMF Play DTMF Tone During the Call .............................................................. 201
l
15.6. AT+DS V.42bis Data Compression Control ...................................................................... 211
15.7. AT+DR V.42bis Data Compression Reporting Control ..................................................... 212
e
15.8. AT+QRIMODE Set RI Time .............................................................................................. 213
t l
16 Appendix ........................................................................................................................................... 215
c
16.1. Related Documents ............................................................................................................. 215
e a
16.2. Terms and Abbreviations ..................................................................................................... 215
t i
16.3. Factory Default Settings Restorable with AT&F .................................................................. 216
u
16.4. AT Command Settings Storable with AT&W ........................................................................ 218
n
16.5. AT Command Settings Storable with ATZ ........................................................................... 221
Q ide
16.6. Summary of URC ................................................................................................................ 223
16.7. Summary of CME ERROR Codes ...................................................................................... 225
16.8. Summary of CMS ERROR Codes ...................................................................................... 229
16.9. Summary of Cause for Extended Error Report ................................................................... 231
f
16.9.1. Location ID for the Extended Error Report ............................................................... 231
16.9.2. Cause for Protocol Stack (PS) Layer ........................................................................ 231
n
16.9.3. Internal cause for MM layer....................................................................................... 243
o
16.9.4. Cause for PPP/IP-Stack ............................................................................................ 244
C
M95_AT_Commands_Manual Confidential / Released 9 / 245
GSM/GPRS Module Series
M95 AT Commands Manual
Table Index
l
TABLE 10: DIFFERENT CODING SCHEMES OF +CME ERROR : <ERR> .................................................. 225
e
TABLE 11: DIFFERENT CODING SCHEMES OF +CMS ERROR: <ERR> ................................................... 229
t
TABLE 12: LOCATION ID FOR THE EXTENDED ERROR REPORT ............................................................ 231
l
TABLE 13: CAUSE FOR PROTOCOL STACK (PS) LAYER ........................................................................... 231
c
TABLE 14: INTERNAL CAUSE FOR MM LAYER ........................................................................................... 243
e ia
TABLE 15: CAUSE FOR PPP/IP-STACK ........................................................................................................ 244
u n t
Q ide
n f
Co
1 Introduction
l
This document presents the AT Commands Set for Quectel cellular engine M95.
c t e l
e ia
The “AT” or “at” prefix must be set at the beginning of each command line. To terminate a command line
u t
enter <CR>. Commands are usually followed by a response that includes
n
“<CR><LF><response><CR><LF>”. Throughout this document, only the responses are presented,
“<CR><LF>” are omitted intentionally.
Q ide
The AT Commands Set implemented by M95 is a combination of GSM07.05, GSM07.07 and ITU-T
recommendation V.25ter and the AT Commands developed by Quectel.
f
All these AT Commands can be split into three categories syntactically: “basic”, “S parameter”, and
n
“extended”. They are listed as follows:
o
Basic syntax
These AT Commands have the format of “AT<x><n>”, or “AT&<x><n>”, where “<x>” is the command,
C
and “<n>” is/are the argument(s) for that command. An example of this is “ATE<n>”, which tells the DCE
whether received characters should be echoed back to the DTE according to the value of “<n>”. “<n>” is
optional and a default will be used if it is missing.
S parameter syntax
These AT Commands have the format of “ATS<n>=<m>”, where “<n>” is the index of the S register to set,
and “<m>” is the value to assign to it. “<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:
Write Command AT+<x>=<…> This command sets the user-definable parameter values.
l
1.2.1. Combining AT Commands on the Same Command Line
e
You can enter several AT Commands on the same line. In this case, you do not need to type the “AT” or
t
“at” prefix before every command. Instead, you only need to type “AT” or “at” at the beginning of the
c l
command line. Please note that use a semicolon as command delimiter.
e ia
The command line buffer can accept a maximum of 256 characters. If the input characters exceeded the
t
maximum, then no command will be executed and TA will return “ERROR”.
u
Q ide n
1.2.2. Entering Successive AT Commands on Separate Lines
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
f
you enter the next AT command.
o n
1.3. Supported Character Sets
C
M95 AT Command interface defaults to the GSM character set. M95 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
SIM Application Toolkit alpha strings.
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. M95 supports both two kinds of flow control.
l
The default flow control approach of M95 is closed.
c t e l
1.4.1. Software Flow Control (XON/XOFF Flow Control)
e ia
Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal
t
17) data flow. It is quite useful in some applications that only use three wires on the serial interface.
u
Q ide n
The default flow control approach of M95 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>
f
This setting is stored volatile, for use after restart, AT+IFC=1, 1<CR> should be stored to the user profile
n
with AT&W<CR>.
o
Ensure that any communication software package (e.g. ProComm Plus, Hyper Terminal or WinFax Pro)
uses software flow control.
NOTE
C
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.
The default flow control approach of M95 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
l
completed. When the receiving buffer is ok to receive more data, CTS goes active once again.
t e
To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform.
e c
1.5. Unsolicited Result Code
ia l
u n t
A URC is a report message sent from the ME to the TE. An unsolicited result code can either be delivered
Q ide
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”.
n f
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.
o
When sending a URC, the ME activates its Ring Interrupt (Logic “l”), i.e. the line goes active low for a few
C
milliseconds. If an event which delivers a URC coincides with the execution of an AT command, the URC
will be output after command execution has completed.
2 General Commands
l
ATI Display Product Identification Information
Execution Command Response
e
ATI TA issues product information text.
c t l
Quectel_Ltd
a
Quectel_M95
e i
Revision: M95FARxxAxx
u n t
OK
Maximum Response Time 300ms
Q ide
Reference
V.25ter
f
Example
n
ATI
o
Quectel_Ltd
Quectel_M95
C
Revision: M95FAR01A01
OK
Quectel_Ltd
Quectel_M95
Revision: MTK 0828
OK
Maximum Response Time 300ms
Reference
V.25ter
l
2.3. AT+GMM Request TA Model Identification
t e
AT+GMM Request TA Model Identification
l
Test Command Response
c
AT+GMM=? OK
e a
Execution Command Response
t i
AT+GMM TA returns a product model identification text.
u
Quectel_M95
Q ide n
OK
Maximum Response Time 300ms
Reference
f
V.25ter
o n
2.4. AT+GMR Request TA Revision Identification of Software Release
C
AT+GMR Request TA Revision Identification of Software Release
Test Command Response
AT+GMR=? OK
Execution Command Response
AT+GMR 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
Parameter
Example
AT+GMR
Revision: M95FAR01A01
OK
2.5. AT+GOI
el
Request Global Object Identification
t
c l
AT+GOI Request Global Object Identification
e a
Test Command Response
t i
AT+GOI=? OK
u
Execution Command Response
n
AT+GOI TA reports one or more lines of information text which permit
Q ide
the user to identify the device, based on the ISO system for
registering unique object identifiers.
<Object Id>
f
OK
n
Maximum Response Time 300ms
o
Reference
V.25ter
C
Parameter
NOTE
See X.208, 209 for the format of <Object Id>. For example, in M95 wireless module, string “M95” is
displayed.
l
OK
e
Maximum Response Time 300ms
t
Reference
c l
GSM 07.07
2.7. AT+CGMM
u e t ia
Request Model Identification
AT+CGMM
Test Command
AT+CGMM=?
Q ide n
Request Model Identification
Response
OK
f
Execution Command Response
n
AT+CGMM TA returns product model identification text.
<model>
o
OK
C
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
OK
l
Maximum Response Time 300ms
Reference
e
GSM 07.07
Parameter
c t a l
e t i
Product software version identification text
u
<revision>
2.9. AT+GSN
Q ide n
Request International Mobile Equipment Identity (IMEI)
f
AT+GSN Request International Mobile Equipment Identity (IMEI)
n
Test Command Response
AT+GSN=? OK
o
Execution Command Response
AT+GSN TA reports the IMEI (International Mobile Equipment Identity)
C
number in information text which permit the user to identify
the individual ME device.
<sn>
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTE
with +GSN)
l
Test Command Response
e
AT+CGSN=? OK
t
Execution Command Response
c l
AT+CGSN <sn>
e ia
OK
u t
Maximum Response Time 300ms
n
Reference
Q ide
GSM 07.07
NOTE
f
See +GSN.
o n
C
2.11. AT+QGSN Request Product Serial Number Identification (IMEI)
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
NOTE
Example
l
AT+QGSN //Query the IMEI
+QGSN: "359231033484583"
t e
OK
e c ia l
t
2.12. AT&F Set all Current Parameters to Manufacturer Defaults
AT&F
Execution Command
AT&F[<value>]
u n
Set all Current Parameters to Manufacturer Defaults
Q ide
Response
TA sets all current parameters to the manufacturer defined
profile.
f
OK
n
Maximum Response Time 300ms
Reference
o
V.25ter
C
Parameter
Parameter
el
Table 2: AT&V Display Current Configuration List
t l
AT&V or AT&V0
c
AT&V
e ia
ACTIVE PROFILE
t
E: 1
u
Q: 0
n
V: 1
Q ide
X: 4
S0: 0
S2: 43
S3: 13
f
S4: 10
n
S5: 8
S6: 2
o
S7: 60
S8: 2
C
S10: 15
+CR: 0
+FCLASS: 0
+CMGF: 0
+CSDH: 0
+ILRR: 0
+CMEE: 1
+CBST: 7,0,1
+IFC: 0,0
+ICF: 3,3
+CNMI: 2,1,0,0,0
+CSCS: "GSM"
+IPR: 0
&C: 1
&D: 0
+CSTA: 129
+CRLP: 61,61,128,6,0,3
+CCWE: 0
+QSIMSTAT: 0
+CMUX: -1
+CCUG: 0,10,0
+CLIP: 0
+COLP: 0
+CCWA: 0
+CAOC: 1
+CLIR: 0
l
+CUSD: 0
e
+CREG: 0
t
+QSIMDET: 0,0,0
l
+QMIC: 4,9,8
c
+QECHO(NORMAL_AUDIO): 253,96,16388,57351,0
e a
+QECHO(Earphone_AUDIO): 253,0,10756,57351,1
t i
+QECHO(LoudSpk_AUDIO): 224,96,5256,57351,2
u
+QSIDET(NORMAL_AUDIO): 80
n
+QSIDET(HEADSET_AUDIO): 144
Q ide
+QCLIP: 0
+QCOLP: 0
+CSNS: 0
OK
n f
o
2.14. AT&W Store Current Parameter to User Defined Profile
C
AT&W Store Current Parameter to User Defined Profile
Execution Command Response
AT&W[<n>] TA stores the current parameter setting in the user defined
profile.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTE
l
ATQ<n> This parameter setting determines whether or not the TA
transmits any result code to the TE. Information text
e
transmitted in response is not affected by this setting.
t
If <n>=0:
c l
OK
If <n>=1:
e ia
(none)
u t
Maximum Response Time 300ms
n
Reference
Q ide
V.25ter
Parameter
f
<n> 0 TA transmits result code
n
1 Result codes are suppressed and not transmitted
2.16. ATV
ATV
Co
TA Response Format
TA Response Format
Execution Command
ATV[<value>]
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
Maximum Response Time 300ms
Reference
V.25ter
Parameter
l
NOTE
The result codes, their numeric equivalents and brief descriptions of the use of each are listed in the
t e
following table.
Example
e c ia l
t
ATV1 //Set <value>=1
u
OK
n
AT+CSQ
Q ide
+CSQ: 30,0
f
0
n
AT+CSQ
+CSQ: 30,0
o
0 //When <value>=0 result code is 0
C
Table 3: ATV0&ATV1 Result Codes Numeric Equivalents and Brief Descriptions
"@" (Wait for Quiet Answer) dial modifier was used, but
remote ringing followed by five seconds of silence was
NO ANSWER 8
not detected before expiration of the connection timer
(S7)
l
Same as CONNECT, but includes manufacturer-
CONNECT <text> Manufacturer-specific specific text that may specify DTE speed, line speed,
e
error control, data compression, or other status
c t a l
e i
2.17. ATX Set CONNECT Result Code Format and Monitor Call Progress
u n t
ATX Set CONNECT Result Code Format and Monitor Call Progress
Execution Command Response
Q ide
ATX[<value>] This parameter setting determines whether or not the TA
detected the presence of dial tone and busy signal and
whether or not TA transmits particular result codes.
f
OK
n
Maximum Response Time 300ms
Reference
o
V.25ter
C
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
4 CONNECT<text> result code returned, dial tone and busy detection are both
enabled
NOTES
l
ATZ[<value>] TA sets all current parameters to the user defined profile.
e
OK
t
Maximum Response Time 300ms
c l
Reference
a
V.25ter
Parameter
u e n t i
Q ide
<value> 0 Reset to profile number 0
f
NOTES
n
1. Profile defined by user is stored in non-volatile memory.
2. If the user profile is invalid, it will default to the factory default profile.
o
3. Any additional commands on the same command line are ignored.
2.19. AT+CFUN
Test Command
AT+CFUN=?
C Set Phone Functionality
OK
Read Command Response
AT+CFUN? +CFUN: <fun>
OK
Parameter
l
<fun> 0 Minimum functionality
e
1 Full functionality (Default)
t
4 Disable phone both transmit and receive RF circuits
c l
<rst> 0 Do not reset the ME before setting it to <fun> power level
This is default when <rst> is not given
e ia
1 Reset the ME before setting it to <fun> power level
Example
u n t
Q ide
AT+CFUN=0 //Switch phone to minimum functionality
+CPIN: NOT READY
f
OK
AT+COPS?
n
+COPS: 0 //No operator is registered
o
OK
AT+CPIN?
C
+CME ERROR: 13 //SIM failure
AT+CFUN=1 //Switch phone to full functionality
OK
OK
Call Ready
AT+CPIN?
+CPIN: READY
OK
AT+COPS?
+COPS: 0,0,"CHINA MOBILE" //Operator is registered
OK
l
AT+QPOWD=<n> When <n>=0
e
OK
t
When <n>=1
c l
NORMAL POWER DOWN
a
Maximum Response Time 300ms
e i
Reference
u n t
Q ide
Parameter
<n> 0 Urgent power off ( Do not send out URC "NORMAL POWER DOWN")
1 Normal power off (Send out URC "NORMAL POWER DOWN")
Example
n f
o
AT+QPOWD=0
OK //Urgent power off, returned OK
C
AT+QPOWD=1
NORMAL POWER DOWN //Normal power off, send out URC “NORMAL
POWER DOWN”
OK
OK
Write Command Response
AT+CMEE=[<n>] TA disables or enables the use of result code +CME ERROR:
<err> as an indication of an error related to the functionality of
the ME.
OK
Reference
l
GSM 07.07
t e
Parameter
c a l
<n> 0 Disable result code
e i
1 Enable result code and use numeric values
t
2 Enable result code and use verbose values
Example
AT+CMEE=0
OK u
Q ide n //Disable result code
f
AT+CPIN=1234
ERROR //Only “ERROR” will be displayed
n
AT+CMEE=1 //Enable error result code with numeric values
OK
o
AT+CPIN=1234
+CME ERROR: 10
C
AT+CMEE=2 //Enable error result code with verbose (string)
values
OK
AT+CPIN=1234
+CME ERROR: SIM not inserted
OK
Read Command Response
AT+CSCS? +CSCS: <chset>
OK
Write Command Response
AT+CSCS=<chset> Set character set <chset> which is used by the TE. The TA
can then convert character strings correctly between the TE
and ME character sets.
OK
l
Maximum Response Time 300ms
Reference
e
GSM 07.07
Parameter
c t a l
e t i
<chset> "GSM" GSM default alphabet
u
"HEX" Character strings consist only of hexadecimal numbers from 00 to FF
n
"IRA" International reference alphabet
Q ide
"PCCP437" PC character set Code
"UCS2" UCS2 alphabet
"8859-1" ISO 8859 Latin 1 character set
f
Example
n
AT+CSCS? //Query the current character set
o
+CSCS: "GSM"
C
OK
AT+CSCS="UCS2" //Set the character set to “UCS2”
OK
AT+CSCS?
+CSCS: "UCS2"
OK
OK
l
Maximum Response Time 300ms
Reference
e
V.25ter
Parameter
c t a l
e t i
<name> +CGSM GSM function is supported
u
+FCLASS FAX function is supported
Q ide n
n f
Co
l
AT&C Set DCD Function Mode
Execution Command Response
e
AT&C[<value>] This parameter determines how the state of circuit 109 (DCD)
t
relates to the detection of received line signal from the distant
c l
end.
a
OK
e i
Maximum Response Time 300ms
u t
Reference
n
V.25ter
Parameter
Q ide
f
<value> 0 DCD line is always ON
1 DCD line is ON only in the presence of data carrier
3.2. AT&D
o n
Set DTR Function Mode
AT&D
AT&D[<value>]
C
Set DTR Function Mode
Execution Command 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
Maximum Response Time 300ms
Reference
V.25ter
Parameter
l
Test Command Response
e
AT+ICF=? +ICF: (list of supported <format>s), (list of supported
t
<parity>s)
c a l
OK
e i
Read Command Response
t
AT+ICF? +ICF: <format>,<parity>
Write Command
u
Q ide
AT+ICF=[<format>,[<parity>]]
n
OK
Response
This parameter setting determines the serial interface
character framing format and parity received by TA from TE.
f
OK
Maximum Response Time 300ms
n
Reference
o
V.25ter
C
Parameter
NOTES
l
AT+IFC=? +IFC: (list of supported <dce_by_dte>s), (list of supported
e
<dte_by_dce>s)
t l
OK
c
Read Command Response
e ia
AT+IFC? +IFC: <dce_by_dte>,<dte_by_dce>
u t
OK
n
Write Command Response
Q ide
AT+IFC=<dce_by_dte>,<dte_by_dce> This parameter setting determines the data flow control on
the serial interface for data mode.
OK
f
Maximum Response Time 300ms
Reference
n
V.25ter
o
Parameter
C
<dce_by_dte> Specifies the method will be used by TE when receiving data from TA
0 None
1 XON/XOFF, do not pass characters on to data stack
2 RTS flow control
3 XON/XOFF, pass characters on to data stack
<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
NOTE
Example
AT+IFC=2,2 //Open the hardware flow control
OK
AT+IFC?
+IFC: 2,2
l
OK
3.5. AT+ILRR
c t e l
Set TE-TA Local Data Rate Reporting Mode
e t ia
AT+ILRR Set TE-TA Local Data Rate Reporting Mode
u
Test Command Response
n
AT+ILRR=? +ILRR: (list of supported <value>s)
Q ide
OK
Read Command Response
f
AT+ILRR? +ILRR: <value>
n
OK
Write Command Response
o
AT+ILRR=[<value>] This parameter setting determines whether or not an
intermediate result code of local rate is reported when the
C
connection is established. The rate is applied after the final
result code of the connection is transmitted to TE.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
NOTE
If the <value> is set to 1, the following intermediate result will come out on connection to indicate the port
rate settings.
+ILRR:<rate>
<rate> Port rate setting on call connection in Baud per second
300
1200
2400
4800
9600
14400
l
19200
e
28800
t
38400
l
57600
c
115200
u e t ia
n
3.6. AT+IPR Set TE-TA Fixed Local Rate
Q ide
AT+IPR Set TE-TA Fixed Local Rate
Test Command Response
f
AT+IPR=? +IPR: (list of supported auto detectable <rate>s),(list of
supported fixed-only<rate>s)
o n
OK
Read Command Response
C
AT+IPR? +IPR: <rate>
OK
Write Command Response
AT+ IPR=<rate> This parameter setting determines the data rate of the TA on
the serial interface. After the delivery of any result code
associated with the current command line, the rate of
command takes effect.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
l
14400
e
19200
t
28800
l
38400
c
57600
e a
115200
NOTES
u n t i
Q ide
1. The default configuration of AT+IPR is adaptive baud enabled (AT+IPR=0).
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.
f
3. The value of AT+IPR cannot be restored with AT&F and ATZ, but it is still storable with AT&W and
n
visible in AT&V.
4. In multiplex mode, the baud rate cannot be changed by the write command AT+IPR=<rate>, and the
o
setting is invalid and not stored even if AT&W is executed after the write command.
5. A selected baud rate takes effect after the write commands are executed and acknowledged by “OK”.
Example
AT+IPR=115200
OK
AT&W
C //Set fixed baud rate to 115200
OK
To take advantage of adaptive baud mode, specific attention must be paid to the following requirements:
el
2. Restriction on adaptive baud operation.
t
The serial interface shall be used with 8 data bits, no parity and 1 stop bit (factory setting).
l
The command “A/” can’t be used.
c
Only the string “AT” or “at” can be detected (either “AT” or “at”).
e a
URCs that may be issued before the TA detects a new baud rate by receiving the first AT
t i
character, and they will be sent at the previously detected baud rate.
u
If TE’s baud rate is changed after TA has recognized the earlier baud rate, loss of
n
synchronization between TE and TA would be encountered and an “AT” or “at” string must be
Q ide
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.
n f
3. Adaptive baud and baud rate after restarting.
In the adaptive baud mode, the detected baud rate is not saved. Therefore, resynchronization is
o
required after restarting the module.
Unless the baud rate is determined, an incoming CSD call can’t be accepted. This must be taken
C
into account when adaptive baud and auto-answer mode (ATS0≠0) are enabled at the same
time, especially if SIM PIN 1 authentication is done automatically and the setting ATS0≠0 is
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.
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
el
Multiplexer Control
t
c l
AT+CMUX Multiplexer Control
a
Test Command Response
e i
AT+CMUX=? +CMUX: (list of supported <mode>s), (<subset>s),
u t
(<port_speed>s),(<N1>s),(<T1>s),(<N2>s),(<T2>s),(<T3>s),
n
(<k>s)
Q ide
OK
Read Command Response
AT+CMUX? +CMUX:<mode>,0,5,127,10,3,30,10,2
f
OK
n
ERROR
o
Write Command Response
AT+CMUX=[<mode>[,<subset>[,<port +CME ERROR: <err>
C
_speed>[,<N1>[,<T1>[,<N2>[,<T2>[,<T
3>[,<k>]]]]]]]]]
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
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
l
2
NOTES
1.
c t e l
Advanced option with Error Recovery options is not supported.
e ia
2. The multiplexing transmission rate is fixed according to the current serial baud rate. It is
t
recommended to enable multiplexing protocol under 115200 bit/s baudrate.
u
3. Multiplexer control channels are listed as follows:
n
Channel Number Type DLCI
Q ide
None Multiplexer Control 0
1 07.07 and 07.05 1
2 07.07 and 07.05 2
3 07.07 and 07.05 3
f
4 07.07 and 07.05 4
o n
C
M95_AT_Commands_Manual Confidential / Released 41 / 245
GSM/GPRS Module Series
M95 AT Commands Manual
l
AT+CEER Extended Error Report
Test Command Response
e
AT+CEER=? OK
t
Execution Command Response
c l
AT+CEER TA returns an extended report of the reason for the last call
a
release.
e i
+CEER: <locationID>,<cause>
u n t
OK
Q ide
Maximum Response Time 300ms
Reference
GSM 07.07
f
Parameter
<locationID>
C
<cause> Reason for last call release as number code. The number codes are listed in
several tables, sorted by different categories. The tables can be found 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,""
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
l
4.2. AT+CPAS Mobile Equipment Activity Status
AT+CPAS
Test Command
t e l
Mobile Equipment Activity Status
c
Response
e ia
AT+CPAS=? +CPAS: (list of supported <pas>s)
u t
OK
n
Execution Command Response
Q ide
AT+CPAS TA returns the activity status of ME.
+CPAS: <pas>
f
OK
n
If error is related to ME functionality:
+CME ERROR: <err>
o
Maximum Response Time 300ms
C
Reference
GSM 07.07
Parameter
<pas> 0 Ready
2 Unknown (ME is not guaranteed to respond to instructions)
3 Ringing
4 Call in progress or call hold
Example
AT+CPAS
+CPAS: 0 //Module is idle
OK
ATD10086;
OK
AT+CLCC
+CLCC: 1,0,3,0,0,"10086",129,""
OK
AT+CPAS
+CPAS: 3 //Module is incoming call (ringing)
OK
l
AT+CLCC
e
+CLCC: 1,0,0,0,0,"10086",129,""
t l
OK
c
AT+CPAS
e a
+CPAS: 4 //Call in progress
OK
u n t i
4.3. AT+QINDRI
f
AT+QINDRI Indicate RI When Using URC
n
Test Command Response
AT+QINDRI=? +QINDRI: (list of supported <status>s)
o
OK
C
Read Command Response
AT+QINDRI? +QINDRI: <status>
OK
Write Command Response
AT+QINDRI=<status> OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
<status> 0 Off
1 On
l
AT+QMOSTAT=? +QMOSTAT: (list of supported <mode>s)
e
OK
t
Read Command Response
c l
AT+QMOSTAT? +QMOSTAT: <mode>
e ia
OK
t
Write Command Response
u n
AT+QMOSTAT=<mode> OK
ERROR
Q ide
Maximum Response Time 300ms
Reference
Parameter
n f
o
<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
C
strings of MO RING will be sent if the other call side is alerted and the URC strings
of MO CONNECTED will be sent if the call is established
Example
AT+QMOSTAT=1 //Show call state of mobile originated call
OK
ATD10086;
OK
OK
Read Command Response
AT+QIURC? +QIURC: <mode>
OK
l
Write Command Response
e
AT+QIURC=<mode> OK
t
ERROR
c l
Maximum Response Time 300ms
e a
Reference
Parameter
u n t i
Q ide
<mode> 0 Disable URC presentation
1 Enable URC presentation
f
NOTE
n
When the module powers on and initialization procedure is over. URC "Call Ready" will be presented if
o
<mode> is 1.
Indications C
4.6. AT+QEXTUNSOL Enable/Disable Proprietary Unsolicited
OK
Write Command Response
AT+QEXTUNSOL=<exunsol>,<mode> OK
ERROR
Reference
Parameter
l
"FN" Forbidden network available only. When returning to a non-registered state, this
indicates whether all the available PLMNs are forbidden.
e
"MW" SMS Message waiting. On receiving an SMS (as indicated by the +CMTI
t
indication) the SMS is decoded and checked to see if it contains one or more of
c l
the message waiting indications (i.e. voicemail, email, fax etc). If so, an unsolicited
a
indication is shown in the form for each message type:
e i
+QMWT: <store>,<index>,<voice>,<fax>,<email>,<other>. Where <store>
u t
is the message store containing the SM, index is the message index and <voice>,
n
<email>, <fax>, <other> contain the number of waiting messages (with ‘0’
defined as clear indication, non-zero for one or more waiting messages) or blank
Q ide
for not specified in this message.
"UR" Unsolicited result code. Produces an unsolicited indication in the following call
state transition. Multiple notifications may occur for the same transition +QGURC:
f
<event>. Where <event> describes the current call state:
<event>:
n
0 Terminated active call, at least one held call remaining
1 Attempt to make an Mobile Originated call
o
2 Mobile Originated Call has failed for some reason
3 Mobile Originated call is ringing
C
4 Mobile Terminated call is queued (Call waiting)
5 Mobile Originated Call now has been connected
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
l
4.7. AT+QINISTAT Query State of Initialization
t e
AT+QINISTAT Query State of Initialization
c l
Test Command Response
a
AT+QINISTAT=? OK
e i
Execution Command Response
u t
AT+QINISTAT +QINISTAT: <state>
n
OK
Q ide
Maximum Response Time 300ms
Reference
n f
Parameter
o
<state> 0 No initialization
1 Ready to execute AT command
C
2 Phonebook has finished initialization
3 SMS has finished initialization
NOTE
When <state> is 3, it also means initialization of SIM card related functions has finished.
OK
l
+CME ERROR: <err>
e
Maximum Response Time 300ms
c t l
Reference
Parameter
u e t ia
n
<status> 255 Not ready to retrieve network status
Q ide
0 Work in normal state
1 No available cell
2 Only limited service is available
4.9. AT+QNITZ
o
AT+QNITZ Network Time Synchronization
C
Test Command Response
AT+QNITZ=? +QNITZ: (list of supported <enable>s)
OK
Read Command Response
AT+QNITZ? +QNITZ: <enable>
OK
Write Command Response
AT+QNITZ=<enable> OK
Reference
Parameter
l
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;
e
range: -47...+48). E.g. 6th of May 2004, 22:10:00 GMT+2 hours
t
<ds> Daylight Saving Time. It is zero equal to "04/05/06,22:10:00+08,0"
NOTE
e c ia l
u t
This function needs support of local GSM network. And the unsolicited also can be read by AT+QLTS
n
command later.
4.10. AT+QLTS
Q ide Obtain Latest Network Time Synchronized
AT+QLTS
n f
Obtain Latest Network Time Synchronized
o
Test Command Response
AT+QLTS=? OK
Execution Command Response
C
AT+QLTS +QLTS: <time>,<ds>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
Parameter
l
Time
t e
AT+CTZU Network Time Synchronization and Update the RTC Time
c l
Test Command Response
+CTZU: (list of supported <mode>s)
a
AT+CTZU=?
u e t i
OK
n
Read Command Response
AT+CTZU? +CTZU: <mode>
Write Command
Q ide OK
Response
f
AT+CTZU=<mode> OK
n
If error is related to ME functionality:
o
+CME ERROR: <err>
Maximum Response Time 300ms
C
Reference
Parameter
NOTE
This function needs support of local GSM network. After setting the AT+CTZU, the value will be
automatically saved into flash. After the module is restarted, it can also take effect.
l
Test Command Response
+CTZR: (list of supported <mode>s)
e
AT+CTZR=?
t l
OK
c
Read Command Response
e ia
AT+CTZR? +CTZR: <mode>
u t
OK
n
Write Command Response
Q ide
AT+CTZR=<mode> OK
f
+CME ERROR: <err>
Maximum Response Time 300ms
o n
Reference
C
Parameter
NOTE
This function needs support of local GSM network. After setting the AT+CTZU, the value will be
automatically saved into flash. After the module is restarted, it can take effect.
l
AT+CIMI Request International Mobile Subscriber Identity (IMSI)
Test Command Response
e
AT+CIMI=? OK
t
Execution Command Response
c l
AT+CIMI TA returns <IMSI>for identifying the individual SIM which is
a
attached to ME.
e i
<IMSI>
u n t OK
Q ide
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
f
Reference
n
GSM 07.07
o
Parameter
C
<IMSI> International Mobile Subscriber Identity (string without double quotes)
Example
AT+CIMI
460023210226023 //Query IMSI number of SIM which is attached to ME
OK
OK
Write Command Response
AT+CLCK=<fac>,<mode>,<passwd>[, This command is used to lock, unlock or interrogate a ME or a
<class>] network facility <fac>. Password is normally needed to do
such actions. When querying the status of a network service
l
(<mode>=2) the response line for ‘not active’ case
e
(<status>=0) should be returned only if service is not active
t
for any <class>.
c l
If <mode><>2 and command is successful:
e ia
OK
t
If <mode>=2 and command is successful:
u
+CLCK: <status>[,<class1>[<CR><LF>
n
+CLCK: <status>, class2....]]
Q ide
OK
Maximum Response Time 5s
f
Reference
GSM 07.07
Parameter
o n
C
<fac> "PS" PH-SIM (lock Phone to SIM card) (ME asks password when other than current
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" 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 out Going barring services (refer to GSM02.30[19])(applicable only for
<mode>=0)
"AC" All in Coming barring services (refer to GSM02.30[19])(applicable only for
<mode>=0)
"FD" 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
l
2 Query status
e
<passwd> Password
t
<class> 1 Voice
l
2 Data
c
4 FAX
e a
7 All telephony except SMS (Default)
t i
8 Short message service
u
16 Data circuit sync
n
32 Data circuit async
Q ide
<status> 0 Off
1 On
f
Example
n
AT+CLCK="SC", 2
+CLCK: 0 //Query the status of SIM card lock, 0-unlock
o
OK
C
AT+CLCK="SC",1,"1234" //Lock SIM card, the password is 1234
OK
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
OK
l
Write Command Response
e
AT+CPIN=<pin>[, <new pin>] TA stores a password which is necessary before it can be
t
operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.). If the PIN is
l
to be entered twice, the TA shall automatically repeat the PIN.
c
If no PIN request is pending, no action is taken and an error
e ia
message, +CME ERROR, is returned to TE.
u t
If the PIN required is SIM PUK or SIM PUK2, the second pin
n
is required. This second pin, <new pin>, is used to replace
Q ide
the old pin in the SIM
OK
f
Maximum Response Time 5s
Reference
n
GSM 07.07
o
Parameter
C
<code> READY No further entry needed
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
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
l
OK
e
AT+CPIN?
t
+CPIN: SIM PUK //Query PUK code is locked
c a l
OK
e i
AT+CPIN="26601934","1234" //Enter PUK and new PIN password
t
+CPIN: READY
OK
AT+CPIN?
+CPIN: READY
u
Q ide n //PUK has already been entered
f
OK
5.4. AT+CPWD
o n
Change Password
C
AT+CPWD Change Password
Test Command Response
AT+CPWD=? 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
Write Command Response
AT+CPWD=<fac>,<oldpwd>,<newpwd TA sets a new password for the facility lock function.
>
OK
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)
l
"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
e
GSM02.88[6] clause 1)
t
"AI" BAIC (Barr All Incoming Calls) (refer to GSM02.88[6] clause 2)
c l
"IR" BIC-Roam (Barr Incoming Calls when Roaming outside the home country) (refer
a
to GSM02.88 [6] clause 2)
e i
"AB" All Barring services (refer to GSM02.30[19]) (applicable only for <mode>=0)
u t
"AG" All outgoing barring services (refer to GSM02.30[19]) (applicable only for
n
<mode>=0
"AC" All incoming barring services (refer to GSM02.30[19]) (applicable only for
Q ide
<mode>=0)
"FD" SIM fixed dialing memory feature
"P2" SIM PIN2
f
<pwdlength>Integer. Max. length of password
<oldpwd> Password specified for the facility from the user interface or with command
n
<newpwd> New password
o
Example
C
AT+CPIN?
+CPIN: READY
OK
AT+CPWD="SC","1234","4321" //Change SIM card password to “4321”
OK
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
OK
l
1>,<P2>,<P3>[,<data>]]]
OK
e
ERROR
t
+CME ERROR: <err>
c l
Maximum Response Time 300ms
a
Reference
e t i
GSM 07.07
Parameter
<Command> 176
178 u
Q ide n
READ BINARY
READ RECORD
f
192 GET RESPONSE
214 UPDATE BINARY
n
220 UPDATE RECORD
242 STATUS
o
All other values are reserved; refer to GSM 11.11
<fileId> Integer type; this is the identifier for an elementary data file on SIM. Mandatory for
C
every Command except STATUS
<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
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
l
AT+QCSPWD Change PS Super Password
e
Test Command Response
t l
AT+QCSPWD=? OK
c
Write Command Response
e a
AT+QCSPWD=<oldpwd>,<newpwd> OK
t i
ERROR
u
Maximum Response Time 300ms
n
Reference
Parameter
Q ide
f
<oldpwd> String type. Old password and length should be 8
n
<newpwd> String type. New password and length should be 8
o
NOTES
C
1. Default value of <oldpwd> is "12345678".
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.
OK
Maximum Response Time 300ms
Reference
Example
AT+QCCID //Query ICCID of the SIM card
898600220909A0206023
OK
t el
l
5.8. AT+QGID Get SIM Card Group Identifier
e c ia
AT+QGID Get SIM Card Group Identifier
Execution Command
t
Response
u n
AT+QGID +QGID: <gid1> <gid2>
Q ide
OK
ERROR
Maximum Response Time 300ms
f
Reference
Parameter
o n
C
<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.
OK
Read Command Response
AT+QSIMVOL? +QSIMVOL: <mode>
OK
l
Write Command Response
e
AT+QSIMVOL=<mode> OK
t
ERROR
l
+CME ERROR: <err>
c
Maximum Response Time 300ms
e t ia
Reference
Parameter
<mode>
u
Q ide
0
1
n
Recognize 1.8V and 3.0V SIM card (Default)
Recognize 1.8V SIM card only
f
2 Recognize 3.0V SIM card only
o n
NOTE
AT+QSIMVOL can take effect only when the command is set successfully and the module is restarted.
5.10. AT+QSPN
C Get Service Provider Name from SIM
OK
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Parameter
NOTE
l
CME errors are possible if SIM is not inserted or PIN is not entered.
5.11. AT+QTRPIN
c t e l
Times Remain to Input SIM PIN/PUK
AT+QTRPIN
Execution Command
e t ia
Times Remain to Input SIM PIN/PUK
u
Response
n
AT+QTRPIN Times remain to input SIM PIN.
Q ide
+QTRPIN: <chv1>,<chv2>,<puk1>,<puk2>
OK
f
Maximum Response Time 300ms
n
Reference
o
Parameter
C
<chv1> Times remain to input chv1
<chv2> Times remain to input chv2
<puk1> Times remain to input puk1
<puk2> Times remain to input puk2
OK
Read Command Response
l
AT+QDSIM? +QDSIM: <simslot>,<dcddis>
t e
OK
l
Write Command Response
c
AT+QDSIM=<simslot>[,<dcddis>] OK
e ia
+CME ERROR: <err>
t
Reference
Parameter
<simslot> u
Q ide n
SIM card slot
f
0 Select SIM card in slot 1, which is default value
1 Select SIM card in slot 2
n
<dcddis> DCD function disable
0 DCD function enable, which is default value
o
1 DCD function disable
C
NOTE
Example 1
//The module factory default of SIM2_RST pin is the DCD function, the default is GPIO high level, VSIM2
output is 2.8V.
OK
AT+QDSIM=0,1 //Configuration SIM1,and Disable the DCD function, VSIM2 output voltage Close.
OK
Example 2
AT+QDSIM? //Query current SIM card slot.
+QDSIM: 0,1 //The current SIM card is SIM1 and DCD function was disabled.
l
+CPIN: NOT READY
e
OK
t
AT+QDSIM=1,1 //Switch to SIM card in SIM slot 2 and disable DCD function.
c l
OK
a
AT+CFUN=1 //Set phone to Full functionality.
e i
OK
u n t
+CPIN: READY
Q ide
Call Ready //SIM card switch successfully.
Example 3
f
//The module factory default of SIM2_RSTpin is the DCD function,the default is GPIO high level,VSIM2
n
output is 2.8V.
o
AT+QDSIM? //Query current SIM card slot.
+QDSIM: 0,1 //The current SIM card is SIM1 and the DCD function was disabled.
C
OK
AT+QDSIM=1,1 //Switch to SIM card in SIM slot 2 and disable DCD function.
OK
//Restart the module and switch to SIM2 in slot 2.
l
AT+COPS Operator Selection
Test Command Response
e
AT+COPS=? TA returns a list of quadruplets, each representing an
t
operator present in the network. Any of the formats may be
c l
unavailable and should then be an empty field. The list of
a
operators shall be in order: home network, networks
e i
referenced in SIM and other networks.
u t
+COPS: (list of supported<stat>, long alphanumeric <oper>,
n
short alphanumeric <oper>, numeric <oper>s)[,,(list of
Q ide
supported <mode>s),(list of supported <format>s)]
OK
f
If error is related to ME functionality:
n
+CME ERROR: <err>
Read Command Response
o
AT+COPS? TA returns the current mode and the currently selected
operator. If no operator is selected, <format> and <oper> are
C
omitted.
+COPS: <mode>[,<format>[,<oper>]]
OK
OK
Parameter
l
<stat> 0 Unknown
e
1 Operator available
t
2 Operator current
l
3 Operator forbidden
c
<oper> Operator in format as per <mode>
e ia
<mode> 0 Automatic mode; <oper> field is ignored
t
1 Manual operator selection; <oper> field shall be present
u
2 Manual deregister from network
n
3 Set only <format> (for read Command +COPS?) – not shown in Read Command
Q ide
response
4 Manual/automatic selected; if manual selection fails, automatic mode
(<mode>=0) is entered
<format> 0 Long format alphanumeric <oper>; can be up to 16 characters long
f
1 Short format alphanumeric <oper>
n
2 Numeric <oper>; GSM Location Area Identification number
o
Example
C
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
OK
Read Command Response
AT+CREG? TA returns the status of result code presentation and an
integer <stat> which shows whether the network has
currently indicated the registration of the ME. Location
l
information elements <lac> and <ci> are returned only when
e
<n>=2 and ME is registered in the network.
t
+CREG: <n>,<stat>[,<lac>,<ci>]
c l
OK
e t ia
If error is related to ME functionality:
u
+CME ERROR: <err>
n
Write Command Response
Q ide
AT+CREG=<n> TA controls the presentation of an unsolicited result code
+CREG: <stat> when <n>=1 and there is a change in the ME
network registration status.
OK
f
Maximum Response Time 300ms
n
Reference
o
GSM 07.07
C
Parameter
NOTE
Example
AT+CREG=1
OK
l
+CREG: 1 //URC reports that operator has been found
e
AT+CREG=2 //Activates extended URC mode
t
OK
c l
//URC reports that operator has been found with location
a
+CREG: 1,"1878","0873"
e i
area code and cell ID
u n t
Q ide
6.3. AT+CSQ Signal Quality Report
f
Test Command Response
AT+CSQ=? +CSQ: (list of supported <rssi>s),(list of supported <ber>s)
o n
OK
Execution Command Response
C
AT+CSQ +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.
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
l
Example
e
AT+CSQ=?
t
+CSQ: (0-31,99),(0-7,99)
c l
OK
e ia
AT+CSQ
t
+CSQ: 28,0 //Query the current signal strength indication is 28 and
u
the bit error rate is 0
Q ide n
OK
f
6.4. AT+CPOL Preferred Operator List
n
AT+CPOL Preferred Operator List
o
Test Command Response
AT+CPOL=? +CPOL: (list of supported <index>s),(list of supported
C
<format>s)
OK
Read Command Response
AT+CPOL? +CPOL: <index1>,<format>,<oper1>
[<CR><LF>+CPOL: <index2>,<format>,<oper2>
[…]]
OK
+CME ERROR: <err>
Write Command Response
AT+CPOL=<index>[,<format>[,<oper> OK
]]
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>
l
2 Numeric <oper>
e
<oper> String type: <format> indicates either alphanumeric or numeric format is used (see +COPS
t
command)
NOTE
e c ia l
u t
There is SIM card not allowed to edit the list of the preferred operators.
6.5. AT+COPN
Q ide n
Read Operator Names
f
AT+COPN Read Operator Names
n
Test Command Response
AT+COPN=? OK
o
Execution Command Response
AT+COPN +COPN: <numeric1>,<alpha1 >
C
[<CR><LF>+COPN: <numeric2>,<alpha2>
[…]]
OK
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
l
AT+QBAND=? +QBAND: (list of supported <op_band>s)
e
OK
t
Read Command Response
c l
AT+QBAND? +QBAND: <op_band>
e ia
OK
t
Write Command Response
u n
AT+QBAND=<op_band> OK
Q ide
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 30s, determined by network.
f
Reference
Parameter
o n
C
<op_band> "EGSM_MODE"
"DCS_MODE"
"PCS_MODE"
"GSM850_MODE"
"EGSM_DCS_MODE"
"GSM850_PCS_MODE"
"GSM850_EGSM_DCS_PCS_MODE”
NOTE
OK
Read Command Response
AT+QENG? The corresponding information is reported selectively
according to <dump>.
l
+QENG: <mode>,<dump>
t e
URCs of the serving cell information:
l
+QENG:
c
0,<mcc>,<mnc>,<lac>,<cellid>,<bcch>,<bsic>,<dbm>,<c1
e ia
>,<c2>,<txp>,<rla>,<tch>,<ts>,<maio>,<hsn><ta>,<rxq_s
t
ub>,<rxq_full>
u n
URCs of 1-6 the neighboring cell information:
Q ide
[+QENG: 1,list of
(<ncell>,<bcch>,<dbm>,<bsic>,<c1>,<c2>,<mcc>,
<mnc>,<lac>,<cellid>)…]
f
URCs of cell frequency list (CA) of the serving cell:
n
[+QENG: 2,list of (<arfcn>)…]
o
BA measured result list:
[+QENG: 4,record number of the list, list of
C
(<bcch>,<dbm>,<bsic>)]
OK
Write Command Response
AT+QENG=<mode>[,<dump>] OK
ERROR
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Parameter
l
<mcc> Mobile country code
e
<mnc> Mobile network code
t
<lac> Location area code in hex format
l
<cellid> Cell ID in hex format
c
<bcch> Absolute Radio Frequency Channel Number of Broadcast Control Channel BCCH
e a
Base station identity code
i
<bsic>
t
<dbm> Receive signal level in dBm unit
u
<c1> C1 value
n
<c2> C2 value
Q ide
<txp> Maximum TX power level when accessing on a CCH
<rla> Minimum receiving level permitted to access the system
<ts> TimeSlots
<maio> MAIO value
f
<hsn> HSN value
ARFCN of TCH, ‘h’ figure hopping
n
<tch>
<ta> Timing Advance, range 0-63
o
<rxq_sub> RX quality(sub), range 0-7
<rxq_full> RX quality(full), range 0-7
C
<ncell> Number of neighboring six cell ID 1-6
<arfcn> Absolute radio frequency channel number
NOTES
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.
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.
l
10. The “AT+QSPCH” command can be used to re-query the type of the voice channel duration calling
e
(FR, HR, EFR, AMR_FR, AMR_HR).
t
11. The BA measured list max record numbers are 32. If any of the BCCH cannot get the BSIC value, the
l
BSIC will show ‘x’ instead. The measured list is only including the measured BCCH in the BA list, not
c
the whole BA list.
Example
u e t ia
n
Idle mode:
Q ide
AT+QENG=2
OK
f
+QENG: 0,460,00,1806,2602,64,46,-72,119,119,5,8,x,x,x,x,x,x,x
n
Dedicated mode:
AT+QENG=2,3
o
OK
C
+QENG: 0,460,00,1806,2031,17,41,-73,-1,-1,5,8,h,7,0,24,1,0,1
+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
OK
Write Command Response
AT+QSCANF=<band>,<freq> If <freq>=9999 and command is successful:
+QSCANF:
l
1, CH113, -63.5
e
2, CH80, -64.2
t
4, CH22, -64.5
l
…..
c
20, CH116, -74.2
e ia
OK
u t
If <freq> is fixed frequency and command is successful:
n
+QSCANF:
Q ide
CH<freq>, <dbm>
f
Maximum Response Time 300ms
n
Reference
Parameter
<band> 0
1
2
3Co BAND 900
BAND 1800
BAND 1900
BAND 850
<freq> 9999 Scan all frequency in specified band
0-1023 Scan a fixed frequency in specified band
<dbm> The signal strength indication in dbm value for a specified frequency
NOTE
Before using this AT command, RF function of system MUST be disabled. Please make sure CFUN state
is 0 or 4. About how to change CFUN state, please refer to AT command AT+CFUN.
OK
Read Command Response
AT+QLOCKF? +QLOCKF: <status>
l
OK
e
Write Command Response
t
AT+QLOCKF=<mode>,<band1900>,< OK
l
arfcn1>[,<arfcn2>[,<arfcn3>]] ERROR
c
+CME ERROR: <err>
e ia
Maximum Response Time 300ms
u t
Reference
Parameter
<mode> 0
Q ide n
Disable lock frequency
f
1 Enable lock frequency
2 Enable lock frequency and auto switch to saved frequency after powered on
n
<band1900> 0 Not a cell ID of 1900 band
o
1 Cell ID of 1900 band
2 Auto distinguish whether is a cell ID of 1900 band
0-1024 ARFCN information
C
<arfcn>
<status> 0 ME has not locked a certain ARFCN
1 ME has locked a certain ARFCN
l
ATA Answer an Incoming Call
Execution Command Response
e
ATA TA sends off-hook to the remote station. When TA returns to
t
command mode after call release:
c l
OK
e ia
Response in case of voice call, if successfully connected:
u t
OK
n
Response if no connection:
Q ide
NO CARRIER
Maximum Response Time 1s, determined by network.
Reference
f
V.25ter
NOTES
1.
o n
Any additional commands on the same command line are ignored.
C
2. This command may be aborted generally by receiving a character during execution. The aborting is
not possible during some states of connection establishment such as handshaking.
3. See also ATX.
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
l
BUSY
t e
If a connection cannot be established:
l
NO CARRIER
e c a
When TA returns to command mode after call release:
t i
OK
u n
If connection is successful and voice call:
Q ide
OK
Maximum Response Time 1s, determined by network.
Reference
f
V.25ter
n
Parameter
o
<n> String of dialing digits and optionally V.25ter modifiers
C
Dialing digits: 0-9, * , #, +, A, B, C
Following V.25ter modifiers are ignored: ,(comma), T, P, !, W, @
Emergency call:
<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
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
l
either after dialing was completed or after the call was established. The setting is controlled by
e
AT+COLP. Factory default is AT+COLP=0, which causes the TA returns “OK” immediately after
t
dialing was completed, otherwise TA will returns “OK”, “BUSY”, “NO DIAL TONE”, “NO
l
CARRIER”.
c
7. Using ATD during an active voice call:
e ia
When a user originates a second voice call while there is already an active voice call, the first
t
call will be automatically put on hold.
u
The current states of all calls can be easily checked at any time by using the AT+CLCC
n
command.
Example
f
ATD10086;
OK
7.3. ATH
o n
Disconnect Existing Connection
C
ATH Disconnect Existing Connection
Execution Command Response
ATH[n] Disconnect existing call by local TE from command line and
terminate call.
OK
Maximum Response Time 90s, determined by network.
Reference
V.25ter
Parameter
NOTE
OK is issued after circuit 109 (DCD) is turned off, if it was previously on.
l
7.4. +++ Switch from Data Mode to Command Mode
t e
+++ Switch from Data Mode to Command Mode
l
Execution Command Response
c
+++ This command is only available during TA is in data mode,
e ia
such as, a GPRS connection and a transparent TCPIP
t
connection. The “+++” character sequence causes the TA to
u
cancel the data flow over the AT interface and switch to
n
command mode. This allows you to enter AT command while
Q ide
maintaining the data connection with the remote server or,
accordingly, the GPRS connection.
OK
f
Maximum Response Time 300ms
n
Reference
o
V.25ter
C
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.
l
Maximum Response Time 300ms
e
Reference
t
V.25ter
Parameter
e c ia l
u t
0 Switch from command mode to data mode
n
<n>
NOTE
Q ide
f
TA returns to data mode from command mode CONNECT <text>,<text> only if parameter setting is X>0.
o n
7.6. ATP Select Pulse Dialing
C
ATP Select Pulse Dialing
Execution Command Response
ATP OK
Maximum Response Time 300ms
Reference
V.25ter
NOTE
No effect in GSM.
OK
Write Command Response
ATS0=<n> This parameter setting determines the number of rings before
auto-answer.
OK
l
Maximum Response Time 300ms
e
Reference
t
V.25ter
Parameter
e c ia l
u t
<n> 0 Automatic answering is disabled
n
1-255 Enable automatic answering on the ring number specified
NOTE
Q ide
f
If <n> is set too high, the calling party may hang up before the call can be answered automatically.
Example
ATS0=3
C
OK
OK
Write Command Response
ATS6=<n> OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
l
<n> 0-2-10 Number of seconds to wait before blind dialing
NOTE
c t e l
a
No effect in GSM.
7.9. ATS7
u e n t i
Set Number of Seconds to Wait for Connection Completion
ATS7
Q ide
Set Number of Seconds to Wait for Connection Completion
Read Command Response
f
ATS7? <n>
n
OK
o
Write Command Response
ATS7=<n> This parameter setting determines the amount of time to wait
C
for the connection completion in case of answering or
originating a call.
OK
Maximum Response Time 300ms
Reference
V.25ter
Parameter
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.
3. ATS7 is only applicable to data call.
7.10. ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier
l
ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier
Read Command Response
e
ATS8? <n>
Write Command
c t a l
OK
Response
e i
ATS8=<n> OK
u t
Maximum Response Time 300ms
n
Reference
Q ide
V.25ter
Parameter
f
0 No pause when comma encountered in dial string
n
<n>
1-2-255 Number of seconds to wait
NOTE
No effect in GSM.
Co
7.11. ATS10 Set Disconnect Delay after Indicating the Absence of Data
Carrier
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
Read Command Response
ATS10? <n>
OK
Reference
V.25ter
el
Parameter
c t l
<n> 1-15-254 Number of delay in 100ms
u e t ia
n
7.12. ATT Select Tone Dialing
Q ide
ATT Select Tone Dialing
Execution Command Response
ATT OK
f
Maximum Response Time 300ms
n
Reference
o
V.25ter
C
NOTE
No effect in GSM.
OK
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
l
129 Unknown type (IDSN format number)
e
145 International number type (ISDN format )
t
161 National number type (IDSN format)
e c ia l
t
7.14. AT+CLCC List Current Calls of ME
u n
AT+CLCC List Current Calls of ME
Q ide
Test Command Response
AT+CLCC=? OK
Execution Command Response
f
AT+CLCC TA returns a list of current calls of ME. If command succeeds
but no calls are available, no information response is sent to
n
TE.
o
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>[,
<number>,<type>[,""]]
C
[<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>[,
<number>,<type>[,""]]
[...]]]
OK
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> State of the call
0 Active
1 Held
2 Dialing (MO call)
3 Alerting (MO call)
4 Incoming (MT call)
l
5 Waiting (MT call)
e
<mode> Bearer/tele service
t
0 Voice
l
1 Data
c
2 FAX
e a
9 Unknown
t i
<mpty> 0 Call is not one of multiparty (conference) call parties
u
1 Call is one of multiparty (conference) call parties
n
<number> Phone number in string type in format specified by <type>
Q ide
<type> Type of address of octet in integer format
129 Unknown type(IDSN format number)
145 International number type (ISDN format )
f
Example
n
AT+CLCC
o
+CLCC: 1,0,0,0,0,"10086",129,"" //List the current call of ME
C
OK
OK
Read Command Response
AT+CR? +CR: <mode>
OK
Write Command Response
AT+CR=[<mode>] TA controls whether or not intermediate result code +CR:
<serv> is returned from the TA to the TE when a call set up.
OK
Reference
GSM 07.07
l
Parameter
e
<mode> 0 Disable
t
1 Enable
c l
<serv> ASYNC Asynchronous transparent
a
SYNC Synchronous transparent
e i
REL ASYNC Asynchronous non-transparent
t
REL SYNC Synchronous non-transparent
NOTE
u
Q ide
Intermediate result code:
n
If it is enabled, an intermediate result code is transmitted at the point during connect negotiation at which
f
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.
7.16. AT+CRC
Test Command
AT+CRC=?
Read Command
C
AT+CRC Set Cellular Result Codes for Incoming Call Indication
Response
+CRC: (list of supported <mode>s)
OK
Response
AT+CRC? +CRC: <mode>
OK
Write Command Response
AT+CRC=[<mode>] TA controls whether or not the extended format of incoming
call indication is used.
OK
Reference
GSM 07.07
Parameter
el
NOTE
t
Unsolicited result code:
l
When it is enabled, an incoming call is indicated to the TE with unsolicited result code +CRING: <type>
c
instead of the normal RING.
e ia
Parameter
t
<type> ASYNC Asynchronous transparent
u
SYNC Synchronous transparent
n
REL ASYNC Asynchronous non-transparent
Q ide
REL SYNC Synchronous non-transparent
FAX Facsimile
VOICE Voice
n f
Example
AT+CRC=1 //Enable extended format
o
OK
C
+CRING: VOICE //Indicate incoming call to the TE
ATH
OK
AT+CRC=0 //Disable extended format
OK
l
OK
e
Read Command Response
t
AT+CRLP? TA returns current settings for RLP version. RLP versions 0
l
and 1 share the same parameter set. TA returns only one line
c
for this set (where <verx> is not present).
e ia
+CRLP: <iws>,<mws>,<T1>,<N2>,<ver1>,<T4>
u t
OK
n
Write Command Response
Q ide
AT+CRLP=[<iws>[,<mws>[,<T1>[,<N2 TA sets radio link protocol (RLP) parameters used when
>[,<ver>[,<T4>]]]]]] non-transparent data calls are set up.
OK
f
Maximum Response Time 300ms
Reference
n
GSM 07.07
o
Parameter
C
<iws> 0-61 Interworking window size (IWF to MS)
<mws> 0-61 Mobile window size (MS to IWF)
<T1> 39-255 Acknowledgment timer T1 in a unit of 10ms
<N2> 1-255 Retransmission attempts N2
<verx> RLP RLP version number in integer format. When version indication is not present,
it shall equal to 0.
<T4> 3-255 Re-sequencing period in integer format, in a unit of 10ms
OK
Read Command Response
AT+CSNS? +CSNS: <mode>
l
OK
Write Command Response
e
AT+CSNS=[<mode>] OK
t
ERROR
c l
Maximum Response Time 300ms
e a
Reference
t i
GSM 07.07
Parameter
<mode> 0
1 u
Q ide
Voice
n
Alternating voice/FAX, voice first
f
2 FAX
3 Alternating voice/data, voice first
n
4 Data
o
5 Alternating voice/FAX, FAX first
6 Alternating voice/data, data first
7 Voice followed by data
7.19. AT+CMOD
C Configure Alternating Mode Calls
OK
Write Command Response
AT+CMOD=[<mode>] OK
ERROR
Parameter
7.20. AT+QSFR
t el
Preference Speech Coding
c l
AT+QSFR Preference Speech Coding
e ia
Test Command Response
t
+QSFR: (list of supported <mode>s)
u
AT+QSFR=?
n
OK
Q ide
Read Command Response
AT+QSFR? +QSFR: <mode>
f
OK
Write Command Response
n
AT+QSFR=<mode> OK
o
ERROR
Maximum Response Time 300ms
C
Reference
Parameter
NOTE
This setting is stored in the non-volatile memory and will be used whenever the module is powered up
l
again.
7.21. AT+QSPCH
c t e l
Speech Channel Type Report
e t ia
AT+QSPCH Speech Channel Type Report
u
Test Command Response
n
AT+QSPCH=? +QSPCH: (list of supported <mode>s)
Q ide
OK
Read Command Response
AT+QSPCH? +QSPCH: <mode>,<speech channel>
Write Command
n f OK
Response
o
AT+QSPCH=<mode> OK
ERROR
C
Maximum Response Time 300ms
Reference
Parameter
4 AMR_FR
5 AMR_HR
NOTE
URC +QSPCH: <mode>,<speech channel> will be indicated when speech channel type changes.
l
AT+QDISH Disable ATH
e
Test Command Response
t
AT+QDISH=? +QDISH: (list of supported <disableath>s)
c a l
OK
e i
Read Command Response
u t
AT+QDISH? +QDISH: <disableath>
n
OK
Q ide
Write Command Response
AT+QDISH=<disableath> OK
f
If error is related to ME functionality:
+CME ERROR: <err>
n
Maximum Response Time 300ms
o
Reference
C
Parameter
8 SMS Commands
l
AT+CSMS Select Message Service
Test Command Response
e
AT+CSMS=? +CSMS: (list of supported <service>s)
c t l
OK
a
Read Command Response
e i
AT+CSMS? +CSMS: <service>,<mt>,<mo>,<bm>
u n t
OK
Write Command Response
Q ide
AT+CSMS=<service> +CSMS: <mt>,<mo>,<bm>
OK
f
If error is related to ME functionality:
n
+CMS ERROR: <err>
o
Maximum Response Time 300ms
Reference
C
GSM 07.05
Parameter
<service> 0 GSM 03.40 and 03.41 (the syntax of SMS AT commands is compatible with GSM
07.05 Phase 2 version 4.7.0; Phase 2+ features which do not require new
command syntax may be supported (e.g. correct routing of messages with new
Phase 2+ data coding schemes))
128 SMS PDU mode - TPDU only used for ending/receiving SMSs
<mt> Mobile Terminated Messages
0 Type not supported
1 Type supported
<mo> Mobile Originated Messages
l
Test Command Response
AT+CMGF=? +CMGF: (list of supported <mode>s)
t e
OK
c l
Read Command Response
a
AT+CMGF? +CMGF: <mode>
u e t i
OK
Write Command Response
n
AT+CMGF=[<mode>] TA sets parameter to denote which kind of I/O format of
Q ide
messages is used.
OK
Maximum Response Time 300ms
f
Reference
n
GSM 07.05
o
Parameter
C
<mode> 0 PDU mode
1 Text mode
OK
l
Maximum Response Time 300ms
e
Reference
t
GSM 07.05
Parameter
e c ia l
u t
<sca> GSM 04.11 RP SC address Address-Value field in string format; BCD numbers (or GSM
n
default alphabet characters) are converted to characters of the currently selected TE
Q ide
character set (specified by +CSCS in TS 07.07); type of address given by <tosca>
< tosca> Service center address format GSM 04.11 RP SC address Type-of-Address octet in integer
format (default refer to <toda>)
n f
NOTE
o
The Command writes the parameters in NON-VOLATILE memory.
C
Example
AT+CSCA="+8613800210500",145 //SMS service center address
OK
AT+CSCA? //Query SMS service center address
+CSCA: "+8613800210500",145
OK
OK
Read Command Response
AT+CPMS? +CPMS:
<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<m
l
em3>,<used3>,<total3>
t e
OK
l
Write Command Response
c
AT+CPMS=<mem1>[,<mem2>[,<mem TA selects memory storages <mem1>, <mem2> and
e ia
3>]] <mem3> to be used for reading, writing, etc.
t
+CPMS:
u
<used1>,<total1>,<used2>,<total2>,<used3>,<total3>
Q ide n
OK
f
Maximum Response Time 300ms
n
Reference
o
GSM 07.05
C
Parameter
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
l
AT+CPMS="SM","SM","SM" //Set SMS message storage as “SM”
e
+CPMS: 0,50,0,50,0,50
c t l
OK
a
AT+CPMS? //Query the current SMS message storage
e i
+CPMS: "SM",0,50,"SM",0,50,"SM",0,50
u n t
OK
8.5. AT+CMGD
f
AT+CMGD Delete SMS Message
n
Test Command Response
o
AT+CMGD=? +CMGD: (list of supported <index>s),(list of supported
<delflag>s)
C
OK
Write Command Response
AT+CMGD=<index>[,<delflag>] TA deletes message from preferred message storage
<mem1> location <index>.
OK
ERROR
GSM 07.05
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
l
3 Delete all read messages from <mem1> storage, sent and unsent mobile
e
originated messages, leaving unread messages untouched
t
4 Delete all messages from <mem1> storage
Example
e c ia l
t
AT+CMGD=1 //Delete message specified in <index>=1
u
OK
n
AT+CMGD=1,4 //Delete all messages from <mem1> storage
Q ide
OK
f
8.6. AT+CMGL List SMS Messages from Preferred Store
n
AT+CMGL List SMS Messages from Preferred Store
o
Test Command Response
AT+CMGL=? +CMGL: (list of supported <stat>s)
C
OK
Write Command Response
AT+CMGL=<stat>[,<mode>] TA returns messages with status value <stat> from message
storage <mem1> to the TE. If status of the message is
'received unread', status in the storage changes to 'received
read'.
<index>,<stat>,<da/oa>,[<alpha>],[<scts>][,<tooa/toda>,<
length>]<CR><LF><data>[...]]
for SMS-STATUS-REPORTs:
+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:
l
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
e
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
t l
for CBM storage:
c
+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<pages><CR
e ia
><LF><data>[<CR><LF>
t
+CMGL:
u
<index>,<stat>,<sn>,<mid>,<page>,<pages><CR><LF><d
n
ata>[...]]
Q ide
OK
f
u><CR><LF>
n
+CMGL:
<index>,<stat>,[alpha],<length><CR><LF><pdu>[...]]
o
OK
C
3) If error is related to ME functionality:
+CMS ERROR: <err>
Maximum Response Time 300ms
Note: Operation of <stat> depends on the storage of listed
messages.
Reference
GSM 07.05
Parameter
l
in MT phonebook; implementation of this feature is manufacturer specific; used character
e
set should be the one selected with command select TE character set +CSCS (see
t
definition of this command in TS 07.07)
l
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
c
GSM default alphabet characters) are converted to characters of the currently selected TE
e a
character set (refer to command +CSCS in TS 07.07); type of address given by <toda>
t i
<data> In the case of SMS: GSM 03.40 TP-User-Data in text mode responses; format
u
− if <dcs> indicates that GSM 03.38 default alphabet is used and <fo> indicates that
n
GSM 03.40 TPUser-Data-Header-Indication is not set
Q ide
− 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 into
f
two IRA character long hexadecimal number (e.g. character P (GSM 23) is presented
n
as 17 (IRA 49 and 55))
− if <dcs> indicates that 8-bit or UCS2 data coding scheme is used, or <fo> indicates
o
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
C
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
<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)
<index> Integer type; value in the range of location numbers supported by the associated memory
<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 (refer to command +CSCS in TS 07.07); type of address given by <tooa>
<pdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal
number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimal format
<scts> GSM 03.40 TP-Service-Center-Time-Stamp in time-string format (refer to <dt>)
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129)
<tooa> GSM 04.11 TP-Originating-Address Type-of-Address octet in integer format (refer to
<toda>)
el
NOTE
t
If parameter is omitted the command returns the list of SMS with “REC UNREAD” status.
Example
e c ia l
u t
AT+CMGF=1 //Set SMS message format as text mode
n
OK
Q ide
AT+CMGL="ALL" //List all messages from message storage
+CMGL: 1,"STO UNSENT","","",
This is a test from Quectel
f
+CMGL: 2,"STO UNSENT","","",
n
This is a test from Quectel,once again.
o
OK
8.7. AT+CMGR
AT+CMGR
Test Command
AT+CMGR=?
C Read SMS Message
successfully:
for SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<
sca>,<tosca>,<length>]<CR><LF><data>
for SMS-SUBMIT:
+CMGR:
<stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>],<
sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORTs:
l
+CMGR:
e
<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
t l
for SMS-COMMANDs:
c
+CMGR:
e ia
<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><
t
CR><LF><cdata>]
u n
for CBM storage:
Q ide
+CMGR:
<stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><dat
a>
f
2) If PDU mode (+CMGF=0) and command successful:
n
+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>
o
OK
C
3) If error is related to ME functionality:
+CMS ERROR: <err>
Maximum Response Time Depends on the length of message content.
Reference
GSM 07.05
Parameter
<index> Integer type; value in the range of location numbers supported by the associated memory
<mode> 0 Normal
1 Not change the status of the specified SMS record
<alpha> String type alphanumeric representation of <da> or <oa> corresponding to the entry found
in MT phonebook; implementation of this feature is manufacturer specific
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (specified by +CSCS in TS 07.07); type of address given by <toda>
<data> In the case of SMS: GSM 03.40 TP-User-Data in text mode responses; format
− if <dcs> indicates that GSM 03.38 default alphabet is used and <fo> indicates that
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
into two IRA character long hexadecimal number (e.g. character P (GSM 23) is
presented as 17 (IRA 49 and 55))
l
− if <dcs> indicates that 8-bit or UCS2 data coding scheme is used, or <fo> indicates
e
that GSM 03.40 TP-User-Data-Header-Indication is set: ME/TA converts each 8-bit
t
octet into two IRA character long hexadecimal number (e.g. octet with integer value 42
l
is presented to TE as two characters 2A (IRA 50 and 65))
e c a
In the case of CBS: GSM 03.41 CBM Content of Message in text mode responses; format
t i
− if <dcs> indicates that GSM 03.38 default alphabet is used
u
− if TE character set other than "HEX" (refer to command +CSCS in GSM 07.07): ME/TA
n
converts GSM alphabet into current TE character set according to rules of Annex A
Q ide
− 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
f
<dcs> Depending on the command or result code: GSM 03.38 SMS Data Coding Scheme
n
(default value is 0), or Cell Broadcast Data Coding Scheme in integer format
<fo> Depending on the command or result code: first octet of GSM 03.40 SMS-DELIVER,
o
SMS-SUBMIT (default value is 17), SMS-STATUS-REPORT, or SMS-COMMAND (default
value is 2) in integer format
C
<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)
<mid> GSM 03.41 CBM Message Identifier in integer format
<oa> GSM 03.40 TP-Originating-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted characters of the currently selected TE
character set (specified by +CSCS in TS 07.07); type of address given by <tooa>
<pdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal
number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65))
In the case of CBS: GSM 03.41 TPDU in hexadecimal format
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
<sca> GSM 04.11 RP SC address Address-Value field in string format; BCD numbers (or GSM
l
to <toda>)
e
<tosca> GSM 04.11 RP SC address Type-of-Address octet in integer format (default refer to
t
<toda>)
l
<vp> Depending on SMS-SUBMIT <fo> setting: GSM 03.40 TP-Validity-Period either in integer
c
format (default value is 167) or in time-string format (refer to <dt>)
Example
u e t ia
n
+CMTI: "SM",3 //Indicates that new message has been received and saved
Q ide
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
f
This is a test from Quectel
n
OK
8.8. AT+CMGS
AT+CMGS
Test Command Co Send SMS Message
OK
OK
l
Maximum Response Time 120s, determined by network.
e
Reference
t
GSM 07.05
Parameter
e c ia l
u t
<da> GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
n
GSM default alphabet characters) are converted to characters of the currently selected TE
Q ide
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)
<length> Integer type value indicating in the text mode (+CMGF=1) the length of the message body
f
<data> (or <cdata>) in characters; or in PDU mode (+CMGF=0), the length of the actual
n
TP data unit in octets (i.e. the RP layer SMSC address octets are not counted in the length)
<mr> GSM 03.40 TP-Message-Reference in integer format
Example
AT+CMGF=1
OK
AT+CSCS="GSM"
OK Co
AT+CMGS="15021012496"
//Set SMS message format as text mode
> This is a test from Quectel //Enter in text, <CTRL+Z> send message, <ESC> quits
without sending
+CMGS: 247
OK
l
<ESC> quits without sending
e
If writing is successful:
t
2) If PDU mode (+CMGF=0): +CMGW: <index>
l
AT+CMGW=<length>[,<stat>]<CR>
c
PDU is given <ctrl-Z/ESC> OK
e t ia
If error is related to ME functionality:
u
+CMS ERROR: <err>
n
Maximum Response Time 300ms
Q ide
Reference
GSM 07.05
f
Parameter
n
<oa> GSM 03.40 TP-Originating-Address Address-Value field in string format; BCD numbers (or
o
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>
C
<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>
<tooa> GSM 04.11 TP-Originating-Address Type-of-Address octet in integer format (default refer
to <toda>)
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
character of <da> is +(IRA 43) default value is 145, otherwise default value is 129)
129 Unknown type (IDSN format number)
145 International number type (ISDN format )
<stat> PDU mode Text mode Explanation
0 "REC UNREAD" Received unread messages
1 "REC READ" Received read messages
2 "STO UNSENT" Stored unsent messages
3 "STO SENT" Stored sent messages
l
Example
e
AT+CMGF=1 //Set SMS message format as text mode
t
OK
l
AT+CSCS="GSM" //Set character set as GSM which is used by the TE
c
OK
e ia
AT+CMGW="15021012496"
t
> This is a test from Quectel //Enter in text, <CTRL+Z> write message, <ESC> quits
u
without sending
n
+CMGW: 4
Q ide
OK
f
8.10. AT+CMSS Send SMS Message from Storage
AT+CMSS
Test Command
o n
Send SMS Message from Storage
Response
C
AT+CMSS=? OK
Write Command Response
AT+CMSS=<index>[,<da>[,<toda>]] 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.
OK
OK
l
Parameter
t e
<index> Integer type; value in the range of location numbers supported by the associated memory
l
GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
c
<da>
GSM default alphabet characters) are converted to characters of the currently selected TE
e ia
character set (specified by +CSCS in TS 07.07); type of address given by <toda>
t
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
u
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129)
n
<mr> GSM 03.40 TP-Message-Reference in integer format
Q ide
<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
f
and 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimal format
8.11. AT+CMGC
C
AT+CMGC Send SMS Command
Test Command Response
AT+CMGC=? OK
Write Command Response
1) If text mode (+CMGF=1): TA transmits SMS command message from a TE to the
AT+CMGC=<fo>[,<ct>,<pid>,<mn>,<d network (SMS-COMMAND). Message reference value <mr>
a>,<toda>]<CR> is returned to the TE on successful message delivery. Value
text is entered can be used to identify message upon unsolicited delivery
<ctrl-Z/ESC> status report result code.
ESC quits without sending
1) If text mode(+CMGF=1) and sent successfully:
2) If PDU mode (+CMGF=0): +CMGC: <mr> [,<scts>]
AT+CMGC=<length><CR>
PDU is given <ctrl-Z/ESC> OK
OK
l
Reference
GSM 07.05
Parameter
c t e l
e ia
<fo> First octet of GSM 03.40 SMS-COMMAND (default value is 2) in integer format
t
<ct> GSM 03.40 TP-Command-Type in integer format (default value is 0)
u
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
n
<mn> GSM 03.40 TP-Message-Number in integer format
Q ide
<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>
<toda> GSM 04.11 TP-Destination-Address Type-of-Address octet in integer format (when first
f
character of <da> is + (IRA 43) default value is 145, otherwise default value is 129)
n
129 Unknown type (IDSN format number)
145 International number type (ISDN format )
o
<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)
C
<mr> GSM 03.40 TP-Message-Reference in integer format
<scts> GSM 03.40 TP-Service-Centre-Time-Stamp in time-string format (refer to <dt>)
<ackpdu> In the case of SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal
format: ME/TA converts each octet of TP data unit into two IRA character long hexadecimal
number (e.g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50
and 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimal format
OK
Read Command Response
AT+CNMI? +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr>
OK
Write Command Response
AT+CNMI=[<mode>[,<mt>[,<bm>[,<ds TA selects the procedure on how the received new messages
>[,<bfr>]]]]] from the network are indicated to the TE when TE is active,
e.g. DTR signal is ON. If TE is inactive (e.g. DTR signal is
l
OFF), receiving message should be done as specified in
e
GSM 03.38.
t l
OK
e c t ia
If error is related to ME functionality:
ERROR
u
Maximum Response Time 300ms
n
Reference
Q ide
GSM 07.05
f
Parameter
n
<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
o
and replaced with the new received indications
1 Discard indication and reject new received message unsolicited result codes
C
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
technique used to embed result codes and data when TA is in on-line data mode
<mt> (The rules for storing received SMS depend on its data coding scheme (refer to GSM 03.38
[2]), preferred memory storage (+CPMS) setting and this value):
0 No SMS-DELIVER indications are routed to the TE
1 If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed
to the TE by using unsolicited result code: +CMTI: <mem>,<index>
2 SMS-DELIVERs (except class 2) are routed directly to the TE using unsolicited
result code: +CMT: [<alpha>],<length><CR><LF><pdu> (PDU mode enabled)
l
<length><CR><LF><pdu> (PDU mode enabled) or +CBM:
e
<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data> (Text mode enabled)
t
3 Class 3 CBMs are routed directly to TE by using unsolicited result codes defined
l
in <bm>=2. If CBM storage is supported, messages of other classes result in
c
indication as defined in <bm>=1
e a
0 No SMS-STATUS-REPORTs are routed to the TE
i
<ds>
t
1 SMS-STATUS-REPORTs are routed to the TE by using unsolicited result code:
u
+CDS: <length><CR><LF><pdu> (PDU mode enabled) or +CDS:
n
<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> (Text mode enabled)
Q ide
<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
f
when <mode> 1...3 is entered
NOTE
o n
Unsolicited result code
C
+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
Example
AT+CMGF=1 //Set SMS message format as text mode
OK
AT+CSCS="GSM" //Set character set as GSM which is used by the TE
OK
AT+CNMI=2,1 //SMS-DELIVER is stored into ME/TA, indication of the
memory location is routed to the TE
OK
l
Test Command Response
e
AT+CRES=? +CRES: (list of supported <profile>s)
c t l
OK
Write Command Response
e ia
AT+CRES[=<profile>] TA restores SMS settings from non-volatile memory to active
t
memory. A TA can contain several profiles of settings.
u
Settings specified in commands service centre address
n
+CSCA, set message parameters +CSMP and select cell
Q ide
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.
f
OK
n
If error is related to ME functionality:
o
ERROR
Maximum Response Time 300ms
C
Reference
GSM 07.05
Parameter
<profile> 0-3 Manufacturer specific profile number where settings are to be stored
OK
Write Command Response
AT+CSAS[=<profile>] TA saves active message service settings to non-volatile
memory. A TA can contain several profiles of settings.
Settings specified in commands service centre address
l
+CSCA, Set Message Parameters +CSMP and Select cell
e
broadcast message Types +CSCB (if implemented) are
t
saved. Certain settings may not be supported by the storage
l
(e.g. SIM SMS parameters) and therefore cannot be saved.
c
OK
e t ia
If error is related to ME functionality:
u
ERROR
n
Maximum Response Time 300ms
Q ide
Reference
GSM 07.05
f
Parameter
n
0-3 Manufacturer specific profile number where settings are to be stored
o
<profile>
8.15. AT+CSCB
Test Command
AT+CSCB=?
C Select Cell Broadcast SMS Messages
OK
Read Command Response
AT+CSCB? +CSCB: <mode>,<mids>,<dcss>
OK
Reference
GSM 07.05
l
Parameter
e
<mode> 0 Message types specified in <mids> and <dcss> are accepted
t
1 Message types specified in <mids> and <dcss> are not accepted
c l
<mids> String type; all different possible combinations of CBM message identifiers (refer to <mid>)
(default is empty string)
e ia
e.g. "0,1,5,320-478,922"
t
<dcss> String type; all different possible combinations of CBM data coding schemes (refer to
u
<dcs>) (default is empty string), e.g. "0-3,5"
NOTE
Q ide n
The Command writes the parameters in NON-VOLATILE memory.
n f
o
8.16. AT+CSDH Show SMS Text Mode Parameters
C
AT+CSDH Show SMS Text Mode Parameters
Test Command Response
AT+CSDH=? +CSDH: (list of supported <show>s)
OK
Read Command Response
AT+CSDH? +CSDH: <show>
OK
Write Command Response
AT+CSDH=[<show>] TA determines whether detailed header information is shown
in text mode result codes.
OK
Parameter
<show> 0 Do not show header values defined in commands +CSCA and +CSMP (<sca>,
<tosca>, <fo>, <vp>, <pid> and <dcs>) nor <length>, <toda> or <tooa> in
+CMT, +CMGL, +CMGR result codes for SMS-DELIVERs and SMS-SUBMITs in
text mode
1 Show the values in result codes
Example
t el
c l
AT+CSDH=0
OK
e ia
AT+CMGR=3
t
+CMGR: "REC READ","+8615021012496","","2010/09/25 15:06:37+32"
u
This is a test from Quectel
Q ide n
OK
AT+CSDH=1
OK
AT+CMGR=3
f
+CMGR: "REC READ","+8615021012496", ,"2010/09/25 15:06:37+32",145,4,0,241,"+861
n
3800210500",145,27
This is a test from Quectel
o
OK
C
8.17. AT+CSMP Set SMS Text Mode Parameters
OK
Read Command Response
AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>
OK
l
Reference
GSM 07.05
Parameter
c t e l
e a
Depending on the Command or result code: first octet of GSM 03.40 SMS-DELIVER,
i
<fo>
t
SMS-SUBMIT (default value is 17), SMS-STATUS-REPORT, or SMS-COMMAND (default
u
value is 2) in integer format. SMS status report is supported under text mode if <fo> is set
n
to 49
Q ide
<vp> Depending on SMS-SUBMIT <fo> setting: GSM 03.40 TP-Validity-Period either in integer
format (default 167) or in time-string format (refer to <dt>)
<pid> GSM 03.40 TP-Protocol-Identifier in integer format (default value is 0)
<dcs> GSM 03.38 SMS Data Coding Scheme in Integer format
NOTE
n f
o
The Command writes the parameters in NON-VOLATILE memory.
SMS
AT+QCLASS0
C
8.18. AT+QCLASS0 Store Class 0 SMS to SIM when Receiving Class 0
OK
Read Command Response
AT+QCLASS0? +QCLASS0: <mode>
OK
Write Command Response
AT+QCLASS0=<mode> OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
l
<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
c t e l
a
For example message in text mode:
e t i
AT+CPMS?
u
+CPMS: "SM",6,50,"SM",6,50,"SM",6,50
Q ide n
OK
AT+QCLASS0=0 //Disable to store SMS when receiving Class 0 SMS
OK
f
+CMT: "+8615021012496",,"2010/09/26 09:55:37+32"
TEST1 from Quectel //Short message is output directly
n
AT+QCLASS0=1 //Enable to store SMS when receiving Class 0 SMS
o
OK
C
+CMTI: "SM",7
AT+CMGR=7
+CMGR: "REC UNREAD","+8615021012496","","2010/09/26 09:56:17+32"
TEST2 from Quectel
OK
OK
Write Command Response
AT+QMGDA=<type> OK
ERROR
+CME ERROR: <err>
Reference
Parameter
el
<type> 1) If text mode:
t
"DEL READ" Delete all read messages
l
"DEL UNREAD" Delete all unread messages
c
"DEL SENT" Delete all sent SMS
e a
"DEL UNSENT" Delete all unsent SMS
t i
"DEL INBOX" Delete all received SMS
u
"DEL ALL" Delete all SMS
n
2) If PDU mode:
Q ide
1 Delete all read messages
2 Delete all unread messages
3 Delete all sent SMS
4 Delete all unsent SMS
f
5 Delete all received SMS
n
6 Delete all SMS
Test Command
AT+QSMSCODE=? Co
8.20. AT+QSMSCODE Configure SMS Code Mode
OK
Read Command Response
AT+QSMSCODE? +QSMSCODE: <mode>
OK
Write Command Response
AT+QSMSCODE=<mode> OK
ERROR
Parameter
t el
e c ia l
u n t
Q ide
n f
Co
9 Phonebook Commands
l
AT+CPBS Select Phonebook Memory Storage
Test Command Response
e
AT+CPBS=? +CPBS: (list of supported <storage>s)
c t l
OK
a
Read Command Response
e i
AT+CPBS? +CPBS: <storage>[,<used>,<total>]
u n t
OK
Write Command Response
Q ide
AT+CPBS=<storage> TA selects current phone book memory storage, which is
used by other phone book commands.
OK
f
Maximum Response Time 300ms
n
Reference
GSM 07.07
Parameter
<storage>
C
"MC"
"RC"
"DC"
"LA"
o ME missed (unanswered) calls list
ME received calls list
ME dialed calls list (+CPBW may not be applicable or this storage)(same as LD)
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
<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 200pcs.
l
AT+CPBW Write Phonebook Entry
e
Test Command Response
t
AT+CPBW=? TA returns location range supported by the current storage,
c l
the maximum length of <number> field, supported number
a
formats of the storage, and the maximum length of <text>
e i
field.
t
+CPBW: (The range of supported <index>s), <nlength>, (list
u
of supported <type>s), <tlength>
Write Command
Q ide n
AT+CPBW=[<index>][,<number>[,<ty
OK
Response
TA writes phone book entry in location number <index> in the
f
pe>[,<text>]]] current phone book memory storage selected with +CPBS.
Entry fields written are phone number <number> (in the
n
format <type>) and text <text> associated with the number. If
those fields are omitted, phone book entry is deleted. If
o
<index> is left out, but <number> is given, entry is written to
the first free location in the phone book.
C
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
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)
l
‘0’ (GSM null) may cause problems for application layer software when reading string lengths.
Example
c t e l
a
AT+CSCS="GSM"
e i
OK
t
AT+CPBW=10,"15021012496",129,"QUECTEL"
u
//Make a new phonebook entry at location 10
n
OK
AT+CPBW=10 //Delete entry at location 10
Q ide
OK
f
9.3. AT+CPBR Read Current Phonebook Entries
n
AT+CPBR Read Current Phonebook Entries
o
Test Command Response
TA returns location range supported by the current storage as
C
AT+CPBR=?
a compound value and the maximum lengths of <number>
and <text> fields.
+CPBR: (list of supported <index>s),<nlength>,<tlength>
OK
Write Command Response
AT+CPBR=<index1>[,<index2>] TA returns phone book entries in location number range
<index1>... <index2> from the current phone book memory
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>]
OK
300ms.
Maximum Response Time Note: Operation of <index2> depends on the storage of read
phonebook entries.
Reference
GSM 07.07
Parameter
l
<tlength> Maximum length of name for number
e
<index1> The first phone book record to read
t
<index2> The last phonebook record to read
l
<number> Phone number
c
<type> Type of number
e a
Text name for phone number in current TE character set specified by +CSCS
i
<text>
u n t
Example
Q ide
AT+CSCS="GSM"
OK
AT+CPBR=10 //Query phone book entries in location 10
+CPBR: 10,"15021012496",129,"QUECTEL"
n f
OK
9.4. AT+CPBF
OK
Write Command Response
AT+CPBF=[<findtext>] 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>]
OK
Reference
GSM 07.07
Parameter
<findtext> String type field of maximum length <tlength> in current TE character set specified by
+CSCS.
l
<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
e
<number> Phone number in string type of format <type>
t
<type> Type of address octet in integer format:
c l
129 Unknown type (IDSN format number)
145 International number type (ISDN format )
e ia
<text> String type field of maximum length <tlength> in current TE character set specified by
t
+CSCS
u
<nlength> Integer type value indicating the maximum length of field <number>
n
<tlength> Integer type value indicating the maximum length of field <text>
9.5. AT+CNUM
Q ide Subscriber Number
AT+CNUM
n f
Subscriber Number
o
Test Command Response
AT+CNUM=? OK
C
Execution Command Response
AT+CNUM +CNUM: [<alpha1>],<number1>,<type1>
[<CR><LF>+CNUM: [<alpha2>],<number2>,<type2>
[...]]
OK
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)
t el
e c ia l
u n t
Q ide
n f
Co
10 GPRS Commands
l
AT+CGATT Attach to/Detach from GPRS Service
Test Command Response
e
AT+CGATT=? +CGATT: (list of supported <state>s)
c t l
OK
a
Read Command Response
e i
AT+CGATT? +CGATT: <state>
u n t
OK
Write Command Response
Q ide
AT+CGATT=<state> OK
f
+CME ERROR: <err>
Maximum Response Time 75s, determined by network.
n
Reference
o
GSM 07.07
C
Parameter
Example
AT+CGATT=1 //Attach to GPRS service
OK
AT+CGATT=0 //Detach from GPRS service
OK
OK
l
AT+CGDCONT=?
<APN>, <PDP_addr>, (list of supported <data_comp>s),
e
(list of supported <head_comp>s)
c t l
OK
Read Command Response
e ia
AT+CGDCONT? +CGDCONT:
t
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<h
u
ead_comp>
n
<CR><LF>+CGDCONT:
Q ide
<cid>,<PDP_type>,<APN>,<PDP_addr>,<data_comp>,<h
ead_comp>
…
f
OK
n
Write Command Response
AT+CGDCONT=<cid>[,<PDP_type>[,< OK
o
APN>[,<PDP_addr>[,<d_comp>[,<h_c ERROR
omp>]]]]]
C
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<cid> (PDP Context Identifier) a numeric parameter which specifies a particular PDP context
definition. The parameter is local to the TE-MT interface and is used in other PDP
context-related commands. The range of permitted values (minimum value=1) is returned
by the test form of the command
<PDP_type> (Packet Data Protocol type) a string parameter which specifies the type of packet data
protocol X25 ITU-T/CCITT X.25 layer 3 IP Internet Protocol (IETF STD 5) OSPIH Internet
Hosted Octet Stream Protocol PPP Point to Point Protocol (IETF STD 51)
<APN> (Access Point Name) a string parameter that is a logical name that is used to select the
GGSN or the external packet data network. If the value is null or omitted, then the
subscription value will be requested
<PDP_addr>A string parameter identifies the MT in the address space applicable to the PDP. If the value
is null or omitted, then a value may be provided by the TE during the PDP startup
procedure or, failing that, a dynamic address will be requested. The allocated address may
be read using the +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)
l
Other values are reserved
t e
Example
c l
AT+CGDCONT=1,"IP","CMNET" //Define PDP context, <cid>=1, <PDP_type>=IP,<APN>=CMNET
e ia
OK
u n t
Q ide
10.3. AT+CGQREQ Quality of Service Profile (Requested)
f
Test Command Response
AT+CGQREQ=? +CGQREQ: <PDP_type>,(list of supported <precedence>s),
n
(list of supported <delay>s),(list of supported <reliability>s),
(list of supported <peak>s),(list of supported <mean>s)
o
OK
C
Read Command Response
AT+CGQREQ? +CGQREQ:
<cid>,<precedence>,<delay>,>reliability>,<peak>,<mean
>
<CR><LF>+CGQREQ:
<cid>,<precedence>,<delay>,<reliability>,<peak >,<mean
>
…
OK
Write Command Response
AT+CGQREQ=<cid>[,<precedence>[, OK
<delay>[,<reliability>[,<peak>[,<mean
>]]]]] If error is related to ME functionality:
Parameter
<cid> A numeric parameter which specifies a particular PDP context definition (see
+CGDCONT command)
The following parameter are defined in GSM 03.60
l
<precedence> A numeric parameter which specifies the precedence class
<delay> A numeric parameter which specifies the delay class
e
<reliability> A numeric parameter which specifies the reliability class
t
<peak> A numeric parameter which specifies the peak throughput class
c l
<mean> A numeric parameter which specifies the mean throughput class
10.4. AT+CGQMIN
u e t ia
Quality of Service Profile (Minimum Acceptable)
Test Command
AT+CGQMIN=?
Q ide n
AT+CGQMIN Quality of Service Profile (Minimum Acceptable)
Response
+CGQMIN: <PDP_type>, (list of supported <precedence>s),
f
(list of supported <delay>s), (list of supported <reliability>s),
(list of supported <peak>s), (list of supported <mean>s)
Read Command
o n OK
Response
C
AT+CGQMIN? +CGQMIN:
<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean
>
<CR><LF>+CGQMIN:
<cid>,<precedence>,<delay>,<reliability>,<peak>,<mean
>
…
OK
Write Command Response
AT+CGQMIN=<cid>[,<precedence>[,< OK
delay>[,<reliability>[,<peak>[,<mean>
]]]]] If error is related to ME functionality:
+CME ERROR: <err>
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
l
<reliability> A numeric parameter which specifies the reliability class
e
<peak> A numeric parameter which specifies the peak throughput class
t
<mean> A numeric parameter which specifies the mean throughput class
e c ia l
t
10.5. AT+CGACT PDP Context Activate or Deactivate
u n
AT+CGACT PDP Context Activate or Deactivate
Q ide
Test Command Response
AT+CGACT=? +CGACT: (list of supported <state>s)
f
OK
Read Command Response
n
AT+CGACT? +CGACT:
o
<cid>,<state>[<CR><LF>+CGACT:<cid><state>…]
OK
C
Write Command Response
AT+CGACT=<state>,<cid> OK
NO CARRIER
Parameter
NOTE
l
If context is deactivated successfully, NO CARRIER is returned.
t e
Example
c l
AT+CGDCONT=1,"IP","CMNET" //Define PDP context
e ia
OK
t
AT+CGACT=1,1 //Activated PDP
u
OK
n
AT+CGACT=0,1 //Deactivated PDP
Q ide
NO CARRIER
f
10.6. AT+CGDATA Enter Data State
n
AT+CGDATA Enter Data State
o
Test Command Response
AT+CGDATA=? +CGDATA: (list of supported <L2P>s)
C
OK
Write Command Response
AT+CGDATA=<L2P>[,<cid>[,<cid>[,… OK
]]] NO CARRIER
Parameter
<L2P> A string parameter that indicates the layer 2 protocol to be used between the TE and MT:
PPP – Point to Point protocol for a PDP such as IP
Other values are not supported and will result in an ERROR response to the execution
command
<cid> A numeric parameter which specifies a particular PDP context definition (see +CGDCONT
command)
AT+CGPADDR
Test Command
el
Show PDP Address
t
Response
c l
AT+CGPADDR=? +CGPADDR: (list of defined <cid>s)
e ia
OK
t
Write Command Response
u n
AT+CGPADDR=<cid> +CGPADDR: <cid>[,<PDP_addr>]
Q ide
OK
ERROR
Maximum Response Time 300ms
f
Reference
n
GSM 07.07
o
Parameter
C
<cid> A numeric parameter which specifies a particular PDP context definition (see +CGDCONT
command)
<PDP_addr> A string that identifies the MT in the address space applicable to the PDP. The address may
be static or dynamic. For a static address, it will be the one set by the +CGDCONT
command when the context was defined. For a dynamic address it will be the one assigned
during the last PDP context activation that used the context definition referred to <cid>.
<PDP_address> is omitted if none is available
NOTE
This command dictates the behaviour of PPP in the ME but not that of any other GPRS-enabled
foreground layer, e.g. browser.
Example
AT+CGDCONT=1,"IP","CMNET" //Define PDP context
OK
AT+CGACT=1,1 //Activated PDP
OK
AT+CGPADDR=1 //Show PDP address
+CGPADDR: 1,"10.76.51.180"
OK
l
10.8. AT+CGCLASS GPRS Mobile Station Class
t e
AT+CGCLASS GPRS Mobile Station Class
c l
Test Command Response
a
AT+CGCLASS=? +CGCLASS: (list of supported <class>s)
Read Command
u e n t i
OK
Response
Q ide
AT+CGCLASS? +CGCLASS: <class>
OK
Write Command Response
f
AT+CGCLASS=<class> OK
n
ERROR
o
If error is related to ME functionality:
+CME ERROR: <err>
C
Maximum Response Time 30s, determined by network.
Reference
GSM 07.07
Parameter
<class> A string parameter which indicates the GPRS mobile class (Functionality in descending
order)
"B" Class B
"CG" Class C in GPRS only mode
"CC" Class C in circuit switched only mode
OK
Read Command Response
AT+CGEREP? +CGEREP: <mode>
OK
l
Maximum Response Time 300ms
e
Write Command Response
t l
AT+CGEREP=<mode> OK
c
ERROR
a
Reference
e i
GSM 07.07
Parameter
u n t
Q ide
<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
f
mode); otherwise forward them directly to the TE
NOTE
o n
Unsolicited Result Codes supported:
C
+CGEV: NW DEACT <PDP_type>, <PDP_addr>[,<cid>]
+CGEV: ME DEACT <PDP_type>, <PDP_addr>[,<cid>]
+CGEV: NW DETACH
+CGEV: ME CLASS <class>
Parameters
<PDP_type> Packet Data Protocol type (see +CGDCONT command)
<PDP_addr> Packet Data Protocol address (see +CGDCONT command)
<cid> Context ID (see +CGDCONT command)
<class> GPRS mobile class (see +CGCLASS command)
OK
Read Command Response
AT+CGREG? +CGREG: <n>,<stat>[,<lac>,<ci>]
OK
l
Write Command Response
e
AT+CGREG=[<n>] OK
t
ERROR
c l
Maximum Response Time 300ms
a
Reference
e i
GSM 07.07
Parameter
u n t
Q ide
<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
f
+CGREG: <stat>[,<lac>,<ci>]
n
<stat> 0 Not registered, ME is not currently searching a new operator to register to
1 Registered, home network
o
2 Not registered, but ME is currently searching a new operator to register to
3 Registration denied
C
4 Unknown
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"
+CGREG: 1,"1878","0873"
10.11. AT+CGSMS
t el
Select Service for MO SMS Messages
c a l
AT+CGSMS Select Service for MO SMS Messages
e i
Test Command Response
u t
AT+CGSMS=? +CGSMS: (list of currently available <service>s)
Q ide n
OK
Read Command Response
AT+CGSMS? +CGSMS: <service>
f
OK
Write Command Response
n
AT+CGSMS=[<service>] OK
o
If error is related to ME functionality:
C
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<service> A numeric parameter which indicates the service or service preference to be used
0 GPRS
1 Circuit switch
2 GPRS preferred (use circuit switched if GPRS not available)
3 Circuit switch preferred (use GPRS if circuit switched not available)
NOTE
l
AT+QGPCLASS=? MULTISLOT CLASS: (list of currently available <class>s)
e
OK
t
Read Command Response
c l
AT+QGPCLASS? MULTISLOT CLASS: <class>
e ia
OK
t
Write Command Response
u n
AT+QGPCLASS=<class> OK
ERROR
Q ide
Maximum Response Time 300ms
Reference
n f
Parameter
o
<class> GPRS multi-slot class
1-12 default value is 12
NOTE
C
Need to reboot for the change of GPRS multi-slot class to take effect.
11 TCPIP Commands
l
AT+QIOPEN Start up TCP or UDP Connection
Test Command Response
e
AT+QIOPEN=? +QIOPEN: (list of supported <mode>)s,(IP address
t
range),(port)
c l
<CR><LF>+QIOPEN: (list of supported <mode>s),(domain
a
name),(port)
u e t i
OK
n
Write Command Response
AT+QIOPEN=[<index>,]<mode>,<IP If format is right, respond:
Q ide
address>/<domain name>,<port> OK
Otherwise respond:
f
ERROR
n
If the connection has already existed, respond:
o
ALREADY CONNECT
C
[<index>,] CONNECT OK
Otherwise respond:
[<index>,] CONNECT FAIL
Maximum Response Time 75s, determined by network.
Reference
Parameter
<index> A numeric indicates which socket opens the connection. M95 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
<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
l
STATUS or IP CLOSE. So it is necessary to process "AT+QIDEACT" or "AT+QICLOSE" before
e
establishing a TCP/UDP connection with this command when the state is not IP INITIAL or IP
t
STATUS or IP CLOSE.
l
2. If AT+QIMUX was set as 0 and the current state is CONNECT OK, which means the connection
c
channel is used, it will reply "ALREADY CONNECT" after issuing the Write command.
u e t ia
n
11.2. AT+QISEND Send Data through TCP or UDP Connection
Q ide
AT+QISEND Send Data through TCP or UDP Connection
Test Command Response
f
AT+QISEND=? +QISEND: <length>
n
OK
o
Execution Command Response
AT+QISEND This command is used to send changeable length data.
C
response"> ", then type data to send, If connection is not established or disconnected:
tap CTRL+Z to send, tap ESC to cancel ERROR
the operation
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
Write Command Response
1)When AT+QIMUX=0 This command is used to send fixed-length data or send data
AT+QISEND=<length> on the given socket (defined by <index>).
2)When AT+QIMUX=1 If connection is not established or disconnected:
AT+QISEND=<index>[,<length>] ERROR
If sending succeeds:
SEND OK
If sending fails:
SEND FAIL
Maximum Response Time 300ms
Reference
Parameter
l
<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
e
be omitted
t
A numeric parameter which indicates the length of data to be sent, it MUST be less than
l
<length>
c
1460
NOTES
u e t ia
n
1. This command is used to send data on the TCP or UDP connection that has been established
already. ‘Ctrl+Z’ is used as a termination symbol. ESC is used to cancel sending data.
Q ide
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.
f
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
n
remote node, it is necessary to execute the command AT+QISACK to query it.
11.3. AT+QICLOSE
AT+QICLOSE
Test Command Co Close TCP or UDP Connection
If close fails:
ERROR
Write Command Response
AT+QICLOSE=<index> If close succeeds:
<index>, CLOSE OK
If close fails:
ERROR
Maximum Response Time 300ms
Reference
Parameter
<index> The index of the socket for sending data. This parameter is necessary only if AT+QIMUX
l
was set as 1 (refer to AT+QIMUX). When AT+QIMUX was set as 0, the parameter MUST
be omitted
NOTES
c t e l
a
1. Execution Command AT+QICLOSE:
e i
If QISRVC is 1 (please refer to AT+QISRVC) and QIMUX is 0 (please refer to AT+QIMUX), this
u t
command will close the connection in which the module is used as a client.
n
If QISRVC is 1 and QIMUX is 1, it will return ERROR.
If QISRVC is 2 and QIMUX equals 0 and the module is used as a server and some clients have
Q ide
been connected to it, this command will close the connection between the module and the
remote client.
If QISRVC is 2 and QIMUX is 0 and the module is in listening state without any client, this
f
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
n
the income connection and cause the module to quit the listening state.
o
2. Write Command AT+QICLOSE=<index>:
This command is valid only if QIMUX is 1.
C
If QISRVC is 1 and QIMUX is 1, this command will close the corresponding connection
according to <index> and the module used as a client in the connection.
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.
If close fails:
ERROR
l
Maximum Response Time 40s, determined by network.
t e
Reference
NOTES
e c ia l
t
1. Except at the status of IP INITIAL, you can deactivate GPRS/CSD PDP context by AT+QIDEACT.
u
After closing the connection, the status becomes to IP INITIAL.
n
2. CSD context is not supported at present.
Q ide
f
11.5. AT+QILPORT Set Local Port
n
AT+QILPORT Set Local Port
o
Test Command Response
AT+QILPORT=? +QILPORT: (list of supported <port>s)
C
OK
Read Command Response
AT+QILPORT? <mode>: <port>
<CR><LF><mode>: <port>
OK
Write Command Response
AT+QILPORT=<mode>,<port> OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
NOTE
t el
11.6. AT+QIREGAPP Start TCPIP Task and Set APN, User Name and
c l
Password
e t ia
AT+QIREGAPP Start TCPIP Task and Set APN, User Name and Password
u
Test Command Response
n
AT+QIREGAPP=? +QIREGAPP: "APN","USER","PWD"
Q ide
OK
Read Command Response
f
AT+QIREGAPP? +QIREGAPP: <apn>,<user name>,<password>
n
OK
Write Command Response
o
AT+QIREGAPP=<apn>,<user OK
name>,<password>[,<rate>] ERROR
C
Execution Command Response
AT+QIREGAPP OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
<apn> A string parameter which indicates the GPRS access point name or the call number of CSD
<user name>A string parameter which indicates the GPRS/CSD user name
<password> A string parameter which indicates the GPRS/CSD password
<rate> The speed of data transmit for CSD
NOTES
1. The write command and execution 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.
l
AT+QIACT Activate GPRS/CSD Context
e
Test Command Response
t
AT+QIACT=? OK
c l
Execution Command Response
a
AT+QIACT OK
e i
ERROR
u t
Maximum Response Time 150s, determined by network.
n
Reference
NOTES
Q ide
f
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
n
become to IP IND; after GPRS/CSD context is activated successfully, the status will become to IP
o
GPRSACT, respond with OK, and otherwise respond with ERROR.
2. CSD context is not supported at present.
Test Command
AT+QILOCIP=?
C
11.8. AT+QILOCIP Get Local IP Address
Otherwise respond:
ERROR
Reference
Parameter
<IP address> A string parameter which indicates the IP address assigned from GPRS or CSD
network
NOTES
l
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
t e
before executing the command is IP GPRSACT, the status will become to IP STATUS after the
l
command.
c
2. CSD function is not supported at present.
u e t ia
n
11.9. AT+QISTAT Query Current Connection Status
Q ide
AT+QISTAT Query Current Connection Status
Test Command Response
f
AT+QISTAT=? OK
Execution Command Response
n
AT+QISTAT When AT+QIMUX=0, respond:
OK
o
STATE: <state>
C
When AT+QIMUX=1, respond:
List of
(+QISTAT: <index>,<mode>,<addr>,<port><CR><LF>)
OK
Maximum Response Time 300ms
Reference
Parameter
l
"IP CLOSE" The TCP/UDP connection has been closed
e
"CONNECT OK" The TCP/UDP connection has been established successfully
t
"PDP DEACT" GPRS/CSD context was deactivated because of unknown
l
reason
e c a
If ATV was set to 0 by the command ATV0, the TCPIP stack gives the following numeric to
t i
indicate the former status
u
0 "IP INITIAL"
n
1 "IP START"
Q ide
2 "IP CONFIG"
3 "IP IND"
4 "IP GPRSACT"
5 "IP STATUS"
f
6 "TCP CONNECTING" or "UDP CONNECTING"
7 "IP CLOSE"
n
8 "CONNECT OK"
o
9 "PDP DEACT"
<index> The index of the connection, the range is (0-5)
C
<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
NOTES
1. Display former style of response when QIMUX=0 and the later style of response when QIMUX=1.
2. CSD context is not supported at present.
STATE: <state>
When AT+QIMUX=1, respond:
l
OK
t e
STATE: <state>
c l
+QISTATE:
e ia
<index>,<mode>,<addr>,<port>,<socketstate>
u t
OK
n
Otherwise respond
Q ide
ERROR
Maximum Response Time 300ms
Reference
Parameter
n f
o
<state> A string parameter to indicate the status of the connection
C
When AT+QIMUX=0:
"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
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.
l
<index> The index of the connection, the range is (0-5)
e
<mode> The type of the connection
t
"TCP" TCP connection
l
"UDP" UDP connection
c
<addr> The IP address of the remote
e a
The port of the remote
i
<port>
t
<socketstate> A string parameter to indicate the status of the access connection, including
u
INITIAL,CONNECTED.
Q ide
11.11. AT+QISSTAT
n
Query the Current Server Status
f
AT+QISSTAT Query the Current Server Status
n
Test Command Response
AT+QISSTAT=? OK
o
Execution Command Response
AT+QISSTAT When AT+QIMUX=0, respond:
C
OK
S: <ServerState>
Otherwise respond:
ERROR
Maximum Response Time 300ms
Reference
Parameter
l
<port> The port of the remote
11.12. AT+QIDNSCFG
c t e l
Configure Domain Name Server
e t ia
AT+QIDNSCFG Configure Domain Name Server
u
Test Command Response
n
AT+QIDNSCFG=? OK
Q ide
Read Command Response
AT+QIDNSCFG? PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
f
OK
n
Write Command Response
AT+QIDNSCFG=<pri_dns>[,<sec_dns OK
o
>] ERROR
C
Maximum Response Time 300ms
Reference
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.
l
AT+QIDNSGIP=<domain name> OK
ERROR
t e
If succeeds, return:
c l
<IP address>
e ia
If fails, return:
t
ERROR: <err>
u
STATE: <state>
n
Maximum Response Time 14s, determined by network.
Q ide
Reference
f
Parameter
n
<domain name> A string parameter which indicates the domain name
o
<IP address> A string parameter which indicates the IP address corresponding to the domain name
<err> A numeric parameter which indicates the error code
C
1 DNS not Authorized
2 Invalid parameter
3 Network error
4 No server
5 Time out
6 No configuration
7 No memory
8 Unknown error
<state> Refer to AT+QISTAT
OK
Read Command Response
AT+QIDNSIP? +QIDNSIP: <mode>
OK
l
Write Command Response
e
AT+QIDNSIP=<mode> OK
t
ERROR
c l
Maximum Response Time 300ms
e a
Reference
Parameter
u n t i
Q ide
<mode> A numeric parameter indicates which kind of server format is used when establishing the
connection: IP address server or domain name server
0 The address of the remote server is a dotted decimal IP address
f
1 The address of the remote server is a domain name
11.15. AT+QIHEAD
C
AT+QIHEAD Add an IP Header when Receiving Data
Test Command Response
AT+QIHEAD=? +QIHEAD: (list of supported <mode>s)
OK
Read Command Response
AT+QIHEAD? +QIHEAD: <mode>
OK
Write Command Response
AT+QIHEAD=<mode> OK
ERROR
Reference
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
c l
AT+QIAUTOS Set Auto Sending Timer
e a
Test Command Response
t i
AT+QIAUTOS=? +QIAUTOS: (list of supported <mode>s), (list of supported
u
<time>s)
Q ide n
OK
Read Command Response
AT+QIAUTOS? +QIAUTOS: <mode>,<time>
f
OK
n
Write Command Response
AT+QIAUTOS=<mode>[,<time>] OK
o
ERROR
Maximum Response Time 300ms
C
Reference
Parameter
<mode> A numeric parameter which indicates whether or not to set timer when sending data
0 DO Not set timer for data sending
1 Set timer for data sending
<time> A numeric parameter which indicates a time in seconds
After the time expires since AT+QISEND, the input data will be sent automatically
OK
Read Command Response
AT+QIPROMPT? +QIPROMPT: <send prompt>
OK
l
Write Command Response
e
AT+QIPROMPT=<send prompt> OK
t
ERROR
c l
Maximum Response Time 300ms
e a
Reference
Parameter
u n t i
Q ide
<send prompt> A numeric parameter which indicates whether or not to echo prompt ">" after
issuing AT+QISEND Command
0 No prompt ">" and show "SEND OK" when sending successes
f
1 Echo prompt ">" and show "SEND OK" when sending successes
2 No prompt and not show "SEND OK" when sending successes
n
3 Echo prompt ">" and show “socket ID” "SEND OK" when sending
o
successes
AT+QISERVER=?
Read Command
C
11.18. AT+QISERVER Configured as Server
OK
Execution Command Response
AT+QISERVER OK
ERROR
l
If configured as server unsuccessfully, return:
e
CONNECT FAIL
t
Maximum Response Time 150s, determined by network.
c l
Reference
Parameter
u e t ia
n
<mode> 0 NOT configured as server
Q ide
1 Configured as server
<num> The number of clients that have been connected in. The range is 0~5
<type> A numeric indicates the type of the server
f
0 TCP server
1 UDP server
n
<max> The maximum number of clients allowed to connect in. The default value is 1. The range
o
is 1-5
C
NOTES
1. This command configures the module as a TCP server and the maximum allowed client is 1.
2. The parameter <max> is excluded when QIMUX is 0.
OK
Read Command Response
AT+QICSGP? +QICSGP: <mode>
OK
Write Command Response
AT+QICSGP=<mode>[,(<apn>,<user OK
name>,<password>)/(<dial ERROR
number>,<user
name>,<password>,<rate>)]
l
Maximum Response Time 300ms
t e
Reference
Parameter
e c ia l
u t
<mode> A numeric parameter which indicates the bearer type
n
0 Set CSD as the bearer for TCPIP connection
1 Set GPRS as the bearer for TCPIP connection
GPRS parameters:
<apn>
Q ide
A string parameter which indicates the access point name
f
<user name> A string parameter which indicates the user name
<password> A string parameter which indicates the password
o n
CSD parameters:
<dial number> A string parameter which indicates the CSD dial numbers
A string parameter which indicates the CSD user name
C
<user name>
<password> A string parameter which indicates the CSD password
<rate> A numeric parameter which indicates the CSD connection rate
0 2400
1 4800
2 9600
3 14400
NOTE
OK
Read Command Response
AT+QISRVC? +QISRVC: <connection>
OK
l
Write Command Response
e
AT+QISRVC=<connection> OK
t
ERROR
c l
Maximum Response Time 300ms
e a
Reference
Parameter
u n t i
Q ide
<connection> A numeric parameter which indicates the chosen connection
1 Choose the connection in which MS used as a client
2 Choose the connection in which MS used as a server
NOTE
n f
o
There could be two connections at one time: one connection is that MS connects with a remote server as
a client; the other connection is that MS accepts a remote client as a server. Using this Command to
C
specify which connection data will be sent through.
Sender
OK
OK
Write Command Response
AT+QISHOWRA=<mode> OK
ERROR
Reference
l
Parameter
t e
<mode> A numeric parameter which indicates whether or not to show the address (including IP
l
address in dotted decimal style of the remote end) when receiving data.
c
0 DO NOT show the address. Default
e a
1 Show the address; the format to show the address is like: RECV FROM:
t i
<IP ADDRESS>:<PORT>
11.22. AT+QISCON
u
Q ide n
Save TCPIP Application Context
f
Test Command Response
n
AT+QISCON=? OK
Read Command Response
o
AT+QISCON? TA returns TCPIP application context, which consists of the
following AT command parameters.
C
SHOW APPTCPIP CONTEXT
+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>
OK
Execution Command Response
AT+QISCON OK
Maximum Response Time 300ms
l
Reference
t e l
Parameter
c a
<mode> See AT+QIDNSIP
e i
<sendprompt> See AT+QIPROMPT
u t
<iphead> See AT+QIHEAD
n
<srip> See AT+QISHOWRA
<csgp> See AT+QICSGP
Q ide
<apn> See AT+QICSGP
<gusr> See AT+QICSGP
<gpwd> See AT+QICSGP
f
<timeout> See AT+QICSGP
<cnum> See AT+QICSGP
n
<cusr> See AT+QICSGP
o
<cpwd> See AT+QICSGP
<crate> See AT+QICSGP
C
The following four parameters are only for transparent transfer mode.
<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).
l
OK
Read Command Response
e
AT+QIMODE? +QIMODE: <mode>
c t l
OK
Write Command Response
e ia
AT+QIMODE=<mode> OK
t
ERROR
u n
Maximum Response Time 300ms
Q ide
Reference
Parameter
n f
<mode> 0 Normal mode. In this mode, the data should be sent by the command
AT+QISEND
o
1 Transparent mode. In this mode, UART will enter data mode after TCP/UDP
connection has been established. In data mode, all input data from UART will be
C
sent to the remote end. +++ can help to switch data mode to command mode. And
then ATO can help to switch command mode to data mode.
OK
OK
Write Command Response
AT+QITCFG=<NmRetry>,<WaitTm>,< OK
SendSz>,<esc> ERROR
Maximum Response Time 300ms
Reference
l
Parameter
e
Number of times to retry to send an IP packet
t
<NmRetry>
Number of 100ms intervals to wait for serial input before sending the packet
l
<WaitTm>
c
<SendSz> Size in bytes of data block to be received from serial port before sending
a
<esc> Whether to turn on the escape sequence or not, default is TRUE
NOTES
u e n t i
Q ide
1. <WaitTm> and <SendSz> are two conditions to send data packet.
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
f
beyond the time defined by <WaitTm>, the TCPIP stack will send all the data in the buffer to the
remote.
n
4. This command is invalid when QIMUX is 1.
Co
11.25. AT+QISHOWPT Control Whether or Not to Show the Protocol
Type
OK
Read Command Response
AT+QISHOWPT? +QISHOWPT: <mode>
OK
Reference
Parameter
<mode> 0 DO NOT show the transport protocol type at the end of header of the received
TCP/UDP data
l
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
c t e l
e ia
This command is invalid if QIHEAD was set as 0 by the command AT+QIHEAD=0.
u n t
Q ide
11.26. AT+QIMUX Control Whether or Not to Enable Multiple TCPIP
Session
f
AT+QIMUX Control Whether or Not to Enable Multiple TCPIP Session
n
Test Command Response
o
AT+QIMUX=? +QIMUX: (list of supported <mode>s)
C
OK
Read Command Response
AT+QIMUX? +QIMUX: <mode>
OK
Write Command Response
AT+QIMUX=<mode> OK
ERROR
Maximum Response Time 300ms
Reference
Parameter
Address
l
Test Command Response
e
AT+QISHOWLA=? +QISHOWLA: (list of supported <mode>s)
c t l
OK
a
Read Command Response
e i
AT+QISHOWLA? +QISHOWLA: <mode>
u n t
OK
Write Command Response
Q ide
AT+QISHOWLA=<mode> OK
ERROR
Maximum Response Time 300ms
f
Reference
Parameter
o n
C
<mode> A numeric parameter indicates whether or not to show the destination address before
receiving data.
0 DO NOT show the destination address
1 Show the destination address: TO:<IP ADDRESS>
NOTE
Because M95 can activate two GPRS contexts at the same time, i.e. M95 can get two local IP addresses.
It is necessary to point out the destination of the received data when two GPRS contexts have been
activated at the same time.
OK
Read Command Response
AT+QIFGCNT? +QIFGCNT: <id>,<channel>
OK
l
Write Command Response
e
AT+QIFGCNT=<id> OK
t
ERROR
c l
Maximum Response Time 300ms
e a
Reference
Parameter
u n t i
Q ide
<id> A numeric indicates which context will be set as foreground context. The range is 0-1
<channel> A numeric indicates which channel is controlling the context <id>
0 VIRTUAL_UART_1
f
1 VIRTUAL_UART_2
2 VIRTUAL_UART_3
n
3 VIRTUAL_UART_4
o
255 The context is not controlled by any channel
C
NOTE
When CMUX is opened, if the status of the context defined by <id> is not IP_INITIAL and the context is
controlled by the other channel, it will return ERROR.
OK
Write Command Response
AT+QISACK=<n> +QISACK: <sent>,<acked>,<nAcked>
OK
Reference
l
Parameter
t e
<n> The index for querying the connection
l
<sent> A numeric indicates the total length of the data that has been sent through the session
c
<acked> A numeric indicates the total length of the data that has been acknowledged by the remote
e a
A numeric indicates the total length of the data that has been sent but not acknowledged by
i
<nAcked>
t
the remote
NOTES
u
Q ide n
1. Write command is invalid when QIMUX was set as 0 by the command AT+QIMUX=0.
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 M95 serves as
f
a client. If the QISRVC was set as 2, this command is used to query the data information for sending
n
during the session in which M95 serves as a server.
11.30. AT+QINDI
AT+QINDI
Test Command
AT+QINDI=?
Co Set the Method to Handle Received TCP/IP Data
OK
Read Command Response
AT+QINDI? +QINDI: <m>
OK
Write Command Response
AT+QINDI=<m> OK
ERROR
Reference
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.
l
AT+QIHEAD, AT+QISHOWRA, AT+QISHOWPT, AT+QISHOWLA
1 Output a notification statement “+QIRDI: <id>,<sc>,<sid>” through UART. This
e
statement will be displayed only one time until all the received data from the
t
connection (defined by <id>,<sc>,<sid>) have been retrieved by the command
c l
AT+QIRD.<id>
a
A numeric points out which context the connection for the received data is based on.
e i
Please refer to the parameter <id> in the command AT+QIFGCNT. The range is 0-1.
u t
<sc> A numeric points out the role of M95 in the connection for the received data.
n
1 The module serves as the client of the connection
2 The module serves as the server of the connection
Q ide
<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.
11.31. AT+QIRD
AT+QIRD
Test Command
AT+QIRD=?
Co
Retrieve the Received TCP/IP Data
Response
+QIRD: (list of supported <id>s),(list of supported <sc>s),(list
of supported <sid>s),(list of supported <len>s)
OK
Write Command Response
AT+QIRD=<id>,<sc>,<sid>,<len> [+QIRD:
<ipAddr>:<port>,<type>,<length><CR><LF><data>]
OK
ERROR
Maximum Response Time 300ms
Reference
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 M95 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
l
0
e
<len> The maximum length of data to be retrieved. The range is 1-1500
t
<ipAddr> The address of the remote end. It is a dotted-decimal IP
l
<port> The port of the remote end
c
<type> An alpha string without quotation marks indicates the transport protocol type
e a
TCP The transport protocol is TCP
t i
UDP The transport protocol is UDP
u
<length> The real length of the retrieved data
n
<data> The retrieved data
NOTES
Q ide
1. <id>, <sc> and <sid> are the same as the parameters in the statement “+QIRDI: <id>,<sc>,<sid>”.
f
2. If it replies only OK for the write command, it means there is no received data in the buffer of the
n
connection.
11.32. AT+QISDE
OK
Read Command Response
AT+QISDE? +QISDE: <m>
OK
Write Command Response
AT+QISDE=<m> OK
ERROR
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
t el
Ping a Remote Server
AT+QPING
c a
Ping a Remote Server
e i l
t
Test Command Response
u
AT+QPING=? +QPING: "HOST",(list of supported <timeout>s),(list of
n
supported <pingnum>s)
Q ide
OK
Write Command Response
AT+QPING=“<host>”[,[<timeout>][,<p OK
f
ingnum>]]
n
[+QPING:
<result>[,<ipAddr>,<bytes>,<time>,<ttl>]<CR><LF>
o
…]<CR><LF>
+QPING:<finresult>[,<sent>,<rcvd>,<lost>,<min>,<max>,
C
<avg>]
ERROR
Maximum Response Time Depends on <timeout>.
Reference
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
l
4 Do NOT find the host. In the case, no other information follows it
e
5 Failed to activate PDP context. In the case, no other information follows it
t
<sent> Total number of sending the ping requests
l
<rcvd> Total number of the ping requests that received the response
c
<lost> Total number of the ping requests that were timeout
e a
The minimum response time. Unit: ms
i
<min>
t
<max> The maximum response time. Unit: ms
u
<avg> The average response time. Unit: ms
Q ide n
11.34. AT+QNTP Synchronize the Local Time Via NTP
f
AT+QNTP Synchronize the Local Time Via NTP
n
Test Command Response
AT+QNTP=? +QNTP: “SERVER”,(list of supported <port>s)
o
OK
C
Read Command Response
AT+QNTP? +QNTP: "<server>",<port>
OK
Execution Command Response
AT+QNTP OK
+QNTP: <result>
Write Command Response
AT+QNTP="<server>"[,<port>] OK
+QNTP: <result>
ERROR
Reference
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
l
1 Failed to synchronize the local time because of unknown reason
2 Failed to receive the response from the Time Server
e
3 The TCP/IP stack is busy now
t
4 Do Not find the Time Server
c l
5 Failed to activate PDP context
NOTE
u e t ia
n
The factory Time Server is the National Time Service Centre of China whose address is "210.72.145.44"
Q ide
and port is 123.
n f
Co
l
AT+CCFC Call Forwarding Number and Conditions Control
Test Command Response
e
AT+CCFC=? +CCFC: (list of supported <reads>s)
c t l
OK
a
Write Command Response
e i
AT+CCFC=<reads>,<mode>[,<numbe TA controls the call forwarding supplementary service.
u t
r>[,<type>[,<class>[,<subaddr>[,<sat Registration, erasure, activation, deactivation, and status
n
ype>[,time]]]]]] query are supported.
Only ,<reads> and <mode> should be entered with mode
Q ide
(0-2,4)
If <mode><>2 and command successful:
OK
f
If <mode>=2 and command successful (only in connection
n
with <reads> 0 –3)
For registered call forwarding numbers:
o
+CCFC: <status>, <class1>[, <number>, <type>
[,<subaddr>,<satype>[,<time>]]] [<CR><LF>+CCFC: ....]
C OK
OK
Reference
GSM 07.07
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)
l
<mode> 0 Disable
1 Enable
e
2 Query status
t
3 Registration
c l
4 Erasure
a
<number> Phone number in string type of forwarding address in format specified by <type>
e i
<type> Type of address in integer format; default value is 145 when dialing string includes
u t
international access code character “+”, otherwise 129
n
<subaddr> String type sub-address of format specified by <satype>
<satype> Type of sub-address in integer
Q ide
<class> 1 Voice
2 Data
4 FAX
f
7 All telephony except SMS
8 Short message service
n
16 Data circuit sync
32 Data circuit async
o
<time> 1…30 When “no reply” (<reads>=no reply) is enabled or queried, this gives the time in
seconds to wait before call is forwarded, default value is 20
C
<status> 0 Not active
1 Active
Example
AT+CCFC=0,3,“15021012496” //Register the destination number for unconditional call
forwarding (CFU)
OK
AT+CCFC=0,2 //Query the status of CFU without specifying <class>
+CCFC: 1,1,"+8615021012496",145
+CCFC: 1,4,"+8615021012496",145
+CCFC: 1,32,"+8615021012496",145
+CCFC: 1,16,"+8615021012496",145
OK
AT+CCFC=0,4 //Erase the registered CFU destination number
OK
AT+CCFC=0,2 //Query the status, no destination number
+CCFC: 0,7
OK
l
12.2. AT+CCUG Closed User Group Control
AT+CCUG
Test Command
t e l
Closed User Group Control
c
Response
e ia
AT+CCUG=? OK
t
Read Command Response
u
AT+CCUG? +CCUG: <n>,<index>,<info>
Write Command
Q ide n
AT+CCUG=[<n>][,<index>[,<info>]]
OK
Response
TA sets the closed user group supplementary service
f
parameters as a default adjustment for all following calls.
OK
n
If error is related to ME functionality:
o
+CME ERROR: <err>
Maximum Response Time 300ms
C
Reference
GSM 07.07
Parameter
OK
Read Command Response
AT+CCWA? +CCWA: <n>
l
OK
Write Command Response
e
AT+CCWA=[<n>][,<mode>[,<class>]] TA controls the call waiting supplementary service. Activation,
t
deactivation and status query are supported.
c l
If <mode><>2 and command successful:
a
OK
e t i
If <mode>=2 and command successful:
u
+CCWA:
n
<status>,<class1>[<CR><LF>+CCWA:<status>,<class2>[.
Q ide
..]]
OK
f
If error is related to ME functionality:
n
+CME ERROR: <err>
o
Maximum Response Time 300ms
Reference
C
GSM 07.07
Parameter
4 FAX (facsimile)
16 Data circuit sync
32 Data circuit async
<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.
l
3. Unsolicited result code
e
When the presentation call waiting at the TA is enabled (and call waiting is enabled) and a terminating
t
call set up during an established call, an unsolicited result code is returned:
c l
+CCWA: <number>,<type>,<class>[,<alpha>]
Parameters
e ia
<number> Phone number in string type of calling address in format specified by <type>
t
<type> Type of address octet in integer format
u
129 Unknown type (IDSN format number)
n
145 International number type (ISDN format )
Q ide
<alpha> Optional string type alphanumeric representation of <number> corresponding to the
entry found in phone book
f
Example
n
AT+CCWA=1,1 //Enable presentation of an unsolicited result code
OK
o
ATD10086; //Establish a call
OK
C
+CCWA: "02154450293",129,1 //Indication of a call that has been waiting
OK
Reference
GSM 07.07
Parameter
t el
c l
<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
e ia
any)
t
1 Terminate all active calls (if any) and accept the other call (waiting call or held
u
call). It cannot terminate active call if there is only one call
n
1X Terminate the specific call number X (X=1-7)(active, waiting or held)
Q ide
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
f
3 Add the held call to the active calls
n
NOTE
o
These supplementary services are only available to the teleservice 11 (Speech: Telephony).
Example
ATD10086;
OK C
+CCWA: "02154450293",129,1
AT+CHLD=2
//Establish a call
OK
AT+CHLD=21 //Place the active call except call X=1 on hold
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129,"" //The first call becomes active
OK
AT+CHLD=3 //Add a held call to the active calls in order to set up a
conference (multiparty) call
l
OK
e
AT+CLCC
t
+CLCC: 1,0,0,0,1,"10086",129,""
c l
+CLCC: 2,1,0,0,1,"02154450293",129,""
e t ia
OK
u
Q ide n
12.5. AT+CLIP Calling Line Identification Presentation
f
Test Command Response
n
AT+CLIP=? +CLIP: (list of supported <n>s)
o
OK
Read Command Response
C
AT+CLIP? +CLIP: <n>,<m>
OK
Write Command Response
AT+CLIP=[<n>] TA enables or disables the presentation of the calling line
identity (CLI) at the TE. It has no effect on the execution of the
supplementary service CLIP in the network.
OK
Reference
GSM 07.07
Parameter
l
NOTE
e
Unsolicited result code
t
When the presentation of the CLI at the TE is enabled (and calling subscriber allows), an unsolicited
c l
result code is returned after every RING (or +CRING: <type>) at a mobile terminating call.
a
+CLIP: <number>, <type>,"",,<alphaId>,<CLI validity>
e i
Parameters
t
<number> Phone number in string type of calling address in format specified by <type>
u
<type> Type of address octet in integer format;
n
129 Unknown type (IDSN format number)
Q ide
145 International number type (ISDN format )
<alphaId> String type alphanumeric representation of <number> corresponding to the entry
found in phone book
<CLI validity> 0 CLI valid
f
1 CLI has been withheld by the originator
n
2 CLI is not available due to interworking problems or limitations of originating
network
Example
Co
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
AT+CLIP=1
OK
RING
+CLIP: "02151082965",129,"",,"",0
OK
Read Command Response
AT+QCLIP? +CLIP: <n>
OK
l
Write Command Response
e
AT+QCLIP=<n> OK
t
Maximum Response Time 15s, determined by network.
c l
Reference
a
GSM 07.07
Parameter
u e n t i
Q ide
<n> 0 Not display the number name
1 Display the number name
f
NOTE
n
This command take effective after setting AT+CLIP=1
Example
OK
AT+QCLIP=1
OK
AT+CLIP=1
Co
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
RING
+CLIP: "02151082965",129,"",,"QUECTEL",0
OK
Read Command Response
AT+CLIR? +CLIR: <n>,<m>
OK
l
Write Command Response
e
AT+CLIR=[<n>] TA restricts or enables the presentation of the calling line
t
identity (CLI) to the called party when originating a call.
c l
The command overrides the CLIR subscription (default is
e ia
restricted or allowed) when temporary mode is provisioned as
t
a default adjustment for all following outgoing calls. This
u
adjustment can be revoked by using the opposite Command.
n
OK
Q ide
If error is related to ME functionality:
+CME ERROR: <err>
f
Maximum Response Time 15s, determined by network
Reference
n
GSM 07.07
o
Parameter
C
<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
OK
Read Command Response
AT+COLP? +COLP: <n>,<m>
OK
l
Write Command Response
e
AT+COLP=[<n>] TA enables or disables the presentation of the COL
t
(Connected Line) at the TE for a mobile originating a call. It
l
has no effect on the execution of the supplementary service
c
COLR in the network.
e t ia
Intermediate result code is returned from TA to TE before any
u
+CR or V.25ter responses.
n
OK
Q ide
Maximum Response Time 15s, determined by network.
Reference
GSM 07.07
Parameter
n f
o
<n> (Parameter sets/shows the result code presentation status in the TA)
0 Disable
C
1 Enable
<m> (Parameter shows the subscriber COLP service status in the network)
0 COLP not provisioned
1 COLP provisioned
2 Unknown (e.g. no network, etc.)
NOTE
Example
l
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
e
AT+COLP=1
t
OK
c l
ATD02151082965;
a
+COLP: "02151082965",129,"",0,""
e t i
OK
u
Q ide n
12.9. AT+QCOLP Display the +COLP Number Name
f
AT+QCOLP Display the +COLP Number Name
Test Command Response
n
AT+QCOLP=? +COLP: (list of supported <n>s)
o
OK
Read Command Response
C
AT+QCOLP? +COLP: <n>
OK
Write Command Response
AT+QCOLP=<n> OK
Maximum Response Time 15s, determined by network.
Reference
GSM 07.07
Parameter
NOTE
Example
AT+CPBW=1,"02151082965",129,"QUECTEL"
OK
l
AT+QCOLP=1
OK
t e
AT+COLP=1
l
OK
c
ATD02151082965;
a
+COLP: "02151082965",129,"",0,"QUECTEL"
u e t i
OK
Q ide n
12.10. AT+CUSD Unstructured Supplementary Service Data
f
AT+CUSD Unstructured Supplementary Service Data
n
Test Command Response
AT+CUSD=? +CUSD: (list of supported <n>s)
o
OK
C
Read Command Response
AT+CUSD? +CUSD: <n>
OK
Write Command Response
AT+CUSD=[<n>[,<str>[,<dcs>]] OK
Parameter
<n> A numeric parameter which indicates control of the unstructured supplementary service data
0 Disable the result code presentation in the TA
1 Enable the result code presentation in the TA
2 Cancel session (not applicable to read command response)
<str> String type USSD-string
<dcs> Cell Broadcast Data Coding Scheme in integer format (default 0)
Example
AT+CSCS=“UCS2”
l
OK
e
AT+CUSD=1,"002A0031003000300023"
t
+CUSD:
l
1,"0031002E59296C14000A0032002E65B095FB000A0033002E8BC15238000A0034002E5F6979680
c
00A0035002E751F6D3B000A0036002E5A314E50000A0037002E5E385DDE98CE91C7000A002A002
e ia
E900051FA000A", 72
u t
OK
12.11. AT+CSSN
Q ide n
Supplementary Services Notification
f
AT+CSSN Supplementary Services Notification
n
Test Command Response
AT+CSSN=? +CSSN: (list of supported <n>s), (list of supported <m>s)
o
OK
C
Read Command Response
AT+CSSN? +CSSN: <n>,<m>
OK
Write Command Response
AT+CSSN=[<n>[,<m>]] OK
Parameter
l
1 Some of the conditional call forwarding are active
e
2 Call has been forwarded
t
3 Call is waiting
l
4 This is a CUG call (also <index> present)
c
5 Outgoing calls are barred
e a
6 Incoming calls are barred
t i
7 CLIR suppression rejected
u
<index> Closed user group index
n
<code2> 0 This is a forwarded call
Q ide
n f
Co
13 Audio Commands
l
ATL Set Monitor Speaker Loudness
Execution Command Response
e
ATL<value> OK
t l
Maximum Response Time 300ms
c
Reference
e ia
V.25ter
Parameter
u n t
Q ide
<value> 0 Low speaker volume
1 Low speaker volume
2 Medium speaker volume
f
3 High speaker volume
o n
NOTE
The two commands ATL and ATM are implemented only for V.25 compatibility reasons and have no
C
effect.
Parameter
NOTE
The two commands ATL and ATM are implemented only for V.25 compatibility reasons and have no
effect.
13.3. AT+VTD
el
Tone Duration
t
c l
AT+VTD Tone Duration
a
Test Command Response
e i
+VTD: ( list of supported <internalduration>s )[,( list of
t
AT+VTD=?
u
supported <duration>s )]
Q ide n
OK
Read Command Response
AT+VTD? +VTD: <internalduration>,<duration>
f
OK
n
Write Command Response
AT+VTD=<internalduration>[,<duratio This command refers to an integer <internalduration> that
o
n>] defines the length of tones emitted as a result of the +VTS
command. This does not affect the D command.
C
OK
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
OK
Write Command Response
AT+VTS=<dtmf-string> This command allows the transmission of DTMF tones and
arbitrary tones in voice mode. These tones may be used (for
l
example) when announcing the start of a recording period.
e
OK
t l
If error is related to ME functionality:
c
+CME ERROR: <err>
e ia
Maximum Response Time Depends on the length of <dtmf-string>.
u t
Reference
n
GSM 07.07
Q ide
Parameter
It has a max length of 20 characters, must be entered between double quotes (" ") and
f
<dtmf-string>
consists of combinations of the following separated by commas. But a single character
n
does not require quotes.
1) <dtmf> A single ASCII characters in the set 0-9, #,*, A-D. This is
o
interpreted as a sequence of DTMF tones whose duration
is set by the +VTD command
C
2) {<dtmf>, <duration>} This is interpreted as a DTMF tone whose duration is
determined by <duration>
<duration> Duration of the tone, unit is 100ms, range: 1-255
Example
ATD10086; //Establish a call
OK
AT+VTS=1 //Send a single DTMF tone according to the prompts of voice
OK
OK
Read Command Response
AT+CALM? +CALM: <mode>
OK
l
Write Command Response
e
AT+CALM=<mode> OK
t l
If error is related to ME functionality:
c
+CME ERROR: <err>
e ia
Maximum Response Time 300ms
u t
Reference
n
GSM 07.07
Q ide
Parameter
0 Normal mode
f
<mode>
1 Silent mode (all sounds from ME are prevented)
o n
13.6. AT+CRSL Ringer Sound Level
C
AT+CRSL Ringer Sound Level
Test Command Response
AT+CRSL=? +CRSL: (list of supported <level>s)
OK
Read Command Response
AT+CRSL? +CRSL: <level>
OK
Write Command Response
AT+CRSL=<level> OK
Parameter
<level> Integer type value (0-100) with manufacturer specific range (Smallest value represents the
lowest sound level)
t el
13.7. AT+CLVL Loud Speaker Volume Level
c l
AT+CLVL Loud Speaker Volume Level
e ia
Test Command Response
u t
AT+CLVL=? +CLVL: (list of supported <level>s)
n
OK
Q ide
Read Command Response
AT+CLVL? +CLVL: <level>
f
OK
Write Command Response
n
AT+CLVL=<level> OK
o
If error is related to ME functionality:
C
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
GSM 07.07
Parameter
<level> Integer type value (0-100) with manufacturer specific range (Smallest value represents
the lowest sound level)
OK
Read Command Response
AT+CMUT? +CMUT: <n>
OK
l
Write Command Response
e
AT+CMUT=<n> OK
t l
If error is related to ME functionality:
c
+CME ERROR: <err>
e ia
Maximum Response Time 300ms
u t
Reference
n
GSM 07.07
Q ide
Parameter
0 Mute off
f
<n>
1 Mute on
13.9. AT+QSIDET
C
AT+QSIDET Change the Side Tone Gain Level
Test Command Response
AT+QSIDET=? +QSIDET: (list of supported <gainlevel>s)
OK
Read Command Response
AT+QSIDET? +QSIDET(NORMAL_AUDIO): <gainlevel>
OK
+QSIDET(HEADSET_AUDIO): <gainlevel>
OK
Parameter
l
<gainlevel> Range is 0-255
NOTE
c t e l
e ia
<gainlevel> value is related to specific channel.
u n t
Q ide
13.10. AT+QMIC Change the Microphone Gain Level
f
Test Command Response
n
AT+QMIC=? +QMIC: (list of supported <channel>s), (list of supported
<gainlevel>s)
o
OK
C
Read Command Response
AT+QMIC? +QMIC:
<gainlevel(Normal_Mic)>,<gainlevel(Headset_Mic)>,<gai
nlevel(Loudspeaker_Mic)>
OK
Write Command Response
AT+QMIC=<channel>,<gainlevel> OK
Reference
Parameter
l
Test Command Response
e
AT+QLDTMF=? +QLDTMF: (list of supported <n>s), (list of supported
t
<DTMF-string>s)
c a l
OK
e i
Write Command Response
t
AT+QLDTMF=<n>[,<DTMF string>] OK
Execution Command
AT+QLDTMF u
Q ide n
If error is related to ME functionality:
+CME ERROR: <err>
Response
OK
f
Maximum Response Time Depends on the length of <DTMF string>.
n
Reference
o
Parameter
C
<n> A numeric parameter(1-1000) which indicates the duration of all DTMF tones in
<DTMF -string> in 1/10 seconds
<DTMF-string> A string parameter which has a max length of 20 DTMF characters (single ASCII chars
in the set 0-9,#,*,A-D), separated by commas
NOTE
Aborts any DTMF tones that are generated currently and any DTMF tones sequence.
OK
Read Command Response
AT+QAUDCH? +QAUDCH: <n>
OK
l
Write Command Response
e
AT+QAUDCH=[<n>] OK
t l
If error is related to ME functionality:
c
+CME ERROR: <err>
e ia
Maximum Response Time 300ms
u t
Reference
Parameter
<n> 0
Q ide n
Normal audio channel (default)
f
1 Headset audio channel
2 Loudspeaker audio
13.13. AT+QLTONE
AT+QLTONE
Test Command
AT+QLTONE=?
C
Generate Local Specific Tone
Response
+QLTONE: (list of supported <mode>s), (list of supported
<frequency>s), (list of supported <periodOn>s), (list of
supported <periodOff>s), (list of supported <duration>s)
OK
Write Command Response
AT+QLTONE=<mode>,<frequency>,< OK
periodOn>,<periodOff>,<duration>
If error is related to ME functionality:
+CME ERROR: <err>
Reference
Parameter
l
<duration> Duration of tones in milliseconds
t e
NOTE
c l
When playing tone, module will continuously play for <periodOn>, then stop playing for <periodOff> in a
e a
cycle. The total time of cycles is <duration>.
u n t i
Q ide
13.14. AT+QTONEP Set DTMF Output Path
f
Test Command Response
AT+QTONEP=? +QTONEP: (list of supported <outputpath>s)
o n
OK
Read Command Response
C
AT+QTONEP? +QTONEP: <n>
OK
Write Command Response
AT+QTONEP=<outputpath> OK
Reference
Parameter
NOTE
Set AT+QTONEP=3, output DTMF or tone from default speak path. For more details, consult
l
AT+QAUDCH.
c t e l
13.15. AT+QTDMOD Set Tone Detection Mode
e ia
AT+QTDMOD Set Tone Detection Mode
u t
Test Command Response
n
AT+QTDMOD=? +QTDMOD: (list of supported <operatefuntion>s),(list of
supported <funtionstatus>s)
Read Command
Q ide OK
Response
f
AT+QTDMOD? +QTDMOD: <operatefuntion>,<funtionstatus>
n
OK
o
Write Command Response
AT+QTDMOD=<operatefuntion>,<funt OK
C
ionstatus>
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Parameter
<operatefuntion>Operate function
1 Set detection range
2 Set detection mode
<funtionstatus> Function status
0 When set <operatefuntion>=1, detect all DTMF, including 1400 and 2300
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.
l
5. Consult AT+QTONEDET.
13.16. AT+QTONEDET
c t e l
Detect DTMF
AT+QTONEDET
u e t i
Detect DTMF
a
n
Test Command Response
+QTONEDET: (list of supported <mode>s)
Q ide
AT+QTONEDET=?
OK
Read Command Response
f
AT+QTONEDET? +QTONEDET: <mode>
n
OK
o
Write Command Response
AT+QTONEDET=<mode >[,<operate>] OK
C
[,<prefixpause>][,<lowthreshold>][,<h
ighthreshold>] If error is related to ME functionality:
+CME ERROR: <err>
Reference
Parameter
l
threshold, each duration of which is 100ms.
e
1 Set threshold values, these values are 1400Hz and 2300Hz 100ms detection
t
threshold.
l
When <mode>=3, <operate> set as follows
c
0 Query threshold values, these values are 1400Hz and 2300Hz 400ms detect
e a
threshold.
t i
1 Set threshold values, these values are 1400Hz and 2300Hz 400ms detect
u
threshold.
n
When <mode>=4, <operate > set as follows
Q ide
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
f
1 Debug status, only report +QTONEDTD:x,x,… debug information (refer to
Note2).
n
2 Debug status and working status, report +QTONEDTD: x,x,… debug
o
information (refer to Note2) and +QTONEDET:x,x, please refer to Note 3.
<prefixpause> Prefix pause number
C
<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 DTMF 4
53 DTMF 5
54 DTMF 6
55 DTMF 7
56 DTMF 8
57 DTMF 9
65 DTMF A
66 DTMF B
67 DTMF C
68 DTMF D
42 DTMF *
35 DTMF #
69 1400Hz frequency
70 2300Hz frequency
<persistencetime>
100 100ms of the tone is detected, only 1400Hz and 2300 Hz
400 400ms of the tone is detected, only 1400Hz and 2300 Hz
l
NOTES
e
1. Available during voice call.
t
2. If the duration of DTMF tone is within the value range of low and high threshold value, its effective unit
l
is 20ms.
c
3. When in debug mode, report +QTONEDTD: <dtmfcode>,<weak>,<strong>,<pause_f7>,
e ia
<pause_dtmf>,<pause_unkown>,<framecnt>.
t
4. When report as follow:
u
+QTONEDET: 50 Detected DTMF 2
n
+QTONEDET: 69,100 Detected 100ms of 1400Hz
Q ide
+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.
n f
o
13.17. AT+QWDTMF Play DTMF Tone During the Call
C
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
>,<mutetime>”),(list of supported <channel>s),(list of
supported <mode>s)
OK
Write Command Response
AT+QWDTMF=<ul_volume>,<dl_volu If success is related to ME functionality:
me>,(“<dtmfcode>,<continuancetime +QWDTMF: 5
>,<mutetime>”)[,<channel>][,<mode>
] OK
OK
Reference
el
Parameter
t l
<ul_volume> 0~7, uplink channel of the volume
c
<dl_volume> 0~7, downlink channel of the volume, recommended to set 0
e a
The DTMF tone strings
i
<dtmfcode>
t
'0' DTMF 0
u
'1' DTMF 1
n
'2' DTMF 2
Q ide
'3' DTMF 3
'4' DTMF 4
'5' DTMF 5
'6' DTMF 6
f
'7' DTMF 7
'8' DTMF 8
n
'9' DTMF 9
o
'A' DTMF A
'B' DTMF B
C
'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> Mute time, unit is ms
<channel> 0 Normal audio channel
1 Headset audio channel
2 Loudspeaker audio
<mode> 0 Algorithm 1 (Default)
1 Algorithm 2
NOTES
1. AT+QWDTMF=7,0,”0A5,50,50,1,55,50,23,100,50”
Send DTMF ‘0’ for 50ms, mute 50ms; send DTMF ‘A’ for 50ms, mute 50ms; send DTMF ‘5’ for 50ms,
mute 50ms; send DTMF ‘1’ for 55ms, mute 50ms; send DTMF ‘2’ for 100ms, mute 50ms; send
DTMF ‘3’ for 100ms, mute 50ms.
2. <channel> is available for non-call.
t el
e c ia l
u n t
Q ide
n f
Co
l
AT+CCLK Clock
Test Command Response
e
AT+CCLK=? OK
t
Read Command Response
c l
AT+CCLK? +CCLK: <time>
e ia
OK
u t
Write Command Response
n
AT+CCLK=<time> OK
Q ide
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time 300ms
f
Reference
n
GSM 07.07
o
Parameter
C
<time> String type value; format is "yy/MM/dd,hh:mm:ss±zz", where characters indicate year (two
last digits),month, day, hour, minutes, seconds and time zone (indicates the difference,
expressed in quarters of an hour, between the local time and GMT; range -48...+48). E.g.
May 6th, 1994, 22:10:00 GMT+2 hours equals to "94/05/06,22:10:00+08"
Example
AT+CCLK? //Query the local time
+CCLK: "08/01/04, 00:19:43+00"
OK
OK
Write Command Response
AT+QALARM=<state>,<time>,<repeat OK
>,<power> ERROR
el
If error is related to ME functionality:
t
+CME ERROR: <err>
c l
Maximum Response Time 300ms
a
Reference
Parameter
u e n t i
Q ide
<state> An integer parameter which indicates whether or not to enable alarm
0 CLEAR ALARM
1 SET ALARM
f
<time> A string parameter which indicates the time when an alarm arises. The format is
“yy/MM/dd,hh:mm:ss+-zz” where characters indicate the last two digits of year, month, day,
n
hour, minute, second and time zone. The time zone is expressed in quarters of an hour
o
between the local time and GMT, ranging from -48 to +48
<repeat> An integer parameter which indicates the repeat mode
0 None
C
1 Daily
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.
OK
Execution Command Response
AT+CBC +CBC: <bcs>, <bcl>,<voltage>
l
OK
t e
If error is related to ME functionality:
c l
+CME ERROR: <err>
a
Maximum Response Time 300ms
e i
Reference
u t
GSM 07.07
Parameter
<bcs>
Q ide
Charge status
n
f
0 ME is not charging
1 ME is charging
n
2 Charging has finished
<bcl> Battery connection level
o
0...100 Battery has 0-100 percent of capacity remaining vent
<voltage> Battery voltage (mV)
14.4. AT+QSCLK
AT+QSCLK
Test Command
C Configure Slow Clock
OK
Read Command Response
AT+QSCLK? +QSCLK: <n>
OK
Reference
Parameter
l
1 Enable slow clock, it is controlled by DTR
c t e l
14.5. AT+QTEMP Query the Current Voltage and Temperature
e t ia
AT+QTEMP Query the Current Voltage and Temperature
u
Test Command Response
n
AT+QTEMP=? +QTEMP: (list of supported <mode>s)
Q ide
OK
Read Command Response
AT+QTEMP? +QTEMP: <mode>,<voltage>,<temperature>
Write Command
n f OK
Response
o
AT+QTEMP=<mode> OK
ERROR
C
+CME ERROR: <err>
Maximum Response Time 300ms
Reference
Parameter
<mode> 0 Disable
1 Enable<voltage> The current voltage of the temperature sensitive
resistor (mV)
<temperature> The current temperature of the temperature sensitive resistor
Range is from -40 to 90 (℃)
OK
Read Command Response
AT+QLEDMODE? +QLEDMODE: <ledmode>
OK
l
Write Command Response
e
AT+QLEDMODE=<ledmode> OK
t l
If error is related to ME functionality:
c
+CME ERROR: <err>
e ia
Maximum Response Time 300ms
u t
Reference
Parameter
<ledmode>
Q ide
0
n
Network LED flashes rapidly when a call is ringing
f
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
n
when URC reported until the ringing ends
NOTE
Co
Please restart the module after the command is set.
15 Others Commands
l
A/ Re-issues the Last Command Given
Execution Command Response
e
A/ Re-issues the previous command
t l
Maximum Response Time 300ms
c
Reference
e ia
V.25ter
NOTE
u n t
Q ide
This command does not work when the serial multiplexer is active. It does not have to end with
terminating character.
f
Example
n
AT
o
OK
A/ //Re-issues the previous command
C
OK
V.25ter
Parameter
l
ATS3 Set Command Line Termination Character
e
Read Command Response
t
ATS3? <n>
c a l
OK
e i
Write Command Response
t
This parameter setting determines the character recognized
u
ATS3=<n>
by TA to terminate an incoming command line. The TA also
n
returns this character in output.
Q ide
OK
Maximum Response Time 300ms
Reference
f
V.25ter
o n
Parameter
C
<n> 0-13-127 Command line termination character (Default 13=<CR>)
OK
Write Command Response
ATS4=<n> This parameter setting determines the character generated
Parameter
15.5. ATS5
el
Set Command Line Editing Character
t
c l
ATS5 Set Command Line Editing Character
e ia
Read Command Response
t
ATS5? <n>
u n
OK
Q ide
Write Command Response
ATS5=<n> This parameter setting determines the character recognized
by TA as a request to delete the immediately preceding
character from the command line.
f
OK
n
Maximum Response Time 300ms
o
Reference
V.25ter
C
Parameter
OK
Read Command Response
AT+DS? +DS: <p0>,<n>,<p1>,<p2>
OK
Write Command Response
AT+DS=[<p0>[,<n>[,<p1>[,<p2>]]]] This parameter setting determines the possible data
compression mode by TA at the compression negotiation with
the remote TA after a call set up.
OK
l
Maximum Response Time 300ms
Reference
t e
V.25ter
c a l
Parameter
e t i
<p0> 0 NONE
u
0 Allow negotiation of <p0> down
n
<n>
1 Do not allow negotiation of <p0> - disconnect on difference
Q ide
<p1> 512-4096 Dictionary size
<p2> 6-250 Maximum string size (Default value is 6)
f
NOTES
n
1. This command is only for data call.
o
2. GSM transmits the data transparently. The remote TA may support this compression.
3. This command must be used in conjunction with command AT+CRLP to enable compression
(AT+CRLP=X,X,X,X,1,X).
15.7. AT+DR
C V.42bis Data Compression Reporting Control
OK
Read Command Response
AT+DR? +DR: <value>
OK
Reference
V.25ter
l
Parameter
t e
<value> 0 Reporting disabled
e c ia l
u t
15.8. AT+QRIMODE Set RI Time
Q ide n
AT+QRIMODE Set RI Time
Test Command Response
AT+QRIMODE=? +QRIMODE: (list of supported <timemode>s)
f
OK
n
Read Command Response
AT+QRIMODE? +QRIMODE: <timemode>
o
OK
C
Write Command Response
AT+QRIMODE=<timemode> OK
Reference
Parameter
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
t el
e c ia l
u n t
Q ide
n f
Co
16 Appendix
l
Table 4: Related Documents
e
SN Document Name Remark
t l
[1] V.25ter Serial asynchronous automatic dialing and control
c a
Digital cellular telecommunications (Phase 2+); AT
e
[2] GSM 07.07
i
command set for GSM Mobile Equipment (ME)
t
Use of Data Terminal Equipment - Data Circuit
u
terminating Equipment (DTE- DCE) interface for Short
n
[3] GSM 07.05
Message Service (SMS) and Cell Broadcast Service
Q ide
(CBS)
f
[5] GSM_TCPIP_Application_Note GSM TCPIP Application Note
n
[6] GPRS_Startup_User_Guide GPRS Startup User Guide
o
[7] GSM_MUX_Application_Note MUX Application Note
C
[8] SMS_Application_Note SMS Application Note
Abbreviation Description
ME Mobile Equipment
TA Terminal Adapter
MS Mobile Station
TE Terminal Equipment
l
DCD Dynamic Content Delivery
t e
DTR Data Terminal Ready
c l
CSD Circuit Switch Data
e ia
PSC Primary Synchronization Code
u t
PDP Packet Data Protocol
Q ide n
TCP Transmission Control Protocol
n f
16.3. Factory Default Settings Restorable with AT&F
AT Command
ATE
ATQ
o
Table 6: Factory Default Settings Restorable with AT&F
C Parameters
<value>
<n>
Factory Defaults
ATS0 <n> 0
ATS3 <n> 13
ATS4 <n> 10
ATS5 <n> 8
ATS6 <n> 2
ATS7 <n> 60
ATS8 <n> 2
ATS10 <n> 15
ATV <value> 1
ATX <value> 4
AT&C <value> 1
l
AT&D <value> 0
t e
AT+ILRR <value> 0
c l
AT+CREG <n> 0
e ia
AT+CCUG <n>,<index>,<info> 0,0,0
u n t
AT+CSCS <chset> “GSM”
Q ide
AT+CSTA <type> 129
AT+CMEE <n> 1
f
AT+CR <mode> 0
n
<iws>,<mws>,<T1>,<N2>,<Ver
AT+CRLP 61,61,128,6,0,3
1>,<T4>
o
When AT+QAUDCH=0, the default
value is 60
C
When AT+QAUDCH=1, the default
AT+CLVL <level>
value is 40
When AT+QAUDCH=2, the default
value is 35
AT+CRSL <level> 55
AT+QDISH <disableath> 0
AT+CUSD <n> 0
AT+CSNS <mode> 0
AT+CMGF <mode> 0
AT+CCWA <n> 0
AT+CMOD <mode> 0
<mode>,<mt>,<bm>,<ds>,<bfr
AT+CNMI 2,1,0,0,0
l
>
AT+CSDH <show> 0
t e
AT+CSMS <service> 0
c a l
AT+QSCLK <n> 0
e t i
AT+QIURC <mode> 1
u n
AT+QEXTUNSOL <mode> 0
Q ide
AT+QRIMODE <timemode> 0
AT+QTEMP <mode> 1
f
AT+CLIP <n>,<m> 0,1
n
AT+COLP <n>,<m> 0,1
o
AT+QCLIP <n> 0
C
AT+QCOLP <n> 0
l
ATS10 <n> Yes
t e
ATV <value> Yes
c l
ATX <value> No
e ia
AT&C <value> Yes
u n t
AT&D <value> Yes
Q ide
AT+ICF <format>,<parity> Yes
f
AT+ILRR <value> Yes
n
AT+IPR <rate> Yes
o
AT+CREG <n> Yes
C
AT+CCUG <n>,<index>,<info> Yes
AT+QDISH <disableath> No
<iws>,<mws>,<T1>,<N2>,<Ver
AT+CRLP Yes
1>,<T4>
l
AT+CCWA <n>. Yes
t e
AT+CNMI <mode>,<mt>,<bm>,<ds>,<bfr> Yes
c l
AT+CSDH <show> Yes
e ia
AT+QSCLK <n> No
u n t
AT+QIURC <mode> No
Q ide
AT+QEXTUNSOL <mode> No
f
AT+QRIMODE <timemode> No
n
AT+CLIP <n>,<m> Yes
o
AT+COLP <n>,<m> Yes
C
AT+QCOLP <n> Yes
ATE <value> 1
ATQ <n> 0
ATS0 <n> 0
l
ATS3 <n> 13
t e
ATS4 <n> 10
c l
ATS5 <n> 8
e ia
ATS6 <n> 2
u t
ATS7 <n> 60
Q ide n
ATS8 <n> 2
ATS10 <n> 15
f
ATV <value> 1
n
ATX <value> 4
o
AT&C <value> 1
AT&D <value> 0
C
AT+ILRR <value> 0
AT+CREG <n> 0
AT+CMEE <n> 1
AT+CR <mode> 0
AT+QDISH <disableath> 0
<iws>,<mws>,<T1>,<N2>,<Ver1>
AT+CRLP 61,61,128,6,0,3
,<T4>
When AT+QAUDCH=0, the
default value is 60
When AT+QAUDCH=1, the
AT+CLVL <level>
default value is 40
When AT+QAUDCH=2, the
default value is 35
AT+CRSL <level> 55
l
When AT+QAUDCH=0, the
default value is 80
e
AT+QSIDET <gainlevel>
When AT+QAUDCH=1, the
t
default value is 144
c l
<gainlevel>,<gainlevel>,<gainleve
AT+QMIC 4,9,8
a
l>
e t i
AT+CUSD <n> 0
u n
AT+CSSN <n>,<m> 0,0
Q ide
AT+CSNS <mode> 0
AT+CMGF <mode> 0
f
AT+CNMI <mode>,<mt>,<bm>,<ds>,<bfr> 2,1,0,0,0
n
AT+CSDH <show> 0
o
AT+CSMS <service> 0
C
AT+QSCLK <n> 0
AT+QIURC <mode> 1
AT+CCWA <n> 0
AT+CMOD <mode> 0
AT+QEXTUNSOL <mode> 0
AT+QTEMP <mode> 1
AT+QRIMODE <timemode> 0
AT+QCOLP <n> 0
AT+QCLIP <n> 0
l
Index URC Display Meaning Condition
t e
New message is received, and
1 +CMTI:<mem>,<index> AT+CNMI=2,1
l
saved to memory
c
New short message is received
a
+CMT:[<alpha>],<length><CR><L
e i
2 and output directly to TE (PDU AT+CNMI=2,2
F><pdu>
t
mode)
u
+CMT:<oa>,[<alpha>],<scts>[,<to New short message is received
n
3 oa>,<fo>,<pid>,<dcs>,<sca>,<tos and output directly to TE (Text AT+CNMI=2,2
Q ide
ca>,<length>]<CR><LF><data> mode)
New CBM is received and output
4 +CBM:<length><CR> AT+CNMI=2,2
directly (PDU mode)
f
+CBM:<sn>,<mid>,<dcs>,<page> New CBM is received and output
5 AT+CNMI=2,2
,<pages>,<CR>,<LF><data> directly to TE (Text mode)
n
New CDS is received and output
6 +CDS:<length><CR><LF><pdu> AT+CNMI=2,2
o
directly (PDU mode)
+CDS:<fo>,<mr>,[<ra>],[<tora>],< New CDS is received and output
7 AT+CNMI=2,2
C
scts>,<dt>,<st> directly to TE (Text mode)
+CGEV:NW
8 DEACT<PDP_type>,<PDP_addr> GPRS network detach AT+CGEREP=1
[,<cid>]
+CGEV:ME
9 DEACT<PDP_type>,<PDP_addr> GPRS ME detach AT+CGEREP=1
[,<cid>]
l
particular call state transition ="UR",1
Display battery connection status AT+QEXTUNSOL
e
20 +CBCN:<bcs>,<bcl>
and battery charge level ="BC",1
t l
AT+QEXTUNSOL
c
21 +QBAND:<band> Band mode display
="BM",1
e a
AT+QEXTUNSOL
i
22 +TSMSINFO:<CMS error info> Additional SMS information
t
="SM",1
u
Displays the disconnected call ID
n
+CCINFO:<Call is AT+QEXTUNSOL
23 and the remain call numbers after
Disconnected>,<remain calls> ="CC",1
Q ide
one of the call is disconnected
f
25 Call Ready N/A
calls
n
UNDER_VOLTAGE POWER
26 Under voltage shutdown indication N/A
DOWN
o
27 UNDER_VOLTAGE WARNING Under voltage warning N/A
C
OVER_VOLTAGE POWER
28 Over voltage shutdown indication N/A
DOWN
AT+QALARM=1,<t
39 ALARM RING Alarm event is triggered
l
ime>,<repeat>,0/1
AT+QALARM=1,<t
e
40 ALARM MODE ME is switched on by alarm
ime>,<repeat>,2
c t a l
e i
16.7. Summary of CME ERROR Codes
u n t
Final result code +CME ERROR: <err> indicates an error related to mobile equipment or network. The
Q ide
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
f
and GRPS related ERROR Codes. For some GSM protocol failure cause described in GSM specifications,
n
the corresponding ERROR codes are not included.
o
Table 10: Different Coding Schemes of +CME ERROR: <err>
C
Code of <err> Meaning
0 Phone failure
1 No connection to phone
13 SIM failure
14 SIM busy
l
15 SIM wrong
t e
16 Incorrect password
c l
17 SIM PIN2 required
e ia
18 SIM PUK2 required
u n t
20 Memory full
Q ide
21 Invalid index
22 Not found
f
23 Memory failure
n
24 Text string too long
o
25 Invalid characters in text string
C
26 Dial string too long
30 No network service
31 Network timeout
103 Illegal MS
106 Illegal ME
l
107 GPRS services not allowed
t e
111 PLMN not allowed
c l
112 Location area not allowed
e ia
113 Roaming not allowed in this location area
u n t
132 Service option not supported
Q ide
133 Requested service option not subscribed
f
148 Unspecified GPRS error
n
149 PDP authentication failure
o
150 Invalid mobile class
C
151 Link NS SP person PIN required
604 Unspecified
l
3513 Unread records on SIM
t e
3515 PS busy
c l
3516 Couldn't read SMS parameters from SIM
e ia
3517 SM not ready
u n t
3518 Invalid parameter
Q ide
3738 CSCS mode not found
f
3765 Invalid input value
n
3769 Unable to get control
o
3771 Call setup in progress
C
3772 SIM powered down
Final result code +CMS ERROR: <err> indicates an error related to mobile equipment or network. The
operation is similar to ERROR result code. None of the following commands in the same command line is
executed. Neither ERROR nor OK result code shall be returned.
l
Code of <err> Meaning
t e
300 ME failure
c l
301 SMS ME reserved
e ia
302 Operation not allowed
u t
303 Operation not supported
Q ide n
304 Invalid PDU mode
f
310 SIM not inserted
n
311 SIM pin necessary
o
312 PH SIM pin necessary
C
314 SIM busy
331 No network
500 Unknown
l
514 Invalid request parameters
t e
515 ME storage failure
c l
517 Invalid service mode
e ia
528 More message to send state error
u n t
529 MO SMS is not allow
Q ide
530 GPRS is suspended
f
3513 Unread records on SIM
n
3515 PS busy
o
3516 Couldn't read SMS parameters from SIM
C
3517 SM not ready
ID
t el Description
l
0 No error (default)
c a
1 Cause for protocol stack (PS) layer
e t i
2 Internal cause for Mobility Management (MM) layer
u n
3 Cause for PPP/IP-Stack
Q ide
16.9.2. Cause for Protocol Stack (PS) Layer
f
Table 13: Cause for Protocol Stack (PS) Layer
Cause
CM Cause
o n Description
C
0 Radio link fail
1 Unassigned number
3 No route to destination
6 Channel unacceptable
10 Call barred
11 Reserved
17 User busy
18 No user responding
21 Call rejected
22 Number changed
25 Pre-emption
l
26 Non-selected user clearing
t e
27 Destination out of order
c l
28 Invalid number format (incomplete number)
e ia
29 Facility rejected
u n t
30 Response to STATUS ENQUIRY
Q ide
31 Normal, unspecified
34 No circuit/channel available
f
38 Network out of order
n
41 Temporary failure
o
42 Switching equipment congestion
C
43 Access information discarded
l
87 User not member of CUG
t e
88 Incompatible destination
c l
91 Invalid transit network selection
e ia
95 Semantically incorrect message
u n t
96 Invalid mandatory information
Q ide
97 Message type non-existent or not implemented
f
99 Information element non-existent or not implemented
n
100 Conditional information element error
o
101 Message not compatible with protocol
C
102 Recovery on timer expiry
192 SC busy
l
193 No SC subscription
t e
194 SC system failure
c l
195 Invalid SME address
e ia
196 Destination SME barred
u n t
197 SM Rejected-Duplicate SM
Q ide
198 TP-VPF not supported
f
208 SIM SMS storage full
n
209 No SMS storage capability in SIM
o
210 Error in MS
C
211 Memory Capacity Exceeded
l
500 Unknown error
t e
512 SMS no error
c l
513 Message length exceeds maximum length
e ia
514 Invalid request parameters
u n t
515 ME storage failure
Q ide
516 Invalid bearer service
f
518 Invalid storage type
n
519 Invalid message format
o
520 Too many MO concatenated messages
C
521 SMSAL not ready
CC Cause
l
770 Call allocation fail
t e
771 BC fill fail
c l
772 Call RE EST
e ia
773 Illegal DTMF tone
u n t
774 Illegal BC
Q ide
775 Modify actual mode
f
777 No response from network
n
778 Call accept not allowed
o
896 General cause
C
SS Cause
1044 SS incompatibility
l
1053 Short term denial
t e
1054 Long term denial
c l
1058 System failure
e ia
1059 Data missing
u n t
1060 Unexpected data value
Q ide
1061 PW registration failure
f
1067 Number of PW attempts violation
n
1078 Position method failure
o
1095 Unknown alphabet
C
1096 USSD busy
l
1159 Invoke problem, initiating release
t e
1160 Invoke problem, unrecognized linked ID
c l
1161 Invoke problem, linked resource unexpected
e ia
1162 Invoke problem, unexpected linked operation
u n t
1163 Return result problem, RR unrecognized invoked
Q ide
1164 Return result problem, RR, return result unexpected
f
1166 Return error problem, RE, unrecognized invoked
n
1167 Return error problem, RE return error unexpected
o
1168 Return error problem, RE unrecognized error
C
1169 Return error problem, RE unexpected error
MM Cause
2051 Illegal MS
2054 Illegal ME
l
2061 Roaming area not allowed
t e
2062 GPRS not allowed in PLMN
c l
2063 No suitable cells in LA
e ia
2064 MSC temp not reachable
u n t
2065 Network failure
Q ide
2068 MAC failure
f
2070 Congestion
n
2080 Serve option not supported
o
2081 Request serve option not subscribed
C
2082 Serve option temp out of order
l
2162 Random access failure
t e
2163 RR no service
c l
2164 PLMN search reject emergency
e ia
2165 RR connection release
u n t
2166 Authentication failure
Q ide
2167 IMSI detach
f
2169 Connection timeout
n
2170 Enqueue fail
o
2171 Not updated
C
2172 State not allowed
2174 No service
SIM Cause
2563 No inserted
2569 DL error
l
2570 Memory problem
t e
2571 Technical problem
c l
2572 PUK unlock
e ia
SM Cause
u n t
3080 Operator determined barring
Q ide
3097 LLC SND failure
f
3099 Unknown APN
n
3100 Unknown PDP address or type
o
3101 Authentication failure
C
3102 Activation reject GGSN
l
3118 PDP context WO TFT already act
t e
3153 Invalid TI
c l
3167 Incorrect message
e ia
3168 Invalid MAND info
u n t
3169 Unimplemented message type
Q ide
3170 Incompatible message type protocol state
3171 Unimplemented IE
f
3172 Conditional IE error
n
3173 Incompatible message protocol state
o
3183 Unspecified
C
3184 Startup failure
ABM Cause
3273 Success
3283 Rejected
3285 Abort
TCM Cause
l
3376 ACL add entry failed
t e
3377 ACL del entry failed
c l
3378 ACL set entry failed
e ia
3379 ACL SIM read failed
u n t
3380 ACL SIM write failed
Q ide
16.9.3. Internal cause for MM layer
f
Table 14: Internal Cause for MM Layer
n
Cause Description
o
112 Forbidden PLMN
C
113 Access class barred
114 No coverage
l
128 Connection failure
t e
129 Emergency not allowed
c l
130 No GPRS coverage
e ia
131 Abnormal LU
u n t
132 Abnormal LU less than 4 times
Q ide
133 Same LAI IMSI attaching
f
16.9.4. Cause for PPP/IP-Stack
n
Table 15: Cause for PPP/IP-Stack
o
Cause Description
C
0 No error
1 LCP fail
2 Authentication fail
3 IPCP fail
4 ESC detect
t el
e c ia l
u n t
Q ide
n f
Co