Quectel UC20 AT Commands Manual V1.5
User Manual: Pdf
Open the PDF directly: View PDF
.
Page Count: 244
| Download | |
| Open PDF In Browser | View PDF |
UC20 AT Commands Manual UMTS/HSPA Module Series Rev. UC20_AT_Commands_Manual_V1.5 Date: 2014-09-26 www.quectel.com UMTS/HSPA Module Series UC20 AT Commands Manual Our aim is to provide customers with timely and comprehensive service. For any assistance, please contact our company headquarters: Quectel Wireless Solutions Co., Ltd. Office 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233 Tel: +86 21 5108 6236 Mail: info@quectel.com Or our local office, for more information, please visit: l e t l c a e i t u n Q ide f n o C http://www.quectel.com/support/salesupport.aspx For technical support, to report documentation errors, please visit: http://www.quectel.com/support/techsupport.aspx GENERAL NOTES QUECTEL OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION 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 THIS INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF QUECTEL CO., LTD. TRANSMITTABLE, REPRODUCTION, DISSEMINATION AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THIS CONTENTS ARE FORBIDDEN WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL OR DESIGN. Copyright © Quectel Wireless Solutions Co., Ltd. 2014. All rights reserved. UC20_AT_Commands_Manual Confidential / Released 1 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual About the Document History l e t l c a e i t u n Q ide f n o C Revision Date Author Description 1.0 2013-05-27 Chris PENG Initial 1. 1.1 2013-11-04 Laguna XU 2. 3. 1.2 1.3 1.4 1.5 2014-02-20 2014-04-30 2014-05-19 2014-09-26 Added AT Commands: +QRIR/+QCFG/+CSIM/+QFUN/+QINISTAT/ +QPINC/+QPIN2/+QSIMDET/+QSIMSTAT/ +CTZU/+CTZR/+QLTZ/+QECCNUM/+QHUP/ +CNUM/+CPBF/+CPBR/+CPBS/+CPBW/ +CMMS/+QCMGS/+QCMGR/+CSSN/+CUSD/ +VTS/+VTD/+QADC/+QLEDSTAT/+QRST Deleted AT Commands: +QNWCFG Modified the description of AT Commands: &V/+QURCCFG/+QINDCFG/ +CPOL/+COPN/S7/+CBST/+CLCC/+CSTA/ +CGDCONT/+CGQREG/+CGQMIN/ +CGEQREQ/+CGEQMIN/+CHLD/+CLCK Gralik WANG 1. Added AT Commands: +CNMA/+CGEREP 2. Modified the CCLK time range 3. Added summary of URC Scott HU Added AT Commands: +CALM/+CRSL/+QSIDET/+QAUDLOOP/+QMIC/ +QTONEDET/+QPCMV Mandy WANG/ Laguna XU 1. Added Maximum Response Time to all AT Commands. 2. Added AT Commands: +CEER 3. Modified the description of AT Commands: +CNMI/+CPMS Rex ZHANG 1. Deleted AT+ICF description in AT&W and ATZ 2. Modified AT Commands: +CGDCONT/+CGQREQ/+CGQMIN/+CGEQREQ/ +CGEQMIN/+QDAI/QMIC/QPCMV/QLDTMF UC20_AT_Commands_Manual Confidential / Released 2 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 3. Added AT Commands: +QWDTMF/+QLDTMF/+QLTONE/+QRXGAIN/ +QTTSETUP/+QAUDPATH l e t l c a e i t u n Q ide f n o C UC20_AT_Commands_Manual Confidential / Released 3 / 243 UMTS/HSPA Module Series UC20 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 ...................................................................... 13 2.3. AT+GMM Request TA Model Identification ........................................................................... 14 2.4. AT+GMR Request TA Revision Identification of Software Release ..................................... 14 2.5. AT+CGMI Request Manufacturer Identification .................................................................... 15 2.6. AT+CGMM Request Model Identification ............................................................................. 16 2.7. AT+CGMR Request TA Revision Identification of Software Release ................................... 16 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) ...................................... 17 2.9. AT+CGSN Request Product Serial Number Identification ................................................... 17 2.10. AT&F Set all Current Parameters to Manufacturer Defaults ................................................ 18 2.11. AT&V Display Current Configuration .................................................................................... 18 2.12. AT&W Store Current Parameters to User Defined Profile .................................................... 19 2.13. ATZ Set all Current Parameters to User Defined Profile ...................................................... 20 2.14. ATQ Set Result Code Presentation Mode ............................................................................ 20 2.15. ATV TA Response Format .................................................................................................... 21 2.16. ATE Set Command Echo Mode ............................................................................................ 22 2.17. A/ Repeat Previous Command Line ..................................................................................... 23 2.18. ATS3 Set Command Line Termination Character................................................................. 23 2.19. ATS4 Set Response Formatting Character .......................................................................... 24 2.20. ATS5 Set Command Line Editing Character ........................................................................ 25 2.21. ATX Set CONNECT Result Code Format and Monitor Call Progress ................................. 25 2.22. AT+CFUN Set Phone Functionality ...................................................................................... 26 2.23. AT+CMEE Error Message Format ........................................................................................ 28 2.24. AT+CSCS Select TE Character Set...................................................................................... 29 2.25. AT+QURCCFG Configure URC Indication Option ............................................................... 30 3 Serial Interface Control Commands ................................................................................................ 32 3.1. AT&C Set DCD Function Mode ............................................................................................ 32 3.2. AT&D Set DTR Function Mode ............................................................................................. 32 3.3. AT+ICF Set TE-TA Control Character Framing .................................................................... 33 l e t l c a e i t u n Q ide f n o C UC20_AT_Commands_Manual Confidential / Released 4 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 3.4. 3.5. 3.6. 4 AT+IFC Set TE-TA Local Data Flow Control ......................................................................... 34 AT+IPR Set TE-TA Fixed Local Rate .................................................................................... 35 AT+QRIR Restore Ring Line to Inactive ............................................................................... 36 Status Control Commands ............................................................................................................... 37 4.1. AT+CPAS Mobile Equipment Activity Status......................................................................... 37 4.2. AT+QCFG Extended Configuration Settings ........................................................................ 38 4.2.1. AT+QCFG="pwrsavedtr" Enable/Disable DTR to Control Power Save State ............ 40 4.2.2. AT+QCFG="temp" Temperature Detection ................................................................. 41 4.2.3. AT+QCFG="vbatt" Voltage Detection ......................................................................... 43 4.2.4. AT+QCFG="airplanecontrol" Enable/Disable Airplane Mode Detection ..................... 45 4.2.5. AT+QCFG="gprsattach" GPRS Attach Mode Configuration....................................... 46 4.2.6. AT+QCFG="nwscanmode" Network Search Mode Configuration.............................. 47 4.2.7. AT+QCFG="nwscanseq" Network Searching Sequence Configuration..................... 48 4.2.8. AT+QCFG="roamservice" Roam Service Configuration ............................................ 49 4.2.9. AT+QCFG="servicedomain" Service Domain Configuration ...................................... 49 4.2.10. AT+QCFG="band" Band Configuration ...................................................................... 50 4.2.11. AT+QCFG="hsdpacat" HSDPA Category Configuration............................................. 51 4.2.12. AT+QCFG="hsupacat" HSUPA Category Configuration ............................................ 52 4.2.13. AT+QCFG="rrc" RRC Release Version Configuration ............................................... 53 4.2.14. AT+QCFG="sgsn" UE SGSN Release Version Configuration ................................... 53 4.2.15. AT+QCFG="msc" UE MSC Release Version Configuration ....................................... 54 4.2.16. AT+QCFG="gprsmultislot" GPRS Multislot Class Configuration ................................ 55 4.2.17. AT+QCFG="edgemultislot" EDGE Multislot Class Configuration ............................... 56 4.2.18. AT+QCFG="dtmmultislot" DTM&EDTM Multislot Class Configuration....................... 56 4.2.19. AT+QCFG="pcmclk" PCM CLK Signal Configuration ................................................ 57 4.2.20. AT+QCFG="urc/ri/ring" Ring Line Behavior of RING .................................................. 58 4.2.21. AT+QCFG="urc/ri/smsincoming" Ring Line Behavior of Incoming SMS .................... 59 4.2.22. AT+QCFG="urc/ri/other" Ring Line Behavior of Other URCs ..................................... 60 4.2.23. AT+QCFG="risignaltype" Ring Line Signal Outputting Carrier ................................... 61 4.2.24. AT+QCFG="urc/delay" Delay URC Indication ............................................................ 62 4.2.25. AT+QCFG="amrcodec" AMR Codec Configuration ................................................... 63 4.2.26. AT+QCFG="sms/unread" Query the Amount of Unread Message(s) ........................ 63 4.2.27. AT+QCFG="call/alpha" Display Alphanumeric Name in Call ..................................... 64 4.2.28. AT+QCFG="sms/alpha" Display Alphanumeric Name in SMS ................................... 65 4.2.29. AT+QCFG="sim/voltage" Select SIM Card Operating Voltage ................................... 65 4.2.30. AT+QCFG="apready" Extension Configuration .......................................................... 66 4.3. AT+QINDCFG URC Indication Configuration ....................................................................... 67 4.4. AT+CEER Extended Error Report ........................................................................................ 69 4.5. AT+QGBAND Get Module Operation Band .......................................................................... 70 l e t l c a e i t u n Q ide f n o C 5 SIM Related Commands .................................................................................................................... 72 5.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) ....................................... 72 5.2. AT+CLCK Facility Lock ......................................................................................................... 73 5.3. AT+CPIN Enter PIN .............................................................................................................. 75 UC20_AT_Commands_Manual Confidential / Released 5 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 5.4. 5.5. 5.6. 5.7. 5.8. 5.9. 5.10. 5.11. 5.12. 5.13. AT+CPWD Change Password .............................................................................................. 77 AT+CSIM Generic SIM Access ............................................................................................. 78 AT+CRSM Restricted SIM Access ........................................................................................ 79 AT+QCCID Show ICCID ....................................................................................................... 80 AT+QFUN Set Phone Extended Functionality ...................................................................... 81 AT+QINISTAT Query Status of SIM Card Initialization ......................................................... 82 AT+QPIN2 Query/Unlock SIM PIN2/PUK2 ........................................................................... 83 AT+QPINC Display PIN Remainder Counter........................................................................ 84 AT+QSIMDET SIM Card Detection....................................................................................... 84 AT+QSIMSTAT SIM Inserted Status Report ......................................................................... 86 6 Network Service Commands ............................................................................................................ 88 6.1. AT+COPS Operator Selection .............................................................................................. 88 6.2. AT+CREG Network Registration........................................................................................... 90 6.3. AT+CSQ Signal Quality Report............................................................................................. 91 6.4. AT+CPOL Preferred Operator List ........................................................................................ 93 6.5. AT+COPN Read Operator Names ........................................................................................ 94 6.6. AT+CTZU Automatic Time Zone Update .............................................................................. 95 6.7. AT+CTZR Time Zone Reporting ........................................................................................... 96 6.8. AT+QLTS Obtain the Latest Network Time Synchronization ................................................ 97 7 Call Related Commands .................................................................................................................... 99 7.1. ATA Answer an Incoming Call ............................................................................................... 99 7.2. ATD Mobile Originated Call to Dial a Number .................................................................... 100 7.3. ATH Disconnect Existing Connection ................................................................................. 101 7.4. AT+CVHU Voice Hang Up Control...................................................................................... 102 7.5. AT+CHUP Hang Up Call ..................................................................................................... 103 7.6. +++ Switch From Data Mode to Command Mode .............................................................. 103 7.7. ATO Switch From Command Mode to Data Mode ............................................................. 104 7.8. ATS0 Set Number of Rings before Automatically Answering Call ...................................... 105 7.9. ATS6 Set Pause Before Blind Dialing ................................................................................. 106 7.10. ATS7 Set Number of Seconds to Wait for Connection Completion.................................... 106 7.11. ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier ................................. 107 7.12. ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier ....................... 107 7.13. AT+CBST Select Bearer Service Type ............................................................................... 108 7.14. AT+CSTA Select Type of Address ...................................................................................... 110 7.15. AT+CLCC List Current Calls of ME......................................................................................111 7.16. AT+CR Service Reporting Control ...................................................................................... 112 7.17. AT+CRC Set Cellular Result Codes for Incoming Call Indication ...................................... 113 7.18. AT+CRLP Select Radio Link Protocol Parameter .............................................................. 114 7.19. AT+QECCNUM Configure Emergency Call Numbers ........................................................ 116 7.20. AT+QHUP Hang up Call with a Specific Release Cause ................................................... 118 8 Phonebook Commands ................................................................................................................... 120 8.1. AT+CNUM Subscriber Number........................................................................................... 120 8.2. AT+CPBF Find Phonebook Entries .................................................................................... 121 l e t l c a e i t u n Q ide f n o C UC20_AT_Commands_Manual Confidential / Released 6 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 8.3. 8.4. 8.5. 9 AT+CPBR Read Phonebook Entries .................................................................................. 122 AT+CPBS Select Phonebook Memory Storage.................................................................. 123 AT+CPBW Write Phonebook Entry..................................................................................... 124 Short Message Service Commands ............................................................................................... 126 9.1. AT+CSMS Select Message Service ................................................................................... 126 9.2. AT+CMGF Message Format ............................................................................................... 127 9.3. AT+CSCA Service Center Address ..................................................................................... 128 9.4. AT+CPMS Preferred Message Storage .............................................................................. 129 9.5. AT+CMGD Delete Message ............................................................................................... 131 9.6. AT+CMGL List Messages ................................................................................................... 132 9.7. AT+CMGR Read Message ................................................................................................. 135 9.8. AT+CMGS Send Message .................................................................................................. 138 9.9. AT+CMMS More Messages to Send .................................................................................. 140 9.10. AT+CMGW Write Message to Memory............................................................................... 141 9.11. AT+CMSS Send Message From Storage ........................................................................... 142 9.12. AT+CNMA New Message Acknowledgement to UE/TE ..................................................... 144 9.13. AT+CNMI SMS Event Reporting Configuration .................................................................. 145 9.14. AT+CSCB Select Cell Broadcast Message Types ............................................................. 148 9.15. AT+CSDH Show SMS Text Mode Parameters ................................................................... 148 9.16. AT+CSMP Set SMS Text Mode Parameters ...................................................................... 150 9.17. AT+QCMGS Send Concatenated Messages ..................................................................... 150 9.18. AT+QCMGR Read Concatenated Messages ..................................................................... 152 l e t l c a e i t u n Q ide f n o C 10 Packet Domain Commands ............................................................................................................ 155 10.1. AT+CGATT Attachment or Detachment of GPRS .............................................................. 155 10.2. AT+CGDCONT Define PDP Context .................................................................................. 156 10.3. AT+CGQREQ Quality of Service Profile (Requested) ........................................................ 157 10.4. AT+CGQMIN Quality of Service Profile (Minimum Acceptable) ......................................... 160 10.5. AT+CGEQREQ 3G Quality of Service Profile (Requested) ............................................... 163 10.6. AT+CGEQMIN 3G Quality of Service Profile (Minimum Acceptable) ................................. 167 10.7. AT+CGACT Activate or Deactivate PDP Context ............................................................... 171 10.8. AT+CGDATA Enter Data State ............................................................................................ 172 10.9. AT+CGPADDR Show PDP Address ................................................................................... 173 10.10. AT+CGCLASS GPRS Mobile Station Class ....................................................................... 174 10.11. AT+CGREG Network Registration Status........................................................................... 175 10.12. AT+CGEREP Packet Domain Event Reporting .................................................................. 176 10.13. AT+CGSMS Select Service for MO SMS Messages.......................................................... 178 11 Supplementary Service Commands .............................................................................................. 180 11.1. AT+CCFC Call Forwarding Number and Conditions Control ............................................. 180 11.2. AT+CCWA Call Waiting Control .......................................................................................... 182 11.3. AT+CHLD Call Related Supplementary Services ............................................................... 184 11.4. AT+CLIP Calling Line Identification Presentation ............................................................... 186 11.5. AT+CLIR Calling Line Identification Restriction .................................................................. 187 11.6. AT+COLP Connected Line Identification Presentation....................................................... 188 UC20_AT_Commands_Manual Confidential / Released 7 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 11.7. 11.8. AT+CSSN Supplementary Service Notifications ................................................................ 190 AT+CUSD Unstructured Supplementary Service Data ...................................................... 191 12 Audio Commands ............................................................................................................................ 193 12.1. AT+CLVL Loud Speaker Volume Level ............................................................................... 193 12.2. AT+CMUT Mute Control...................................................................................................... 194 12.3. AT+VTS DTMF and Tone Generation ................................................................................. 194 12.4. AT+VTD Set Tone Duration................................................................................................. 195 12.5. AT+QAUDMOD Set Audio Mode ........................................................................................ 196 12.6. AT+QDAI Configure Digital Audio Interface ........................................................................ 197 12.7. AT+CALM Mute the Ring Tone ........................................................................................... 199 12.8. AT+CRSL Set Ring Tone Volume ....................................................................................... 200 12.9. AT+QSIDET Set the Side Tone Gain in Current Mode ....................................................... 200 12.10. AT+QAUDLOOP Enable Audio Loop Test .......................................................................... 201 12.11. AT+QMIC Set Uplink (MIC) Gains ...................................................................................... 202 12.12. AT+QTONEDET Enable/Disable DTMF Detection ............................................................. 203 12.13. AT+QPCMV Enable to Transfer PCM Data via USB/UART Port ....................................... 204 12.14. AT+QWDTMF Play/Send DTMF Tone (s) ........................................................................... 205 12.15. AT+QLDTMF Play Local DTMF .......................................................................................... 206 12.16. AT+QLTONE Play a Local Customized Tone ..................................................................... 207 12.17. AT+QRXGAIN Set Downlink (RX) Gains ............................................................................ 209 12.18. AT+QTTS Play Text ............................................................................................................ 210 12.19. AT+QTTSETUP Set Parameters for TTS ........................................................................... 211 l e t l c a e i t u n Q ide f n o C 13 Hardware Related Commands ........................................................................................................ 213 13.1. AT+QPOWD Power Off....................................................................................................... 213 13.2. AT+CCLK Clock .................................................................................................................. 213 13.3. AT+CBC Battery Charge ..................................................................................................... 214 13.4. AT+QADC Read ADC ......................................................................................................... 215 13.5. AT+QLEDSTAT Net LED Configuration .............................................................................. 215 13.6. AT+QSCLK Configure Whether or not to Enter into Sleep Mode....................................... 216 13.7. AT+QRST Automatically Reset........................................................................................... 217 14 Appendix ........................................................................................................................................... 219 14.1. Reference .............................................................................................................................. 219 14.2. Factory Default Settings Restorable with AT&F .................................................................... 220 14.3. AT Command Settings Storable with AT&W .......................................................................... 222 14.4. AT Command Settings Storable with ATZ ............................................................................. 223 14.5. Summary of CME ERROR Codes......................................................................................... 223 14.6. Summary of CMS ERROR Codes......................................................................................... 225 14.7. Summary of URC................................................................................................................... 227 14.8. SMS Character Sets Conversions ......................................................................................... 230 14.9. Release Cause Text List of AT+CEER .................................................................................. 236 UC20_AT_Commands_Manual Confidential / Released 8 / 243 UMTS/HSPA Module Series UC20 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 ................ 22 TABLE 4: PARAMETERS CONFIGURATIONS SUPPORTED BY AT+CBST ................................................ 109 TABLE 5: DELAY CLASS ................................................................................................................................ 160 TABLE 6: RELATED DOCUMENTS ................................................................................................................ 219 TABLE 7: TERMS AND ABBREVIATIONS ...................................................................................................... 219 TABLE 8: FACTORY DEFAULT SETTINGS RESTORABLE WITH AT&F ...................................................... 220 l e t l c a e i t u n Q ide f n o C TABLE 9: AT COMMAND SETTINGS STORABLE WITH AT&W .................................................................... 222 TABLE 10: AT COMMAND SETTINGS STORABLE WITH ATZ ..................................................................... 223 TABLE 11: DIFFERENT CODING SCHEMES OF +CME ERROR:................................................... 224 TABLE 12: DIFFERENT CODING SCHEMES OF +CMS ERROR: ................................................... 225 TABLE 13: THE WAY OF SMS TEXT INPUT OR OUTPUT............................................................................ 230 TABLE 14: THE INPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“GSM”) ...................... 231 TABLE 15: THE OUTPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“GSM”) .................. 231 TABLE 16: GSM EXTENDED CHARACTERS ................................................................................................ 232 TABLE 17: THE INPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“IRA”) ........................ 233 TABLE 18: IRA EXTENDED CHARACTERS .................................................................................................. 234 TABLE 19: THE OUTPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“IRA”) .................... 234 TABLE 20: GSM EXTENDED CHARACTERS ................................................................................................ 235 TABLE 21: RELEASE CAUSE TEXT LIST OF AT+CEER .............................................................................. 236 UC20_AT_Commands_Manual Confidential / Released 9 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 1 Introduction 1.1. Scope of the Document l e t l c a e i t u n Q ide f n o C This document presents the AT Commands Set for Quectel cellular engine UC20. 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 . Commands are usually followed by a response that includes “ ”. Throughout this document, only the responses are presented, “ ” are omitted intentionally. The AT Commands Set implemented by UC20 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 ”, or “AT& ”, where “ ” is the command, and “ ” is/are the argument(s) for that command. An example of this is “ATE ”, which tells the DCE whether received characters should be echoed back to the DTE according to the value of “ ”. “ ” is optional and a default will be used if it is missing. S parameter syntax These AT commands have the format of “ATS = ”, where “ ” is the index of the S register to set, and “ ” is the value to assign to it. Extended syntax These commands can be operated in several modes, as following table: UC20_AT_Commands_Manual Confidential / Released 10 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Table 1: Types of AT Commands and Responses Test Command AT+ =? This command returns the list of parameters and value ranges set by the corresponding Write Command or internal processes. Read Command AT+ ? This command returns the currently set value of the parameter or parameters. Write Command AT+ =<…> This command sets the user-definable parameter values. Execution Command AT+ This command reads non-variable parameters affected by internal processes in the UE l e t l c a e i t u n Q ide f n o C 1.3. Supported Character Sets The UC20 AT command interface defaults to the GSM character set. The UC20 supports the following character sets: GSM format UCS2 IRA The character set can be configured and interrogated by using the “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 UC20 AT command interface includes two USB ports (USB MODEM port and USB AT port)and one main UART port. Both the USB MODEM port and the main UART port support AT command and data transfer. The USB AT port only supports AT command. UART port feature: The baud rates of 9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600 are supported at present. The default is 115200. 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. UC20_AT_Commands_Manual Confidential / Released 11 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 1.5. Unsolicited Result Code As an Unsolicited Result Code and a report message, URC is not issued as part of the response related to an executed AT command. URC is issued by the UC20 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, high/low voltage alarm, high/low temperature alarm etc. For most of these messages, they will be outputted from USB AT port by default if CMUX function is disabled, and you can configure the interface for URC output by using the AT command "AT+QURCCFG" (This command only effects when CMUX function is disabled). If CMUX function is enabled, URCs will be outputted from CMUX2 port by default. While the interface used for URC output is reserved by an active data connection or a long running AT command, URCs are buffered internally and will be issued after the interface becomes idle status. l e t l c a e i t u n Q ide f n o C 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, you should force to switch off the VBAT. UC20_AT_Commands_Manual Confidential / Released 12 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 2 General Commands 2.1. ATI Display Product Identification Information The ATI command delivers a product information text. ATI l e t l c a e i t u n Q ide f n o C Display Product Identification Information Execution Command ATI Response TA issues product information text. Quectel UC20 Revision: OK Maximum Response Time Reference V.25ter Parameter Example 300ms Revision of software release ATI Quectel UC20 Revision: UC20EQAR01A01M1024 OK 2.2. AT+GMI Request Manufacturer Identification AT+GMI returns a manufacturer identification text. See also: AT+CGMI. UC20_AT_Commands_Manual Confidential / Released 13 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 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 Maximum Response Time Reference V.25ter 300ms l e t l c a e i t u n Q ide f n o C 2.3. AT+GMM Request TA Model Identification AT+GMM returns a product model identification text. Command is identical with AT+CGMM. AT+GMM Request TA Model Identification Test Command AT+GMM=? Execution Command AT+GMM Response OK Response TA returns a product model identification text. UC20 OK Maximum Response Time Reference V.25ter 300ms 2.4. AT+GMR Request TA Revision Identification of Software Release AT+GMR delivers a product firmware version identification. Command is identical with AT+CGMR. AT+GMR Request TA Revision Identification of Software Release Test Command AT+GMR=? UC20_AT_Commands_Manual Response OK Confidential / Released 14 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 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 Maximum Response Time 300ms Reference V.25ter Parameter l e t l c a e i t u n Q ide f n o C Revision of software release Example AT+GMR Revision: UC20EQAR01A01M1024 OK 2.5. AT+CGMI Request Manufacturer Identification AT+CGMI returns a manufacturer identification text. See also: AT+GMI. AT+CGMI Request Manufacturer Identification Test Command AT+CGMI=? Execution Command AT+CGMI Response OK Response TA returns manufacturer identification text. Quectel OK Maximum Response Time 300ms Reference 3GPP TS 27.007 UC20_AT_Commands_Manual Confidential / Released 15 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 2.6. AT+CGMM Request Model Identification AT+CGMM returns a product model identification text. Command is identical with AT+GMM. AT+CGMM Request Model Identification Test Command AT+CGMM=? Response OK Execution Command AT+CGMM Response TA returns product model identification text. UC20 l e t l c a e i t u n Q ide f n o C OK Maximum Response Time 300ms Reference 3GPP TS 27.007 2.7. AT+CGMR Request TA Revision Identification of Software Release AT+CGMR delivers a product firmware version identification. Command is identical with AT+GMR. AT+CGMR Request TA Revision Identification of Software Release Test Command AT+CGMR=? Response OK Execution Command AT+CGMR Response TA returns identification text of product software version. Revision: OK Maximum Response Time 300ms Reference 3GPP TS 27.007 Parameter Identification text of product software version UC20_AT_Commands_Manual Confidential / Released 16 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) AT+GSN returns the International Mobile Equipment Identity (IMEI). Command is identical with AT+CGSN. 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 permit the user to identify the individual ME device. l e t l c a e i t u n Q ide f n o C OK Maximum Response Time Reference V.25ter Parameter 300ms IMEI of the telephone NOTE The serial number (IMEI) varies with the individual ME device. 2.9. AT+CGSN Request Product Serial Number Identification AT+CGSN returns International Mobile Equipment Identity (IMEI). AT+CGSN Request Product Serial Number Identification Test Command AT+CGSN=? Response OK Execution Command AT+CGSN Response OK UC20_AT_Commands_Manual Confidential / Released 17 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Maximum Response Time 300ms Reference 3GPP TS 27.007 2.10. 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. AT&F l e t l c a e i t u n Q ide f n o C Set all Current Parameters to Manufacturer Defaults Execution Command AT&F[ ] Response TA sets all current parameters to the manufacturer defined profile. See Table 8: Factory Default Settings Restorable with AT&F OK Maximum Response Time 300ms Reference V.25ter Parameter 0 2.11. AT&V Set all TA parameters to manufacturer defaults Display Current Configuration AT&V displays the current settings of several AT command parameters, including the single-letter AT command parameters which are not readable otherwise. 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 UC20_AT_Commands_Manual Confidential / Released 18 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Table 2: AT&V Response AT&V &C: 1 &D: 1 &F: 0 &W: 0 E: 1 Q: 0 V: 1 X: 4 Z: 0 S0: 0 S3: 13 S4: 10 S5: 8 S6: 2 S7: 0 S8: 2 S10: 15 OK 2.12. AT&W l e t l c a e i t u n Q ide f n o C Store Current Parameters to User Defined Profile AT&W stores the current AT command settings to a user defined profile in non-volatile memory. AT&W Store Current Parameters to User Defined Profile Execution Command AT&W[ ] Response TA stores the current parameter settings in the user defined profile. See Table 9: AT Command Settings Storable with AT&W. OK Maximum Response Time 300ms Reference V.25ter Parameter 0 Profile number to store current parameters UC20_AT_Commands_Manual Confidential / Released 19 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 2.13. ATZ Set all Current Parameters to User Defined Profile ATZ restores the current AT command settings to the user defined profile in non-volatile memory, if one was stored with AT&W before. Any additional AT command on the same command line may be ignored. ATZ does not change the current baud rate of UART. ATZ Set all Current Parameters to User Defined Profile Execution Command ATZ[ ] Response TA sets all current parameters to the user defined profile. See Table 10: AT Command Settings Storable with ATZ. OK l e t l c a e i t u n Q ide f n o C Maximum Response Time Reference V.25ter Parameter 2.14. ATQ 0 300ms Reset to profile number 0 Set Result Code Presentation Mode ATQ controls whether the result code is transmitted to the CE. Other information text transmitted as response is not affected. ATQ Set Result Code Presentation Mode Execution Command ATQ 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 =0: OK If =1: (none) Maximum Response Time 300ms Reference V.25ter UC20_AT_Commands_Manual Confidential / Released 20 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Parameter 0 1 2.15. ATV TA transmits result code Result codes are suppressed and not transmitted TA Response Format This command determines the contents of header and trailer transmitted with AT command result codes and information responses. l e t l c a e i t u n Q ide f n o C The result codes, their numeric equivalents and brief descriptions of the use of each are listed in the following table. ATV TA Response Format Execution Command ATV Response This parameter setting determines the contents of the header and trailer transmitted with result codes and information responses. When =0 0 When =1 OK Maximum Response Time 300ms Reference V.25ter Parameter 0 1 Information response: Short result code format: Information response: Long result code format: Example ATV1 OK AT+CSQ +CSQ: 30,0 //Set =1 OK //When =1 result code is OK UC20_AT_Commands_Manual Confidential / Released 21 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual ATV0 0 AT+CSQ +CSQ: 30,0 0 //Set =0 //When =0 result code is 0 Table 3: ATV0&ATV1 Result Codes Numeric Equivalents and Brief Description ATV1 ATV0 OK CONNECT RING NO CARRIER ERROR NO DIALTONE BUSY NO ANSWER 2.16. ATE Description l e t l c a e i t u n Q ide f n o C 0 Acknowledges execution of a command 1 A connection has been established; the DCE is moving from command state to online data state 2 The DCE has detected an incoming call signal from network 3 The connection has been terminated or the attempt to establish a connection failed 4 Command not recognized, command line maximum length exceeded, parameter value invalid, or other problem with processing the command line 6 No dial tone detected 7 Engaged (busy) signal detected 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) Set Command Echo Mode ATE controls if the module echoes characters received from TE during AT command state. ATE Set Command Echo Mode Execution Command ATE Response This setting determines whether or not the TA echoes characters received from TE during command state. OK Maximum Response Time 300ms UC20_AT_Commands_Manual Confidential / Released 22 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Reference V.25ter Parameter 0 1 Echo mode off Echo mode on 2.17. A/ Repeat Previous Command Line l e t l c a e i t u n Q ide f n o C A/ repeats previous AT command line, and "/" acts as the line terminating character. A/ Repeat Previous Command Line Execution Command A/ Reference V.25ter Example Response Repeat previous command ATI Quectel UC20 Revision: UC20EQAR01A01M1024 OK A/ Quectel UC20 Revision: UC20EQAR01A01M1024 OK 2.18. ATS3 //Repeat previous command 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. UC20_AT_Commands_Manual Confidential / Released 23 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual ATS3 Set Command Line Termination Character Read Command ATS3? Response OK Write Command ATS3= 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 l e t l c a e i t u n Q ide f n o C Maximum Response Time Reference V.25ter Parameter 0-13-127 2.19. ATS4 300ms Command line termination character (Default 13= ) 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. ATS4 Set Response Formatting Character Read Command ATS4? Response OK Write Command ATS4= Maximum Response Time Response This parameter setting determines the character generated by the TA for result code and information text. OK 300ms Reference V.25ter UC20_AT_Commands_Manual Confidential / Released 24 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Parameter 0-10-127 2.20. ATS5 Response formatting character (Default 10= ) 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). ATS5 l e t l c a e i t u n Q ide f n o C Set Command Line Editing Character Read Command ATS5? Response OK Write Command ATS5= Response This parameter setting determines the character recognized by TA as a request to delete the immediately preceding character from the command line. OK Maximum Response Time Reference V.25ter Parameter 0-8-127 2.21. ATX 300ms Response editing character (Default 8= ) 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. ATX Set CONNECT Result Code Format and Monitor Call Progress Execution Command ATX UC20_AT_Commands_Manual Response This parameter setting determines whether or not the TA detected the presence of dial tone and busy signal and Confidential / Released 25 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual whether or not TA transmits particular result codes. OK Maximum Response Time 300ms Reference V.25ter Parameter 0 CONNECT result code only returned, dial tone and busy detection are both disabled CONNECT result code only returned, dial tone and busy detection are both disabled CONNECT result code returned, dial tone detection is enabled, busy detection is disabled CONNECT result code returned, dial tone detection is disabled, busy detection is enabled CONNECT result code returned, dial tone and busy detection are both enabled l e t l c a e i t u n Q ide f n o C 1 2 3 4 2.22. AT+CFUN Set Phone Functionality AT+CFUN controls the functionality level. It can also be used to reset the UE. AT+CFUN Set Phone Functionality Test Command AT+CFUN=? Response +CFUN: (list of supported s),(list of supported s) OK Read Command AT+CFUN? Response +CFUN: OK Write Command AT+CFUN= [, ] Response OK If error is related to ME functionality: +CME ERROR: Maximum Response Time 15s, determined by network. Reference 3GPP TS 27.007 UC20_AT_Commands_Manual Confidential / Released 26 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Parameter 0 1 4 0 Minimum functionality Full functionality (Default) Disable phone both transmit and receive RF circuits Do not reset the ME before setting it to power level. This is default when is not given. Reset the ME. The device is fully functional after the reset. This value is available only for =1 1 Example AT+CFUN=0 OK AT+COPS? +COPS: 0 l e t l c a e i t u n Q ide f n o C OK AT+CPIN? +CME ERROR: 10 AT+CFUN=1 OK +CPIN: SIM PIN AT+CPIN=1234 OK +CPIN: READY +QUSIM: 1 //Switch phone to minimum functionality //No operator is registered //SIM is not inserted //Switch phone to full functionality +QIND: PB DONE +QIND: SMS DONE AT+CPIN? +CPIN: READY OK AT+COPS? +COPS: 0,0," CHN-UNICOM",2 //Operator is registered OK UC20_AT_Commands_Manual Confidential / Released 27 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 2.23. AT+CMEE Error Message Format AT+CMEE controls the format of error result codes: "ERROR", error numbers or verbose messages as "+CME ERROR: " and "+CMS ERROR: ". AT+CMEE Error Message Format Test Command AT+CMEE=? Response +CMEE: (list of supported s) OK Read Command AT+CMEE? l e t l c a e i t u n Q ide f n o C Response +CMEE: OK Write Command AT+CMEE= Response TA disables or enables the use of result code +CME ERROR: as an indication of an error related to the functionality of the ME. OK Maximum Response Time 300ms Reference 3GPP TS 27.007 Parameter Example 0 1 2 Disable result code Enable result code and use numeric values Enable result code and use verbose values AT+CMEE=0 OK AT+CPIN? ERROR AT+CMEE=1 OK AT+CPIN? +CME ERROR: 10 AT+CMEE=2 //Disable result code //Only "ERROR" will be displayed //Enable error result code with numeric values //Enable error result code with verbose (string) values OK UC20_AT_Commands_Manual Confidential / Released 28 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual AT+CPIN? +CME ERROR: SIM not inserted 2.24. AT+CSCS Select TE Character Set AT+CSCS write command informs the module which character set is used by the TE. This enables the UE to convert character strings correctly between TE and UE character sets. AT+CSCS Select TE Character Set Test Command AT+CSCS=? l e t l c a e i t u n Q ide f n o C Response +CSCS: (list of supported s) OK Read Command AT+CSCS? Response +CSCS: OK Write Command AT+CSCS= Response Set character set 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 Parameter "GSM" "IRA" "UCS2" Example GSM default alphabet International reference alphabet UCS2 alphabet AT+CSCS? +CSCS: "GSM" OK AT+CSCS="UCS2" OK AT+CSCS? UC20_AT_Commands_Manual //Query the current character set //Set the character set to "UCS2" Confidential / Released 29 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual +CSCS: "UCS2" OK 2.25. AT+QURCCFG Configure URC Indication Option This command is used to configure the output port of URC. AT+QURCCFG Configure URC Indication Option l e t l c a e i t u n Q ide f n o C Test Command AT+QURCCFG=? Response +QURCCFG: "urcport",("usbat","usbmodem","uart1") OK Write Command AT+QURCCFG="urcport"[, ] If configuration parameters are omitted, return current configuration: +QURCCFG: "urcport", OK If configuration parameters are entered, response: OK ERROR Read Command AT+QURCCFG? Response Return current configurations: +QURCCFG: "urcport", OK Maximum Response Time Parameter 300ms Set URC output port "usbat" "usbmodem" "uart1" USB AT port USB modem port Main UART NOTES 1. Configuration of URC output port will be saved to NV immediately by default. 2. After configuration of URC output port is set successfully, it will take effect immediately. UC20_AT_Commands_Manual Confidential / Released 30 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Example AT+QURCCFG=? +QURCCFG: "urcport",("usbat","usbmodem","uart1") OK AT+QURCCFG? +QURCCFG: "urcport","usbat" OK AT+QURCCFG="urcport","uart1" OK AT+QURCCFG? +QURCCFG: "urcport","uart1" OK l e t l c a e i t u n Q ide f n o C UC20_AT_Commands_Manual Confidential / Released 31 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 3 Serial Interface Control Commands 3.1. AT&C Set DCD Function Mode l e t l c a e i t u n Q ide f n o C AT&C controls the behavior of the UE's DCD line. AT&C Set DCD Function Mode Execution Command AT&C[ ] 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 Parameter 0 1 3.2. AT&D DCD line is always ON DCD line is ON only in the presence of data carrier Set DTR Function Mode AT&D determines how the UE responds if DTR line is changed from the ON to the OFF condition during online data mode. AT&D Set DTR Function Mode Execution Command AT&D[ ] Response This parameter determines how the TA responds when circuit 108/2(DTR) is changed from the ON to the OFF condition during data mode. OK Maximum Response Time 300ms UC20_AT_Commands_Manual Confidential / Released 32 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Reference V.25ter Parameter 0 1 2 TA ignores status on DTR ON->OFF on DTR: Change to command mode with remaining the connected call ON->OFF on DTR: Disconnect data call, change to command mode. During state DTR=OFF, auto-answer function is disabled l e t l c a e i t u n Q ide f n o C 3.3. AT+ICF Set TE-TA Control Character Framing AT+ICF determines the serial interface character framing format and parity received by TA from TE. AT+ICF Set TE-TA Control Character Framing Test Command AT+ICF=? Response +ICF: (list of supported s),(list of supported s) OK Read Command AT+ICF? Response +ICF: , OK Write Command AT+ICF=[ ,[ ]] Response This parameter setting determines the serial interface character framing format and parity received by TA from TE. OK Maximum Response Time 300ms Reference V.25ter Parameter 3 0 1 2 3 8 data 0 parity 1 stop Odd Even Mark (1) Space (0) UC20_AT_Commands_Manual Confidential / Released 33 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual NOTES 1. 2. The command is applied for command state. The field is ignored if the field specifies no parity. 3.4. AT+IFC Set TE-TA Local Data Flow Control AT+IFC determines the flow control behavior of the serial port. AT+IFC l e t l c a e i t u n Q ide f n o C Set TE-TA Local Data Flow Control Test Command AT+IFC=? Response +IFC: (list of supported s),(list of supported s) OK Read Command AT+IFC? Response +IFC: , OK Write Command AT+IFC= , Response This parameter setting determines the data flow control on the serial interface for data mode. OK Maximum Response Time 300ms Reference V.25ter Parameter Specifies the method will be used by TE when receiving data from TA 0 None 2 RTS flow control Specifies the method will be used by TA when receiving data from TE 0 None 2 CTS flow control NOTE This flow control is applied for data mode. UC20_AT_Commands_Manual Confidential / Released 34 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Example AT+IFC=2,2 OK AT+IFC? +IFC: 2,2 //Open the hardware flow control OK 3.5. AT+IPR Set TE-TA Fixed Local Rate l e t l c a e i t u n Q ide f n o C AT+IPR is used to query and set the baud rate of the UART. The default baud rate value ( ) is 115200bps. setting will not be restored with AT&F. AT+IPR Set TE-TA Fixed Local Rate Test Command AT+IPR=? Response +IPR: (list of supported auto detectable s),(list of supported fixed-only s) OK Read Command AT+IPR? Response +IPR: OK Write Command AT+IPR= Maximum Response Time Reference V.25ter 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 300ms Parameter Baud rate per second 9600 19200 38400 57600 UC20_AT_Commands_Manual Confidential / Released 35 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 115200 230400 460800 921600 NOTES 1. 2. 3. 4. 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. The value of AT+IPR cannot be restored with AT&F and ATZ, but it is still storable with AT&W. In multiplex mode, the baud rate cannot be changed by the write command AT+IPR= , and the setting is invalid and not stored even if AT&W is executed after the write command. A selected baudrate takes effect after the write commands are executed and acknowledged by "OK". Example AT+IPR=115200 OK AT&W OK AT+IPR? +IPR: 115200 l e t l c a e i t u n Q ide f n o C //Set fixed baud rate to 115200 //Store current setting, that is, the serial communication speed is 115200 after restarting module OK AT+IPR=115200;&W OK 3.6. AT+QRIR //Set fixed baud rate to 115200 and store current setting 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". AT+QRIR Restore Ring Line to Inactive Test Command AT+QRIR=? Response OK Execution Command AT+QRIR Response OK ERROR Maximum Response Time 300ms UC20_AT_Commands_Manual Confidential / Released 36 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual 4 Status Control Commands 4.1. AT+CPAS Mobile Equipment Activity Status l e t l c a e i t u n Q ide f n o C AT+CPAS execute command queries the module’s activity status. AT+CPAS Mobile Equipment Activity Status Test Command AT+CPAS=? Response +CPAS: (list of supported s) OK Execution Command AT+CPAS Response TA returns the activity status of ME: +CPAS: OK ERROR If error is related to ME functionality: +CME ERROR: Maximum Response Time 300ms Reference 3GPP TS 27.007 Parameter 0 3 4 Ready Ringing Call in progress or call hold Example AT+CPAS +CPAS: 0 //Module is idle OK UC20_AT_Commands_Manual Confidential / Released 37 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual RING AT+CLCC +CLCC: 1,1,4,0,0,"15695519173",161 OK AT+CPAS +CPAS: 3 //Module is ringing OK AT+CLCC +CLCC: 1,0,0,0,0,"10010",129 OK AT+CPAS +CPAS: 4 l e t l c a e i t u n Q ide f n o C //Call in progress OK 4.2. AT+QCFG Extended Configuration Settings AT+QCFG is used to query and configure various settings of UE. AT+QCFG Extended Configuration Settings Test Command AT+QCFG=? UC20_AT_Commands_Manual Response +QCFG: "pwrsavedtr", (list of supported s) +QCFG: "temp", ((list of supported s), (list of supported s), (list of supported s)) +QCFG: "vbatt", ((list of supported s), (list of supported s), (list of supported s)) +QCFG: "airplanecontrol", (list of supported s) +QCFG: "gprsattach", (list of supported s) +QCFG: "nwscanmode", (list of supported s), (list of supported s) +QCFG: "nwscanseq", Confidential / Released 38 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual (list of supported s), (list of supported s) +QCFG: "roamservice", (list of supported s), (list of supported s) +QCFG: "servicedomain", (list of supported s), (list of supported s) +QCFG: "band", (list of supported s), (list of supported s) +QCFG: "hsdpacat", (list of supported s) +QCFG: "hsupacat", (list of supported s) +QCFG: "rrc", (list of supported s) +QCFG: "sgsn", (list of supported s) +QCFG: "msc", (list of supported s) +QCFG: "gprsmultislot", (list of supported s) +QCFG: "edgemultislot", (list of supported s) +QCFG: "dtmmultislot", (list of supported s) +QCFG: "pcmclk", (list of supported s), (list of supported s) +QCFG: "urc/ri/ring", (list of supported s), (list of supported s), (list of supported s), (list of supported s), (list of supported s) +QCFG: "urc/ri/smsincoming", (list of supported s), (list of supported s) +QCFG: "urc/ri/other", (list of supported s), (list of supported s) +QCFG: "risignaltype", (list of supported s) l e t l c a e i t u n Q ide f n o C UC20_AT_Commands_Manual Confidential / Released 39 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual +QCFG: "amrcodec", (list of supported s) +QCFG: "sms/unread" +QCFG: "call/alpha", (list of supported s) +QCFG: "sms/alpha", (list of supported s) +QCFG: "sim/voltage", (list of supported s) +QCFG: "apready", (list of supported s) l e t l c a e i t u n Q ide f n o C OK Maximum Response Time Reference 300ms 4.2.1. AT+QCFG="pwrsavedtr" Enable/Disable DTR to Control Power Save State AT+QCFG="pwrsavedtr" can be used to enable or disable physical DTR pin to control power save state. AT+QCFG="pwrsavedtr" Enable/Disable DTR to Control Power Save State Write Command AT+QCFG="pwrsavedtr"[, ] Response If configuration parameters are omitted (+QCFG="pwrsavedtr"), return current configuration: +QCFG: "pwrsavedtr", OK If configuration parameters are entered: OK ERROR If error is related to ME functionality: +CME ERROR: Maximum Response Time 300ms Parameter Number format, enable/disable DTR to control power save state. While is enabled, pulling up DTR pin can trigger module to sleep mode and pulling down DTR pin can wake up module. This option is only valid for UC20_AT_Commands_Manual Confidential / Released 40 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual non-mux mode, and cannot be saved. After module is restarted, it will return to default value. 0 Disable 1 Enable 4.2.2. AT+QCFG="temp" Temperature Detection AT+QCFG="temp" can enable temperature detection and set corresponding parameters. About Temperature Detection: l e t l c a e i t u n Q ide f n o C When the temperature is lower than the lowest temperature limit, the module will output: +QIND: "temp",-2 If the temperature did not rise to a degree greater than the lowest temperature within 50 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. AT+QCFG="temp" Temperature Detection Write Command AT+QCFG="temp"[, [, [, ]] (+QCFG="temp"), return current configuration: +QCFG: "temp", ( , , ), ( , , ), … OK If configuration parameters are entered: OK ERROR l e t l c a e i t u n Q ide f n o C If error is related to ME functionality: +CME ERROR: Maximum Response Time Parameter Example 300ms Temperature type -2 Indicate the lowest temperature -1 Indicate low temperature warning 1 Indicate high temperature warning 2 Indicate the highest temperature Temperature threshold value (One over one thousand degrees Celsius) (-35000~-40000) The lowest temperature limit (If below this limit, the module will be shut down) (-30000~-35000) Low temperature warning limit (70000~80000) High temperature warning limit (80000~90000) The highest temperature limit (If above this limit, the module will be shut down) Enable/disable temperature detection function 0 Disable 1 Enable AT+QCFG="temp",-1 +QCFG: "temp",(-1,-35000,0) OK AT+QCFG="temp",-1,-35000,1 OK //Query the low temperature warning limit and setting //Set the low temperature warning limit +QIND: "temp",-1 //URC report, when temperature is lower than warning temperature +QIND: "temp",0 4.2.3. AT+QCFG="vbatt" //URC report, when temperature is back to normal temperature Voltage Detection AT+QCFG="vbatt" can enable voltage detection and set corresponding parameters. l e t l c a e i t u n Q ide f n o C 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 greater than highest voltage limit within 2 seconds, the module will be turned off automatically. 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 enabled by default. It is suggested to enable voltage detection in order to avoid module breakdown due to excessively high or low voltage. UC20_AT_Commands_Manual Confidential / Released 43 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual The configuration will be stored to NV automatically. AT+QCFG="vbatt" Voltage Detection Write Command AT+QCFG="vbatt"[, [, , ]] Response If configuration parameters are omitted (+QCFG="vbatt"), return current configuration: +QCFG: "vbatt", ( , , ), ( , , ), … l e t l c a e i t u n Q ide f n o C OK If configuration parameters are entered: OK ERROR If error is related to ME functionality: +CME ERROR: Maximum Response Time Parameter 300ms Voltage type -2 Indicate the lowest voltage -1 Indicate low voltage warning 1 Indicate high voltage warning 2 Indicate the highest voltage Voltage threshold value (mv) (3250~3300~3420) The lowest voltage limit (If below this limit, the module will shut down) (3480~3500~3520) Low voltage warning limit (4190~4210~4230) High voltage warning limit (4280~4350~4400) The highest voltage limit (If above this limit, the module will shut down) Enable/disable voltage detection function 0 Disable 1 Enable Example UC20_AT_Commands_Manual Confidential / Released 44 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual +QIND: "vbatt",-1 //URC report,when voltage is lower than low voltage warning limit +QIND: "vbatt",0 AT+QCFG="vbatt",-1 +QCFG: "vbatt",(-1,3500,1) OK AT+QCFG="vbatt",-1,3500,0 OK //URC report,when the voltage is back to normal voltage //Query low voltage warning limit //Disable low voltage warning limit l e t l c a e i t u n Q ide f n o C 4.2.4. AT+QCFG="airplanecontrol" Enable/Disable Airplane Mode Detection AT+QCFG="airplanecontrol" is used to enable or disable airplane mode detection. When entering to or exiting from the airplane mode after the airplane mode is enabled, related URC will be reported: +QIND: "airplanestatus", Both the W_DISABLE# pin and +CFUN command can control the module to enter into airplane mode. When W_DISABLE# pin is pull-down, the module will enter into airplane mode no matter what the status of +CFUN is, meanwhile, +CFUN status cannot be switched. When setting parameter of , the parameter will be saved to NV. After enabling the airplane mode detection functionality and the module is powered on, it will detect the W_DISABLE# pin first. If the pin is in low level, module will enter into airplane mode instantly. AT+QCFG="airplanecontrol" Enable/Disable Airplane Mode Detection Write Command AT+QCFG="airplanecontrol"[, ] Response If configuration parameters are omitted (+QCFG="airplanecontrol"), return current configuration: +QCFG: "airplanecontrol", , OK If configuration parameters are entered: OK ERROR If error is related to ME functionality: +CME ERROR: UC20_AT_Commands_Manual Confidential / Released 45 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual Maximum Response Time 300ms Parameter l e t l c a e i t u n Q ide f n o C NOTE Enable/disable the airplane mode detection. Enable this function and pull down the W_DISABLE# pin, and UE will enter to the airplane mode. Pull up the W_DISABLE# pin, UE will enter to normal mode. The W_DISABLE# pin is in high level when it is suspending. 0 Disable 1 Enable Indicates the current status. 0 In normal mode 1 In airplane mode The state of the W_DISABLE# pin may change the state of +CFUN. Example AT+QCFG="airplanecontrol",1 OK //Enable the airplane mode detection +QIND: "airplanestatus",1 AT+QCFG="airplanecontrol" +QCFG: "airplanecontrol",1,1 OK //Enter into airplane mode //Query whether to enable airplane mode detection //Enable and enter to airplane mode +QIND: "airplanestatus",0 AT+QCFG="airplanecontrol" +QCFG: "airplanecontrol",1,0 //Exit from airplane mode //Enable, exit from airplane mode OK 4.2.5. AT+QCFG="gprsattach" GPRS Attach Mode Configuration AT+QCFG="gprsattach" specifies the mode to attach GPRS when UE is powered on. This configuration is valid only after the module is restarted. UC20_AT_Commands_Manual Confidential / Released 46 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual AT+QCFG="gprsattach" GPRS Attach Mode Configuration Write Command AT+QCFG="gprsattach"[, ] Response If configuration parameters are omitted (+QCFG="gprsattach"), return current configuration: +QCFG: "gprsattach", OK If configuration parameters are entered: OK ERROR l e t l c a e i t u n Q ide f n o C If error is related to ME functionality: +CME ERROR: Maximum Response Time Parameter 300ms Number format, the mode to attach GRPS when UE is powered on 0 Manual attach 1 Auto attach 4.2.6. AT+QCFG="nwscanmode" Network Search Mode Configuration AT+QCFG="nwscanmode" specifies the mode of searching network. If is omitted, the configuration will take effect immediately. This command will not be effective on UC20-A module. AT+QCFG="nwscanmode" Network Search Mode Configuration Write Command AT+QCFG="nwscanmode"[, [, ]] Response If configuration parameters are omitted (+QCFG="nwscanmode"), return current configuration: +QCFG: "nwscanmode", OK If configuration parameters are entered: OK ERROR UC20_AT_Commands_Manual Confidential / Released 47 / 243 UMTS/HSPA Module Series UC20 AT Commands Manual If error is related to ME functionality: +CME ERROR: Maximum Response Time 300ms Parameter Number format, network search mode 0 AUTO 1 GSM Only 2 UMTS Only Number format, when to take effect 0 Take effect after UE reboots 1 Take effect immediately l e t l c a e i t u n Q ide f n o C 4.2.7. AT+QCFG="nwscanseq" Network Searching Sequence Configuration AT+QCFG="nwscanseq" specifies the sequence of searching network. If is omitted, the configuration will take effect immediately. This command will not be effective on UC20-A module. AT+QCFG="nwscanseq" Network Searching Sequence Configuration Write Command AT+QCFG="nwscanseq"[,