Quectel UG Series Command Manual

WCDMA UGxx
AT Commands Manual
UMTS/HSPA Module Series
Rev. WCDMA_UGxx_AT_Commands_Manual_V1.7 Date: 2016-05-05
www.quectel.com
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Our aim is to provide customers with timely and comprehensive service. For any assistance, please contact our company headquarters:
Quectel Wireless Solutions Co., Ltd.
Office 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233 Tel: +86 21 5108 6236 Email: info@quectel.com
Or our local office. For more information, please visit:
http://www.quectel.com/support/salesupport.aspx
For technical support, or to report documentation errors, please visit:
http://www.quectel.com/support/techsupport.aspx Or email to: Support@quectel.com
GENERAL NOTES
QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION PROVIDED IS BASED UPON CUSTOMERS‟ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO CHANGE WITHOUT PRIOR NOTICE.
COPYRIGHT
THE INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF QUECTEL CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE FORBIDDEN WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL OR DESIGN.
Copyright © Quectel Wireless Solutions Co., Ltd. 2016. All rights reserved.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 1 / 247
Revision
Date
Author
Description
1.0
2014-08-28
Laguna XU/ Wythe WANG
Initial
1.1
2014-12-10
Roddick SUN/ Yolanda YAO/ Jessica GENG
1. Added AT Commands: ATS4/ATS3/+GOI/+QRIR/+QCFG/+QCCID/
+QSIMSTAT/+QSIMDET/+CTZR/+CTZU/ +QLTS/+QECCNUM/+QSCLK/+CALM/+CRSL/ +QAUDLOOP/+QDAC/+QLTONE/+QLDTMF/ +QWDTMF
2. Modified AT Commands:
+VTS/+VTD/+CGDCONT/+CPBR
3. Updated the description of URC
1.2
2015-03-01
Bonnie ZHAO/ Jesse ZHANG
1. Changed the document name from “UG95” to
“UGxx”
2. Added AT Commands:
+QCMGS/+QCMGR/+QCFG="nwscanmode"/ +QCFG="fota/cid"/+QCFG="ussd/textescape"/ +QCFG="sms/textescape"
1.3
2015-04-01
Jesse ZHANG
Updated applicable modules
1.4
2015-05-21
Jesse ZHANG
1. Updated the description of +QSCLK
2. Added <number> description in +CPBF and
+CPBW
3. Added AT Commands:
+QCFG="vbatt"/+QCFG="temp"/ +QCFG="remoteip"
1.5
2015-08-18
Roddick SUN/ Sophie ZHU/
1. Added AT Commands:
+QGPCLASS/+QGDCNT/+QAUGDCNT/ +CIND/+QCFG="stateurc/enable"/+QMIC/ +QAUDMOD/+QAUDCFG/+QSIDET/ +QAUDGAIN/+QCLKOUT/+QPCMON/+QIIC
Quectel
Confidential
WCDMA UGxx AT Commands Manual

About the Document

History
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 2 / 247
2. Removed +CLVL/+CMUT from Table 7
1.6
2016-01-27
Roddick SUN
1. Added AT Commands:
+QGAUTH/+QALARM/+QTEMP
2. Added the note for auto save commands
3. Modified the description of +QAUDCFG/
+QDAC/+QECCNUM/+QCFG
1.7
2016-05-05
Sophie ZHU
1. Added AT Commands:
+QCFG=ppp/firstreqintr/+QCFG="sms/listmsg map"
2. Added mode 3 to CTZU
Quectel
Confidential
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 3 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual

Contents

About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 4
Table Index ................................................................................................................................................... 9
1 Introduction ........................................................................................................................................ 10
1.1. Scope of the Document ......................................................................................................... 10
1.2. AT Command Syntax ............................................................................................................. 10
1.3. Supported Character Sets ..................................................................................................... 11
1.4. AT Command Interface.......................................................................................................... 11
1.5. Unsolicited Result Code ........................................................................................................ 12
1.6. Turn off Procedure ................................................................................................................. 12
2 General Commands ........................................................................................................................... 13
2.1. ATI Display Product Identification Information .................................................................... 13
2.2. AT+GMI Request Manufacturer Identification .................................................................... 14
2.3. AT+GMM Request TA Model Identification ......................................................................... 14
2.4. AT+GMR Request TA Revision Identification of Software Release ................................... 14
2.5. AT+GOI Request Global Object Identification .................................................................... 15
2.6. AT+CGMI Request Manufacturer Identification .................................................................. 16
2.7. AT+CGMM Request Model Identification ........................................................................... 16
2.8. AT+CGMR Request TA Revision Identification of Software Release ................................. 17
2.9. AT+GSN Request International Mobile Equipment Identity (IMEI) .................................... 17
2.10. AT+CGSN Request Product Serial Number Identification ................................................. 18
2.11. AT&F Set All Current Parameters to Manufacturer Defaults .............................................. 18
2.12. AT&V Display Current Configuration .................................................................................. 19
2.13. AT&W Store Current Parameters to User Defined Profile .................................................. 20
2.14. ATZ Set all Current Parameters to User Defined Profile .................................................... 20
2.15. ATQ Set Result Code Presentation Mode .......................................................................... 21
2.16. ATV TA Response Format .................................................................................................. 22
2.17. ATE Set Command Echo Mode .......................................................................................... 23
2.18. A/ Repeat Previous Command Line ................................................................................... 24
2.19. ATS3 Set Command Line Termination Character .............................................................. 24
2.20. ATS4 Set Response Formatting Character ........................................................................ 25
2.21. ATS5 Set Command Line Editing Character ...................................................................... 25
2.22. ATX Set CONNECT Result Code Format and Monitor Call Progress ............................... 26
2.23. AT+CFUN Set Phone Functionality .................................................................................... 27
2.24. AT+CMEE Error Message Format ...................................................................................... 28
2.25. AT+CSCS Select TE Character Set ................................................................................... 30
3 Serial Interface Control Commands ................................................................................................ 31
3.1. AT&C Set DCD Function Mode .......................................................................................... 31
3.2. AT&D Set DTR Function Mode ........................................................................................... 31
3.3. AT+IFC Set TE-TA Local Data Flow Control....................................................................... 32
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 4 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual
3.4. AT+IPR Set TE-TA Fixed Local Rate .................................................................................. 33
3.5. AT+QRIR Restore Ring Line to Inactive ............................................................................. 34
4 Status Control Commands ............................................................................................................... 36
4.1. AT+CPAS Mobile Equipment Activity Status ...................................................................... 36
4.2. AT+CEER Extended Error Report ...................................................................................... 37
4.3. AT+QCFG Extended Configuration Settings ...................................................................... 38
4.3.1. AT+QCFG="urc/port" List All Port(s) or Disable URC of a Specified Port .................. 40
4.3.2. AT+QCFG="uart/power" Turn on/off the UART Port ................................................... 40
4.3.3. AT+QCFG="urc/ri/ring" Ring Line Behavior of RING .................................................. 41
4.3.4. AT+QCFG="urc/ri/smsincoming" Ring Line Behavior of Incoming SMS .................... 43
4.3.5. AT+QCFG="urc/ri/other" Ring Line Behavior of Other URCs ..................................... 44
4.3.6. AT+QCFG="urc/delay" Delay URC Indication ............................................................ 45
4.3.7. AT+QCFG="tone/incoming" Enable/Disable Ring Tone ............................................. 45
4.3.8. AT+QCFG="nwscanmode" Network Search Mode Configuration.............................. 46
4.3.9. AT+QCFG="vbatt" Voltage Detection ......................................................................... 47
4.3.10. AT+QCFG="temp" Temperature Detection ................................................................. 49
4.3.11. AT+QCFG="fota/cid" DFOTA Context ID Configuration ............................................. 51
4.3.12. AT+QCFG="ussd/textescape" Character Escape of USSD Text ............................... 52
4.3.13. AT+QCFG="sms/textescape" Character Escape of SMS Text ................................... 53
4.3.14. AT+QCFG="remoteip" Enable/Disable Remote IP Function ...................................... 54
4.3.15. AT+QCFG= "ppp/firstreqintr" Extension Configuration ............................................... 55
4.3.16. AT+QCFG="stateurc/enable" Enable/Disable State URC Indication .......................... 56
4.3.17. AT+QCFG="sms/listmsgmap" List the Message Map ................................................ 57
4.4. AT+QINISTAT Query Initialization State ............................................................................. 59
4.5. AT+CIND Command of Control Instructions....................................................................... 60
4.6. AT+QTEMP Temperature Detection ................................................................................... 61
5 SIM Related Commands .................................................................................................................... 62
5.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) .................................... 62
5.2. AT+CLCK Facility Lock ....................................................................................................... 63
5.3. AT+CPIN Enter PIN ............................................................................................................ 65
5.4. AT+CPWD Change Password ............................................................................................ 67
5.5. AT+CSIM Generic SIM Access ........................................................................................... 68
5.6. AT+CRSM Restricted SIM Access ...................................................................................... 69
5.7. AT+QCCID Show ICCID ..................................................................................................... 70
5.8. AT+QSIMDET SIM Card Detection .................................................................................... 71
5.9. AT+QSIMSTAT SIM Inserted Status Report ....................................................................... 72
6 Network Service Commands ............................................................................................................ 74
6.1. AT+COPS Operator Selection ............................................................................................ 74
6.2. AT+CREG Network Registration ........................................................................................ 76
6.3. AT+CSQ Signal Quality Report .......................................................................................... 77
6.4. AT+CPOL Preferred Operator List ...................................................................................... 79
6.5. AT+COPN Read Operator Names...................................................................................... 80
6.6. AT+CTZU Automatic Time Zone Update ............................................................................ 81
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 5 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual
6.7. AT+CTZR Time Zone Reporting ......................................................................................... 82
6.8. AT+QLTS Obtain the Latest Network Time Synchronization.............................................. 84
6.9. AT+QGPCLASS Change GPRS Multi-slot Class ............................................................... 85
7 Call Related Commands .................................................................................................................... 87
7.1. ATA Answer an Incoming Call ............................................................................................. 87
7.2. ATD Mobile Originated Call to Dial a Number .................................................................... 88
7.3. ATH Disconnect Existing Connection ................................................................................. 90
7.4. AT+CVHU Voice Hang up Control ...................................................................................... 90
7.5. AT+CHUP Hang up Call ..................................................................................................... 91
7.6. +++ Switch from Data Mode to Command Mode ............................................................... 91
7.7. ATO Switch from Command Mode to Data Mode .............................................................. 92
7.8. ATS0 Set Number of Rings before Automatically Answering Call ...................................... 93
7.9. ATS6 Set Pause before Blind Dialing ................................................................................. 94
7.10. ATS7 Set Number of Seconds to Wait for Connection Completion ................................... 94
7.11. ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier ................................. 95
7.12. ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier ....................... 96
7.13. AT+CBST Select Bearer Service Type ............................................................................... 96
7.14. AT+CSTA Select Type of Address ...................................................................................... 98
7.15. AT+CLCC List Current Calls of ME .................................................................................... 99
7.16. AT+CR Service Reporting Control .................................................................................... 100
7.17. AT+CRC Set Cellular Result Codes for Incoming Call Indication .................................... 101
7.18. AT+CRLP Select Radio Link Protocol Parameter ............................................................ 102
7.19. AT+QHUP Hang up Call with a Specific Release Cause ................................................. 103
7.20. AT+QECCNUM Configure Emergency Call Numbers...................................................... 104
8 Phonebook Commands ................................................................................................................... 107
8.1. AT+CNUM Subscriber Number ........................................................................................ 107
8.2. AT+CPBF Find Phonebook Entries .................................................................................. 108
8.3. AT+CPBR Read Phonebook Entries ................................................................................ 109
8.4. AT+CPBS Select Phonebook Memory Storage ............................................................... 110
8.5. AT+CPBW Write Phonebook Entry ...................................................................................111
9 Short Message Service Commands ............................................................................................... 113
9.1. AT+CSMS Select Message Service ................................................................................. 113
9.2. AT+CMGF Message Format ............................................................................................. 114
9.3. AT+CSCA Service Center Address................................................................................... 115
9.4. AT+CPMS Preferred Message Storage ............................................................................ 116
9.5. AT+CMGD Delete Message ............................................................................................. 118
9.6. AT+CMGL List Messages ................................................................................................. 119
9.7. AT+CMGR Read Message ............................................................................................... 122
9.8. AT+CMGS Send Message ............................................................................................... 126
9.9. AT+CMMS More Messages to Send ................................................................................ 127
9.10. AT+CMGW Write Message to Memory ............................................................................ 128
9.11. AT+CNMA New Message Acknowledgement to UE/TE ................................................... 130
9.12. AT+CNMI SMS Event Reporting Configuration ................................................................ 132
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 6 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual
9.13. AT+CSCB Select Cell Broadcast Message Types ........................................................... 134
9.14. AT+CSDH Show SMS Text Mode Parameters ................................................................. 135
9.15. AT+CSMP Set SMS Text Mode Parameters .................................................................... 136
9.16. AT+QCMGS Send Concatenated Messages ................................................................... 137
9.17. AT+QCMGR Read Concatenated Messages ................................................................... 139
10 Packet Domain Commands ............................................................................................................ 141
10.1. AT+CGATT Attachment or Detachment of PS.................................................................. 141
10.2. AT+CGDCONT Define PDP Context ................................................................................ 142
10.3. AT+CGQREQ Quality of Service Profile (Requested)...................................................... 144
10.4. AT+CGQMIN Quality of Service Profile (Minimum Acceptable) ....................................... 146
10.5. AT+CGEQREQ 3G Quality of Service Profile (Requested) ............................................. 149
10.6. AT+CGEQMIN 3G Quality of Service Profile (Minimum Acceptable) .............................. 153
10.7. AT+CGACT Activate or Deactivate PDP Context ............................................................. 157
10.8. AT+CGDATA Enter Data State .......................................................................................... 158
10.9. AT+CGPADDR Show PDP Address ................................................................................. 159
10.10. AT+CGCLASS GPRS Mobile Station Class ..................................................................... 160
10.11. AT+CGREG Network Registration Status ........................................................................ 161
10.12. AT+CGEREP Packet Domain Event Reporting................................................................ 162
10.13. AT+CGSMS Select Service for MO SMS Messages ....................................................... 164
10.14. AT+QGDCNT GPRS Data Counter .................................................................................. 165
10.15. AT+QAUGDCNT Configure to Auto Save GPRS Data Counter ...................................... 166
10.16. AT+QAUGTH Set Auth Type............................................................................................. 167
11 Supplementary Service Commands .............................................................................................. 169
11.1. AT+CCFC Call Forwarding Number and Conditions Control ........................................... 169
11.2. AT+CCWA Call Waiting Control ........................................................................................ 171
11.3. AT+CHLD Call Related Supplementary Services ............................................................ 173
11.4. AT+CLIP Calling Line Identification Presentation ............................................................. 175
11.5. AT+CLIR Calling Line Identification Restriction ................................................................ 176
11.6. AT+COLP Connected Line Identification Presentation .................................................... 177
11.7. AT+CSSN Supplementary Service Notifications .............................................................. 179
11.8. AT+CUSD Unstructured Supplementary Service Data .................................................... 180
12 Audio Commands ............................................................................................................................ 182
12.1. AT+CLVL Loud Speaker Volume Level ............................................................................. 182
12.2. AT+CMUT Mute Control ................................................................................................... 183
12.3. AT+CALM Mute the Ring Tone ......................................................................................... 183
12.4. AT+CRSL Set Ring Tone Volume ..................................................................................... 184
12.5. AT+QAUDLOOP Enable Audio Loop Test ........................................................................ 185
12.6. AT+VTS DTMF and Tone Generation............................................................................... 186
12.7. AT+VTD Set Tone Duration .............................................................................................. 187
12.8. AT+QDAC Digital Audio Configure ................................................................................... 188
12.9. AT+QLTONE Play a Local Customized Tone ................................................................... 189
12.10. AT+QLDTMF Play Local DTMF ........................................................................................ 190
12.11. AT+QWDTMF Play/Send DTMF Tone(s) ......................................................................... 191
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 7 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual
12.12. AT+QMIC Set Uplink(MIC) Volume .................................................................................. 193
12.13. AT+QAUDMOD Set Audio Mode ...................................................................................... 194
12.14. AT+QAUDCFG Audio Tuning Process ............................................................................. 195
12.15. AT+QAUDCFG Extension Configuration .......................................................................... 196
12.15.1. AT+QAUDCFG="handset/eec" Set Echo Cancellation for Handset......................... 196
12.15.2. AT+QAUDCFG="headset/eec" Set Echo Cancellation for Headset......................... 198
12.15.3. AT+QAUDCFG="handfree/eec" Set Echo Cancellation for Handfree ...................... 199
12.15.4. AT+QAUDCFG="handset/nr/ul" Set Uplink Noise Reduction for Handset ............... 200
12.15.5. AT+QAUDCFG="handset/nr/dl" Set Down Link Noise Reduction for Handset ........ 201
12.15.6. AT+QAUDCFG="headset/nr/dl" Set Down Link Noise Reduction for Headset ........ 202
12.15.7. AT+QAUDCFG="headset/nr/ul" Set Uplink Noise Reduction for Headset ............... 203
12.15.8. AT+QAUDCFG="handfree/nr/dl" Set Down Link Noise Reduction for Handfree ..... 204
12.15.9. AT+QAUDCFG="handfree/nr/ul" Set Uplink Noise Reduction for Handfree ............ 205
12.15.10. AT+QAUDCFG="nau8814/dlgain" Set Down Link Gain Level for Codec nau8814206
12.15.11. AT+QAUDCFG="nau8814/ulgain" Set Uplink Gain Level for Codec nau8814 ........ 207
12.15.12. AT+QAUDCFG="alc5616/dlgain" Set Down Link Gain Level for Codec alc5616 .. 208
12.15.13. AT+QAUDCFG="alc5616/ulgain" Set Uplink Gain Level for Codec alc5616 ........ 209
12.15.14. AT+QAUDCFG="max9860/dlgain" Set Down Link Gain Level for Codec max9860210
12.15.15. AT+QAUDCFG="max9860/ulgain" Set Uplink Gain Level for Codec max9860 .... 211
12.16. AT+QSIDET Set the Side Tone Gain in Current Mode ..................................................... 212
12.17. AT+QAUDGAIN Set Gain Offset ...................................................................................... 213
12.18. AT+QCLKOUT Output Clock Source................................................................................ 214
12.19. AT+QPCMON Enable PCM Sync & BCLK ....................................................................... 215
12.20. AT+QIIC IIC Read & Write ................................................................................................ 216
13 Hardware Related Commands ........................................................................................................ 217
13.1. AT+QPOWD Power Off .................................................................................................... 217
13.2. AT+CCLK Clock ................................................................................................................ 217
13.3. AT+QALARM Set Alarm.................................................................................................... 218
13.4. AT+CBC Battery Charge................................................................................................... 221
13.5. AT+QSCLK Configure Whether or not to Enter into Sleep Mode .................................... 221
14 Appendix ........................................................................................................................................... 223
14.1. Reference ............................................................................................................................ 223
14.2. Factory Default Settings Restorable with AT&F .................................................................. 224
14.3. AT Command Setting Storable with AT&W ......................................................................... 226
14.4. AT Command Settings Storable with ATZ ........................................................................... 226
14.5. Summary of CME ERROR Codes ...................................................................................... 227
14.6. Summary of CMS ERROR Codes ...................................................................................... 230
14.7. Summary of URC ................................................................................................................ 238
14.8. Parameter List of AT+CEER ................................................................................................ 240
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 8 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual

