Quectel EC25:EC21 ATCommands Manual

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 217

DownloadQuectel-EC25:EC21-ATCommands Manual
Open PDF In BrowserView PDF
EC25&EC21
AT Commands Manual
LTE Module Series
Rev. EC25&EC21_AT_Commands_Manual_V1.0
Date: 2016-05-30

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.
Office 501, Building 13, No.99, Tianzhou Road, Shanghai, China, 200233
Tel: +86 21 5108 6236
Email: info@quectel.com

Or our local office. For more information, please visit:

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, or to report documentation errors, please visit:
http://www.quectel.com/support/techsupport.aspx
Or email to: Support@quectel.com

GENERAL NOTES

QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION
PROVIDED IS BASED UPON CUSTOMERS‟ REQUIREMENTS. QUECTEL MAKES EVERY EFFORT
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT
ANY LIABILITY FOR ANY INJURY, LOSS OR DAMAGE OF ANY KIND INCURRED BY USE OF OR
RELIANCE UPON THE INFORMATION. ALL INFORMATION SUPPLIED HEREIN IS SUBJECT TO
CHANGE WITHOUT PRIOR NOTICE.

COPYRIGHT

THE INFORMATION CONTAINED HERE IS PROPRIETARY TECHNICAL INFORMATION OF
QUECTEL CO., LTD. TRANSMITTING, REPRODUCTION, DISSEMINATION AND EDITING OF THIS
DOCUMENT AS WELL AS UTILIZATION OF THE CONTENT ARE FORBIDDEN WITHOUT
PERMISSION. OFFENDERS WILL BE HELD LIABLE FOR PAYMENT OF DAMAGES. ALL RIGHTS
ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL
OR DESIGN.

Copyright © Quectel Wireless Solutions Co., Ltd. 2016. All rights reserved.

EC25&EC21_AT_Commands_Manual

Confidential / Released

1 / 215

LTE Module Series
EC25&EC21 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

2016-05-30

James CAI/
Bonnie ZHAO

Initial

EC25&EC21_AT_Commands_Manual

Confidential / Released

2 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Contents
About the Document ................................................................................................................................... 2
Contents ....................................................................................................................................................... 3
Table Index ................................................................................................................................................... 7
1

Introduction .......................................................................................................................................... 8
1.1.
Scope of the Document ............................................................................................................. 8
1.2.
AT Command Syntax ................................................................................................................. 8
1.3.
Supported Character Sets ......................................................................................................... 9
1.4.
AT Command Interface .............................................................................................................. 9
1.5.
Unsolicited Result Code ............................................................................................................ 9
1.6.
Turn off Procedure ................................................................................................................... 10

2

General Commands ........................................................................................................................... 11
2.1.
ATI Display Product Identification Information ...................................................................... 11
2.2.
AT+GMI Request Manufacturer Identification ...................................................................... 12
2.3.
AT+GMM Request TA Model Identification ........................................................................... 12
2.4.
AT+GMR Request TA Revision Identification of Software Release ..................................... 13
2.5.
AT+CGMI Request Manufacturer Identification .................................................................... 13
2.6.
AT+CGMM Request Model Identification ............................................................................. 14
2.7.
AT+CGMR Request TA Revision Identification of Software Release ................................... 14
2.8.
AT+GSN Request International Mobile Equipment Identity (IMEI) ...................................... 15
2.9.
AT+CGSN Request Product Serial Number Identification ................................................... 16
2.10. AT&F Set all Current Parameters to Manufacturer Defaults ................................................ 16
2.11. AT&V Display Current Configuration .................................................................................... 17
2.12. AT&W Store Current Parameters to User Defined Profile .................................................... 18
2.13. ATZ Set all Current Parameters to User Defined Profile ...................................................... 18
2.14. ATQ Set Result Code Presentation Mode ............................................................................ 19
2.15. ATV TA Response Format .................................................................................................... 19
2.16. ATE Set Command Echo Mode ............................................................................................ 21
2.17. A/ Repeat Previous Command Line ..................................................................................... 21
2.18. ATS3 Set Command Line Termination Character................................................................. 22
2.19. ATS4 Set Response Formatting Character .......................................................................... 23
2.20. ATS5 Set Command Line Editing Character ........................................................................ 23
2.21. ATX Set CONNECT Result Code Format and Monitor Call Progress ................................. 24
2.22. AT+CFUN Set Phone Functionality ...................................................................................... 25
2.23. AT+CMEE Error Message Format ........................................................................................ 26
2.24. AT+CSCS Select TE Character Set...................................................................................... 27
2.25. AT+QURCCFG Configure URC Indication Option ............................................................... 28

3

Serial Interface Control Commands ................................................................................................ 30
3.1.
AT&C Set DCD Function Mode ............................................................................................ 30
3.2.
AT&D Set DTR Function Mode ............................................................................................. 30
3.3.
AT+IFC Set TE-TA Local Data Flow Control ........................................................................... 31

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

EC25&EC21_AT_Commands_Manual

Confidential / Released

3 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

3.4.
3.5.
4

AT+ICF Set TE-TA Control Character Framing .................................................................... 32
AT+IPR Set TE-TA Fixed Local Rate .................................................................................... 33

Status Control Commands ............................................................................................................... 35
4.1.
AT+CPAS Mobile Equipment Activity Status......................................................................... 35
4.2.
AT+CEER Extended Error Report ........................................................................................ 36
4.3.
AT+QCFG Extended Configuration Settings ........................................................................ 37
4.3.1.
AT+QCFG="gprsattach" GPRS Attach Mode Configuration....................................... 38
4.3.2.
AT+QCFG="nwscanmode" Network Search Mode Configuration.............................. 38
4.3.3.
AT+QCFG="nwscanseq" Network Searching Sequence Configuration..................... 39
4.3.4.
AT+QCFG="roamservice" Roam Service Configuration ............................................ 40
4.3.5.
AT+QCFG="servicedomain" Service Domain Configuration ...................................... 41
4.3.6.
AT+QCFG="band" Band Configuration ...................................................................... 42
4.3.7.
AT+QCFG="hsdpacat" HSDPA Category Configuration............................................. 43
4.3.8.
AT+QCFG="hsupacat" HSUPA Category Configuration ............................................ 44
4.3.9.
AT+QCFG="rrc" RRC Release Version Configuration ............................................... 45
4.3.10. AT+QCFG="sgsn" UE SGSN Release Version Configuration ................................... 45
4.3.11. AT+QCFG="msc" UE MSC Release Version Configuration ....................................... 46
4.3.12. AT+QCFG="PDP/DuplicateChk" Establish Multi PDNs with the Same APN ............. 47
4.3.13. AT+QCFG="TDSCSQ" Set TDSCDMA RSSI Range ................................................. 47

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

5

SIM Related Commands .................................................................................................................... 49
5.1.
AT+CIMI Request International Mobile Subscriber Identity (IMSI) ....................................... 49
5.2.
AT+CLCK Facility Lock ......................................................................................................... 50
5.3.
AT+CPIN Enter PIN .............................................................................................................. 52
5.4.
AT+CPWD Change Password .............................................................................................. 54
5.5.
AT+CSIM Generic SIM Access ............................................................................................. 55
5.6.
AT+CRSM Restricted SIM Access ........................................................................................ 56
5.7.
AT+QCCID Show ICCID ....................................................................................................... 57
5.8.
AT+QPINC Display PIN Remainder Counter........................................................................ 58
5.9.
AT+QSIMDET SIM Card Detection....................................................................................... 58
5.10. AT+QSIMSTAT SIM Inserted Status Report ......................................................................... 60

6

