Quectel EC25&EC21 AT Commands Manual V1.3
Quectel_EC25%26EC21_AT_Commands_Manual_V1.3
Quectel_EC25%26EC21_AT_Commands_Manual_V1.3
Quectel_EC25%26EC21_AT_Commands_Manual_V1.3
User Manual:
Open the PDF directly: View PDF .
Page Count: 241
Download | |
Open PDF In Browser | View PDF |
EC25&EC21 AT Commands Manual LTE Module Series Rev. EC25&EC21_AT_Commands_Manual_V1.3 Date: 2018-09-20 Status: Released www.quectel.com LTE Module Series EC25&EC21 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. 7th Floor, Hongye Building, No.1801 Hongmei Road, Xuhui District, Shanghai 200233, China Tel: +86 21 5108 6236 Email: info@quectel.com Or our local office. For more information, please visit: http://www.quectel.com/support/sales.htm For technical support, or to report documentation errors, please visit: http://www.quectel.com/support/technical.htm 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 WIRELESS SOLUTIONS CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION AND EDITING OF THIS DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE FORBIDDEN WITHOUT PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL OR DESIGN. Copyright © Quectel Wireless Solutions Co., Ltd. 2018. All rights reserved. EC25&EC21_AT_Commands_Manual 1 / 239 LTE Module Series EC25&EC21 AT Commands Manual About the Document History Revision Date Author Description 1.0 2016-05-30 James CAI/ Bonnie ZHAO Initial Ivan ZHANG/ Sophie ZHU 1. Added the following AT commands: +QRIR/+QINDCFG/+QINISTAT/+QLTS/+QSPN/ +QHUP/+QEEC/+QSIDET/+QMIC/+QRXGAIN/ +QIIC/+QADC 2. Added AT+QCFG commands shown as below: "urc/ri/ring"/"urc/ri/smsincoming"/"urc/ri/other"/"risig naltype"/"urc/delay"/"urc/cache" 3. Updated the description forparameter in AT+COPS command: added the value 100 which indicates CDMA network 1.1 2017-01-18 1.2 2017-11-14 Jessica GENG 1. Added commands AT+QTONEDET, AT+QLDTMF, AT+QLTONE and AT+QCFG=“tone/incoming” 2. Updated the description of parameter in commands AT+CREG, AT+CGREG and AT+CEREG 3. Deleted command AT+QCFG="tdscsq" and the description of +QURCCFG? in command AT+QURCCFG 4. Updated the description of commands AT+QUCCFG, AT+CTZU, AT+QDAI, AT+QEEC, AT+QIIC and AT+QCFG="band" 5. Updated the examples of commands AT+QIIC and AT+COPS 6. Deleted some related information about CDMA 7. Updated the supported baud rates of command AT+IPR 1.3 2018-09-20 Alessa TANG/ Jessica GENG/ 1. 2. EC25&EC21_AT_Commands_Manual Added Chapters 14~20. Added "ccinfo" as a supported value of 2 / 239 LTE Module Series EC25&EC21 AT Commands Manual Demi QU 3. 4. EC25&EC21_AT_Commands_Manual in AT+QINDCFG. Updated the range of in AT+QEEC. Updated the default value description of in AT+QSIDET. 3 / 239 LTE Module Series EC25&EC21 AT Commands Manual Contents About the Document ................................................................................................................................... 2 Contents ....................................................................................................................................................... 3 Table Index ................................................................................................................................................... 8 1 Introduction .......................................................................................................................................... 9 1.1. Scope of the Document ............................................................................................................. 9 1.2. AT Command Syntax ................................................................................................................. 9 1.3. Supported Character Sets ....................................................................................................... 10 1.4. AT Command Interface ............................................................................................................ 10 1.5. Unsolicited Result Code .......................................................................................................... 10 1.6. Turn off Procedure ................................................................................................................... 11 2 General Commands ........................................................................................................................... 12 2.1. ATI Display Product Identification Information ...................................................................... 12 2.2. AT+GMI Request Manufacturer Identification ...................................................................... 13 2.3. AT+GMM Request TA Model Identification ........................................................................... 13 2.4. AT+GMR Request TA Revision Identification of Software Release ..................................... 14 2.5. AT+CGMI Request Manufacturer Identification .................................................................... 14 2.6. AT+CGMM Request Model Identification ............................................................................. 15 2.7. AT+CGMR Request TA Revision Identification of Software Release ................................... 15 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) ...................................... 16 2.9. AT+CGSN Request Product Serial Number Identification ................................................... 17 2.10. AT&F Set all Current Parameters to Manufacturer Defaults ................................................ 17 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 ...................................................... 19 2.14. ATQ Set Result Code Presentation Mode ............................................................................ 20 2.15. ATV TA Response Format .................................................................................................... 20 2.16. ATE Set Command Echo Mode ............................................................................................ 22 2.17. A/ Repeat Previous Command Line ..................................................................................... 22 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 ........................................................................ 24 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 ........................................................................................ 27 2.24. AT+CSCS Select TE Character Set...................................................................................... 28 2.25. AT+QURCCFG Configure URC Indication Option ............................................................... 29 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 EC25&EC21_AT_Commands_Manual 3 / 239 LTE Module Series EC25&EC21 AT Commands Manual 3.4. 3.5. 3.6. AT+ICF Set TE-TA Control Character Framing .................................................................... 33 AT+IPR Set TE-TA Fixed Local Rate .................................................................................... 34 AT+QRIR Restore RI Behavior to Inactive ........................................................................... 35 4 Status Control Commands ............................................................................................................... 37 4.1. AT+CPAS Mobile Equipment Activity Status......................................................................... 37 4.2. AT+CEER Extended Error Report ........................................................................................ 38 4.3. AT+QCFG Extended Configuration Settings ........................................................................ 39 4.3.1. AT+QCFG="gprsattach" GPRS Attach Mode Configuration....................................... 40 4.3.2. AT+QCFG="nwscanmode" Network Search Mode Configuration.............................. 41 4.3.3. AT+QCFG="nwscanseq" Network Searching Sequence Configuration..................... 42 4.3.4. AT+QCFG="roamservice" Roam Service Configuration ............................................ 43 4.3.5. AT+QCFG="servicedomain" Service Domain Configuration ...................................... 43 4.3.6. AT+QCFG="band" Band Configuration ...................................................................... 44 4.3.7. AT+QCFG="hsdpacat" HSDPA Category Configuration............................................. 46 4.3.8. AT+QCFG="hsupacat" HSUPA Category Configuration ............................................ 46 4.3.9. AT+QCFG="rrc" RRC Release Version Configuration ............................................... 47 4.3.10. AT+QCFG="sgsn" UE SGSN Release Version Configuration ................................... 48 4.3.11. AT+QCFG="msc" UE MSC Release Version Configuration ....................................... 48 4.3.12. AT+QCFG="PDP/duplicatechk" Establish Multi PDNs with the Same APN ............... 49 4.3.13. AT+QCFG="urc/ri/ring" RI Behavior When RING URC is Presented ......................... 50 4.3.14. AT+QCFG="urc/ri/smsincoming" RI Behavior When Incoming SMS URCs are Presented...................................................................................................................................... 52 4.3.15. AT+QCFG="urc/ri/other" RI Behavior When Other URCs are Presented .................. 53 4.3.16. AT+QCFG="risignaltype" RI Signal Output Carrier .................................................... 53 4.3.17. AT+QCFG="urc/delay" Delay URC Indication ............................................................ 54 4.3.18. AT+QCFG="urc/cache" URC Cache Function............................................................ 55 4.3.19. AT+QCFG="tone/incoming" Ring tone Function ........................................................ 56 4.4. AT+QINDCFG URC Indication Configuration ....................................................................... 57 5 (U)SIM Related Commands ............................................................................................................... 60 5.1. AT+CIMI Request International Mobile Subscriber Identity (IMSI) ....................................... 60 5.2. AT+CLCK Facility Lock ......................................................................................................... 61 5.3. AT+CPIN Enter PIN .............................................................................................................. 63 5.4. AT+CPWD Change Password .............................................................................................. 65 5.5. AT+CSIM Generic (U)SIM Access ........................................................................................ 66 5.6. AT+CRSM Restricted (U)SIM Access ................................................................................... 67 5.7. AT+QCCID Show ICCID ....................................................................................................... 68 5.8. AT+QPINC Display PIN Remainder Counter........................................................................ 69 5.9. AT+QINISTAT Query Initialization Status of (U)SIM Card .................................................... 70 5.10. AT+QSIMDET (U)SIM Card Detection.................................................................................. 70 5.11. AT+QSIMSTAT (U)SIM Card Insertion Status Report .......................................................... 71 6 Network Service Commands ............................................................................................................ 74 6.1. AT+COPS Operator Selection .............................................................................................. 74 6.2. AT+CREG Network Registration........................................................................................... 76 EC25&EC21_AT_Commands_Manual 4 / 239 LTE Module Series EC25&EC21 AT Commands Manual 6.3. 6.4. 6.5. 6.6. 6.7. 6.8. 6.9. 6.10. AT+CSQ Signal Quality Report............................................................................................. 78 AT+CPOL Preferred Operator List ........................................................................................ 79 AT+COPN Read Operator Names ........................................................................................ 81 AT+CTZU Automatic Time Zone Update .............................................................................. 81 AT+CTZR Time Zone Reporting ........................................................................................... 82 AT+QLTS Obtain the Latest Time Synchronized Through Network ..................................... 84 AT+QNWINFO Query Network Information .......................................................................... 85 AT+QSPN Display the Name of Registered Network ........................................................... 87 7 Call Related Commands .................................................................................................................... 89 7.1. ATA Answer an Incoming Call ............................................................................................... 89 7.2. ATD Mobile Originated Call to Dial a Number ...................................................................... 90 7.3. ATH Disconnect Existing Connection ................................................................................... 92 7.4. AT+CVHU Voice Hang up Control ........................................................................................ 92 7.5. AT+CHUP Hang up Call........................................................................................................ 93 7.6. +++ Switch from Data Mode to Command Mode ................................................................. 93 7.7. ATO Switch from Command Mode to Data Mode ................................................................ 94 7.8. ATS0 Set Number of Rings before Automatically Answering Call ........................................ 95 7.9. ATS6 Set Pause before Blind Dialing ................................................................................... 96 7.10. ATS7 Set Time to Wait for Connection Completion .............................................................. 96 7.11. ATS8 Set the Time to Wait for Comma Dial Modifier............................................................ 97 7.12. ATS10 Set Disconnection Delay after Indicating the Absence of Data Carrier .................... 98 7.13. AT+CBST Select Bearer Service Type ................................................................................. 98 7.14. AT+CSTA Select Type of Address ...................................................................................... 101 7.15. AT+CLCC List Current Calls of ME..................................................................................... 101 7.16. AT+CR Service Reporting Control ...................................................................................... 103 7.17. AT+CRC Set Cellular Result Codes for Incoming Call Indication ...................................... 104 7.18. AT+CRLP Select Radio Link Protocol Parameter .............................................................. 105 7.19. AT+QECCNUM Configure Emergency Call Numbers ........................................................ 106 7.20. AT+QHUP Hang up Call with a Specific Release Cause ................................................... 108 8 Phonebook Commands ................................................................................................................... 110 8.1. AT+CNUM Subscriber Number........................................................................................... 110 8.2. AT+CPBF Find Phonebook Entries .....................................................................................111 8.3. AT+CPBR Read Phonebook Entries .................................................................................. 112 8.4. AT+CPBS Select Phonebook Memory Storage.................................................................. 113 8.5. AT+CPBW Write Phonebook Entry..................................................................................... 114 9 Short Message Service Commands ............................................................................................... 116 9.1. AT+CSMS Select Message Service ................................................................................... 116 9.2. AT+CMGF Message Format ............................................................................................... 117 9.3. AT+CSCA Service Center Address ..................................................................................... 118 9.4. AT+CPMS Preferred Message Storage .............................................................................. 119 9.5. AT+CMGD Delete Message ............................................................................................... 121 9.6. AT+CMGL List Messages ................................................................................................... 122 9.7. AT+CMGR Read Message ................................................................................................. 125 EC25&EC21_AT_Commands_Manual 5 / 239 LTE Module Series EC25&EC21 AT Commands Manual 9.8. 9.9. 9.10. 9.11. 9.12. 9.13. 9.14. 9.15. 9.16. 9.17. 9.18. AT+CMGS Send Message .................................................................................................. 129 AT+CMMS More Messages to Send .................................................................................. 131 AT+CMGW Write Message to Memory............................................................................... 132 AT+CMSS Send Message from Storage ............................................................................ 134 AT+CNMA New Message Acknowledgement to UE/TE ..................................................... 135 AT+CNMI SMS Event Reporting Configuration .................................................................. 137 AT+CSCB Select Cell Broadcast Message Types ............................................................. 139 AT+CSDH Show SMS Text Mode Parameters ................................................................... 140 AT+CSMP Set SMS Text Mode Parameters ...................................................................... 141 AT+QCMGS Send Concatenated Messages ..................................................................... 142 AT+QCMGR Read Concatenated Messages ..................................................................... 144 10 Packet Domain Commands ............................................................................................................ 146 10.1. AT+CGATT Attachment or Detachment of PS .................................................................... 146 10.2. AT+CGDCONT Define PDP Context .................................................................................. 147 10.3. AT+CGQREQ Quality of Service Profile (Requested) ........................................................ 148 10.4. AT+CGQMIN Quality of Service Profile (Minimum Acceptable) ......................................... 151 10.5. AT+CGEQREQ 3G Quality of Service Profile (Requested) ............................................... 154 10.6. AT+CGEQMIN 3G Quality of Service Profile (Minimum Acceptable) ................................. 158 10.7. AT+CGACT Activate or Deactivate PDP Context ............................................................... 162 10.8. AT+CGDATA Enter Data State ............................................................................................ 163 10.9. AT+CGPADDR Show PDP Address ................................................................................... 164 10.10. AT+CGCLASS GPRS Mobile Station Class ....................................................................... 165 10.11. AT+CGREG Network Registration Status........................................................................... 166 10.12. AT+CGEREP Packet Domain Event Reporting .................................................................. 168 10.13. AT+CGSMS Select Service for MO SMS Messages.......................................................... 170 10.14. AT+CEREG EPS Network Registration Status ................................................................... 171 10.15. AT+QGDCNT Packet Data Counter ................................................................................... 172 10.16. AT+QAUGDCNT Auto Save Packet Data Counter............................................................. 173 11 Supplementary Service Commands .............................................................................................. 175 11.1. AT+CCFC Call Forwarding Number and Conditions Control ............................................. 175 11.2. AT+CCWA Call Waiting Control .......................................................................................... 177 11.3. AT+CHLD Call Related Supplementary Services ............................................................... 179 11.4. AT+CLIP Calling Line Identification Presentation ............................................................... 181 11.5. AT+CLIR Calling Line Identification Restriction .................................................................. 182 11.6. AT+COLP Connected Line Identification Presentation....................................................... 183 11.7. AT+CSSN Supplementary Service Notifications ................................................................ 185 11.8. AT+CUSD Unstructured Supplementary Service Data ...................................................... 186 12 Audio Commands ............................................................................................................................ 188 12.1. AT+CLVL Loudspeaker Volume Level Selection ................................................................ 188 12.2. AT+CMUT Mute Control...................................................................................................... 189 12.3. AT+QAUDLOOP Enable/Disable Audio Loop Test ............................................................. 189 12.4. AT+VTS DTMF and Tone Generation ................................................................................. 190 12.5. AT+VTD Set Tone Duration................................................................................................. 191 EC25&EC21_AT_Commands_Manual 6 / 239 LTE Module Series EC25&EC21 AT Commands Manual 12.6. 12.7. 12.8. 12.9. 12.10. 12.11. 12.12. 12.13. 12.14. 12.15. AT+QAUDMOD Set Audio Mode ........................................................................................ 192 AT+QDAI Digital Audio Interface Configuration .................................................................. 193 AT+QEEC Set Echo Cancellation Parameters ................................................................... 195 AT+QSIDET Set the Side Tone Gain in Current Mode ....................................................... 196 AT+QMIC Set Uplink Gains of MIC..................................................................................... 197 AT+QRXGAIN Set Downlink Gains of RX .......................................................................... 198 AT+QIIC IIC Read & Write .................................................................................................. 199 AT+QTONEDET Enable/Disable DTMF Detection ........................................................... 200 AT+QLDTMF Play Local DTMF .......................................................................................... 201 AT+QLTONE Play a Local Customized Tone ..................................................................... 202 13 Hardware Related Commands ........................................................................................................ 204 13.1. AT+QPOWD Power off ....................................................................................................... 204 13.2. AT+CCLK Clock .................................................................................................................. 204 13.3. AT+CBC Battery Charge ..................................................................................................... 205 13.4. AT+QADC Read ADC Value ............................................................................................... 206 13.5. AT+QSCLK Enable/Disable Entering into Sleep Mode ...................................................... 207 14 DFOTA Related AT Command ........................................................................................................ 208 15 FTP(S) Related AT Commands ....................................................................................................... 209 16 HTTP(S) Related AT Commands .................................................................................................... 210 17 MMS Related AT Commands .......................................................................................................... 211 18 SMTP Related AT Commands ........................................................................................................ 212 19 TCP(IP) Related AT Commands ..................................................................................................... 213 20 GNSS Related AT Commands ........................................................................................................ 214 21 Appendix ........................................................................................................................................... 215 21.1. References ............................................................................................................................ 215 21.2. Factory Default Settings Restorable with AT&F .................................................................... 217 21.3. AT Command Settings Storable with AT&W .......................................................................... 219 21.4. AT Command Settings Storable with ATZ ............................................................................. 219 21.5. Summary of CME ERROR Codes......................................................................................... 220 21.6. Summary of CMS ERROR Codes......................................................................................... 222 21.7. Summary of URC................................................................................................................... 224 21.8. SMS Character Sets Conversions......................................................................................... 226 21.9. Release Cause Text List of AT+CEER .................................................................................. 232 EC25&EC21_AT_Commands_Manual 7 / 239 LTE Module Series EC25&EC21 AT Commands Manual Table Index TABLE 1: TYPES OF AT COMMANDS AND RESPONSES ............................................................................. 10 TABLE 2: AT&V RESPONSE............................................................................................................................. 18 TABLE 3: ATV0&ATV1 RESULT CODES NUMERIC EQUIVALENTS AND BRIEF DESCRIPTION ................ 21 TABLE 4: PARAMETER CONFIGURATIONS SUPPORTED BY AT+CBST ................................................... 100 TABLE 5: DELAY CLASS ................................................................................................................................ 151 TABLE 6: DFOTA RELATED AT COMMAND .................................................................................................. 208 TABLE 7: FTP(S) RELATED AT COMMANDS ................................................................................................ 209 TABLE 8: HTTP(S) RELATED AT COMMANDS ............................................................................................. 210 TABLE 9: MMS RELATED COMMANDS ......................................................................................................... 211 TABLE 10: SMTP RELATED AT COMMANDS ................................................................................................ 212 TABLE 11: TCP(IP) RELATED AT COMMANDS ............................................................................................. 213 TABLE 12: GNSS RELATED AT COMMANDS ............................................................................................... 214 TABLE 13: RELATED DOCUMENTS .............................................................................................................. 215 TABLE 14: TERMS AND ABBREVIATIONS .................................................................................................... 216 TABLE 15: FACTORY DEFAULT SETTINGS RESTORABLE WITH AT&F .................................................... 217 TABLE 16: AT COMMAND SETTINGS STORABLE WITH AT&W .................................................................. 219 TABLE 17: AT COMMAND SETTINGS STORABLE WITH ATZ ..................................................................... 219 TABLE 18: DIFFERENT CODING SCHEMES OF +CME ERROR: ................................................... 220 TABLE 19: DIFFERENT CODING SCHEMES OF +CMS ERROR: ................................................... 222 TABLE 20: SUMMARY OF URC ..................................................................................................................... 224 TABLE 21: THE WAY OF SMS TEXT INPUT OR OUTPUT............................................................................ 226 TABLE 22: THE INPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“GSM”) ...................... 227 TABLE 23: THE OUTPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“GSM”) .................. 228 TABLE 24: GSM EXTENDED CHARACTERS ................................................................................................ 228 TABLE 25: THE INPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“IRA”) ........................ 229 TABLE 26: IRA EXTENDED CHARACTERS .................................................................................................. 230 TABLE 27: THE OUTPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“IRA”) .................... 230 TABLE 28: GSM EXTENDED CHARACTERS ................................................................................................ 231 TABLE 29: RELEASE CAUSE TEXT LIST OF AT+CEER .............................................................................. 232 EC25&EC21_AT_Commands_Manual 8 / 239 LTE Module Series EC25&EC21 AT Commands Manual 1 Introduction 1.1. Scope of the Document This document presents the AT Commands Set for Quectel cellular engines EC25 & EC21. 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 EC25 & EC21 is a combination of 3GPP TS 27.007, 3GPP TS 27.005 and ITU-T recommendation V.25ter as well as the AT Commands developed by Quectel. All these AT commands can be split into three categories syntactically: “basic”, “S parameter”, and “extended”. They are listed as follows: Basic syntax These AT commands have the format of “AT ”, 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: EC25&EC21_AT_Commands_Manual 9 / 239 LTE Module Series EC25&EC21 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. 1.3. Supported Character Sets EC25 & EC21 AT command interface defaults to the GSM character set. EC25 & EC21 modules support 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) and it is defined in 3GPP TS 27.005. The character set affects transmission and reception of SMS and SMS Cell Broadcast Messages, as well as the entry and display of phone book entries text field. 1.4. AT Command Interface EC25 & EC21 AT command interface includes two USB ports (USB MODEM port and USB AT port) and one main UART port. The main UART port and two USB ports support AT command communication and data transfer. 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 EC25 & EC21 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. EC25&EC21_AT_Commands_Manual 10 / 239 LTE Module Series EC25&EC21 AT Commands Manual 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 STATUS 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 STATUS 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. EC25&EC21_AT_Commands_Manual 11 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2 General Commands 2.1. ATI Display Product Identification Information The command delivers a product information text. ATI Display Product Identification Information Execution Command ATI Response TA issues product information text. Quectel EC2x Revision: OK Maximum Response Time 300ms Reference V.25ter Parameter Identification text of product software version Example ATI Quectel EC25 Revision: EC25EFAR02A09M4G OK EC25&EC21_AT_Commands_Manual 12 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2.2. AT+GMI Request Manufacturer Identification The command returns a manufacturer identification text. See also AT+CGMI. 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 300ms Reference V.25ter 2.3. AT+GMM Request TA Model Identification The command returns a product model identification text. It is identical with AT+CGMM. AT+GMM Request TA Model Identification Test Command AT+GMM=? Response OK Execution Command AT+GMM Response TA returns a product model identification text. EC2x OK Maximum Response Time 300ms Reference V.25ter EC25&EC21_AT_Commands_Manual 13 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2.4. AT+GMR Request TA Revision Identification of Software Release The command delivers a product firmware version identification text. It is identical with AT+CGMR. AT+GMR Request TA Revision Identification of Software Release Test Command AT+GMR=? Response OK 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. OK Maximum Response Time 300ms Reference V.25ter Parameter Identification text of product software version Example AT+GMR EC25EFAR02A09M4G OK 2.5. AT+CGMI Request Manufacturer Identification The command returns a manufacturer identification text. See also AT+GMI. AT+CGMI Request Manufacturer Identification Test Command AT+CGMI=? Response OK Execution Command AT+CGMI Response TA returns manufacturer identification text. Quectel EC25&EC21_AT_Commands_Manual 14 / 239 LTE Module Series EC25&EC21 AT Commands Manual OK Maximum Response Time 300ms Reference 3GPP TS 27.007 2.6. AT+CGMM Request Model Identification The command returns a product model identification text. It 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. EC2x OK Maximum Response Time 300ms Reference 3GPP TS 27.007 2.7. AT+CGMR Request TA Revision Identification of Software Release The command delivers a product firmware version identification text. It 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. OK Maximum Response Time 300ms Reference 3GPP TS 27.007 EC25&EC21_AT_Commands_Manual 15 / 239 LTE Module Series EC25&EC21 AT Commands Manual Parameter Identification text of product software version 2.8. AT+GSN Request International Mobile Equipment Identity (IMEI) The command returns the International Mobile Equipment Identity (IMEI) number of ME. It 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 permits the user to identify the individual ME device. OK Maximum Response Time 300ms Reference V.25ter Parameter IMEI of the ME NOTE The serial number (IMEI) varies with the individual ME device. EC25&EC21_AT_Commands_Manual 16 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2.9. AT+CGSN Request Product Serial Number Identification The command returns International Mobile Equipment Identity (IMEI) number of ME. It is identical with AT+GSN. AT+CGSN Request Product Serial Number Identification Test Command AT+CGSN=? Response OK Execution Command AT+CGSN Response OK Maximum Response Time 300ms Reference 3GPP TS 27.007 Parameter IMEI of the ME NOTE The serial number (IMEI) varies with the individual ME device. 2.10. AT&F Set all Current Parameters to Manufacturer Defaults The command resets AT command settings to their factory default values. AT&F 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. OK Maximum Response Time 300ms Reference V.25ter EC25&EC21_AT_Commands_Manual 17 / 239 LTE Module Series EC25&EC21 AT Commands Manual Parameter 0 Set all TA parameters to manufacturer defaults 2.11. AT&V Display Current Configuration The command 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 settings. See Table 2. OK Maximum Response Time 300ms Reference V.25ter Table 2: AT&V Response AT&V &C: 1 &D: 2 &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 EC25&EC21_AT_Commands_Manual 18 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2.12. AT&W Store Current Parameters to User Defined Profile The command 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. OK Maximum Response Time 300ms Reference V.25ter Parameter 2.13. ATZ 0 Profile number to store current parameters Set all Current Parameters to User Defined Profile The command 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 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. OK Maximum Response Time 300ms Reference V.25ter Parameter 0 Reset to profile number 0 EC25&EC21_AT_Commands_Manual 19 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2.14. ATQ Set Result Code Presentation Mode The command controls whether the result code is transmitted to the TE. 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 Parameter 0 1 2.15. ATV TA transmits result code Result codes are suppressed and not transmitted TA Response Format The 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 of the use of each are listed in the following table. ATV TA Response Format Execution Command ATV EC25&EC21_AT_Commands_Manual 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 20 / 239 LTE Module Series EC25&EC21 AT Commands Manual 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,99 //Set =1 OK ATV0 0 AT+CSQ +CSQ: 30,99 0 //When =1, the result code is OK. //Set =0 //When =0, the result code is 0. Table 3: ATV0&ATV1 Result Codes Numeric Equivalents and Brief Description ATV1 ATV0 Description OK 0 Acknowledges execution of a command CONNECT 1 A connection has been established; the DCE is moving from command mode to data mode 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 EC25&EC21_AT_Commands_Manual 21 / 239 LTE Module Series EC25&EC21 AT Commands Manual BUSY NO ANSWER 2.16. ATE 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 The command controls whether or not the module echoes characters received from TE during AT command mode. 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 Reference V.25ter Parameter 0 1 Echo mode OFF Echo mode ON 2.17. A/ Repeat Previous Command Line The command repeats previous AT command line, and “/” acts as the line terminating character. A/ Repeat Previous Command Line Execution Command A/ Response Repeat the previous command Reference V.25ter EC25&EC21_AT_Commands_Manual 22 / 239 LTE Module Series EC25&EC21 AT Commands Manual Example ATI Quectel EC25 Revision: EC25EFAR02A09M4G OK A/ Quectel EC25 Revision: EC25EFAR02A09M4G //Repeat the previous command OK 2.18. ATS3 Set Command Line Termination Character The command 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. 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 Maximum Response Time 300ms Reference V.25ter Parameter 0-13-127 Command line termination character (Default 13= ) EC25&EC21_AT_Commands_Manual 23 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2.19. ATS4 Set Response Formatting Character The command 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= 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 Parameter 0-10-127 2.20. ATS5 Response formatting character (Default 10= ) Set Command Line Editing Character The command 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 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 300ms EC25&EC21_AT_Commands_Manual 24 / 239 LTE Module Series EC25&EC21 AT Commands Manual Reference V.25ter Parameter 0-8-127 2.21. ATX Response editing character (Default 8= ) Set CONNECT Result Code Format and Monitor Call Progress The command 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 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 Parameter 0 1 2 3 4 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 EC25&EC21_AT_Commands_Manual 25 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2.22. AT+CFUN Set Phone Functionality The command 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 there is any error related to ME functionality: +CME ERROR: Maximum Response Time 15s, determined by network. Reference 3GPP TS 27.007 Parameter 0 1 4 0 1 Minimum functionality Full functionality (Default) Disable the ME from both transmitting and receiving RF signals Do not reset the ME before setting it to functionality level. This is the default setting when is not given. Reset the ME. The device is fully functional after the reset. This value is available only for =1 Example AT+CFUN=0 OK AT+COPS? +COPS: 0 //Switch phone to minimum functionality //No operator is registered OK AT+CPIN? EC25&EC21_AT_Commands_Manual 26 / 239 LTE Module Series EC25&EC21 AT Commands Manual +CME ERROR: 13 AT+CFUN=1 OK //(U)SIM failure //Switch phone to full functionality +CPIN: SIM PIN AT+CPIN=1234 OK +CPIN: READY +QUSIM: 1 +QIND: PB DONE +QIND: SMS DONE AT+CPIN? +CPIN: READY OK AT+COPS? +COPS: 0,0,"CHINA MOBILE",7 //Operator is registered OK 2.23. AT+CMEE Error Message Format The command 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? Response +CMEE: OK Write Command AT+CMEE= EC25&EC21_AT_Commands_Manual 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. 27 / 239 LTE Module Series EC25&EC21 AT Commands Manual OK Maximum Response Time 300ms Reference 3GPP TS 27.007 Parameter 0 1 2 Disable result code Enable result code and use numeric values Enable result code and use verbose values Example 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 AT+CPIN? +CME ERROR: SIM not inserted 2.24. AT+CSCS Select TE Character Set The 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=? Response +CSCS: (list of supported s) OK Read Command AT+CSCS? EC25&EC21_AT_Commands_Manual Response +CSCS: 28 / 239 LTE Module Series EC25&EC21 AT Commands Manual 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” GSM default alphabet International reference alphabet UCS2 alphabet Example AT+CSCS? +CSCS: “GSM” //Query the current character set OK AT+CSCS=“UCS2” OK AT+CSCS? +CSCS: “UCS2” //Set the character set to “UCS2” OK 2.25. AT+QURCCFG Configure URC Indication Option The command is used to configure the output port of URC. AT+QURCCFG Configure URC Indication Option Test Command AT+QURCCFG=? Response +QURCCFG: "urcport",("usbat","usbmodem","uart1") OK Write Command AT+QURCCFG="urcport"[, is omitted, return current configuration: 29 / 239 LTE Module Series EC25&EC21 AT Commands Manual alue>] +QURCCFG: "urcport", OK If the configuration parameter is not omitted, response: OK ERROR Maximum Response Time 300ms Parameter 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. Example AT+QURCCFG=? +QURCCFG: "urcport",("usbat","usbmodem","uart1") OK AT+QURCCFG="urcport" +QURCCFG: "urcport","usbat" OK AT+QURCCFG="urcport","usbmodem" OK AT+QURCCFG="urcport" +QURCCFG: "urcport","usbmodem" OK EC25&EC21_AT_Commands_Manual 30 / 239 LTE Module Series EC25&EC21 AT Commands Manual 3 Serial Interface Control Commands 3.1. AT&C Set DCD Function Mode The command controls the behavior of the UE‟s DCD (data carrier detection) 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 The command determines how the UE responds if DTR line is changed from low to high level during 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 low to high level during data mode. OK Maximum Response Time 300ms EC25&EC21_AT_Commands_Manual 31 / 239 LTE Module Series EC25&EC21 AT Commands Manual Reference V.25ter Parameter 0 1 2 3.3. AT+IFC TA ignores status on DTR LowHigh on DTR: Change to command mode while remaining the connected call. LowHigh on DTR: Disconnect data call, and change to command mode. When DTR is at high level, auto-answer function is disabled. Set TE-TA Local Data Flow Control The command determines the flow control behavior of the serial port. AT+IFC 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 that will be used by TE when receiving data from TA 0 None 2 RTS flow control Specifies the method that will be used by TA when receiving data from TE 0 None 2 CTS flow control EC25&EC21_AT_Commands_Manual 32 / 239 LTE Module Series EC25&EC21 AT Commands Manual NOTE Flow control is only applicable for data mode. Example AT+IFC=2,2 OK AT+IFC? +IFC: 2,2 //Open the hardware flow control OK 3.4. AT+ICF Set TE-TA Control Character Framing The command 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 8 data 0 parity 1 stop Odd Even EC25&EC21_AT_Commands_Manual 33 / 239 LTE Module Series EC25&EC21 AT Commands Manual 2 3 Mark (1) Space (0) NOTES 1. 2. The command is applied for command state. The field is ignored if the field specifies no parity. 3.5. AT+IPR Set TE-TA Fixed Local Rate The command is used to query and set the baud rate of the UART. The default baud rate value ( ) is 115200bps. The setting of 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= 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 Parameter Baud rate per second 9600 19200 38400 57600 EC25&EC21_AT_Commands_Manual 34 / 239 LTE Module Series EC25&EC21 AT Commands Manual 115200 230400 460800 921600 2900000 3000000 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 cannot be stored even if AT&W is executed after the Write Command. A selected baud rate takes effect after the Write Commands are executed and acknowledged by OK. Example AT+IPR=115200 OK AT&W //Set fixed baud rate to 115200bps //Store current setting, that is, the serial communication speed is 115200bps after restarting module OK AT+IPR? +IPR: 115200 OK AT+IPR=115200;&W OK 3.6. AT+QRIR //Set fixed baud rate to 115200bps and store current setting Restore RI Behavior to Inactive If the RI (ring indicator) behavior is "always", it can be restored to inactive by the Execution Command. The RI behavior is controlled by AT+QCFG. Please refer to AT+QCFG="urc/ri/ring", AT+QCFG="urc/ri/smsincoming" and AT+QCFG="urc/ri/other" for more details. AT+QRIR Restore RI Behavior to Inactive Test Command AT+QRIR=? Response OK Execution Command AT+QRIR Response OK EC25&EC21_AT_Commands_Manual 35 / 239 LTE Module Series EC25&EC21 AT Commands Manual ERROR Maximum Response Time EC25&EC21_AT_Commands_Manual 300ms 36 / 239 LTE Module Series EC25&EC21 AT Commands Manual 4 Status Control Commands 4.1. AT+CPAS Mobile Equipment Activity Status The Execution 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 there is any error 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 //The module is idle OK EC25&EC21_AT_Commands_Manual 37 / 239 LTE Module Series EC25&EC21 AT Commands Manual RING AT+CLCC +CLCC: 1,1,4,0,0,“15695519173”,161 OK AT+CPAS +CPAS: 3 //The module is ringing OK AT+CLCC +CLCC: 1,0,0,0,0,“10010”,129 OK AT+CPAS +CPAS: 4 //Call in progress OK 4.2. AT+CEER Extended Error Report The command is used to query an extended error and report the cause of the last failed operation, such as: the failure to release a call the failure to set up a call (both mobile originated or terminated) the failure to modify a call by using supplementary services the failure to activate, register, query, deactivate or deregister a supplementary service the failure to attach GPRS or the failure to activate a PDP context the failure to detach GPRS or the failure to deactivate a PDP context The release cause is a text to describe the cause information given by the network. AT+CEER Extended Error Report Test command AT+CEER=? Response OK Execution command AT+CEER Response +CEER: OK ERROR If error is related to ME functionality: EC25&EC21_AT_Commands_Manual 38 / 239 LTE Module Series EC25&EC21 AT Commands Manual +CME ERROR: Maximum Response Time 300ms Parameter Release cause text. Reason for the last call failure to setup or release (listed in Chapter 14.9). Both CS and PS domain call types are reported. Cause data is captured from Call Manager events and cached locally for later use by this command. 4.3. AT+QCFG Extended Configuration Settings The command is used to query and configure various settings of UE. AT+QCFG Extended Configuration Settings Test Command AT+QCFG=? EC25&EC21_AT_Commands_Manual Response +QCFG: “gprsattach”, (list of supported s) +QCFG: “nwscanmode”, (list of supported s), (list of supported s) +QCFG: “nwscanseq”, (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) (list of supported s) +QCFG: “hsdpacat”, (list of supported s) +QCFG: “hsupacat”, (list of supported s) +QCFG: “rrc”, (list of supported s) 39 / 239 LTE Module Series EC25&EC21 AT Commands Manual +QCFG: “sgsn”, (list of supported s) +QCFG: “msc”,(list of supported s) +QCFG: "pdp/duplicatechk",(list of supported s) +QCFG: "tdscsq",(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) +QCFG: "urc/cache", (list of supported s) +QCFG: "tone/incoming" (list of supported s) OK Maximum Response Time 300ms Reference 4.3.1. AT+QCFG="gprsattach" GPRS Attach Mode Configuration The command specifies the mode to attach GPRS when UE is powered on. This configuration is valid only after the module is restarted. AT+QCFG="gprsattach" GPRS Attach Mode Configuration Write Command AT+QCFG=“gprsattach”[, ] Response If is omitted, return current configuration: +QCFG: “gprsattach”, OK If the configuration parameter is not omitted, configure the GPRS attach mode: OK EC25&EC21_AT_Commands_Manual 40 / 239 LTE Module Series EC25&EC21 AT Commands Manual ERROR If there is any error related to ME functionality: +CME ERROR: Maximum Response Time 300ms Parameter Number format, the mode to attach GRPS when UE is powered on 0 Manual attach 1 Auto attach 4.3.2. AT+QCFG="nwscanmode" Network Search Mode Configuration The command specifies the network mode to be serached. If is omitted, the configuration will take effect immediately. AT+QCFG="nwscanmode" Network Search Mode Configuration Write Command AT+QCFG=“nwscanmode”[, [, ]] Response If and are both omitted, return the current configuration: +QCFG: “nwscanmode”, OK If and are not omitted, set the network mode to be searched: OK ERROR If there is any error related to ME functionality: +CME ERROR: Maximum Response Time 300ms Parameter Number format, network search mode 0 AUTO 1 GSM only 2 WCDMA only 3 LTE only EC25&EC21_AT_Commands_Manual 41 / 239 LTE Module Series EC25&EC21 AT Commands Manual 4 TD-SCDMA only 5 UMTS only 6 CDMA only 7 HDR only 8 CDMA and HDR only Number format. When to take effect 0 Take effect after UE reboots 1 Take effect immediately 4.3.3. AT+QCFG="nwscanseq" Network Searching Sequence Configuration The command specifies the sequence of searching network. This configuration is valid only after the module is restarted. AT+QCFG="nwscanseq" Network Searching Sequence Configuration Write Command AT+QCFG=“nwscanseq”[, ] Response If is omitted, return current configuration: +QCFG: “nwscanseq”, OK If is omitted, specify the network searching sequence: OK ERROR If there is any error related to ME functionality: +CME ERROR: Maximum Response Time 300ms Parameter Number format. Network search sequence (e.g.: 04030201(LTE/WCDMA/TD-SCDMA/GSM)) 00 Automatic (LTE/ WCDMA/TD-SCDMA/GSM) 01 GSM 02 TD-SCDMA 03 WCDMA 04 LTE 05 CDMA EC25&EC21_AT_Commands_Manual 42 / 239 LTE Module Series EC25&EC21 AT Commands Manual 4.3.4. AT+QCFG="roamservice" Roam Service Configuration The command is used to enable or disable the roam service. If is omitted, the configuration will take effect immediately. AT+QCFG="roamservice" Roam Service Configuration Write Command AT+QCFG=“roamservice”[, [, ]] Response If and are both omitted, return the current configuration: +QCFG: "roamservice", OK If and are not omitted, configure the mode of roam service : OK ERROR If there is any error related to ME functionality: +CME ERROR: Maximum Response Time 300ms Parameter Number format. The mode of roam service 1 Disable roam service 2 Enable roam service 255 AUTO Number format. When to take effect 0 Take effect after UE reboots 1 Take effect immediately 4.3.5. AT+QCFG="servicedomain" Service Domain Configuration The command specifies the registered service domain. If is omitted, the configuration will take effect immediately. AT+QCFG="servicedomain" Service Domain Configuration Write Command AT+QCFG=“servicedomain”[, [, ]] EC25&EC21_AT_Commands_Manual Response If and are both omitted, return the current configuration: 43 / 239 LTE Module Series EC25&EC21 AT Commands Manual +QCFG: "servicedomain", OK If and are not omitted, configure the service domain of UE: OK ERROR If there is any error related to ME functionality: +CME ERROR: Maximum Response Time 300ms Parameter Service domain of UE 0 CS only 1 PS only 2 CS & PS Number format. When to take effect 0 Take effect after UE reboots 1 Take effect immediately 4.3.6. AT+QCFG="band" Band Configuration The command specifies the preferred frequency bands to be searched of UE. If is omitted, the configuration will take effect immediately. AT+QCFG="band" Band Configuration Write Command AT+QCFG=“band”[, , , [, ]] Response If configuration parameters are omitted (that is, only execute AT+QCFG="band"), return current configuration: +QCFG: “band”, , , OK If configuration parameters are all entered, configure the preferred frequency bands to be searched: OK ERROR If there is any error related to ME functionality: EC25&EC21_AT_Commands_Manual 44 / 239 LTE Module Series EC25&EC21 AT Commands Manual +CME ERROR: Maximum Response Time 300ms Parameter A hexadecimal value that specifies the GSM and WCDMA frequency band. If it is set to 0, it means not to change GSM and WCDMA frequency band. (e.g.: 00000013=00000001(GSM900)+00000002(GSM1800)+00000010(WCDMA 2100)) 00000000 No change 00000001 GSM900 00000002 GSM1800 00000004 GSM850 00000008 GSM1900 00000010 WCDMA 2100 00000020 WCDMA 1900 00000040 WCDMA 850 00000080 WCDMA 900 00000100 WCDMA 800 00000200 WCDMA 1700 0000FFFF Any frequency band A hexadecimal value that specifies the LTE frequency band. If it is set to 0 or 0x40000000, it means not to change LTE frequency band. (e.g.: 0x15=0x1(LTE B1)+0x4(LTE B3)+0x10(LTE B5)) 0x1 (CM_BAND_PREF_LTE_EUTRAN_BAND1) LTE B1 0x4 (CM_BAND_PREF_LTE_EUTRAN_BAND3) LTE B3 0x10 (CM_BAND_PREF_LTE_EUTRAN_BAND5) LTE B5 0x40 (CM_BAND_PREF_LTE_EUTRAN_BAND7) LTE B7 0x80 (CM_BAND_PREF_LTE_EUTRAN_BAND8) LTE B8 0x80000(CM_BAND_PREF_LTE_EUTRAN_BAND20) LTE B20 0x7FFFFFFFFFFFFFFF(CM_BAND_PREF_ANY) Any frequency band A hexadecimal value that specifies the TD-SCDMA frequency band. If it is set to 0 or 0x40000000, it means not to change TD-SCDMA frequency band. (e.g.: 0x21=0x1(TDS BCA)+0x20(TDS BCF)) 0x1 (CM_BAND_PREF_TDS_BANDA) TDS BCA 0x2 (CM_BAND_PREF_TDS_BANDB) TDS BCB 0x4 (CM_BAND_PREF_TDS_BANDC) TDS BCC 0x8 (CM_BAND_PREF_TDS_BANDD) TDS BCD 0x10 (CM_BAND_PREF_TDS_BANDE) TDS BCE 0x20 (CM_BAND_PREF_TDS_BANDF) TDS BCF When to take effect 0 Take effect after UE reboots EC25&EC21_AT_Commands_Manual 45 / 239 LTE Module Series EC25&EC21 AT Commands Manual 1 Take effect immediately 4.3.7. AT+QCFG="hsdpacat" HSDPA Category Configuration The command specifies the HSDPA category. This configuration is valid only after the module is restarted. AT+QCFG="hsdpacat" HSDPA Category Configuration Write Command AT+QCFG=“hsdpacat”[, ] Response If is omitted, return the current configuration: +QCFG: "hsdpacat",