Table Index

TABLE 1: TYPES OF AT COMMANDS AND RESPONSES ......................................................................11
TABLE 2: AT&V RESPONSE ..................................................................................................................... 19
TABLE 3: ATV0&ATV1 RESULT CODES NUMERIC EQUIVALENTS AND BRIEF DESCRIPTION ........ 23
TABLE 4: DELAY CLASS ......................................................................................................................... 146
TABLE 5: RELATED DOCUMENTS ........................................................................................................ 223
TABLE 6: TERMS AND ABBREVIATIONS .............................................................................................. 223
TABLE 7: FACTORY DEFAULT SETTINGS RESTORABLE WITH AT&F .............................................. 224
TABLE 8: AT COMMAND SETTINGS STORABLE WITH AT&W ............................................................ 226
TABLE 9: AT COMMAND SETTINGS STORABLE WITH ATZ ................................................................ 226
TABLE 10: DIFFERENT CODING SCHEMES OF +CME ERROR: <ERR> ........................................... 227
TABLE 11: DIFFERENT CODING SCHEMES OF +CMS ERROR: <ERR> ........................................... 230
TABLE 12: SUMMARY OF URC .............................................................................................................. 238
TABLE 13: CAUSE AND DESCRIPTION LIST OF AT+CEER ................................................................ 240
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 9 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual

1 Introduction

1.1. Scope of the Document

This document presents the AT Commands Set for Quectel cellular engine UGxx series.

1.2. AT Command Syntax

The “AT or “at” prefix must be set at the beginning of each command line. To terminate a command line enter <CR>. Commands are usually followed by a response that includes
<CR><LF><response><CR><LF>”. Throughout this document, only the responses are presented, <CR><LF>” are omitted intentionally.
The AT Commands Set implemented by UGxx is a combination of 3GPP TS 27.007, 3GPP TS 27.005 and ITU-T recommendation V.25ter and the AT Commands developed by Quectel.
All these AT commands can be split into three categories syntactically: “basic”, “S parameter”, and extended”. They are listed as follows:
Basic syntax These AT commands have the format of “AT<x><n>”, or “AT&<x><n>”, where “<x>” is the command, and
<n>” is/are the argument(s) for that command. An example of this is “ATE<n>”, which tells the DCE
whether received characters should be echoed back to the DTE according to the value of “<n>”. “<n>” is optional and a default will be used if it is missing.
S parameter syntax These AT commands have the format of “ATS<n>=<m>”, where “<n>” is the index of the S register to set, and “<m>” is the value to assign to it.
Extended syntax These commands can be operated in several modes, as following table:
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 10 / 247
Test Command
AT+<x>=?
This command returns the list of parameters and value ranges set by the corresponding Write Command or internal processes.
Read Command
AT+<x>?
This command returns the currently set value of the parameter or parameters.
Write Command
AT+<x>=<…>
This command sets the user-definable parameter values.
Execution Command
AT+<x>
This command reads non-variable parameters affected by internal processes in the UE.
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Table 1: Types of AT Commands and Responses

1.3. Supported Character Sets

The AT command interface defaults to the GSM character set and supports the following character sets:
GSM  UCS2  IRA  HEX
The character set can be configured and interrogated by AT+CSCS command (3GPP TS 27.007). The character set is defined in 3GPP TS 27.005. The character set affects transmission and reception of SMS and SMS Cell Broadcast Messages, the entry and display of phone book entries text field.

1.4. AT Command Interface

The AT command interface includes three USB ports (USB MODEM port, USB AT port1 and USB AT port2) and one main UART port.
UART Port Feature:
The baud rates of 0, 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600, 3000000, and 6000000 are supported at present. The default baud rate of main UART port is 0, which means the main UART port would be working on auto baud rate by default.
The main UART port supports hardware flow control lines RTS and CTS. But it is off by default. AT command AT+IFC=2,2 is used to enable hardware flow control.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 11 / 247
Quectel
Confidential
WCDMA UGxx AT Commands Manual

1.5. Unsolicited Result Code

As a report message, URC (Unsolicited Result Code) is not issued as part of the response related to an executed AT command. URC is issued by the module without being requested by the TE and it is issued automatically when a certain event occurs. Typical events leading to URCs are incoming calls ("RING"), received short messages, etc. The AT command AT+QCFG="urc/port" could list all available port(s) and the current port. This command also can disable URC indication of a specified port.

1.6. Turn off Procedure

It is recommended to execute AT+QPOWD command to turn off the module, as it is the safest and best way. This procedure is realized by letting the module log off from the network and allowing the software to enter into a secure and safe data state before disconnecting the power supply.
After sending AT+QPOWD, do not enter any other AT commands. The module outputs message “POWERED DOWN” and sets the STATE pin as low to enter into the shutdown state. In order to avoid data loss, it is suggested to wait for 1s to switch off the VBAT after the STATE pin is set as low and the URC “POWERED DOWN” is outputted. If “POWERED DOWN” has not been received after 65s, the VBAT shall be switched off compulsorily.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 12 / 247
ATI Display Product Identification Information
Execution Command
ATI
Response TA issues product information text.
Quectel UGxx Revision: <revision>
OK
Maximum Response Time
300ms
Reference V.25ter
<revision> Revision of software release
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2 General Commands

2.1. ATI Display Product Identification Information

The ATI command delivers a product information text.
Parameter
Example
ATI
Quectel UGxx Revision: UGxxENAR01A01E1G
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 13 / 247
AT+GMI Request Manufacturer Identification
Test Command
AT+GMI=?
Response
OK
Execution Command AT+GMI
Response TA reports one or more lines of information text which permit the user to identify the manufacturer.
Quectel
OK
Reference V.25ter
AT+GMM Request TA Model Identification
Test Command
AT+GMM=?
Response
OK
Execution Command AT+GMM
Response TA returns a product model identification text.
UGxx
OK
Reference V.25ter
AT+GMR Request TA Revision Identification of Software Release
Test Command
AT+GMR=?
Response
OK
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2.2. AT+GMI Request Manufacturer Identification

AT+GMI returns a manufacturer identification text. The command is identical with AT+CGMI.

2.3. AT+GMM Request TA Model Identification

AT+GMM returns a product model identification text. The command is identical with AT+CGMM.

2.4. AT+GMR Request TA Revision Identification of Software Release

AT+GMR delivers a product firmware version identification. The command is identical with AT+CGMR.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 14 / 247
Execution Command
AT+GMR
Response TA reports one or more lines of information text which permit the user to identify the revision of software release.
<revision>
OK
Reference V.25ter
<revision> Revision of software release
AT+GOI Request Global Object Identification
Test Command
AT+GOI=?
Response
OK
Execution Command AT+GOI
Response TA reports one or more lines of information text which permit the user to identify the device, based on the ISO system for registering unique object identifiers.
<Object Id>
OK
Reference V.25ter
<Object Id> Identifier of device type
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

2.5. AT+GOI Request Global Object Identification

Parameter
Example
AT+GOI
UGxx
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 15 / 247
AT+CGMI Request Manufacturer Identification
Test Command
AT+CGMI=?
Response
OK
Execution Command AT+CGMI
Response TA returns the manufacturer identification text.
Quectel
OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
AT+CGMM Request Model Identification
Test Command
AT+CGMM=?
Response
OK
Execution Command AT+CGMM
Response TA returns the product model identification text.
UGxx
OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2.6. AT+CGMI Request Manufacturer Identification

AT+CGMI returns a manufacturer identification text.

2.7. AT+CGMM Request Model Identification

AT+CGMM returns a product model identification text.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 16 / 247
AT+CGMR Request TA Revision Identification of Software Release
Test Command
AT+CGMR=?
Response
OK
Execution Command AT+CGMR
Response TA returns the identification text of product software version.
<revision>
OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<revision> Identification text of product software version
AT+GSN Request International Mobile Equipment Identity (IMEI)
Test Command
AT+GSN=?
Response
OK
Execution Command AT+GSN
Response TA reports the IMEI (International Mobile Equipment Identity) number in information text which permits the user to identify the individual ME device.
<IMEI>
OK
Maximum Response Time
300ms
Reference V.25ter
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2.8. AT+CGMR Request TA Revision Identification of Software Release

AT+CGMR delivers a product firmware version identification.
Parameter

2.9. AT+GSN Request International Mobile Equipment Identity (IMEI)

AT+GSN returns the International Mobile Equipment Identity (IMEI). The command is identical with AT+CGSN.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 17 / 247
The serial number (IMEI) varies with the individual ME device.
<IMEI> IMEI of the telephone
AT+CGSN Request Product Serial Number Identification
Test Command
AT+CGSN=?
Response
OK
Execution Command AT+CGSN
Response
<IMEI>
OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
AT&F Set All Current Parameters to Manufacturer Defaults
Execution Command AT&F[<value>]
Response TA sets all current parameters to the manufacturer defined profile. See Table 7: Factory Default Settings Restorable with AT&F. OK
Maximum Response Time
300ms
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