Network Service Commands ............................................................................................................ 62
6.1.
AT+COPS Operator Selection .............................................................................................. 62
6.2.
AT+CREG Network Registration........................................................................................... 64
6.3.
AT+CSQ Signal Quality Report............................................................................................. 65
6.4.
AT+CPOL Preferred Operator List ........................................................................................ 67
6.5.
AT+COPN Read Operator Names ........................................................................................ 68
6.6.
AT+CTZU Automatic Time Zone Update .............................................................................. 69
6.7.
AT+CTZR Time Zone Reporting ........................................................................................... 70
6.8.
AT+QNWINFO Query Network Information .......................................................................... 71

7

Call Related Commands .................................................................................................................... 74
7.1.
ATA Answer an Incoming Call ............................................................................................... 74
7.2.
ATD Mobile Originated Call to Dial a Number ...................................................................... 75

EC25&EC21_AT_Commands_Manual

Confidential / Released

4 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

7.3.
7.4.
7.5.
7.6.
7.7.
7.8.
7.9.
7.10.
7.11.
7.12.
7.13.
7.14.
7.15.
7.16.
7.17.
7.18.
7.19.

ATH Disconnect Existing Connection ................................................................................... 76
AT+CVHU Voice Hang up Control ........................................................................................ 77
AT+CHUP Hang up Call........................................................................................................ 78
+++ Switch from Data Mode to Command Mode ................................................................. 78
ATO Switch from Command Mode to Data Mode ................................................................ 79
ATS0 Set Number of Rings before Automatically Answering Call ........................................ 80
ATS6 Set Pause before Blind Dialing ................................................................................... 81
ATS7 Set Number of Seconds to Wait for Connection Completion...................................... 81
ATS8 Set the Number of Seconds to Wait for Comma Dial Modifier ................................... 82
ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier ......................... 82
AT+CBST Select Bearer Service Type ................................................................................. 83
AT+CSTA Select Type of Address ........................................................................................ 85
AT+CLCC List Current Calls of ME....................................................................................... 86
AT+CR Service Reporting Control ........................................................................................ 87
AT+CRC Set Cellular Result Codes for Incoming Call Indication ........................................ 88
AT+CRLP Select Radio Link Protocol Parameter ................................................................ 90
AT+QECCNUM Configure Emergency Call Numbers .......................................................... 91

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

8

Phonebook Commands ..................................................................................................................... 93
8.1.
AT+CNUM Subscriber Number............................................................................................. 93
8.2.
AT+CPBF Find Phonebook Entries ...................................................................................... 94
8.3.
AT+CPBR Read Phonebook Entries .................................................................................... 95
8.4.
AT+CPBS Select Phonebook Memory Storage.................................................................... 96
8.5.
AT+CPBW Write Phonebook Entry....................................................................................... 97

9

Short Message Service Commands ................................................................................................. 99
9.1.
AT+CSMS Select Message Service (Not Effective in CDMA Network) ............................... 99
9.2.
AT+CMGF Message Format ............................................................................................... 100
9.3.
AT+CSCA Service Center Address (Not Effective in CDMA Network) ............................... 101
9.4.
AT+CPMS Preferred Message Storage .............................................................................. 102
9.5.
AT+CMGD Delete Message ............................................................................................... 104
9.6.
AT+CMGL List Messages ................................................................................................... 105
9.7.
AT+CMGR Read Message ................................................................................................. 108
9.8.
AT+CMGS Send Message .................................................................................................. 113
9.9.
AT+CMMS More Messages to Send (Not Effective in CDMA Network) ............................ 114
9.10. AT+CMGW Write Message to Memory............................................................................... 115
9.11. AT+CMSS Send Message from Storage ............................................................................ 117
9.12. AT+CNMA New Message Acknowledgement to UE/TE (Not Effective in CDMA Network) 119
9.13. AT+CNMI SMS Event Reporting Configuration .................................................................. 120
9.14. AT+CSCB Select Cell Broadcast Message Types (Not Effective in CDMA Network) ........ 123
9.15. AT+CSDH Show SMS Text Mode Parameters (Not Effective in CDMA Network) ............. 124
9.16. AT+CSMP Set SMS Text Mode Parameters (Not Effective in CDMA Network) ................. 125
9.17. AT+QCMGS Send Concatenated Messages ..................................................................... 126
9.18. AT+QCMGR Read Concatenated Messages ..................................................................... 127
9.19. AT+QCSMP Set CDMA SMS Text Mode Parameters ........................................................ 129

EC25&EC21_AT_Commands_Manual

Confidential / Released

5 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

9.20.
9.21.

AT+QSMSR Read Message ............................................................................................... 130
AT+QSMSL List Messages ................................................................................................. 134

10 Packet Domain Commands ............................................................................................................ 139
10.1. AT+CGATT Attachment or Detachment of PS .................................................................... 139
10.2. AT+CGDCONT Define PDP Context .................................................................................. 140
10.3. AT+CGQREQ Quality of Service Profile (Requested) ........................................................ 141
10.4. AT+CGQMIN Quality of Service Profile (Minimum Acceptable) ......................................... 144
10.5. AT+CGEQREQ 3G Quality of Service Profile (Requested) ............................................... 147
10.6. AT+CGEQMIN 3G Quality of Service Profile (Minimum Acceptable) ................................. 151
10.7. AT+CGACT Activate or Deactivate PDP Context ............................................................... 155
10.8. AT+CGDATA Enter Data State ............................................................................................ 156
10.9. AT+CGPADDR Show PDP Address ................................................................................... 157
10.10. AT+CGCLASS GPRS Mobile Station Class ....................................................................... 158
10.11. AT+CGREG Network Registration Status........................................................................... 159
10.12. AT+CGEREP Packet Domain Event Reporting .................................................................. 161
10.13. AT+CGSMS Select Service for MO SMS Messages.......................................................... 163
10.14. AT+CEREG EPS Network Registration Status ................................................................... 164
10.15. AT+QGDCNT Packet Data Counter ................................................................................... 165
10.16. AT+QAUGDCNT Auto Save Packet Data Counter............................................................. 166

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

11 Supplementary Service Commands .............................................................................................. 168
11.1. AT+CCFC Call Forwarding Number and Conditions Control ............................................. 168
11.2. AT+CCWA Call Waiting Control .......................................................................................... 170
11.3. AT+CHLD Call Related Supplementary Services ............................................................... 172
11.4. AT+CLIP Calling Line Identification Presentation ............................................................... 174
11.5. AT+CLIR Calling Line Identification Restriction .................................................................. 175
11.6. AT+COLP Connected Line Identification Presentation....................................................... 176
11.7. AT+CSSN Supplementary Service Notifications ................................................................ 178
11.8. AT+CUSD Unstructured Supplementary Service Data ...................................................... 179
12 Audio Commands ............................................................................................................................ 181
12.1. AT+CLVL Loud Speaker Volume Level ............................................................................... 181
12.2. AT+CMUT Mute Control...................................................................................................... 182
12.3. AT+QAUDLOOP Enable Audio Loop Test .......................................................................... 182
12.4. AT+VTS DTMF and Tone Generation ................................................................................. 183
12.5. AT+VTD Set Tone Duration................................................................................................. 184
12.6. AT+QAUDMOD Set Audio Mode ........................................................................................ 185
12.7. AT+QDAI Digital Audio Interface Configure ........................................................................ 186
13 Hardware Related Commands ........................................................................................................ 188
13.1. AT+QPOWD Power off ....................................................................................................... 188
13.2. AT+CCLK Clock .................................................................................................................. 188
13.3. AT+CBC Battery Charge ..................................................................................................... 189
13.4. AT+QSCLK Configure Whether or Not to Enter into Sleep Mode ...................................... 190
14 Appendix ........................................................................................................................................... 192

EC25&EC21_AT_Commands_Manual

Confidential / Released

6 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

14.1.
14.2.
14.3.
14.4.
14.5.
14.6.
14.7.
14.8.
14.9.