2.10. AT+CGSN Request Product Serial Number Identification

AT+CGSN returns International Mobile Equipment Identity (IMEI). The command is identical with AT+GSN.

2.11. AT&F Set All Current Parameters to Manufacturer Defaults

AT&F resets AT command settings to their factory default values. However, the command does not change the current baud rate of UART.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 18 / 247
AT&V &C: 1
&D: 1
&F: 0
&W: 0
E: 1
Q: 0
V: 1
X: 4
Reference V.25ter
<value> 0 Set all TA parameters to manufacturer defaults
AT&V Display Current Configuration
Execution Command AT&V
Response TA returns the current parameter setting. See Table 2: AT&V Response. OK
Maximum Response Time
300ms
Reference V.25ter
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

2.12. AT&V Display Current Configuration

AT&V displays three profiles of several AT command parameters, including the single-letter AT command parameters which are not readable otherwise.
Table 2: AT&V Response
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 19 / 247
Z: 0
S0: 0
S5: 8
S6: 2
S7: 0
S8: 2
S10: 15
OK
<n> 0 Profile 0 to store current parameters
AT&W Store Current Parameters to User Defined Profile
Execution Command AT&W[<n>]
Response TA stores the current parameter settings in the user defined profile. See Table 8: AT Command Settings Storable with AT&W. OK
Maximum Response Time
300ms
Reference V.25ter
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2.13. AT&W Store Current Parameters to User Defined Profile

AT&W stores the current AT command settings to a user defined profile in non-volatile memory.
Parameter

2.14. ATZ Set all Current Parameters to User Defined Profile

ATZ restores the current AT command settings to a user defined profile in non-volatile memory, if one was storable with AT&W before. Any additional AT command on the same command line may be ignored. ATZ
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 20 / 247
<value> 0 Reset to profile number 0
ATZ Set all Current Parameters to User Defined Profile
Execution Command ATZ[<value>]
Response TA sets all current parameters to the user defined profile. See Table 9: AT Command Settings Storable with ATZ. OK
Maximum Response Time
300ms
Reference V.25ter
ATQ Set Result Code Presentation Mode
Execution Command ATQ<n>
Response This parameter setting determines whether or not the TA transmits any result code to the TE. Information text transmitted in response is not affected by this setting. If <n>=0:
OK
If <n>=1: (none)
Maximum Response Time
300ms
Reference V.25ter
<n> 0 TA transmits result code 1 Result codes are suppressed and not transmitted
Quectel
Confidential
WCDMA UGxx AT Commands Manual
does not change the current baud rate of UART.
Parameter

2.15. ATQ Set Result Code Presentation Mode

ATQ controls whether the result code is transmitted to the TE. Other information text transmitted as response is not affected.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 21 / 247
ATV 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
<value> 0 Information response: <text><CR><LF> Short result code format: <numeric code><CR>
1 Information response: <CR><LF><text><CR><LF>
Long result code format: <CR><LF><verbose code><CR><LF>
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2.16. ATV TA Response Format

This command determines the contents of header and trailer transmitted with AT command result codes and information responses.
The result codes, their numeric equivalents and brief descriptions are listed in the following table.
Parameter
Example
ATV1 //Set <value>=1
OK
AT+CSQ
+CSQ: 30,0
OK //When <value>=1 result code is OK
ATV0 //Set <value>=0
0
AT+CSQ
+CSQ: 30,0 0 //When <value>=0 result code is 0
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 22 / 247
ATV1
ATV0
Description
OK 0 Acknowledges execution of a command
CONNECT
1
A connection has been established; the DCE is moving from command state to online data state
RING
2
The DCE has detected an incoming call signal from network
NO CARRIER
3
The connection has been terminated or the attempt to establish a connection failed
ERROR
4
Command not recognized, command line maximum length exceeded, parameter value invalid, or other problem with processing the command line
NO DIALTONE
6
No dial tone detected
BUSY
7
Engaged (busy) signal detected
NO ANSWER
8
"@" (Wait for Quiet Answer) dial modifier was used, but remote ringing followed by five seconds of silence was not detected before expiration of the connection timer (S7)
ATE Set Command Echo Mode
Execution Command
ATE<value>
Response This setting determines whether or not the TA echoes characters received from TE during command state.
OK
Maximum Response Time
300ms
Reference V.25ter
<value> 0 Echo mode off 1 Echo mode on
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Table 3: ATV0&ATV1 Result Codes Numeric Equivalents and Brief Description

2.17. ATE Set Command Echo Mode

ATE controls whether the module echoes characters received from TE during AT command state.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 23 / 247
A/ Repeat Previous Command Line
Execution Command
A/
Response Repeat Previous Command
Reference V.25ter
ATS3 Set Command Line Termination Character
Read Command
ATS3?
Response
<n>
OK
Write Command
ATS3=<n>
Response This parameter setting determines the character recognized by TA to terminate an incoming command line. The TA also returns this character in output.
OK
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2.18. A/ Repeat Previous Command Line

A/ repeats previous AT command line, and "/" acts as the line terminating character.
Example
ATI
Quectel UGxx Revision: UGxxENAR01A01E1G
OK
A/ //Repeat previous command
Quectel UGxx Revision: UGxxENAR01A01E1G
OK

2.19. ATS3 Set Command Line Termination Character

ATS3 determines the character recognized by the module to terminate an incoming command line. It is also generated for result codes and information text, along with character value set via ATS4.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 24 / 247
Maximum Response Time
300ms
Reference V.25ter
<n> 0-13-127 Command line termination character (Default 13=<CR>)
ATS4 Set Response Formatting Character
Read Command
ATS4?
Response
<n>
OK
Write Command
ATS4=<n>
Response This parameter setting determines the character generated by the TA for result code and information text.
OK
Maximum Response Time
300ms
Reference V.25ter
<n> 0-10-127 Response formatting character (Default 10=<LF>)
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

2.20. ATS4 Set Response Formatting Character

ATS4 determines the character generated by the module for result code and information text, along with the command line termination character set via ATS3.
Parameter

2.21. ATS5 Set Command Line Editing Character

ATS5 determines the character value used by the module to delete the immediately preceding character from the AT command line (i.e. equates to backspace key).
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 25 / 247
ATS5 Set Command Line Editing Character
Read Command
ATS5?
Response
<n>
OK
Write Command
ATS5=<n>
Response This parameter setting determines the character recognized by TA as a request to delete the immediately preceding character from the command line.
OK
Maximum Response Time
300ms
Reference V.25ter
<n> 0-8-127 Response editing character (Default 008=<Backspace>)
ATX Set CONNECT Result Code Format and Monitor Call Progress
Execution Command ATX<value>
Response 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. OK
Maximum Response Time
300ms
Reference V.25ter
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

2.22. ATX Set CONNECT Result Code Format and Monitor Call Progress

ATX determines whether or not the module transmits particular result codes to the TE. It also controls whether or not the module verifies the presence of a dial tone when it begins dialing, and whether or not engaged tone (busy signal) detection is enabled.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 26 / 247
<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
AT+CFUN Set Phone Functionality
Test Command
AT+CFUN=?
Response
+CFUN: (list of supported <fun>s),(list of supported <rst>s)
OK
Read Command AT+CFUN?
Response
+CFUN: <fun>
OK
Write Command AT+CFUN=<fun>[,<rst>]
Response
OK
If error is related to ME functionality: +CME ERROR: <err>
Maximum Response Time
15s, determined by network.
Reference 3GPP TS 27.007
<fun> 0 Minimum functionality
1 Full functionality (Default)
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

2.23. AT+CFUN Set Phone Functionality

AT+CFUN controls the functionality level. It can also be used to reset the UE.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 27 / 247
4 Disable phone from both transmitting and receiving RF signals
<rst> 0 Do not reset the ME before setting it to <fun> power level
This is default when <rst> is not given
1 Reset the ME. The device is fully functional after the reset.
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+CFUN=0 //Switch phone to minimum functionality
OK
AT+COPS?
+COPS: 0 //No operator is registered
OK
AT+CPIN?
+CME ERROR: 10 //SIM is not inserted
AT+CFUN=1 //Switch phone to full functionality
OK
+QUSIM: 0
+CPIN: SIM PIN
AT+CPIN=1234
OK
+CPIN: READY
+QIND: SMS DONE
+QIND: PB DONE
AT+CPIN?
+CPIN: READY
OK
AT+COPS?
+COPS: 0,0,"CHN-UNICOM",2 //Operator is registered
OK

2.24. AT+CMEE Error Message Format

AT+CMEE controls the format of error result codes: "ERROR", error numbers or verbose messages as "+CME ERROR: <err>" and "+CMS ERROR: <err>".
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 28 / 247
<n> 0 Disable result code 1 Enable result code and use numeric values 2 Enable result code and use verbose values
AT+CMEE Error Message Format
Test Command AT+CMEE=?
Response
+CMEE: (list of supported <n>s)
OK
Read Command
AT+CMEE?
Response
+CMEE: <n>
OK
Write Command
AT+CMEE=<n>
Response TA disables or enables the use of result code +CME ERROR: <err> as an indication of an error related to the functionality of the ME. OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+CMEE=0 //Disable result code
OK
AT+CPIN=1234
ERROR //Only "ERROR" will be displayed
AT+CMEE=1 //Enable error result code with numeric values
OK
AT+CPIN=1234
+CME ERROR: 10
AT+CMEE=2 //Enable error result code with verbose (string) values
OK
AT+CPIN=1234
+CME ERROR: SIM not inserted
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 29 / 247
AT+CSCS Select TE Character Set
Test Command AT+CSCS=?
Response
+CSCS: (list of supported <chset>s)
OK
Read Command
AT+CSCS?
Response
+CSCS: <chset>
OK
Write Command
AT+CSCS=<chset>
Response Set character set <chset> which is used by the TE. The TA can then convert character strings correctly between the TE and ME character sets. OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<chset> "UCS2" UCS2 alphabet "IRA" International reference alphabet "HEX" UCS2 alphabet "GSM" GSM default alphabet
Quectel
Confidential
WCDMA UGxx AT Commands Manual

2.25. AT+CSCS Select TE Character Set

AT+CSCS write command informs the module which character set is used by the TE. It enables the UE to convert character strings correctly between TE and UE character sets.
Parameter
Example
AT+CSCS? //Query the current character set
+CSCS: "GSM"
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 30 / 247
AT&C Set DCD Function Mode
Execution Command
AT&C[<value>]
Response This parameter determines how the state of circuit 109 (DCD) relates to the detection of received line signal from the distant end. OK
Maximum Response Time
300ms
Reference V.25ter
<value> 0 DCD line is always ON
1 DCD line is ON only in the presence of data carrier
AT&D Set DTR Function Mode
Execution Command
AT&D[<value>]
Response This parameter determines how the TA responds when circuit 108/2 (DTR) is changed from ON to OFF condition during data mode. OK
Quectel
Confidential
WCDMA UGxx AT Commands Manual

3 Serial Interface Control Commands

3.1. AT&C Set DCD Function Mode

AT&C controls the behavior of the UE's DCD line.
Parameter

3.2. AT&D Set DTR Function Mode

AT&D determines how the UE responds if DTR line is changed from ON to OFF condition during online data mode.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 31 / 247
Maximum Response Time
300ms
Reference V.25ter
<value> 0 TA ignores status on DTR 1 ONOFF on DTR: Change to command mode while remaining the connected call
2 ONOFF on DTR: Disconnect data call, and change to command mode. During
state DTR=OFF, auto-answer function is disabled
AT+IFC Set TE-TA Local Data Flow Control
Test Command AT+IFC=?
Response
+IFC: (list of supported <dce_by_dte>s),(list of supported <dte_by_dce>s)
OK
Read Command
AT+IFC?
Response
+IFC: <dce_by_dte>,<dte_by_dce>
OK
Write Command
AT+IFC=<dce_by_dte>,<dte_by_dce>
Response This parameter setting determines the data flow control on the serial interface for data mode. OK
Maximum Response Time
300ms
Reference V.25ter
<dce_by_dte> Specifies the method that will be used by TE when receiving data from TA 0 None 2 RTS flow control <dte_by_dce> Specifies the method that will be used by TA when receiving data from TE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

3.3. AT+IFC Set TE-TA Local Data Flow Control

AT+IFC determines the flow control behavior of the serial port.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 32 / 247
The flow control is applied for data mode.
0 None 2 CTS flow control
AT+IPR Set TE-TA Fixed Local Rate
Test Command AT+IPR=?
Response +IPR: (list of supported auto detectable <rate>s),(list of supported fixed-only<rate>s)
OK
Read Command
AT+IPR?
Response
+IPR: <rate>
OK
Write Command
AT+IPR=<rate>
Response 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
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+IFC=2,2 //Open the hardware flow control
OK
AT+IFC?
+IFC: 2,2
OK

3.4. AT+IPR Set TE-TA Fixed Local Rate

AT+IPR is used to query and set the baud rate of the UART. The default baud rate value (<rate>) is 0bps. <rate> setting will not be restorable with AT&F.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 33 / 247
1. If a fixed baud rate is set, make sure that both TE (DTE, usually external processor) and TA (DCE, Quectel module) are configured to the same rate.
2. If IPR is set to 0, it will change module to auto baudrate.
3. The value of AT+IPR cannot be restored with AT&F or ATZ.
4. A selected baud rate takes effect after the write commands are executed and acknowledged by "OK".
<rate> Baud rate of per second 0 300 1200 2400 4800 9600 19200 38400 57600 115200 230400 460800 921600 3000000 6000000
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+IPR=115200 //Set fixed baud rate to 115200
OK
AT+IPR?
+IPR: 115200
OK

3.5. AT+QRIR Restore Ring Line to Inactive

If the behavior of ring line is "always", you should restore ring line to inactive by AT+QRIR. The behavior of ring line is controlled by AT+QCFG. Please refer to AT+QCFG="urc/ri/ring", AT+QCFG="urc/ri/other" and AT+QCFG="urc/ri/smsincoming".
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 34 / 247
AT+QRIR Restore Ring Line to Inactive
Test Command
AT+QRIR=?
Response OK
Execution Command
AT+QRIR
Response
OK ERROR
Maximum Response Time
300ms
Quectel
Confidential
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 35 / 247
AT+CPAS Mobile Equipment Activity Status
Test Command AT+CPAS=?
Response
+CPAS: (list of supported <pas>s)
OK
Execution Command
AT+CPAS
Response TA returns the activity status of ME.
+CPAS: <pas>
OK ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<pas> 0 Ready 2 Unknown 3 Ringing 4 Call in progress or call hold
Quectel
Confidential
WCDMA UGxx AT Commands Manual

4 Status Control Commands

4.1. AT+CPAS Mobile Equipment Activity Status

AT+CPAS execute command queries the module‟s activity status.
Parameter
Example
AT+CPAS
+CPAS: 0 //Module is idle
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 36 / 247
AT+CEER Extended Error Report
Test command
AT+CEER=?
Response
OK
Execution command
AT+CEER
Response In case of CC and SM categories:
+CEER: <category>[,<cause>,<descriptions>]
In case of SS category network error cause:
+CEER: <category>,<cause>[,<tag>]
OK ERROR
Quectel
Confidential
WCDMA UGxx AT Commands Manual
OK
ATD10086;
OK
AT+CLCC
+CLCC: 1,0,3,0,0,"10086",129
OK
AT+CPAS
+CPAS: 3 //Module is ringing
OK
AT+CLCC
+CLCC: 1,0,0,0,0,"10086",129
OK
AT+CPAS
+CPAS: 4 //Call in progress
OK

4.2. AT+CEER Extended Error Report

AT+CEER provides an extended report of 1 line about categorized error causes, such as:
+CEER: "No report available"  +CEER: "CC setup error",1,"Unassigned (unallocated) number"  +CEER: "SM detach",0,"No cause information available"
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 37 / 247
<category> "No report available" "CC setup error" "CC modification error" "CC release"
"SM attach error" "SM detach" "SM activation error" "SM deactivation" "SS network error cause" "SS network reject cause" "SS network GSM cause"
<cause> Contains a digit representing the error cause sent by network or internally. Refer
to Table 13: Cause and Description List of AT+CEER.
<descriptions> A verbose string containing the textual representation. Refer to Table 13: Cause
and Description List of AT+CEER.
<tag> SS error tag in 3GPP TS 24.008
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
AT+QCFG Extended Configuration Settings
Test Command
AT+QCFG=?
Response
+QCFG: "urc/port",
(list of supported <enable>s), (list of supported <port_name>s), (list of supported <port_ type >s),
+QCFG: "uart/power",
(list of supported <uart>s), (list of supported <mode>s),
+QCFG: "urc/ri/ring",
(list of supported <typeri>s), (list of supported <pulse_duration>s), (list of supported <active_duration>s), (list of supported <inactive_duration>s),
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

4.3. AT+QCFG Extended Configuration Settings

AT+QCFG is used to query and configure various settings of module.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 38 / 247
(list of supported <ring_no_disturbing>s), (list of supported <pulse_count>s),
+QCFG: "urc/ri/smsincoming",
(list of supported <typeri>s), (list of supported <pulse_duration>s), (list of supported <pulse_count>s),
+QCFG: "urc/ri/other",
(list of supported <typeri>s), (list of supported <pulse_duration>s), (list of supported <pulse_count>s),
+QCFG: "urc/delay", (list of supported <enable>s), +QCFG: "tone/incoming", (list of supported <value>s), +QCFG: "vbatt",
((list of supported <vbatt_type>s), (list of supported <vbatt_value>s), (list of supported <vbatt_on_off>s)),
+QCFG: "nwscanmode",
(list of supported <scan_mode>s), (list of supported <effect>s),
+QCFG: "fota/cid", (list of supported <contextID>s), +QCFG: "ussd/textescape", (list of supported <enable>s) +QCFG: "sms/textescape", (list of supported <enable>s), +QCFG: "remoteip", (list of supported <remoteIPsel> s), +QCFG: "ppp/firstreqintr",(1000-10000), (list of supported <val> s), +QCFG: “stateurc/enable”,<enable_val> (list of supported < enable_val >s), +QCFG:"sms/listmsgmap",("rec unread","rec read","sto unsend","sto sent") (list of supported < message type >s),
OK
Maximum Response Time
300ms
Reference
Quectel
Confidential
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 39 / 247
The configuration will be saved to NV automatically.
AT+QCFG="urc/port" Display All Port (s) and Disable URC of a Specified Port
Write Command
AT+QCFG="urc/port"[,<enable>[,<por t_name>]]
Response If configuration parameters are omitted:
+QCFG: "urc/port",<enable>,<port_name><port_type> +QCFG: "urc/port",<enable>,<port_name><port_type> [……]
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
<enable> 0 Disable URC indication of the port 1 Enable URC indication of the port
<port_name> A string to describe port name <port_type> 0 Current port
1 All available ports
AT+QCFG="uart/power" Turn on/off the UART Port
Write Command
AT+QCFG="uart/power"[,<mode>]
Response If <mode> is omitted:
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual

4.3.1. AT+QCFG="urc/port" List All Port(s) or Disable URC of a Specified Port

AT+QCFG="urc/port" lists all available port(s) and current port. It can also disable URC indication of a specified port.
Parameter

4.3.2. AT+QCFG="uart/power" Turn on/off the UART Port

WCDMA_UGxx_AT_Commands_Manual Confidential / Released 40 / 247
+QCFG: "uart/power",<uart>,<mode>
OK
If <mode> is not omitted:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
<uart> 0 UART 1
1 UART 3
<mode> 0 Auto turn on/off the UART port
1 Turn on the UART port 2 Turn off the UART port
AT+QCFG="urc/ri/ring" Ring Line Behavior of RING
Write Command
AT+QCFG="urc/ri/ring"[,<typeri>[,<pu lse_duration>[,<active_duration>[,<in active_duration>[,<ring_no_disturbin g>[,<pulse_count>]]]]]]
Response If configuration parameters are omitted (+QCFG="urc/ri/ring"), return current configuration:
+QCFG: "urc/ri/ring",<typeri>,<pulse_duration>,<active_duration >,<inactive_duration>,<ring_no_disturbing>,<pulse_cou nt>
OK
If configuration parameters are entered:
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

4.3.3. AT+QCFG="urc/ri/ring" Ring Line Behavior of RING

AT+QCFG="urc/ri/ring", AT+QCFG="urc/ri/smsincoming" and AT+QCFG="urc/ri/other" control the behavior of ring line when URC is reported. These configurations will be stored into NV automatically. The ring line is active low. AT+QCFG="urc/ri/ring" specifies the behavior of ring line when RING is presented to indicate an incoming call.
The sum of parameter <active_duration> and <inactive_duration> determines the interval time of “RING” indications when a call is coming.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 41 / 247
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Maximum Response Time
300ms
<typeri> The behavior of the ring line when URCs are presented "off" No change. Ring line keeps inactive
"pulse" Pulse. Pulse width determined by <pulse_duration>
"always" Change to active. You may restore to inactive by +QRIR
"auto" When “RING” is presented to indicate an incoming call, ring
line changes to and keeps active. When ring of the incoming call ends, either answering or hanging up the incoming call, ring line will change to inactive.
"wave" When “RING” is presented to indicate an incoming call. The
ring line outputs a square wave. Both <active_duration> and <inactive_duration> are used to set parameters of the square wave. When the ring of incoming call ends, either answering or hanging up the incoming call, ring line will change to inactive.
<pulse_duration> Set the width of pulse. Value ranges from 1 to 2000ms and default is 120ms
This parameter is only meaningful when <typeri> is “pulse”. If this parameter is not needed, you can set it as null.
<active_duration> Set the active duration of the square wave, value ranges from 1 to 10000ms,
and the default is 1000ms.This parameter is only meaningful when <typeri> is “wave”.
<inactive_duration> Set the inactive duration of the square wave, value ranges from 1 to
10000ms, and the default is 3000ms. This parameter is only meaningful when <typeri> is “wave”.
<ring_no_disturbing> Set whether the ring line behavior could be disturbed. This parameter is only
meaningful when <typeri> is configured to “auto” or “wave”. For example, when <typeri> is configured to “wave”, if you need the square wave not to be disturbed by other URCs (including SMS related URCs), you should set <ring_no_disturbing> to "on".
line is caused by an incoming call ringing.
"on" It cannot be disturbed by other URCs which the behavior of ring
line is caused by an incoming call ringing.
<pulse_count> The count of pulse. This parameter is only meaningful when <typeri> is
“pulse”.
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 42 / 247
The configuration will be saved to NV automatically.
Value ranges from 1 to 5 and default is 1. The interval time between two
pulses is equal to <pulse_duration>.
AT+QCFG="urc/ri/smsincoming" Ring Line Behavior of Incoming SMS
Write Command
AT+QCFG="urc/ri/smsincoming"[,<typ eri>[,<pulse_duration>[,<pulse_count >]]]
Response If configuration parameters are omitted (+QCFG="urc/ri/smsincoming"), return current configuration:
+QCFG: "urc/ri/smsincoming",<typeri>,<pulse_duration>,<pulse _count>
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
<typeri> The behavior of the ring line when URC are presented "off" No change. Ring line keeps inactive "pulse" Pulse. Pulse width determined by <pulse_duration> "always" Change to active. You should restore to inactive by +QRIR <pulse_duration> Set the width of pulse. Value ranges from 1 to 2000ms and the default is 120ms.
This parameter is only valid when <typeri> is “pulse”. <pulse_count> The count of pulse. This parameter is only meaningful when <typeri> is “pulse”. Value ranges from 1 to 5 and default is 1. The interval time between two pulses
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual

4.3.4. AT+QCFG="urc/ri/smsincoming" Ring Line Behavior of Incoming SMS

AT+QCFG="urc/ri/smsincoming" specifies the behavior of ring line when related incoming message URCs are presented. Related incoming message URCs list: +CMTI,+CMT,+CDS,+CBM.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 43 / 247
The configuration will be saved to NV automatically.
is equal to <pulse_duration>
AT+QCFG="urc/ri/other" Ring Line Behavior of Other URCs
Write Command
AT+QCFG="urc/ri/other"[,<typeri>[,<p ulse_duration>[,<pulse_count>]]]
Response If configuration parameters are omitted (+QCFG="urc/ri/other"), return current configuration:
+QCFG: "urc/ri/other",<typeri>,<pulse_duration>,<pulse_count>
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
<typeri> The behavior of the ring line when URCs are presented "off" No change. Ring line keeps inactive "pulse" Pulse. Pulse width determined by <pulse_duration> <pulse_duration> Set the width of pulse. Value ranges from 1 to 2000ms and the default is
120ms. This parameter is effect only when <typeri> is “pulse”.
<pulse_count> The count of pulse. This parameter is only meaningful when <typeri> is
“pulse”. Value ranges from 1 to 5 and default is 1. The interval time between two pulses is equal to <pulse_duration>.
NOTE
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual

4.3.5. AT+QCFG="urc/ri/other" Ring Line Behavior of Other URCs

AT+QCFG="urc/ri/other" specifies the behavior of ring line when other URCs are presented.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 44 / 247
The configuration will be saved to NV automatically.
The configuration will be saved to NV automatically.
AT+QCFG="urc/delay" Delay URC Indication
Write Command
AT+QCFG="urc/delay"[,<enable>]
Response If configuration parameter is omitted:
+QCFG: "urc/delay",<enable>
OK
If configuration parameter is entered:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
<enable> 0 URC indication will be output when ring line pulse starts 1 URC indication will be output when ring line pulse ends (only the type of ring
line is “pulse”, refer to AT+QCFG="urc/ri/ring", AT+QCFG="urc/ri/smsincoming" and AT+QCFG="urc/ri/other")
AT+QCFG="tone/incoming" Enable/Disable Ring Tone
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual

4.3.6. AT+QCFG="urc/delay" Delay URC Indication

AT+QCFG="urc/delay" can delay the output of URC indication until ring line pulse ends.
Parameter

4.3.7. AT+QCFG="tone/incoming" Enable/Disable Ring Tone

AT+QCFG=tone/incoming” is used to enable or disable ring tone.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 45 / 247
The configuration will be saved to NV automatically.
Write Command
AT+QCFG="tone/incoming"[,<value>]
Response If configuration parameters are omitted:
+QCFG: "tone/incoming",<value>
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
<value> A numeric parameter which indicates ring tone is open or not. The default value is 1. 0 Disable ring tone 1 Enable ring tone
AT+QCFG="nwscanmode" Network Search Mode Configuration
Write Command
AT+QCFG="nwscanmode"[,<scan_m ode>[,<effect>]]
Response If configuration parameters are omitted (+QCFG="nwscanmode"), return current configuration:
+QCFG: "nwscanmode",<scan_mode>
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality:
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

4.3.8. AT+QCFG="nwscanmode" Network Search Mode Configuration

AT+QCFG="nwscanmode" specifies the mode of searching network. If <effect> is omitted, the configuration will take effect immediately.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 46 / 247
The configuration will be saved to NV automatically.
+CME ERROR: <err> Reference
<scan_mode> Number format, network search mode 0 AUTO 1 GSM Only 2 UMTS Only <effect> Number format, when to take effect 0 Take effect after UE reboots 1 Take effect immediately
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

4.3.9. AT+QCFG="vbatt" Voltage Detection