Reference .............................................................................................................................. 192
Factory Default Settings Restorable with AT&F .................................................................... 193
AT Command Settings Storable with AT&W .......................................................................... 195
AT Command Settings Storable with ATZ ............................................................................. 196
Summary of CME ERROR Codes......................................................................................... 197
Summary of CMS ERROR Codes......................................................................................... 198
Summary of URC................................................................................................................... 200
SMS Character Sets Conversions ......................................................................................... 202
Release Cause Text List of AT+CEER .................................................................................. 209

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
EC25&EC21_AT_Commands_Manual

Confidential / Released

7 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Table Index
TABLE 1: TYPES OF AT COMMANDS AND RESPONSES ....................................................................... 9
TABLE 2: AT&V RESPONSE ..................................................................................................................... 17
TABLE 3: ATV0&ATV1 RESULT CODES NUMERIC EQUIVALENTS AND BRIEF DESCRIPTION ........ 20
TABLE 4: PARAMETER CONFIGURATIONS SUPPORTED BY AT+CBST ............................................. 84
TABLE 5: DELAY CLASS ......................................................................................................................... 144
TABLE 6: RELATED DOCUMENTS ........................................................................................................ 192
TABLE 7: TERMS AND ABBREVIATIONS .............................................................................................. 192
TABLE 8: FACTORY DEFAULT SETTINGS RESTORABLE WITH AT&F .............................................. 193
TABLE 9: AT COMMAND SETTINGS STORABLE WITH AT&W ............................................................ 195
TABLE 10: AT COMMAND SETTINGS STORABLE WITH ATZ.............................................................. 196
TABLE 11: DIFFERENT CODING SCHEMES OF +CME ERROR:  ........................................... 197
TABLE 12: DIFFERENT CODING SCHEMES OF +CMS ERROR:  ........................................... 199
TABLE 13: SUMMARY OF URC .............................................................................................................. 200
TABLE 14: THE WAY OF SMS TEXT INPUT OR OUTPUT .................................................................... 203
TABLE 15: THE INPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“GSM”) .............. 203
TABLE 16: THE OUTPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“GSM”) .......... 204
TABLE 17: GSM EXTENDED CHARACTERS ........................................................................................ 205
TABLE 18: THE INPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“IRA”) ................ 205
TABLE 19: IRA EXTENDED CHARACTERS........................................................................................... 206
TABLE 20: THE OUTPUT CONVERSIONS TABLE (DCS=GSM 7 BIT AND AT+CSCS=“IRA”) ............ 207
TABLE 21: GSM EXTENDED CHARACTERS ........................................................................................ 208
TABLE 22: RELEASE CAUSE TEXT LIST OF AT+CEER....................................................................... 209

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

EC25&EC21_AT_Commands_Manual

Confidential / Released

7 / 215

LTE Module Series
EC25&EC21 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 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

Confidential / Released

8 / 215

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.

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

1.3. Supported Character Sets

The EC25&EC21 AT command interface defaults to the GSM character set. The EC25&EC21 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) 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

The 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 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

Confidential / Released

9 / 215

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 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 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.

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

EC25&EC21_AT_Commands_Manual

Confidential / Released

10 / 215

LTE Module Series
EC25&EC21 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
EC25
Revision: 
OK

Maximum Response Time
Reference
V.25ter

Parameter


Example

300ms

Revision of software release

ATI
Quectel
EC25
Revision: EC25EFAR01A01M4G
OK

EC25&EC21_AT_Commands_Manual

Confidential / Released

11 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

2.2. AT+GMI

Request Manufacturer Identification

AT+GMI 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

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
OK

Maximum Response Time
Reference
V.25ter

2.3. AT+GMM

300ms

Request TA Model Identification

AT+GMM returns a product model identification text. The 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.
EC25
OK

Maximum Response Time
Reference
V.25ter

EC25&EC21_AT_Commands_Manual

300ms

Confidential / Released

12 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

2.4. AT+GMR Request TA Revision Identification of Software Release
AT+GMR delivers a product firmware version identification. The command is identical with AT+CGMR.

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.


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

Revision of software release

Example

AT+GMR
EC25EFAR01A01M4G
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=?

Response
OK

Execution Command
AT+CGMI

Response
TA returns manufacturer identification text.
Quectel

EC25&EC21_AT_Commands_Manual

Confidential / Released

13 / 215

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

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

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

AT+CGMM
Test Command
AT+CGMM=?

Request Model Identification

Response
OK

Execution Command
AT+CGMM

Response
TA returns product model identification text.
EC25
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. The command is identical with AT+GMR.

AT+CGMR Request TA Revision Identification of Software Release
Test Command
AT+CGMR=?

Execution Command
AT+CGMR

Response
OK

Response
TA returns identification text of product software version.

OK

Maximum Response Time

300ms

Reference
3GPP TS 27.007

EC25&EC21_AT_Commands_Manual

Confidential / Released

14 / 215

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)

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

AT+GSN

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

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
Reference
V.25ter

Parameter


NOTE

300ms

IMEI of the telephone

The serial number (IMEI) varies with the individual ME device.

EC25&EC21_AT_Commands_Manual

Confidential / Released

15 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

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


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.10. AT&F

Set all Current Parameters to Manufacturer Defaults

AT&F 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: Factory Default Settings Restorable with
AT&F.
OK

Maximum Response Time

300ms

Reference
V.25ter

Parameter


0

Set all TA parameters to manufacturer defaults

EC25&EC21_AT_Commands_Manual

Confidential / Released

16 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

2.11. AT&V

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

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

Maximum Response Time
Reference
V.25ter

Response
TA returns the current parameter setting
See Table 2: AT&V Response
OK
300ms

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

Confidential / Released

17 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

2.12. AT&W

Store Current Parameters to User Defined Profile

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

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

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.13. ATZ

0

300ms

Profile number to store current parameters

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 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

Maximum Response Time

300ms

Reference
V.25ter

Parameter


0

Reset to profile number 0

EC25&EC21_AT_Commands_Manual

Confidential / Released

18 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

2.14. ATQ

Set Result Code Presentation Mode

ATQ controls whether the result code is transmitted to the TE. Other information text transmitted as
response is not affected.

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)

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
1

2.15. ATV

300ms

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.

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

Confidential / Released

19 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Maximum Response Time

300ms

Reference
V.25ter

Parameter


0
1

Example
ATV1
OK
AT+CSQ
+CSQ: 30,99
OK
ATV0
0
AT+CSQ
+CSQ: 30,99
0

Information response: 
Short result code format: 
Information response: 
Long result code format: 

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
//Set =1

//When =1 result code is OK
//Set =0

//When =0 result code is 0

Table 3: ATV0&ATV1 Result Codes Numeric Equivalents and Brief Description
ATV1

ATV0

Description

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

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

OK
CONNECT
RING
NO CARRIER

EC25&EC21_AT_Commands_Manual

Confidential / Released

20 / 215

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

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

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

Reference
V.25ter

Parameter


0
1

Echo mode off
Echo mode on

2.17. A/

Repeat Previous Command Line

A/ 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

Confidential / Released

21 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Example
ATI
Quectel
EC25
Revision: EC25EFAR01A01M4G
OK
A/
Quectel
EC25
Revision: EC25EFAR01A01M4G
OK

2.18. ATS3

//Repeat the previous command

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
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.

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
Reference
V.25ter

300ms

Parameter


0-13-127

Command line termination character (Default 13=)

EC25&EC21_AT_Commands_Manual

Confidential / Released

22 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

2.19. ATS4

Set Response Formatting Character

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

ATS4

Set Response Formatting Character

Read Command
ATS4?

Response

OK

Write Command
ATS4=

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
Response
This parameter setting determines the character generated
by the TA for result code and information text.
OK

Maximum Response Time
Reference
V.25ter

Parameter


0-10-127

2.20. ATS5

300ms

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

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

Confidential / Released

23 / 215

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

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

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

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

Confidential / Released

24 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

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: 

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
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

Parameter




0
1
4
0
1

Example