AT+QCFG="vbatt" can enable voltage detection and set corresponding parameters.
About Voltage Detection:
When the voltage is lower than the lowest voltage limit, the module will output:
+QIND: "vbatt",-2
If it does not come back to a degree greater than the lowest voltage limit within 2 seconds, the module will be turned off automatically.
When the voltage is greater than the lowest voltage limit, but lower than low voltage warning limit, the module will output:
+QIND: "vbatt",-1
When the voltage is greater than the highest voltage limit, the module will output:
+QIND: "vbatt",2
If it does not come back to a degree lower than highest voltage limit within 2 seconds, the module will be turned off automatically.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 47 / 247
<vbatttype> Voltage type
-2 Indicate the lowest voltage
-1 Indicate the low voltage warning 1 Indicate the high voltage warning
AT+QCFG="vbatt" Voltage Detection
Write Command
AT+QCFG="vbatt"[,<vbatttype>[,<vba ttvalue>,<vbattonoff>]]
Response If configuration parameters are omitted (+QCFG="vbatt"), return current configuration:
+QCFG: "vbatt", (<vbatttype>,<vbattvalue>,<vbattonoff>), (<vbatttype>,<vbattvalue>,<vbattonoff>),
OK
If configuration parameters are entered:
+QCFG: "vbatt", (<vbatttype>,<vbattvalue>,<vbattonoff>) OK
Else, response:
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
Quectel
Confidential
WCDMA UGxx AT Commands Manual
When the voltage is lower than the highest voltage limit, but greater than high voltage warning limit, the module will output:
+QIND: "vbatt",1
When the voltage comes back to normal voltage range, the module will output:
+QIND: "vbatt",0
Voltage detection is disabled by default. It is suggested to enable voltage detection in order to avoid module breakdown due to excessively high or low voltage.
The configuration will be stored to NV automatically.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 48 / 247
2 Indicate the highest voltage <vbattvalue> Voltage threshold value (mv) (3250~3290~3420) The lowest voltage limit(If below this limit, module will shut down) (3480~3500~3520) Low voltage warning limit (4190~4210~4230) High voltage warning limit (4280~4310~4400) The highest voltage limit (If above this limit, module will shut down) <vbattonoff> Enable/disable voltage detection function 0 Disable 1 Enable
The configuration will be saved to NV automatically.
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
//Enable low voltage warning report, the limit is 3500mv.
AT+QCFG="VBATT",-1,3500,1
OK
+QIND: "vbatt", -1 //Report result when voltage is lower than low voltage warning limit.
+QIND: "vbatt", 0 //Report result when voltage is back to normal voltage.
AT+QCFG="VBATT",-1 //Query low warning limit.
+QCFG: "VBATT",(-1,3500,1)
OK
//Disable low voltage warning report, the limit is 3500mv.
AT+QCFG="VBATT",-1,3500,0
OK

4.3.10. AT+QCFG="temp" Temperature Detection

AT+QCFG="temp" can enable temperature detection and set corresponding parameters.
About Temperature Detection:
When the temperature is lower than the lowest temperature limit, the module will output:
+QIND: "temp",-2
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 49 / 247
AT+QCFG="temp" Temperature Detection
Write Command
AT+QCFG="temp"[,<temptype>[,<tem pvalue>[,<temponoff>]]
Response If configuration parameters are omitted (+QCFG="temp"), return current configuration:
+QCFG: "temp", (<temptype>,<tempvalue>,<temponoff>), (<temptype>,<tempvalue>,<temponoff>),
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Maximum Response Time
300ms
Quectel
Confidential
WCDMA UGxx AT Commands Manual
If the temperature did not rise to a degree greater than the lowest temperature within 5 seconds, the module will be turned off automatically. When the temperature is greater than the lowest temperature limit, but lower than the low temperature warning limit, the module will output:
+QIND: "temp",-1
When temperature is greater than the highest temperature limit, the module will output:
+QIND: "temp",2
If the temperature did not drop to a degree lower than the highest temperature limit within 5 seconds, the module will be turned off automatically.
When the temperature is lower than the highest temperature limit, but greater than the high temperature warning limit, the module will output:
+QIND: "temp",1
When the temperature comes back from the low temperature warning limit or the high temperature warning limit to normal temperature range, the module will output:
+QIND: "temp",0
The configuration will be stored to NV automatically.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 50 / 247
<temptype> Temperature type
-2 Indicate the lowest temperature
-1 Indicate low temperature warning 1 Indicate high temperature warning 2 Indicate the highest temperature
<tempvalue> Temperature threshold value (degrees Celsius)
(-40~-35) The lowest temperature limit (If below this limit, the module will be shut
down). Default value is -38
(-35~-30) Low temperature warning limit. Default value is -32 (70~80) High temperature warning limit. Default value is 75 (80~90) The highest temperature limit (If above this limit, the module will be shut
down). Default value is 85
<temponoff> Enable/disable temperature detection function
0 Disable
1 Enable
AT+QCFG="fota/cid" DFOTA Context ID Configuration
Write Command
AT+QCFG="fota/cid"[,<contextID>]
Response If configuration parameters are omitted
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+QCFG="temp",-1 //Query the low temperature warning limit and setting
+QCFG: "temp",(-1,-35,0)
OK
AT+QCFG="temp",-1,-35,1 //Set the low temperature warning limit
OK <Enable temperature detection, when greater than the lowest temperature limit, lower than low
temperature warning limit> +QIND: "temp",-1 //Report result when temperature is lower than warning temperature <Enable temperature detection, when temperature is back to normal temperature range> +QIND: "temp",0 //Report result when temperature is back to normal temperature

4.3.11. AT+QCFG="fota/cid" DFOTA Context ID Configuration

When you upgrade firmware by DFOTA on a FTP server or HTTP server, you need to activate a PDP context ID for FTP connection or HTTP connection. The default PDP context ID is 1, and it can be configured by AT+QCFG=“fota/cid”,<contexitd>.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 51 / 247
(AT+QCFG="fota/cid ), return current configuration:
+QCFG: "fota/cid",<contextID>
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
<contextID> Integer type, context ID, range is 1-20, the default value is 1.
AT+QCFG="ussd/textescape" Character Escape of USSD Text
Write Command
AT+QCFG="ussd/textescape"[,<enabl e>]
Response If configuration parameters are omitted (+QCFG="ussd/textescape"), return current configuration:
+QCFG: "ussd/textescape",<enable>
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

4.3.12. AT+QCFG="ussd/textescape" Character Escape of USSD Text

When AT+CSCS=GSM” or AT+CSCS=“IRA”, and USSD outputting text contains character <CR>, <LF>, quotation mark or others, user may make a parse error with USSD URC. AT+QCFG="ussd/textescape" can enable character escape function of USSD text to avoid this error. The configuration is saved into NV automatically.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 52 / 247
UG95 module does not support this function.
<enable> 0 Character escape function of USSD text is disabled
1 Character escape function of USSD text is enabled
When AT+CSCS=“GSM” or AT+CSCS=“IRA”, in USSD text outputting:
0x5C (show in hex, character Ö in GSM, character \ in ASCII) will be escaped into 0x5C3543 (“\5C”).
0x0D (show in hex, character <CR> in GSM and IRA) will be escaped into
0x5C3044 (“\0D”). 0x0A (show in hex, character <LF> in GSM and IRA) will be escaped into 0x5C3041 (“\0A”).
0x22 (show in hex, character “ in GSM and IRA) will be escaped into
0x5C3232 (“\22”).
0x00 (show in hex, character @ in GSM) will be escaped into 0x5C3030
(“\00”).
AT+QCFG="sms/textescape" Character Escape of SMS Text
Write Command
AT+QCFG="sms/textescape"[,<enabl e>]
Response If configuration parameters are omitted (+QCFG="sms/textescape"), return current configuration:
+QCFG: "sms/textescape",<enable>
OK
If configuration parameters are entered:
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

4.3.13. AT+QCFG="sms/textescape" Character Escape of SMS Text

This command is similar to AT+QCFG="ussd/textescape". The only difference is this command affects SMS text.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 53 / 247
UG95 module does not support this function.
<enable> 0 Character escape function of SMS text is disabled
1 Character escape function of SMS text is enabled
When AT+CSCS=“GSM” or AT+CSCS=“IRA”, in SMS text outputting: 0x5C (show in hex, character Ö in GSM, character \ in ASCII) will be escaped into 0x5C3543 (“\5C”).
0x0D (show in hex, character <CR> in GSM and IRA) will be escaped into
0x5C3044 (“\0D”). 0x0A (show in hex, character <LF> in GSM and IRA) will be escaped into 0x5C3041 (“\0A”).
0x22 (show in hex, character “ in GSM and IRA) will be escaped into
0x5C3232 (“\22”).
0x00 (show in hex, character @ in GSM) will be escaped into 0x5C3030
(“\00”).
AT+QCFG="remoteip" Enable/Disable Remote IP Function
Write Command
AT+QCFG="remoteip"[,<remot eIPsel>]
Response If <remoteipsel> is absence which means read.
+QCFG: "remoteip",<remoteIPsel>
OK
If none is absence which means setting parameters.
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Maximum Response Time
300ms
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

4.3.14. AT+QCFG="remoteip" Enable/Disable Remote IP Function

AT+QCFG="remoteip" is used to set the function whether or not “remoteip” negotiation will be injected during the PPP dialing period. This parameter will not be saved and it will be effective immediately after setting.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 54 / 247
This default value is “0” for no “remoteip” negotiation function. New settings are saved in NV. This function becomes effective immediately.
<remoteIPsel> Disable/enable the function of “remoteip” negotiation
0 Default value, no “remoteip” negotiation 1 Active “remoteip” negotiation
AT+QCFG Extension Configuration
Test Command
AT+QCFG=?
Response
…… +QCFG: "ppp/firstreqintr",(1000-10000) …… OK
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+QCFG="remoteip" //Check current status
+QCFG: "remoteip",0
OK
AT+QCFG="remoteip",1 //Setting the remoteip” negotiation active
OK
AT+QCFG="remoteip" //Check current status
+QCFG: "remoteip",1
OK
AT+QCFG="remoteip",0 //Setting the “remoteip” negotiation inactive
OK
AT+QCFG="remoteip" //Check current status
+QCFG: "remoteip",0
OK

4.3.15. AT+QCFG= "ppp/firstreqintr" Extension Configuration

AT+QCFG=ppp/firstreqintr is used to set the interval between CONNECT and first CONFIG_REQ frame of PPP.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 55 / 247
1. The configuration will not be saved into NV.
2. UG95 module does not support this function.
Write Command
AT+ QCFG=”ppp/firstreqintr”[,<val>]
Response If configuration parameter is omitted
+QCFG: "ppp/firstreqintr",<val>
OK
If configuration parameter is entered
OK ERROR
<val>
A numeric parameter. Default value is 1000. Unit: millisecond
AT+QCFG=“stateurc/enable” Enable/Disable State URC Indication
Read Command
AT+QCFG=“stateurc/enable”
Response
+QCFG: “stateurc/enable”,<enable_val>
OK
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+QCFG="ppp/firstreqintr",3000
OK
AT+QCFG="ppp/firstreqintr"
+QCFG: ppp/firstreqinrt,3000
OK

4.3.16. AT+QCFG="stateurc/enable" Enable/Disable State URC Indication

AT+QCFG="urc/port" can configure whether to allow reporting stateurc, this configuration will be saved in the NV. It is still valid after restarting the module. The State URC refers to those who contain the keyword "+CPIN:", "+CFUN:", "+QUSIM:" or " QIND:".
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 56 / 247
UG95 module does not support this function.
Write Command
AT+QCFG=“stateurc/enable”,<e nable_val>
Response
OK ERROR
<enable_val> Integer type, enable/disable State URC indication
0 Disable 1 Enable
AT+QCFG="sms/listmsgmap" List the Message Map
Test Command
AT+QCFG=?
Response
+QCFG: "sms/listmsgmap",("rec unread","rec read","sto unsend","sto sent")
OK
Read Command
AT+QCFG?
Response
OK
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+QCFG=“stateurc/enable”,1
OK
AT+QCFG=“stateurc/enable”
+QCFG: stateurc/enable”,1
OK
AT+QCFG=“stateurc/enable”,0
OK
AT+QCFG=“stateurc/enable”
+QCFG: stateurc/enable”,0
OK

4.3.17. AT+QCFG="sms/listmsgmap" List the Message Map

WCDMA_UGxx_AT_Commands_Manual Confidential / Released 57 / 247
1. List message map This subcommand lists messages with the type specified by <msgmap> in the storage specified by
<mem1> of AT+CPMS;
<msgmap> shows the bit map of total messages in the storage specified by <mem1> of AT+CPMS. If
the bit is 1, it means the message is on the type specified by <msgtype>. If the bit is 0, it means the message is not on the type specified by <msgtype>;
The position of the bit in bit map specified by <msgtype> indicates the message index in the storage
specified by <mem1> of AT+CPMS. The most significant bit represents the less message index in the storage specified by <mem1> of AT+CPMS;
Write Command List message map
AT+QCFG="sms/listmsgmap",< msgmap>
Response
+QCFG: "sms/listmsgmap",<msgtype>,<msgmap> OK
If error is related to ME functionality:
+CME ERROR: <err>
Reference
<msgtype > Message type
rec unread Received unread messages rec read Received read messages sto unsent Stored unsent messages sto sent Stored sent messages
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+QCFG=? //Query supported system configurations
+QCFG: "sms/listmsgmap",("rec unread","rec read","sto unsend","sto sent")
OK
AT+QCFG? //Query current values of system configurations
OK
AT+QCFG="wrongsubcommand" //Executed wrong sub command.
ERROR
AT+CPMS?
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 58 / 247
When <state> is 3, it also means initialization of SIM card related functions has been finished.
AT+QINISTAT Query Initialization State
Test Command AT+QINISTAT=?
Response
OK
Execution Command
AT+QINISTAT
Response
+QINISTAT: <state>
OK
Reference
<state> 0 No initialization 1 Ready to execute AT command 2 SMS has finished initialization 3 Phonebook has finished initialization
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
+CPMS: "SM",45,50,"SM",45,50,"SM",45,50
OK
AT+QCFG="sms/listmsgmap",rec unread //List received read message map
+QCFG: “sms/listmsgmap","rec unread", "77FFFFFFFFC800"
OK
AT+QCFG? //Query current values of system configurations
OK

4.4. AT+QINISTAT Query Initialization State

Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 59 / 247
<descr> String type, instructions state, v alues refer to the following notes <ind> Integer types, instructs event, related to the value of the <descr>
1. UG95 module does not support this function.
2. The value of <descry> and <ind>:
<descr>
<ind>
"call": call status indication
0: no call 1: call
"roam": roaming indicator
0: Registered with the ownership or unregistered network 1: Registered to the roaming network
"signal": signal strength indication
0-5: According to the from weak to strong, divided into five levels
"service": network service status indicator
0: Not registered on the network 1: Registered to the known network
"GPRS coverage": PS domain registration instructions
0: Unregistered on PS domain 1: Registered on PS domain
AT+CIND Command of Control Instructions
Test Command AT+CIND=?
Response
+CIND: (<descr>,(list of supported <ind>s))[,(<descr>,(list of supported <ind>s))[,...]]
OK
Read Command AT+CIND?
Response
+CIND: <ind>[,<ind>[,...]]
OK
If error is related to ME functionality:
+CME ERROR: <err>
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual

4.5. AT+CIND Command of Control Instructions

Parameter
Example
AT+CIND=?
+CIND: ("call",(0,1)),("roam",(0,1)),("signal",(0-5)),("service",(0,1)),("GPRS coverage",(0,1))
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 60 / 247
AT+QTEMP Temperature Detection
Write Command AT+QTEMP
Response
+QTEMP: <tempvalue>
OK
Maximum Response Time
300ms
<tempvalue> Integer type. Temperature value (degrees Celsius)
Quectel
Confidential
WCDMA UGxx AT Commands Manual
OK
AT+CIND?
+CIND: 0,0,4,1,1
OK

4.6. AT+QTEMP Temperature Detection

Parameter
Example
AT+QTEMP
+QTEMP: 27
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 61 / 247
AT+CIMI Request International Mobile Subscriber Identity (IMSI)
Test Command AT+CIMI=?
Response
OK
Execution Command
AT+CIMI
Response TA returns <IMSI> for identifying the individual SIM which is attached to ME.
<IMSI>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<IMSI> International Mobile Subscriber Identity (string without double quotes)
Quectel
Confidential
WCDMA UGxx AT Commands Manual

5 SIM Related Commands

5.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI)

AT+CIMI requests the International Mobile Subscriber Identity (IMSI) which is intended to permit the TE to identify the individual SIM card or active application in the UICC (GSM or USIM) which is attached to MT.
Parameter
Example
AT+CIMI
460023210226023 //Query IMSI number of SIM which is attached to ME
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 62 / 247
AT+CLCK Facility Lock
Test Command AT+CLCK=?
Response
+CLCK: (list of supported <fac>s)
OK
Write Command
AT+CLCK=<fac>,<mode>[,<passwd>[ ,<class>]]
Response This command is used to lock, unlock or interrogate ME or network facility <fac>. Password is normally needed to do such actions. When querying the status of a network service (<mode>=2) the response line for „not active‟ case (<status>=0) should be returned only if service is not active for any <class>.
If <mode> is not equal 2 and command is successful:
OK
If <mode>=2 and command is successful: +CLCK: <status>[,<class>] [+CLCK: <status>[,<class>]] […]
OK
Maximum Response Time
5s
Reference 3GPP TS 27.007
<fac> "SC" SIM (lock SIM/UICC card installed in the currently selected card slot) (SIM/UICC
asks password in MT power-up when this lock command is issued)
"AO" BAOC (Bar All Outgoing Calls) (refer to 3GPP TS 22.088 clause 1)
"OI" BOIC (Bar Outgoing International Calls) (refer to 3GPP TS 22.088 clause 1)
"OX" BOIC-exHC (Bar Outgoing International Calls except to Home Country) (refer to
3GPP TS 22.088 clause 1) "AI" BAIC (Bar All Incoming Calls) (refer to 3GPP TS 22.088 clause 2) "IR" BIC-Roam (Bar Incoming Calls when Roaming outside the home country) (refer
Quectel
Confidential
WCDMA UGxx AT Commands Manual

5.2. AT+CLCK Facility Lock

AT+CLCK is used to lock, unlock or interrogate a MT or a network facility <fac>. The command can be aborted when network facilities are set or interrogated.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 63 / 247
to 3GPP TS 22.088 clause 2) "AB" All Barring services (refer to 3GPP TS 22.030) (applicable only for <mode>=0) "AG" All outgoing barring services (refer to 3GPP TS 22.030) (applicable only for
<mode>=0) "AC" All incoming barring services (refer to 3GPP TS 22.030) (applicable only for
<mode>=0) "FD" SIM card or active application in the UICC (GSM or USIM) fixed dialing memory
feature (if PIN2 authentication has not been done during the current session,
PIN2 is required as <passwd>) "PS" PH SIM (lock Phone to SIM/UICC card) (MT asks password when other current
SIM/UICC card is inserted;
MT may remember certain amount of previously used cards thus not requiring
password when they are inserted) "PN" Network Personalization (refer to 3GPP TS 22.022) "PU" Network Subset Personalization (refer to 3GPP TS 22.022) "PP" Service Provider Personalization (refer to 3GPP TS 22.022) "PC" Corporate Personalization (refer to 3GPP TS 22.022)
<mode> 0 Unlock 1 Lock 2 Query status
<passwd> Password <class> 1 Voice
2 Data 4 FAX 7 All telephony except SMS (Default)
8 Short message service 16 Data circuit sync 32 Data circuit async 64 Dedicated packet access 128 Dedicated PAD access
<status> 0 Off 1 On
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+CLCK="SC", 2
+CLCK: 0 //Query the status of SIM card lock, 0-unlock
OK
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
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 64 / 247
AT+CPIN Enter PIN
Test Command AT+CPIN=?
Response
OK
Read Command
AT+CPIN?
Response TA returns an alphanumeric string indicating whether or not some password is required.
+CPIN: <code>
OK
Write Command
AT+CPIN=<pin>[,<new pin>]
Response TA stores a password which is necessary before it can be operated (SIM PIN, SIM PUK, etc.). If the PIN is to be entered twice, the TA shall automatically repeat the PIN. If no PIN request is pending, no action is taken and an error message, +CME ERROR, is returned to TE.
If the PIN required is SIM PUK or SIM PUK2, the second pin is required. This second pin, <new pin>, is used to replace the old pin in the SIM. OK
Maximum Response Time
5s
Reference 3GPP TS 27.007
<code> READY MT is not pending for any password
SIM PIN MT is waiting for SIM PIN to be given
SIM PUK MT is waiting for SIM PUK to be given SIM PIN2 MT is waiting for SIM PIN2 to be given SIM PUK2 MT is waiting for SIM PUK2 to be given
Quectel
Confidential
WCDMA UGxx AT Commands Manual
OK
AT+CLCK="SC",0,"1234" //Unlock SIM card
OK

5.3. AT+CPIN Enter PIN

AT+CPIN is used to enter a password or query whether or not the module requires a password which is necessary before it can be operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.).
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 65 / 247
PH-NET PIN MT is waiting for network personalization password to be given PH-NET PUK MT is waiting for network personalization unblocking password
to be given
PH-NETSUB PIN MT is waiting for network subset personalization password to be
given
PH-NETSUB PUK MT is waiting for network subset personalization unblocking
password to be given
PH-SP PIN MT is waiting for service provider personalization password to
be given
PH-SP PUK MT is waiting for service provider personalization unblocking
password to be given
PH-CORP PIN MT is waiting for corporate personalization password to be
given
PH-CORP PUK MT is waiting for corporate personalization unblocking
password to be given
<pin> Password (string type). If the requested password was a PUK, such as SIM PUK1,
PH-FSIM PUK or another password, then <pin> must be followed by <new pin>
<new pin> New password (string type) if the requested code was a PUK.
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
//Enter PIN
AT+CPIN?
+CPIN: SIM PIN //Query PIN code is locked
OK
AT+CPIN=1234 //Enter PIN
OK
+CPIN: READY
AT+CPIN? //PIN has already been entered
+CPIN: READY
OK
//Enter PUK and PIN
AT+CPIN?
+CPIN: SIM PUK //Query PUK code is locked
OK
AT+CPIN="26601934","1234" //Enter PUK and new PIN password
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 66 / 247
AT+CPWD Change Password
Test Command AT+CPWD=?
Response TA returns a list of pairs which present the available facilities and the maximum length of their password.
+CPWD: (list of supported <fac>s),(<pwdlength>s)
OK
Write Command
AT+CPWD=<fac>,<oldpwd>,<newpwd >
Response TA sets a new password for the facility lock function.
OK
Maximum Response Time
5s
Reference 3GPP TS 27.007
<fac> "SC" SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and when
this lock command is issued)
"AO" BAOC (Bar All Outgoing Calls, refer to 3GPP TS 22.088 clause 1)
"OI" BOIC (Bar Outgoing International Calls, refer to 3GPP TS 22.088 clause 1)
"OX" BOIC-exHC (Bar Outgoing International Calls except to Home Country, refer to
3GPP TS 22.088 clause 1) "AI" BAIC (Bar All Incoming Calls, refer to 3GPP TS 22.088 clause 2) "IR" BIC-Roam (Bar Incoming Calls when Roaming outside the home country, refer
to 3GPP TS 22.088 clause 2) "AB" All barring services (refer to 3GPP TS 22.030, applicable only for <mode>=0) "AG" All outgoing barring services (refer to 3GPP TS 22.030, applicable only for
<mode>=0)
Quectel
Confidential
WCDMA UGxx AT Commands Manual
+CPIN: READY
AT+CPIN?
+CPIN: READY //PUK has already been entered
OK