Minimum functionality
Full functionality (Default)
Disable the phone from both transmitting and receiving RF signals
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

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

Confidential / Released

25 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

+CME ERROR: 13
AT+CFUN=1
OK

//SIM failure
//Switch phone to full functionality

+CPIN: SIM PIN
AT+CPIN=1234
OK
+CPIN: READY
+QUSIM: 1

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

+QIND: PB DONE

+QIND: SMS DONE
AT+CPIN?
+CPIN: READY

OK
AT+COPS?
+COPS: 0,0,"CHINA MOBILE CMCC",7
OK

//Operator is registered

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?

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.

Confidential / Released

26 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

OK
Maximum Response Time

300ms

Reference
3GPP TS 27.007

Parameter


0
1
2

Example

Disable result code
Enable result code and use numeric values
Enable result code and use verbose values

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

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

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=?

Response
+CSCS: (list of supported s)
OK

Read Command
AT+CSCS?

EC25&EC21_AT_Commands_Manual

Response
+CSCS: 

Confidential / Released

27 / 215

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


l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

“GSM”
“IRA”
“UCS2”

Example
AT+CSCS?
+CSCS: “GSM”

GSM default alphabet
International reference alphabet
UCS2 alphabet

//Query the current character set

OK
AT+CSCS=“UCS2”
OK
AT+CSCS?
+CSCS: “UCS2”
OK

2.25. AT+QURCCFG

//Set the character set to “UCS2”

Configure URC Indication Option

This 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"[,]

+QURCCFG: "urcport",
OK
If configuration parameters are entered, response:
OK
ERROR

Read Command
AT+QURCCFG?

Response
Return current configurations:
+QURCCFG: "urcport",

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
OK

Maximum Response Time

Parameter


NOTES

300ms

Set URC output port
"usbat"
"usbmodem"
"uart1"

USB AT port
USB modem port
Main UART

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?
+QURCCFG: "urcport","usbat"

OK
AT+QURCCFG="urcport","usbmodem"
OK
AT+QURCCFG?
+QURCCFG: "urcport","usbmodem"
OK

EC25&EC21_AT_Commands_Manual

Confidential / Released

29 / 215

LTE Module Series
EC25&EC21 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 ON to 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 ON to OFF condition during
data mode.
OK

Maximum Response Time

300ms

EC25&EC21_AT_Commands_Manual

Confidential / Released

30 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Reference
V.25ter

Parameter


0
1
2

TA ignores status on DTR
ONOFF on DTR: Change to command mode while remaining the connected call
ONOFF on DTR: Disconnect data call, and 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+IFC Set TE-TA Local Data Flow Control

AT+IFC 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

Confidential / Released

31 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

NOTE
The flow control is applied only for data mode.

Example
AT+IFC=2,2
OK
AT+IFC?
+IFC: 2,2

//Open the hardware flow control

OK

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

3.4. 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

8 data 0 parity 1 stop
Odd
Even
Mark (1)

EC25&EC21_AT_Commands_Manual

Confidential / Released

32 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

3

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

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

Parameter


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

Baud rate per second
9600
19200
38400
57600
115200

EC25&EC21_AT_Commands_Manual

Confidential / Released

33 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

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 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
OK
AT+IPR?
+IPR: 115200

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

OK
AT+IPR=115200;&W
OK

EC25&EC21_AT_Commands_Manual

//Set fixed baud rate to 115200

//Store current setting, that is, the serial communication
speed is 115200 after restarting module

//Set fixed baud rate to 115200 and store current setting

Confidential / Released

34 / 215

LTE Module Series
EC25&EC21 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

EC25&EC21_AT_Commands_Manual

Confidential / Released

35 / 215

LTE Module Series
EC25&EC21 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
OK

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

4.2. AT+CEER

//Call in progress

Extended Error Report

AT+CEER is used to query an extended error and report the cause of the last failed operation, such as:







the failure to release 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 PDP context
the failure to detach GPRS or the failure to deactivate 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=?

Execution command
AT+CEER

Response
OK

Response
+CEER: 
OK
ERROR

If error is related to ME functionality:
+CME ERROR: 

EC25&EC21_AT_Commands_Manual

Confidential / Released

36 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Maximum Response Time

300ms

Parameter


Release cause text. Reason for the last call failure to setup or release (listed in 14.9
Release Cause Text List of AT+CEER). Both CS and PS domain call types are
reported. Cause data is captured from Call Manager events and cached locally to
later use by this command.

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

4.3. 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=?

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)
+QCFG: “sgsn”,
(list of supported s)

Confidential / Released

37 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

+QCFG: “msc”,
(list
of
supported
s)+QCFG:
"pdp/duplicatechk",(list of supported s)
+QCFG: "tdscsq",(list of supported s)
OK
Maximum Response Time

300ms

Reference

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

4.3.1. 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.

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
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.3.2. 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.

EC25&EC21_AT_Commands_Manual

Confidential / Released

38 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

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

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, network search mode
0
AUTO
1
GSM only
2
WCDMA only
3
LTE only
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

AT+QCFG=“nwscanseq” 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”[,]

EC25&EC21_AT_Commands_Manual

Response
If configuration parameters are omitted
(+QCFG=“nwscanseq”), return current configuration:

Confidential / Released

39 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

+QCFG: “nwscanseq”,
OK
If configuration parameters are entered:
OK
ERROR
If error is related to ME functionality:
+CME ERROR: 
Maximum Response Time

Parameter


300ms

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
Number format, network search sequence
(eg.: 04030201(LTE/WCDMA/TD-SCDMA/GSM))
00
Automatic (LTE/ WCDMA/TD-SCDMA/GSM)
01
GSM
02
TD-SCDMA
03
WCDMA
04
LTE

4.3.4. AT+QCFG="roamservice"

Roam Service Configuration

AT+QCFG=“roamservice” 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 configuration parameters are omitted
(+QCFG=“roamservice”), return current configuration:
+QCFG: “roamservice”,
OK

If configuration parameters are entered:
OK
ERROR
If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

EC25&EC21_AT_Commands_Manual

300ms

Confidential / Released

40 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

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



l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

4.3.5. AT+QCFG="servicedomain" Service Domain Configuration

AT+QCFG=“servicedomain” 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”[,[,]]

Response
If configuration parameters are omitted
(+QCFG=“servicedomain”), return current configuration:
+QCFG: “servicedomain”,
OK

If configuration parameters are entered:
OK
ERROR
If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

Parameter




300ms

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

EC25&EC21_AT_Commands_Manual

Confidential / Released

41 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

4.3.6. AT+QCFG="band"

Band Configuration

AT+QCFG=“band” specifies the band 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
(+QCFG=“band”), return current configuration:
+QCFG: “band”,,,

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

A hexadecimal value that specifies the GSM and WCDMA frequency band. If set
 to 0, it means not to change GSM and WCDMA frequency band. (eg.:
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 set 
to 0 or 0x40000000, it means not to change LTE frequency band. (eg.:
0x15=0x1( LTE BC1)+0x4( LTE BC3)+0x10( LTE BC5))
0x1 (CM_BAND_PREF_LTE_EUTRAN_BAND1)
LTE BC1

EC25&EC21_AT_Commands_Manual

Confidential / Released

42 / 215

LTE Module Series
EC25&EC21 AT Commands Manual





0x4 (CM_BAND_PREF_LTE_EUTRAN_BAND3)
LTE BC3
0x10 (CM_BAND_PREF_LTE_EUTRAN_BAND5)
LTE BC5
0x40 (CM_BAND_PREF_LTE_EUTRAN_BAND7)
LTE BC7
0x80 (CM_BAND_PREF_LTE_EUTRAN_BAND8)
LTE BC8
0x800000(CM_BAND_PREF_LTE_EUTRAN_BAND20) LTE BC20
0x7FFFFFFFFFFFFFFF(CM_BAND_PREF_ANY)
Any frequency band
A hexadecimal value that specifies the  frequency band. If set
 to 0 or 0x40000000, it means not to change TDS-CDMA frequency
band. (eg.: 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
1
Take effect immediately

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

4.3.7. AT+QCFG="hsdpacat" HSDPA Category Configuration

AT+QCFG=“hsdpacat” 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 configuration parameters are omitted
(+QCFG=”hsdpacat”), return current configuration:
+QCFG: “hsdpacat”,
OK

If configuration parameters are entered:
OK
ERROR
If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

EC25&EC21_AT_Commands_Manual

300ms

Confidential / Released

43 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Parameter


HSDPA category
6
Category 6
8
Category 8
10
Category 10
12
Category 12
14
Category 14
18
Category 18
20
Category 20
24
Category 24

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

4.3.8. AT+QCFG="hsupacat" HSUPA Category Configuration

AT+QCFG=“hsupacat” specifies the HSUPA category. This configuration is valid only after the module is
restarted.

AT+QCFG="hsupacat" HSUPA Category Configuration
Write Command
AT+QCFG=“hsupacat”[,]

Response
If configuration parameters are omitted
(+QCFG=“hsupacat”), return current configuration:
+QCFG: “hsupacat”,
OK

If configuration parameters are entered:
OK
ERROR
If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

Parameter


300ms

HSUPA category
5
Category 5
6
Category 6

EC25&EC21_AT_Commands_Manual

Confidential / Released

44 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

4.3.9. AT+QCFG="rrc" RRC Release Version Configuration
AT+QCFG=“rrc” specifies the RRC release version. This configuration is valid only after the module is
restarted.

AT+QCFG="rrc" RRC Release Version Configuration
Write Command
AT+QCFG=“rrc”[,]

Response
If configuration parameters are omitted
(+QCFG=“rrc”), return current configuration:
+QCFG: “rrc”,

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

RRC release version.
0
R99
1
R5
2
R6
3
R7
4
R8

4.3.10. AT+QCFG="sgsn"

UE SGSN Release Version Configuration

AT+QCFG=“sgsn” specifies the UE SGSN release version. This configuration is valid only after the
module is restarted.

AT+QCFG="sgsn" UE SGSN Release Version Configuration
Write Command
AT+QCFG=“sgsn”[,]

Response
If configuration parameters are omitted
(+QCFG=“sgsn”), return current configuration:
+QCFG: “sgsn”,
OK

EC25&EC21_AT_Commands_Manual

Confidential / Released

45 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

If configuration parameters are entered:
OK
ERROR
If error is related to ME functionality:
+CME ERROR: 
Maximum Response Time

Parameter


300ms

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
SGSN release version
0
R97
1
R99
2
Dynamic

4.3.11. AT+QCFG="msc" UE MSC Release Version Configuration

AT+QCFG=“msc” specifies the UE MSC release version. This configuration is valid only after the module
is restarted.

AT+QCFG="msc" UE MSC Release Version Configuration
Write Command
AT+QCFG=“msc”[,]

Response
If configuration parameters are omitted
(+QCFG=“msc”), return current configuration:
+QCFG: “msc”,
OK

If configuration parameters are entered:
OK
ERROR
If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

300ms

Parameter


MSC release version
0
R97

EC25&EC21_AT_Commands_Manual

Confidential / Released

46 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

1
2

R99
Dynamic

4.3.12. AT+QCFG="PDP/DuplicateChk" Establish Multi PDNs with the Same APN
AT+QCFG=“PDP/DuplicateChk” allows to establish multi PDNs with the same APN profile. The
configuration will take effect immediately.

AT+QCFG="PDP/DuplicateChk"
Write Command
AT+QCFG=“PDP/DuplicateChk”[,]

Establish Multi PDNs with the Same APN
Response
If configuration parameters are omitted,
return current configuration:
+QCFG: “PDP/DuplicateChk”,

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


0
1

300ms

Refused to establish multi PDNs with the same APN profile
Allowed to establish multi PDNs with the same APN profile

4.3.13. AT+QCFG="TDSCSQ" Set TDSCDMA RSSI Range

AT+QCFG=“TDSCSQ” set RSSI range in TDSCDMA. The configuration will take effect immediately.

AT+QCFG="TDSCSQ" Set TDSCDMA RSSI Range
Write Command
AT+QCFG=“TDSCSQ ”[,]

Response
If configuration parameters are omitted,
return current configuration:
+QCFG: “TDSCSQ”,
OK

If configuration parameters are entered:

EC25&EC21_AT_Commands_Manual

Confidential / Released

47 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

OK
ERROR
If error is related to ME functionality:
+CME ERROR: 
Maximum Response Time

300ms

Parameter


NOTE

0 RSSI between 0-31
1 RSSI between 100-191

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

This command is valid only in TDSCDMA. Show the RSSI value by AT+CSQ; and get RSSI details by
AT+CSQ.

EC25&EC21_AT_Commands_Manual

Confidential / Released

48 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

5

SIM Related Commands

5.1. AT+CIMI

Request International Mobile Subscriber Identity (IMSI)

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

AT+CIMI requests the International Mobile Subscriber Identity (IMSI) which is intended to permit the TE to
identify the individual SIM card or active application in the UICC (GSM or USIM) that is attached to MT.

AT+CIMI Request International Mobile Subscriber Identity (IMSI)
Test Command
AT+CIMI=?

Execution Command
AT+CIMI

Response
OK

Response
TA returns  for identifying the individual SIM which is
attached to ME.

OK

If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

300ms

Reference
3GPP TS 27.007

Parameter


Example

International Mobile Subscriber Identity (string without double quotes)

AT+CIMI
460023210226023

//Query IMSI number of SIM which is attached to ME

OK

EC25&EC21_AT_Commands_Manual

Confidential / Released

49 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

5.2. AT+CLCK

Facility Lock

AT+CLCK is used to lock, unlock or interrogate a MT or a network facility . The command can be
aborted when network facilities are being set or interrogated. The factory default password of PF, PN, PU,
PP and PC lock is “12341234”.

AT+CLCK

Facility Lock

Test Command
AT+CLCK=?

Response
+CLCK: (list of supported s)

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
OK

Write Command
AT+CLCK=,[,[
,]]

Response
This command is used to lock, unlock or interrogate the ME or
network facility . Password is normally needed to do
such actions. When querying the status of network service
(=2) the response line for „not active‟ case
(=0) should be returned only if service is not active
for any .
If  is not equal to 2 and command is successful:
OK
If =2 and command is successful:
+CLCK: [,]
[+CLCK: [, ]]
[…]
OK

Maximum Response Time

5s

Reference
3GPP TS 27.007

Parameter


“SC”
“AO”
“OI”
“OX”
“AI”
“IR”

SIM (lock SIM/UICC card installed in the currently selected card slot) (SIM/UICC
asks password in MT power-up and when this lock command issued).
BAOC (Bar All Outgoing Calls) (refer to 3GPP TS 22.088 clause 1).
BOIC (Bar Outgoing International Calls) (refer to 3GPP TS 22.088 clause 1).
BOIC-exHC (Bar Outgoing International Calls except to Home Country) (refer to
3GPP TS 22.088 clause 1).
BAIC (Bar All Incoming Calls) (refer to 3GPP TS 22.088 clause 2).
BIC-Roam (Bar Incoming Calls when Roaming outside the home country) (refer

EC25&EC21_AT_Commands_Manual

Confidential / Released

50 / 215

LTE Module Series
EC25&EC21 AT Commands Manual








Example

to 3GPP TS 22.088 clause 2).
“AB”
All Barring services (refer to 3GPP TS 22.030) (applicable only for =0).
“AG”
All outgoing barring services (refer to 3GPP TS 22.030) (applicable only for
=0).
“AC”
All incoming barring services (refer to 3GPP TS 22.030) (applicable only for
=0).
“FD”
SIM card or active application in the UICC (GSM or USIM) fixed dialing memory
feature (if PIN2 authentication has not been done during the current session,
PIN2 is required as ).
“PF”
Lock Phone to the very first inserted SIM/UICC card (also referred in the present
document as PH-FSIM) (MT asks password when other than the first SIM/UICC
card is inserted).
“PN”
Network Personalization (refer to 3GPP TS 22.022)
“PU”
Network Subset Personalization (refer to 3GPP TS 22.022)
“PP”
Service Provider Personalization (refer to 3GPP TS 22.022)
“PC”
Corporate Personalization (refer to 3GPP TS 22.022)
0
Unlock
1
Lock
2
Query status
Password
1
Voice
2
Data
4
FAX
7
All telephony except SMS (Default)
8
Short message service
16
Data circuit sync
32
Data circuit async
0
Off
1
On

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

AT+CLCK=“SC”, 2
+CLCK: 0

OK
AT+CLCK=“SC”,1,“1234”
OK
AT+CLCK=“SC”,2
+CLCK: 1
OK
AT+CLCK=“SC”,0,“1234”
OK

EC25&EC21_AT_Commands_Manual

//Query the status of SIM card lock, 0-unlock

//Lock SIM card, the password is 1234

//Query the status of SIM card lock, 1-lock

//Unlock SIM card

Confidential / Released

51 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

5.3. AT+CPIN

Enter PIN

AT+CPIN is used to enter a password or query whether or not the module requires a password which is
necessary before it can be operated (SIM PIN, SIM PUK, PH-SIM PIN, etc.).

AT+CPIN Enter PIN
Test Command
AT+CPIN=?

Response
OK

Read Command
AT+CPIN?

Response
TA returns an alphanumeric string indicating whether or not
some password is required.
+CPIN: 

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
OK

Write Command
AT+CPIN=[,]

Response
TA stores a password which is necessary before it can be
operated (SIM PIN, SIM PUK, etc.). If the PIN is to be entered
twice, the TA shall automatically repeat the PIN. If no PIN
request is pending, no action is taken and an error message,
+CME ERROR, is returned to TE.

If the PIN required is SIM PUK or SIM PUK2, the second pin
is required. This second pin, , is used to replace
the old pin in the SIM.
OK

Maximum Response Time

5s

Reference
3GPP TS 27.007

Parameter


READY
SIM PIN
SIM PUK
SIM PIN2
SIM PUK2
PH-NET PIN
PH-NET PUK

PH-NETSUB PIN
PH-NETSUB PUK

MT is not pending for any password
MT is waiting for SIM PIN to be given
MT is waiting for SIM PUK to be given
MT is waiting for SIM PIN2 to be given
MT is waiting for SIM PUK2 to be given
MT is waiting for network personalization password to be given
MT is waiting for network personalization unblocking password
to be given
MT is waiting for network subset personalization password to be
given
MT is waiting for network subset personalization unblocking

EC25&EC21_AT_Commands_Manual

Confidential / Released

52 / 215

LTE Module Series
EC25&EC21 AT Commands Manual




password to be given
PH-SP PIN
MT is waiting for service provider personalization password to
be given
PH-SP PUK
MT is waiting for service provider personalization unblocking
password to be given
PH-CORP PIN
MT is waiting for corporate personalization password to be
given
PH-CORP PUK
MT is waiting for corporate personalization unblocking
password to be given
Password (string type). If the requested password was a PUK, such as SIM PUK1,
PH-FSIM PUK or another password, then  must be followed by .
New password (string type) if the requested code was a PUK.

Example
//Enter PIN
AT+CPIN?
+CPIN: SIM PIN
OK
AT+CPIN=1234
OK
+CPIN: READY
AT+CPIN?
+CPIN: READY
OK

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
//Query PIN code is locked

//Enter PIN

//PIN has already been entered

//Enter PUK and PIN
AT+CPIN?
+CPIN: SIM PUK

OK
AT+CPIN=”26601934”,”1234”
OK
+CPIN: READY
AT+CPIN?
+CPIN: READY

//Query PUK code is locked

//Enter PUK and new PIN password

//PUK has already been entered

OK

EC25&EC21_AT_Commands_Manual

Confidential / Released

53 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

5.4. AT+CPWD

Change Password

AT+CPWD sets a new password for the facility lock function defined by command Facility Lock +CLCK.

AT+CPWD Change Password
Test Command
AT+CPWD=?

Response
TA returns a list of pairs which present the available facilities
and the maximum length of their password.
+CPWD: (list of supported s),(s)

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
OK

Write Command
AT+CPWD=,,

Response
TA sets a new password for the facility lock function.
OK

Maximum Response Time

5s

Reference
3GPP TS 27.007

Parameter


“SC”

SIM (lock SIM/UICC card) (SIM/UICC asks password in MT power-up and when
this lock command is issued)
“AO”
BAOC (Bar All Outgoing Calls, refer to 3GPP TS 22.088 clause 1)
“OI”
BOIC (Bar Outgoing International Calls, refer to 3GPP TS 22.088 clause 1)
“OX”
BOIC-exHC (Bar Outgoing International Calls except to Home Country, refer to
3GPP TS 22.088 clause 1)
“AI”
BAIC (Bar All Incoming Calls, refer to 3GPP TS 22.088 clause 2)
“IR”
BIC-Roam (Bar Incoming Calls when Roaming outside the home country, refer
to 3GPP TS 22.088 clause 2)
“AB”
All barring services (refer to 3GPP TS 22.030, applicable only for =0)
“AG”
All outgoing barring services (refer to 3GPP TS 22.030, applicable only for
=0)
“AC
All incoming barring services (refer to 3GPP TS 22.030, applicable only for
=0)
“P2”
SIM PIN2
 Integer type, max length of password

Password specified for the facility from the user interface or with command.

New password

EC25&EC21_AT_Commands_Manual

Confidential / Released

54 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Example
AT+CPIN?
+CPIN: READY
OK
AT+CPWD=“SC”,“1234”,“4321”
OK

//Change SIM card password to “4321”

//Restart module or re-activate the SIM card
AT+CPIN?
+CPIN: SIM PIN

//Query PIN code is locked

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

OK
AT+CPIN=“4321”
OK
+CPIN: READY

5.5. AT+CSIM

//PIN must be entered to define a new password “4321”

Generic SIM Access

AT+CSIM allows a direct control of the SIM that is installed in the currently selected card slot by a distant
application on the TE. The TE shall then keep the processing of SIM information within the frame
specified by GSM/UMTS.

AT+CSIM Generic SIM Access
Test Command
AT+CSIM=?

Write Command
AT+CSIM=,

Response
OK

Response
+CSIM: ,
OK
ERROR

If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

300ms

Reference
3GPP TS 27.007

EC25&EC21_AT_Commands_Manual

Confidential / Released

55 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Parameter



Integer type. Length of  or  string.
Command transferred by the MT to the SIM in the format as described in
3GPP TS 51.011.
Response to the command transferred by the SIM to the MT in the format as
described in 3GPP TS 51.011.



5.6. AT+CRSM

Restricted SIM Access

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

AT+CRSM offers easy and limited access to the SIM database. It transmits the SIM  and its
required parameters to the MT.

AT+CRSM Restricted SIM Access
Test Command
AT+CRSM=?

Response
OK

Write Command
AT+CRSM=[,[,,,[,][,]]]

Response
+CRSM: ,[,]
OK
ERROR

If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

300ms

Reference
3GPP TS 27.007

Parameter



, , 

USIM command number
176
READ BINARY
178
READ RECORD
192
GET RESPONSE
214
UPDATE BINARY
220
UPDATE RECORD
242
STATUS
Integer type; identifier for an elementary data file on USIM, if used by
.
Integer type; parameters transferred by the MT to the SIM. These parameters

EC25&EC21_AT_Commands_Manual

Confidential / Released

56 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

are mandatory for every command, except GET RESPONSE and STATUS.
The values are described in 3GPP TS 51.011.
Information which shall be written to the SIM (hexadecimal character format;
refer to +CSCS).
Contains the directory path of an elementary file on a UICC in hexadecimal
format.
Integer type; information from the SIM about the execution of the actual
command. These parameters are delivered to the TE in both cases, on
successful or failed execution of the command.
Response of a successful completion of the command previously issued
(hexadecimal character format; refer to +CSCS). STATUS and GET
RESPONSE return data, which gives information about the current
elementary data field. The information includes the type of file and its size
(refer to 3GPP TS 51.011). After READ BINARY, READ RECORD or
RETRIEVE DATA command, the requested data will be returned.
 is not returned after a successful UPDATE BINARY, UPDATE
RECORD or SET DATA command.



, 



l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

5.7. AT+QCCID

Show ICCID

AT+QCCID returns the ICCID (Integrated Circuit Card Identifier) number of the SIM card.

AT+QCCID Show ICCID
Test Command
AT+QCCID=?

Execution Command
AT+QCCID

Response
OK

Response
+QCCID: 
OK
ERROR

Maximum Response Time

Example

AT+QCCID
+QCCID: 89860025128306012474

300ms

//Query ICCID of the SIM card

OK

EC25&EC21_AT_Commands_Manual

Confidential / Released

57 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

5.8. AT+QPINC

Display PIN Remainder Counter

AT+QPINC can query the number of attempts left to enter the password of SIM PIN/PUK.

AT+ QPINC

Display PIN Remainder Counter

Test Command
AT+QPINC=?

Response
+QPINC: ("SC","P2")
OK

Read Command
AT+QPINC?

Response
+QPINC: "SC", ,
+QPINC: "P2", ,

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
OK

Write Command
AT+QPINC=

Response
+QPINC: ,,
OK
ERROR

If error is related to ME functionality:
+CME ERROR: 

Maximum Response Time

Parameter




300ms

“SC”
SIM PIN
“P2”
SIM PIN2
Number of attempts left to enter the password of PIN
Number of attempts left to enter the password of PUK

5.9. AT+QSIMDET SIM Card Detection

AT+QSIMDET enables SIM/USIM card hotswap function. SIM/USIM card is detected by GPIO interrupt.
You should also set the level of SIM/USIM detecting pin when the SIM card is inserted. This command
can be saved by AT&W.

EC25&EC21_AT_Commands_Manual

Confidential / Released

58 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

AT+ QSIMDET SIM Card Detection
Test Command
AT+QSIMDET=?

Response
+QSIMDET: (0,1),(0,1)
OK

Read Command
AT+QSIMDET?

Response
+QSIMDET: ,
OK

Write Command
AT+QSIMDET=,

Response
OK
ERROR

Maximum Response Time

300ms

Parameter




NOTES

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
Enable or disable SIM/USIM card detection
0 Disable
1 Enable
The level of SIM detection pin when a SIM card is inserted
0 Low level
1 High level

1. Hotswap function is invalid if the configured value of  is inconsistent with hardware
design.
2. Hotswap function takes effect after restart.

Example

AT+QSIMDET=1,0
OK

//If SIM/USIM detection pin level is low when SIM/USIM card inserted


+CPIN: NOT READY

+CPIN: READY

//If PIN1 of the SIM/USIM card is unlocked

EC25&EC21_AT_Commands_Manual

Confidential / Released

59 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

5.10. AT+QSIMSTAT

SIM Inserted Status Report

AT+QSIMSTAT can query SIM/USIM inserted status or enable SIM/USIM inserted status report. The
configuration of this command can be saved by AT&W.

AT+ QSIMSTAT SIM Inserted Status Report
Test Command
AT+QSIMSTAT=?

Response
+QSIMSTAT: (0,1)
OK

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

Read Command
AT+QSIMSTAT?

Response
+QSIMSTAT: ,
OK

Write Command
AT+QSIMSTAT=

Response
OK
ERROR

Maximum Response Time

300ms

Parameter




Example

AT+QSIMSTAT?
+QSIMSTAT: 0,1

OK
AT+QSIMDET=1,0
OK
AT+QSIMSTAT=1
OK
AT+QSIMSTAT?

Enable or disable SIM/USIM inserted status report. If it is enabled, when SIM/USIM
card is removed or inserted, the URC: +QSIMSTAT: ,
will be reported.
0
Disable
1
Enable
SIM/USIM is inserted or removed. This argument is not allowed to be set.
0
Removed
1
Inserted
2
Unknown, before SIM initialization

//Query SIM/USIM inserted status

//Enable SIM/USIM inserted status report

EC25&EC21_AT_Commands_Manual

Confidential / Released

60 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

+QSIMSTAT: 1,1
OK

+QSIMSTAT : 1,0

//Report of SIM/USIM inserted status, removed

+CPIN: NOT READY
AT+QSIMSTAT?
+QSIMSTAT: 1,0
OK

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C


+QSIMSTAT : 1,1
+CPIN: READY

//Report of SIM/USIM inserted status, inserted

EC25&EC21_AT_Commands_Manual

Confidential / Released

61 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

6

Network Service Commands

6.1. AT+COPS

Operator Selection

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

AT+COPS returns the current operators and their status and allows to set automatic or manual network
selection.

AT+COPS

Operator Selection

Test Command
AT+COPS=?

Response
TA returns a set of five parameters, each representing an
operator presenting in the network. Any of the formats may be
unavailable and should then be an empty field. The list of
operators shall be in the order of: home network, networks
referenced in SIM and other networks.
+COPS: (list of supported, long alphanumeric ,
short alphanumeric , numeric s)[,< Act>])s]
[,,(list of supported s),(list of supported s )]
OK