5.4. AT+CPWD Change Password

AT+CPWD sets a new password for the facility lock function defined by command Facility Lock +CLCK.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 67 / 247
"AC All incoming barring services (refer to 3GPP TS 22.030, applicable only for
<mode>=0)
"PS" PH SIM (lock Phone to SIM/UICC card)(MT asks password when other current
SIM/UICC card inserted;
MT may remember certain amount of previously used cards thus not requiring
password when they are inserted)
"P2" SIM PIN2
"PN" Network Personalization (refer to 3GPP TS 22.022) "PU" Network Subset Personalization (refer to 3GPP TS 22.022) "PP" Service Provider Personalization (refer to 3GPP TS 22.022) "PC" Corporate Personalization (refer to 3GPP TS 22.022)
<pwdlength> Integer type, max length of password <oldpwd> Password specified for the facility from the user interface or with command <newpwd> New password
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+CPIN?
+CPIN: READY
OK
AT+CPWD="SC","1234","4321" //Change SIM card password to "4321"
OK //Restart module or re-activate the SIM card
AT+CPIN //Query PIN code is locked
+CPIN: SIM PIN
OK
AT+CPIN=4321 //PIN must be entered to define a new password "4321"
OK
+CPIN: READY

5.5. AT+CSIM Generic SIM Access

AT+CSIM allows a direct control of the SIM that is installed in the currently selected card slot by a distant application on the TE. The TE shall then keep the processing of SIM information within the frame specified by GSM/UMTS.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 68 / 247
AT+CSIM Generic SIM Access
Test Command AT+CSIM=?
Response
OK
Write Command
AT+CSIM= <length>,<command>
Response
+CSIM: <length>,<response>
OK ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<length> Integer type. Length of <command> or <response> string <command> Command transferred by the MT to the SIM in the format as described in
3GPP TS 51.011
<response> Response to the command transferred by the SIM to the MT in the format as
described in 3GPP TS 51.011
AT+CRSM Restricted SIM Access
Test Command AT+CRSM=?
Response
OK
Write Command
AT+CRSM=<command>[,<fileld>[,<P1 >,<P2>,<P3>[,<data>][,<pathld>]]]
Response
+CRSM: <sw1>,<sw2>[,<response>]
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

5.6. AT+CRSM Restricted SIM Access

AT+CRSM offers easy and limited access to the SIM database. It transmits the SIM <command> and required parameters to the MT.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 69 / 247
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<command> USIM command number 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY 220 UPDATE RECORD 242 STATUS
<fileId> Integer type; identifier for an elementary data file on USIM, if used by
<command>
<P1>, <P2>, <P3> Integer type; parameters transferred by the MT to the SIM. These
parameters are mandatory for every command, except GET RESPONSE and STATUS. The values are described in 3GPP TS 51.011
<data> Information which shall be written to the SIM (hexadecimal character format;
refer to +CSCS)
<pathId> Contains the directory path of an elementary file on a UICC in hexadecimal
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; refer to +CSCS). STATUS and GET RESPONSE return data, which gives information about the current elementary data field. The information includes the type of file and its size (refer to 3GPP TS 51.011). After READ BINARY, READ RECORD or RETRIEVE DATA command the requested data will be returned. <response> is not returned after a successful UPDATE BINARY, UPDATE RECORD or SET DATA command
AT+QCCID Show ICCID
Test Command
Response
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

5.7. AT+QCCID Show ICCID

AT+QCCID returns the ICCID (Integrated Circuit Card Identifier) number of the SIM card.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 70 / 247
AT+QCCID=?
OK
Execution Command
AT+QCCID
Response
+QCCID: <iccid>
OK ERROR
Maximum Response Time
300ms
AT+QSIMDET SIM Card Detection
Test Command
AT+QSIMDET=?
Response
+QSIMDET: (0,1),(0,1)
OK
Read Command
AT+QSIMDET?
Response
+QSIMDET: <enable>,<insert_level>
OK
Write Command
AT+QSIMDET=<enable>,<insert_level >
Response
OK ERROR
Maximum Response Time
300ms
<enable> Switch on or off detecting SIM/USIM card
0 Off
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+QCCID //Query ICCID of the SIM card
+QCCID: 898600220909A0206023
OK

5.8. AT+QSIMDET SIM Card Detection

AT+QSIMDET enables SIM/USIM card hotswap function. SIM/USIM card is detected by GPIO interrupt. You should also set the level of SIM/USIM detecting pin when the SIM card is inserted. This command can be saved by AT&W.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 71 / 247
1. Hotswap function is invalid if the configured value of <insert_level> is inconsistent with hardware design.
2. The configuration will be saved to NV automatically.
1 On
<insert_level> The level of SIM detection pin when a SIM card is inserted
0 Low level 1 High level
AT+QSIMSTAT SIM Inserted Status Report
Test Command AT+QSIMSTAT=?
Response
+QSIMSTAT: (0,1)
OK
Read Command
AT+QSIMSTAT?
Response
+QSIMSTAT: <enable>,<inserted_status>
OK
Write Command
AT+QSIMSTAT=<enable>
Response
OK ERROR
Maximum Response Time
300ms
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+QSIMDET=1,0 //If SIM/USIM detection pin level is low when SIM/USIM card inserted
OK <Remove SIM/USIM card> +CPIN: NOT READY <Insert SIM/USIM card> +CPIN: READY //If PIN1 of the SIM/USIM card is unlocked

5.9. AT+QSIMSTAT SIM Inserted Status Report