If error is related to ME functionality:
+CME ERROR: 

Read Command
AT+COPS?

Response
TA returns the current mode and the currently selected
operator. If no operator is selected, ,  and
 are omitted.
+COPS: [,[,][,]]
OK

If error is related to ME functionality:
+CME ERROR: 

Write Command
AT+COPS=[,[,[,]]]

EC25&EC21_AT_Commands_Manual

Response
TA forces an attempt to select and register the GSM/UMTS
network operator. If the selected operator is not available, no
other operator shall be selected (except =4). The
format of selected operator name shall apply to further read

Confidential / Released

62 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

commands (+COPS?).
OK
If error is related to ME functionality:
+CME ERROR: 
Maximum Response Time

180s, determined by network.

Reference
3GPP TS 27.007

Parameter









l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

0
Unknown
1
Operator available
2
Current operator
3
Operator forbidden
Operator in format as per 
0
Automatic mode;  field is ignored
1
Manual operator selection;  field shall be present and  optionally
2
Manual deregister from network
3
Set only  (for read Command +COPS?), do not attempt
registration/deregistration ( and  fields are ignored); this value is not
applicable in read command response
4
Manual/automatic selected,  field shall be presented; if manual selection
fails, automatic mode (=0) is entered
0
Long format alphanumeric ;can be up to 16 characters long
1
Short format alphanumeric 
2
Numeric ; GSM location area identification number
Access technology selected. Values 3, 4, 5, 6 occur only in read command response while
MS is in data service state and is not intended for the AT+COPS write command.
0
GSM
2
UTRAN
3
GSM W/EGPRS
4
UTRAN W/HSDPA
5
UTRAN W/HSUPA
6
UTRAN W/HSDPA and HSUPA
7
E-UTRAN

Example
AT+COPS=?
//List all current network operators
+COPS:
(1,"CHN-UNICOM","UNICOM","46001",2),(1,"CHN-UNICOM","UNICOM","46001",0),(2,"CHN-UNICO

EC25&EC21_AT_Commands_Manual

Confidential / Released

63 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

M","UNICOM","46001",7),(1,"46011","46011","46011",7),(3,"CHINA
MOBILE","CMCC","46000",0),,(0,1,2,3,4),(0,1,2)
OK
AT+COPS?
+COPS: 0,0,“CHN-UNICOM”,0

//Query the currently selected network operator

OK

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

6.2. AT+CREG

Network Registration

AT+CREG returns the network registration status. The write command sets whether or not to present
URC.

AT+CREG

Network Registration

Test Command
AT+CREG=?

Response
+CREG: (list of supported s)
OK

Read Command
AT+CREG?

Response
TA returns the status of result code presentation and an
integer  which shows whether the network has
currently indicated the registration of the ME. Location
information elements  and  are returned only when
=2 and ME is registered in the network.
+CREG: ,[,,[,]]
OK

If error is related to ME functionality:
+CME ERROR: 

Write Command
AT+CREG[=]

Response
TA controls the presentation of an unsolicited result code
+CREG:  when =1 and there is a change in the ME
network registration status.
OK

Maximum Response Time

300ms

Reference
3GPP TS 27.007

EC25&EC21_AT_Commands_Manual

Confidential / Released

64 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Parameter


0
1
2

Disable network registration unsolicited result code
Enable network registration unsolicited result code +CREG: 
Enable network registration unsolicited result code with location information
+CREG: [,,[,]]
0
Not registered, ME is not currently searching a new operator to register to
1
Registered, home network
2
Not registered, but ME is currently searching a new operator to register to
3
Registration denied
4
Unknown
5
Registered, roaming
String type, two bytes location area code in hexadecimal format
String type, two bytes cell ID in hexadecimal format







l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C
Access technology selected
0
GSM
2
UTRAN
3
GSM W/EGPRS
4
UTRAN W/HSDPA
5
UTRAN W/HSUPA
6
UTRAN W/HSDPA and HSUPA
7
E-UTRAN

Example
AT+CREG=1
OK
+CREG: 1
AT+CREG=2
OK

//URC reports that ME has been registered
//Activates extended URC mode

+CREG: 1,“D509”,”80D413D”,2

6.3. AT+CSQ

//URC reports that operator has found location area code
and cell ID

Signal Quality Report

AT+CSQ indicates the received signal strength  and the channel bit error rate .

AT+CSQ

Signal Quality Report

Test Command
AT+CSQ=?

EC25&EC21_AT_Commands_Manual

Response
+CSQ: (list of supported s),(list of supported s)

Confidential / Released

65 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

OK
Execution Command
AT+CSQ

Response
+CSQ: ,
OK
+CME ERROR: 
Execution Command returns received signal strength
indication  and channel bit error rate  from the
ME. Test Command returns values supported by the TA.

Maximum Response Time

300ms

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

Reference
3GPP TS 27.007

Parameter




Example

0
1
2...30
31
99
100
101
102...190
191
199
100~199

-113dBm or less
-111dBm
-109... -53dBm
-51dBm or greater
Not known or not detectable
-116dBm or less
-115dBm
-114...-26dBm
-25dBm or greater
Not known or not detectable
Extended to be used in TDSCDMA indicating received signal code
power (RSCP)
Channel bit error rate (in percent)
0...7
As RXQUAL values in the table in 3GPP TS 45.008 subclause 8.2.4
99
Not known or not detectable

AT+CSQ=?
+CSQ: (0-31,99),(0-7,99)
OK
AT+CSQ
+CSQ: 28,99

//Returns that the current signal strength indication is 28 and
channel bit error rate is 99

OK

EC25&EC21_AT_Commands_Manual

Confidential / Released

66 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

NOTE
After using network related commands such as +CCWA and +CCFC, users are advised to wait for 3s
before entering AT+CSQ. This is recommended to ensure that any network access required for the
preceding command has been finished.

6.4. AT+CPOL Preferred Operator List
AT+CPOL edits and queries the list of preferred operators.

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

AT+CPOL Preferred Operator List
Test Command
AT+CPOL=?

Response
+CPOL: (list of supported s),(list of supported
s)
OK

Read Command
AT+CPOL?

Response
Query the list of preferred operators:
+CPOL:
,,[,,,]
,,[,,,]
[…]
OK

Write Command
AT+CPOL=[,[,
[,,,
]]]

Response
Edit the list of preferred operators:
OK
ERROR

If the  is given but the  is left out, the
entry is deleted.

Maximum Response Time

300ms

Reference
3GPP TS 27.007

EC25&EC21_AT_Commands_Manual

Confidential / Released

67 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Parameter



Integer type; the order number of operator in the SIM/USIM preferred operator list
0
Long format alphanumeric 
1
Short format alphanumeric 
2
Numeric 

String type;  indicates the format is alphanumeric or numeric (see +COPS)

GSM access technology
0
Access technology is not selected
1
Access technology is selected

GSM compact access technology
0
Access technology is not selected
1
Access technology is selected
 UTRAN access technology
0
Access technology is not selected
1
Access technology is selected
 E-UTRAN access technology
0
Access technology is not selected
1
Access technology is selected

NOTE

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

The Access Technology selection parameters , ,  and 
are required for SIM cards or UICCs containing PLMN selector with Access Technology.

6.5. AT+COPN

Read Operator Names

The AT+COPN command returns the list of operator names from the ME. Each operator code
 that has an alphanumeric equivalent  in the ME memory is returned.

AT+COPN Read Operator Names
Test Command
AT+COPN=?

Execution Command
AT+COPN

Response
OK

Response
+COPN: ,
[+COPN: ,
[…]]
OK
+CME ERROR: 

EC25&EC21_AT_Commands_Manual

Confidential / Released

68 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Maximum Response Time

Depends on the number of operator names.

Reference
3GPP TS 27.007

Parameter



String type; operator in numeric format (see +COPS)
String type; operator in long alphanumeric format (see +COPS)

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

6.6. AT+CTZU

Automatic Time Zone Update

Set command enables and disables automatic time zone update via NITZ. The configuration is stored to
NV automatically.

AT+CTZU

Automatic Time Zone Update

Test Command
AT+CTZU=?

Response
+CTZU: (0,1)
OK

Write Command
AT+CTZU=

Response
OK
ERROR

Read Command
AT+CTZU?

Response
+CTZU: 
OK

Maximum Response Time

300ms

Reference
3GPP TS 27.007

Parameter


Integer type, indicates the mode of automatic time zone update
0
Disable automatic time zone update via NITZ.
1
Enable automatic time zone update via NITZ

EC25&EC21_AT_Commands_Manual

Confidential / Released

69 / 215

LTE Module Series
EC25&EC21 AT Commands Manual

Example
AT+CTZU?
+CTZU: 0
OK
AT+CTZU=?
+CTZU: (0,1)
OK
AT+CTZU=1
OK
AT+CTZU?
+CTZU: 1
OK

l
e
t
l
c
a
e
i
t
u
n
Q ide
f
n
o
C

6.7. AT+CTZR

Time Zone Reporting

This command controls the time zone reporting of changed event. If reporting is enabled, the MT returns
the unsolicited result code +CTZV: or +CTZE: ,,

Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Has XFA                         : No
Language                        : zh-CN
Tagged PDF                      : Yes
XMP Toolkit                     : Adobe XMP Core 4.2.1-c041 52.342996, 2008/05/07-20:48:00
Format                          : application/pdf
Creator                         : songsp
Create Date                     : 2016:05:30 09:29:52+08:00
Creator Tool                    : Microsoft® Word 2010
Modify Date                     : 2016:05:30 09:30:18+08:00
Metadata Date                   : 2016:05:30 09:30:18+08:00
Producer                        : Microsoft® Word 2010
Document ID                     : uuid:56f64caf-2084-4559-9790-3c076c106cb1
Instance ID                     : uuid:e4dfa5e5-3863-44d7-b058-13e677adc93b
Page Count                      : 217
Author                          : songsp
EXIF Metadata provided by EXIF.tools

Navigation menu