AT+QSIMSTAT can query SIM/USIM inserted status or enable SIM/USIM inserted status report. The configuration of this command can be saved by AT&W.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 72 / 247
The configuration will be saved to NV automatically.
<enable> Enable or disable SIM/USIM inserted status report. If it is enabled, when SIM/USIM
card is removed or inserted, the URC: +QSIMSTAT: <enable>,<inserted_status>
will be reported. 0 Disable 1 Enable <inserted_status> SIM/USIM is inserted or removed. This argument is not allowed to be set.
0 Removed 1 Inserted 2 Unknown, before SIM initialization
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+QSIMSTAT? //Query SIM/USIM inserted status
+QSIMSTAT: 0,1
OK
AT+QSIMDET=1,0
OK
AT+QSIMSTAT=1 //Enable SIM/USIM inserted status report
OK
AT+QSIMSTAT?
+QSIMSTAT: 1,1
OK <Remove SIM/USIM card>
+QSIMSTAT : 1,0 //Report of SIM/USIM inserted status, removed
+CPIN: NOT READY
AT+QSIMSTAT?
+QSIMSTAT: 1,0
OK <Insert SIM/USIM card> +QSIMSTAT : 1,1 //Report of SIM/USIM inserted status, inserted
+CPIN: READY
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 73 / 247
AT+COPS Operator Selection
Test Command AT+COPS=?
Response TA returns a set of five parameters, each representing an operator presenting in the network. Any of the formats may be unavailable and should then be an empty field. The list of operators shall be in the order of: home network, networks referenced in SIM and other networks.
+COPS: (list of supported <stat>, long alphanumeric <oper>, short alphanumeric <oper>, numeric <oper>s)[,< Act>])s][,< Plmn_flag>])s] [,,(list of supported <mode>s),(list of supported <format>s )]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Read Command
AT+COPS?
Response TA returns the current mode and the currently selected operator. If no operator is selected, <format>, <oper> and
<Act> are omitted. +COPS: <mode>[,<format>[,<oper>][,<Act>]]
OK
If error is related to ME functionality: +CME ERROR: <err>
Write Command
AT+COPS=<mode>
Response TA forces an attempt to select and register the GSM/UMTS
Quectel
Confidential
WCDMA UGxx AT Commands Manual

6 Network Service Commands

6.1. AT+COPS Operator Selection

AT+COPS returns the current operators and their status and allows to set automatic or manual network selection.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 74 / 247
[,<format>[,<oper>]]
network operator. If the selected operator is not available, no other operator shall be selected (except <mode>=4). The format of selected operator name shall apply to further read commands (+COPS?).
OK
If error is related to ME functionality: +CME ERROR: <err>
Maximum Response Time
180s, determined by network.
Reference 3GPP TS 27.007
<stat> 0 Unknown 1 Operator available 2 Current operator 3 Operator forbidden
<oper> Operator in format as per <mode> <mode> 0 Automatic mode; <oper> field is ignored
1 Manual operator selection; <oper> field shall be present and <Act> optionally 2 Manual deregister from network
3 Set only <format> (for read command +COPS?), do not attempt
registration/deregistration (<oper> and <Act> fields are ignored); this value is not applicable in read command response
4 Manual/automatic selected, <oper> field shall be presented; if manual selection
fails, automatic mode (<mode>=0) is entered <format> 0 Long format alphanumeric <oper>; can be up to 16 characters long 1 Short format alphanumeric <oper> 2 Numeric <oper>; GSM location area identification number <Act> Access technology selected 0 GSM 2 UTRAN 3 GSM W/EGPRS 4 UTRAN W/HSDPA 5 UTRAN W/HSUPA 6 UTRAN W/HSDPA and HSUPA <Plmn_flag> 0 Available PLMN is present on EHPLMN List 1 Available PLMN is present on User controlled List 2 Available PLMN is present on Operator controlled List
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 75 / 247
AT+CREG Network Registration
Test Command AT+CREG=?
Response
+CREG: (list of supported <n>s)
OK
Read Command
AT+CREG?
Response TA returns the status of result code presentation and an integer <stat> which shows whether the network has currently indicated the registration of the ME. Location information elements <lac> and <ci> are returned only when
<n>=2 and ME is registered in the network. +CREG: <n>,<stat>[,<lac>,<ci>[,<Act>]]
OK
If error is related to ME functionality: +CME ERROR: <err>
Write Command
AT+CREG=<n>
Response 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
Maximum Response Time
300ms
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+COPS=? //List all current network operators
+COPS: (2,"CHN-UNICOM","UNICOM","46001",2),(1,"CHN-UNICOM","UNICOM","46001",0,0),(3,"CHINA MOBILE","CMCC","46000",0),,(0-4),(0-2)
OK
AT+COPS? //Query the currently selected network operator
+COPS: 0,0,"CHN-UNICOM",2
OK

6.2. AT+CREG Network Registration

AT+CREG returns the network registration status. The write command sets whether or not to present URC.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 76 / 247
Reference 3GPP TS 27.007
<n> 0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code +CREG: <stat>
2 Enable network registration unsolicited result code with location information
+CREG: <stat>[,<lac>,<ci>[,<Act>]] <stat> 0 Not registered, ME is not currently searching a new operator to register to 1 Registered, home network 2 Not registered, but ME is currently searching a new operator to register to 3 Registration denied 4 Unknown
5 Registered, roaming
<lac> String type, two bytes location area code in hexadecimal format <ci> String type, 16 bit (GSM) or 28 bit (UMTS) cell ID in hexadecimal format
<Act> Access technology selected
0 GSM 2 UTRAN
AT+CSQ Signal Quality Report
Test Command AT+CSQ=?
Response +CSQ: (list of supported <rssi>s),(list of supported <ber>s)
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+CREG=1
OK
+CREG: 1 //URC reports that ME has registered
AT+CREG=2 //Activates extended URC mode
OK
+CREG: 1,"D504","08043799",2 //URC reports that operator has found location area code and
cell ID

6.3. AT+CSQ Signal Quality Report

AT+CSQ indicates the received signal strength <rssi> and the channel bit error rate <ber>.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 77 / 247
OK
Execution Command
AT+CSQ
Response
+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 3GPP TS 27.007
<rssi> 0 -113dBm or less 1 -111dBm
2...30 -109... -53dBm 31 -51dBm or greater 99 Not known or not detectable
According to 3GPP TS 27.007 [47], the <rssi> value is not applicable to 3G networks. Yet, with a view to employing +CSQ for all networks has been designed to show a <rssi> value derived from the 3G specific RSCP parameter is shown by AT+QENG. Nevertheless, please note that connection quality in 3G networks is depending on further factors. For example, despite good <rssi> or RSCP values for signal quality, data throughput may vary depending on the number of subscribers sharing the same cell.
<ber> Channel bit error rate (in percent)
0...7 As RXQUAL values in the table in 3GPP TS 45.008 subclause 8.2.4 99 Not known or not detectable
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+CSQ=?
+CSQ: (0-31,99),(0-7,99)
OK
AT+CSQ
+CSQ: 28,0 //Returns that the current signal strength indication is 28
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 78 / 247
and channel bit error rate is 0
After using network related commands such as +CCWA, +CCFC, users are advised to wait for 3s before entering AT+CSQ. This is recommended to ensure that any network access required for the preceding command has been finished.
AT+CPOL Preferred Operator List
Test Command AT+CPOL=?
Response
+CPOL: (list of supported <index>s),(list of supported <format>s)
OK
Read Command AT+CPOL?
Response Query the list of preferred operators:
+CPOL: <index>,<format>,<oper> [,<GSM>,<GSM_compact,<UTRAN>] [+CPOL: <index>,<format>,<oper>
[,<GSM>,<GSM_compact,<UTRAN>] []]
OK
Write Command
AT+CPOL=<index>[,<format>[,<oper> [<GSM>,<GSM_compact>,<UTRAN>]] ]
Response Edit the list of preferred operators.
OK ERROR
If the <index> is given but the <operator> is left out, the entry is deleted.
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<index> Integer type; the order number of operator in the SIM/USIM preferred operator list <format> 0 Long format alphanumeric <oper>
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual

6.4. AT+CPOL Preferred Operator List

AT+CPOL edits and queries the list of preferred operators.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 79 / 247
The configuration will be saved to NV automatically.
1 Short format alphanumeric <oper> 2 Numeric <oper>
<oper> String type; <format> indicates the format is alphanumeric or numeric (see +COPS) <GSM> GSM access technology
0 Access technology is not selected 1 Access technology is selected
<GSM_Compact> GSM compact access technology
0 Access technology is not selected 1 Access technology is selected
<UTRAN> UTRAN access technology
0 Access technology is not selected 1 Access technology is selected
AT+COPN Read Operator Names
Test Command AT+COPN=?
Response
OK
Execution Command
AT+COPN
Response
+COPN: <numeric1>,<alpha1> [+COPN: <numeric2>,<alpha2> […]]
OK
If error is related to ME functionality: +CME ERROR: <err>
Maximum Response Time
Depends on the number of operator names
Reference 3GPP TS 27.007
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual

6.5. AT+COPN Read Operator Names

The AT+COPN command returns the list of operator names from the ME. Each operator code
<numericn> that has an alphanumeric equivalent <alphan> in the ME memory is returned.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 80 / 247
<onoff> Integer type, indicates the mode of automatic time zone update 0 Disable automatic time zone update via NITZ
1 Update GMT time to RTC, time zone to NVRAM 3 Update Local time to RTC, time zone to NVRAM
<numericn> String type; operator in numeric format (see +COPS) <alphan> String type; operator in long alphanumeric format (see +COPS)
AT+CTZU Automatic Time Zone Update
Test Command
AT+CTZU=?
Response
+CTZU: (0,1,3)
OK
Write Command
AT+CTZU=<onoff>
Response
OK ERROR
Read Command AT+CTZU?
Response
+CTZU: <onoff>
OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

6.6. AT+CTZU Automatic Time Zone Update

Set command enables and disables automatic time zone update via NITZ. The configuration is stored to NV automatically.
Parameter
Example
AT+CTZU?
+CTZU: 0
OK
AT+CTZU=?
+CTZU: (0,1,3)
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 81 / 247
The configuration will be saved to NV automatically.
AT+CTZR Time Zone Reporting
Test Command
AT+CTZR=?
Response
+CTZR: (0-2)
OK
Write Command
AT+CTZR=<reporting>
Response
OK ERROR
Read Command AT+CTZR?
Response
+CTZR: <reporting>
OK
Maximum Response Time
300ms
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
OK
AT+CTZU=1
OK
AT+CTZU?
+CTZU: 1
OK
AT+CTZU=3
OK
AT+CTZU?
+CTZU: 3
OK

6.7. AT+CTZR Time Zone Reporting

This command controls the time zone reporting of changed event. If reporting is enabled the MT returns the unsolicited result code +CTZV: <tz>or +CTZE: <tz>,<dst>,<time> whenever the time zone is changed. The configuration is stored to NV automatically.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 82 / 247
The configuration will be saved to NV automatically.
Reference 3GPP TS 27.007
<reporting> Integer type, indicates the mode of time zone reporting
0 Disable time zone reporting of changed event 1 Enable time zone reporting of changed event by unsolicited result code
+CTZV: <tz>
2 Enable extended time zone reporting by unsolicited result code
+CTZE: <tz>,<dst>,<time>
<tz> String type, represents the sum of the local time zone (difference between the local
time and GMT is expressed in quarters of an hour) plus daylight saving time. The format is "±zz", expressed as a fixed width, two digit integer with the range -48 ... +56. To maintain a fixed width, numbers in the range -9 ... +9 are expressed with a leading zero, e.g. "-09", "+00" and "+09".
<dst> Integer type, indicates whether <tz> includes daylight savings adjustment
0 <tz> includes no adjustment for Daylight Saving Time 1 <tz> includes +1 hour (equals 4 quarters in <tz>) adjustment for daylight saving
time
2 <tz> includes +2 hours (equals 8 quarters in <tz>) adjustment for daylight saving
time
<time> String type, represents the local time. The format is "YYYY/MM/DD,hh:mm:ss",
expressed as integers representing year (YYYY), month (MM), date (DD), hour (hh), minute (mm) and second (ss). This parameter can be provided by the network when delivering time zone information and will be presented in the unsolicited result code of extended time zone reporting if provided by the network.
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+CTZR=2
OK
AT+CTZR?
+CTZR: 2
OK
+CTZE: +32,0,2013/08/23,06:51:13 //<reporting> is 2
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 83 / 247
AT+QLTS Obtain the Latest Network Time Synchronization
Test Command
AT+QLTS=?
Response
OK
Execution Command AT+QLTS
Response Execution Command returns latest time for Network synchronization:
+QLTS: <time>,<dst>
OK
Write Command AT+QLTS=<mode>
Response
+QLTS: <time>,<dst>
OK ERROR
If error is related to ME functionality +CME ERROR: <err>
Maximum Response Time
300ms
<mode> Query network time mode 0 Query latest time that network synchronized 1 Query current GMT time calculated from the latest time that network synchronized 2 Query current LOCAL time calculated from the latest time network synchronized <time> String type. Format is "YYYY/MM/DD,hh:mm:ss±zz", indicates 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...+56). E.g. 6th of May 2004, 22:10:00 GMT+2 hours.
<dst> Daylight saving time. It is zero equals to "04/05/06,22:10:00+08,0"
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual

6.8. AT+QLTS Obtain the Latest Network Time Synchronization

AT+QLTS is used to obtain the latest network time synchronization.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 84 / 247
If network has not synchronized the time, AT+QLTS command will only return OK
AT+QGPCLASS Change GPRS Multi-slot Class
Test Command
AT+QGPCLASS=?
Response For UG95
+QGPCLASS: (1-12)
OK
For UG96
+QGPCLASS: (1-12,30-33,35-38)
OK
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Example
AT+QLTS=? //Query supported QLTS mode
+QLTS: (0-2)
OK
AT+QLTS //Query latest time that network synchronized
+QLTS: "14/04/29,06:30:15+32,0"
OK
AT+QLTS=0 //Query latest time that network synchronized. It‟s same as “AT+QLTS”
+QLTS: "14/04/29,06:30:15+32,0"
OK
AT+QLTS=1 //Query current GMT time calculated from the latest time that network synchronized
+QLTS: "14/04/29,06:40:43+32,0"
OK
AT+QLTS=2 //Query current LOCAL time calculated from the latest time network synchronized
+QLTS: "14/04/29,14:41:33+32,0"
OK

6.9. AT+QGPCLASS Change GPRS Multi-slot Class

This command is used to change GPRS multi-slot class
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 85 / 247
1. For UG95 module, the GPRS multi-slot class is in range of 1-12. The default value is 12.
2. For UG96 module, the GPRS multi-slot class may be 1-12, 30-33 or 35-38. The default value is 33.
The configuration will be saved to NV automatically.
Read Command AT+QGPCLASS?
Response
+QGPCLASS: <class>
OK
Write Command
AT+QGPCLASS=<class>
Response
OK ERROR
If error is related to ME functionality: +CME ERROR: <err>
Reference
<class> Multi-slot class of GPRS mode
NOTES
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
AT+QGPCLASS=12 //Change GPRS multi-slot class to 12
OK
AT+QGPCLASS? //Query current multi-slot class of GPRS
+QGPCLASS: 12
OK
AT+QGPCLASS=8 //Change GPRS multi-slot class to 8
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 86 / 247
1. Any additional commands on the same command line are ignored.
2. This command may be aborted generally by receiving a character during execution. The aborting is
not possible during some states of connection establishment such as handshaking.
3. See also ATX.
ATA Answer an Incoming Call
Execution Command
ATA
Response TA sends off-hook to the remote station. Response in case of data call, if successfully connected CONNECT<text> TA switches to data mode.
Note: <text> output only if ATX<value> parameter setting with the <value> >0.
When TA returns to command mode after call release:
OK
Response in case of voice call, if successfully connected:
OK
Response if no connection:
NO CARRIER
Maximum Response Time
90s, determined by network.
Reference V.25ter
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual

7 Call Related Commands

7.1. ATA Answer an Incoming Call

ATA connects the module to an incoming voice or data call indicated by a "RING" URC.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 87 / 247
ATD Mobile Originated Call to Dial a Number
Execution Command
ATD<n>[<mgsm>][;]
Response This command can be used to set up outgoing voice, data or FAX calls. It also serves to control supplementary services.
If no dial tone and (parameter setting ATX2 or ATX4):
NO DIALTONE
If busy and (parameter setting ATX3 or ATX4): BUSY
If a connection cannot be established:
NO CARRIER
If connection is successful and non-voice call.
CONNECT<text> TA switches to data mode.
<text> outputs only if ATX<value> parameter setting with the <value> >0
When TA returns to command mode after call release:
OK
If connection is successful and voice call:
OK
Maximum Response Time
5s, determined by network (AT+COLP=0).
Quectel
Confidential
WCDMA UGxx AT Commands Manual
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

7.2. ATD Mobile Originated Call to Dial a Number

ATD can be used to set up outgoing voice and data calls. Supplementary Services can also be controlled with ATD.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 88 / 247
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. See ATX command for setting result code and call monitoring parameters.
4. <n> is default value for last number that can be dialed by ATDL.
5. Responses returned after dialing with ATD.
For voice call two different responses mode can be determined. TA returns “OK” immediately either after dialing was completed or after the call was established. The setting is controlled by AT+COLP. Factory default is AT+COLP=0, which causes the TA to return “OK” immediately after dialing was completed, otherwise TA will return “OK”, “BUSY”, “NO DIAL TONE”, or “NO CARRIER”.
6. Using ATD during an active voice call:
When a user originates a second voice call while there is already an active voice call, the first
call will be automatically put on hold.
The current states of all calls can be easily checked at any time by using the AT+CLCC
command.
Reference V.25ter
<n> String of dialing digits and optionally V.25ter modifiers Dialing digits: 0-9, * , #, +, A, B, C Following V.25ter modifiers are ignored: ,(comma), T, P, !, W, @ <mgsm> String of GSM modifiers:
I Actives CLIR (Disable 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
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
Example
ATD10086; //Dialing out the party‟s number
OK
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 89 / 247
ATH Disconnect Existing Connection
Execution Command
ATH[n]
Response Disconnect existing call by local TE from command line and terminate the call.
OK
Maximum Response Time
90s, determined by network.
Reference V.25ter
<n> 0 Disconnect from line and terminate call
AT+CVHU Voice Hang up Control
Test Command
AT+CVHU=?
Response
+CVHU: (list of supported<mode>s)
OK
Read Command AT+CVHU?
Response
+CVHU: <mode>
OK
Write Command
AT+CVHU=<mode>
Response
OK ERROR
Maximum Response Time
300ms
Reference 3GPP TS 27.007
Quectel
Confidential
WCDMA UGxx AT Commands Manual

7.3. ATH Disconnect Existing Connection

ATH disconnects circuit switched data calls or voice calls. AT+CHUP is also used to disconnect the voice call.
Parameter

7.4. AT+CVHU Voice Hang up Control

AT+CVHU controls whether ATH can be used to disconnect the voice call.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 90 / 247
<mode> 0 ATH is disconnected 1 ATH is ignored but "OK" response is returned
AT+CHUP Hang up Call
Test Command
AT+CHUP=?
Response
OK
Execution Command
AT+CHUP
Response
OK ERROR
Maximum Response Time
90s, determined by network.
Reference 3GPP 27.007
+++ Switch from Data Mode to Command Mode
Execution Command
+++
Response This command is only available when TA is in data mode. The“+++ character sequence causes the TA to cancel the data flow over the AT interface and switch to command mode. This allows you to enter AT command while maintaining the data connection with the remote server or, accordingly, the packet domain connection.
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

7.5. AT+CHUP Hang up Call

AT+CHUP cancels all voice calls in the state of Active, Waiting and Held. For data connections, use ATH.
Example
RING //Incoming call
AT+CHUP //Hang up call
OK

7.6. +++ Switch from Data Mode to Command Mode

The +++ character sequence causes the module to switch from data mode to AT command mode. It allows inputting AT commands while maintaining the data connection with the remote device.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 91 / 247
1. To prevent the “+++” escape sequence from being misinterpreted as data, it should comply to
following sequence:
Do not input any character within T1 time (1000ms) before inputting “+++”. Input “+++” within 1000ms, and no other characters can be inputted during the time. Do not input any character within T1 time (1000ms) after “+++” has been inputted.  Switch to command mode, otherwise return to step 1.
2. To return from command mode back to data mode: Enter ATO
Another way to change to command mode is through DTR, refer to AT&D command for details.
OK
Maximum Response Time
300ms
Reference V.25ter
ATO Switch from Command Mode to Data Mode
Execution Command
ATO[n]
Response TA resumes the connection and switches back from command mode to data mode.
If connection is not successfully resumed:
NO CARRIER
Else TA returns to data mode from command mode CONNECT
<text>
Maximum Response Time
300ms
Reference V.25ter
<n> 0 Switch from command mode to data mode
NOTES
Quectel
Confidential
WCDMA UGxx AT Commands Manual

7.7. ATO Switch from Command Mode to Data Mode

ATO resumes the connection and switches back from command mode to data mode.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 92 / 247
TA returns to data mode from command mode CONNECT <text>,<text> only if ATX parameter is set as value>0.
If <n> is set too high, the calling party may hang up before the call is answered automatically.
ATS0 Set Number of Rings before Automatically Answering Call
Read Command
ATS0?
Response
<n>
OK
Write Command
ATS0=<n>
Response This parameter setting determines the number of rings before auto-answer. OK
Maximum Response Time
300ms
Reference V.25ter
<n> 0 Automatic answering is disabled 1-255 Enable automatic answering on the ring number specified
NOTE
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual

7.8. ATS0 Set Number of Rings before Automatically Answering Call

ATS0 controls automatic answering mode for the incoming calls.
Parameter
Example
ATS0=3 //Set three rings before automatically answering a call
OK
RING //Call coming
RING
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 93 / 247
ATS6 Set Pause before Blind Dialing
Read Command
ATS6?
Response
<n>
OK
Write Command
ATS6=<n>
Response OK
Maximum Response Time
300ms
Reference V.25ter
<n> 0-2-10 Number of seconds to wait before blind dialing
ATS7 Set Number of Seconds to Wait for Connection Completion
Read Command
ATS7?
Response
<n>
OK
Write Command
ATS7=<n>
Response This parameter setting determines the amount of time to wait for the connection completion in case of answering or originating a call. OK
Quectel
Confidential
WCDMA UGxx AT Commands Manual
RING //Automatically answering the call after three rings

7.9. ATS6 Set Pause before Blind Dialing

ATS6 is implemented for compatibility reasons only, and has no effect.
Parameter

7.10. ATS7 Set Number of Seconds to Wait for Connection Completion

ATS7 specifies the amount of time to wait for the connection completion in case of answering or originating a call. If no connection is established during the time, the module disconnects from the line.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 94 / 247
Maximum Response Time
300ms
Reference V.25ter
<n> 0 Disabled
1-255 Number of seconds to wait for connection completion
ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier
Read Command
ATS8?
Response
<n>
OK
Write Command
ATS8=<n>
Response OK
Maximum Response Time
300ms
Reference V.25ter
<n> 0 No pause when comma encountered in dial string 1-2-255 Number of seconds to wait
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

7.11. ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier

ATS8 is implemented for compatibility reasons only, and has no effect.
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 95 / 247
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier
Read Command
ATS10?
Response
<n>
OK
Write Command
ATS10=<n>
Response This parameter setting determines the amount of time that the TA will remain connected in absence of data carrier. If the data carrier is once more detected before disconnection, the TA remains connected. OK
Maximum Response Time
300ms
Reference V.25ter
<n> 1-15-254 Number of tenths of seconds to wait before disconnecting after UE has indicated
the absence of received line signal
AT+CBST Select Bearer Service Type
Test Command AT+CBST=?
Response
+CBST: (list of supported <speed>s) ,(list of supported <name>s) ,(list of supported <ce>s)
OK
Read Command
Response
Quectel
Confidential
WCDMA UGxx AT Commands Manual

7.12. ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier

ATS10 determines the amount of time, during which the UE remains connected in absence of a data carrier.
Parameter

7.13. AT+CBST Select Bearer Service Type

AT+CBST write command selects the bearer service <name>, the data rate <speed> and the connection element <ce> to be used when data calls are originated.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 96 / 247
AT+CBST?
+CBST: <speed>,<name>,<ce>
OK
Write Command
AT+CBST=[<speed>[,<name>[,<ce>]]]
Response TA selects the bearer service <name> with data rate <speed>, and the connection element <ce> to be used when data calls are originated. OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<speed> 0 Automatic selection of the speed; this setting is possible in case of 3.1kHz modem
and non-transparent service
4 2400 bps (V.22bis)
5 2400 bps (V.26ter) 6 4800 bps (V.32) 7 9600 bps (V.32) 12 9600 bps (V.34) 14 14400 bps (V.34) 15 19200 bps (V.34) 16 28800 bps (V.34) 17 32000 bps (V.34) 39 9600 bps (V.120) 43 14400 bps (V.120) 47 19200 bps (V.120) 48 28800 bps (V.120) 49 38400 bps (V.120) 50 48000 bps (V.120) 51 56000 bps (V.120) 68 2400 bps (V.110 or X.31 flag stuffing) 70 4800 bps (V.110 or X.31 flag stuffing) 71 9600 bps (V.110) 75 14400 bps (V.110) 79 19200 bps (V.110 or X.31 flag stuffing) 80 28800 bps (V.110 or X.31 flag stuffing) 81 38400 bps (V.110 or X.31 flag stuffing) 82 48000 bps (V.110 or X.31 flag stuffing)
83 56000 bps (V.110 or X.31 flag stuffing; this setting can be used in conjunction with
asynchronous non-transparent UDI or RDI service in order to get FTM84 64000 bps (X.31 flag stuffing; this setting can be used in conjunction with asyn-chronous
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 97 / 247
3GPP TS 22.002 lists the allowed combinations of the sub-parameters.
non-transparent UDI service in order to get FTM)
84 64000 bps (X.31 flag stuffing; this setting can be used in conjunction with
asynchronous non-transparent UDI service in order to get FTM) 115 56000 bps (bit transparent) 116 64000 bps (bit transparent) 120 32000 bps (PIAFS32k) 121 64000 bps (PIAFS64k) 130 28800 bps (multimedia) 131 32000 bps (multimedia) 132 33600 bps (multimedia) 133 56000 bps (multimedia) 134 64000 bps (multimedia)
<name> 0 Asynchronous Modem 1 Synchronous Modem 4 Asynchronous Modem (RDI) 5 Synchronous Modem (RDI) <ce> 0 Transparent 1 Non-transparent 2 Both, transparent preferred 3 Both, non-transparent preferred
AT+CSTA Select Type of Address
Test Command AT+CSTA=?
Response
+CSTA: (list of supported <type>s)
OK
Read Command
AT+CSTA?
Response
+CSTA: <type>
OK
Write Command
Response
NOTE
Quectel
Confidential
WCDMA UGxx AT Commands Manual

7.14. AT+CSTA Select Type of Address

AT+CSTA write command selects the type of number for further dialing commands ATD according to 3GPP Technical Specifications. Test command returns values supported a compound value.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 98 / 247
AT+CSTA=<type>
OK
Maximum Response Time
300ms
Reference 3GPP TS 27.007
<type> 128-129-255 Current address type settings, e.g:
129 Unknown type
145 International type (contains the character "+")
AT+CLCC List Current Calls of ME
Test Command
AT+CLCC=?
Response OK
Execution Command
AT+CLCC
Response TA returns a list of current calls of ME. If command execute successfully but no calls are existed, no information but OK response is sent to TE.
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>[,<number>,<type>[,< alpha>]] [+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>[,<number>,<type>[,< alpha>]] [...]
OK
If error is related to ME functionality: +CME ERROR: <err>
Maximum Response Time
300ms
Quectel
Confidential
WCDMA UGxx AT Commands Manual
Parameter

7.15. AT+CLCC List Current Calls of ME

The execution command returns the list of all current calls. If the command is executed successfully, but no calls are existed, no information but OK response is sent to the TE.
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 99 / 247
Loading...