Quectel EC2xEG2xEG9xEM05 Series QCFG at Commands Manual V1.1
Quectel EC2xEG2xEG9xEM05 Series QCFG at Commands Manual V1.1
Quectel EC2xEG2xEG9xEM05 Series QCFG at Commands Manual V1.1
Version: 1.1
Date: 2023-06-27
Status: Released
LTE Standard Module Series
At Quectel, our aim is to provide timely and comprehensive services to our customers. If you
require any assistance, please contact our headquarters:
Legal Notices
We offer information as a service to you. The provided information is based on your requirements and we
make every effort to ensure its quality. You agree that you are responsible for using independent analysis
and evaluation in designing intended products, and we provide reference designs for illustrative purposes
only. Before using any hardware, software or service guided by this document, please read this notice
carefully. Even though we employ commercially reasonable efforts to provide the best possible
experience, you hereby acknowledge and agree that this document and related services hereunder are
provided to you on an “as available” basis. We may revise or restate this document from time to time at
our sole discretion without any prior notice to you.
Copyright
Our and third-party products hereunder may contain copyrighted material. Such copyrighted material
shall not be copied, reproduced, distributed, merged, published, translated, or modified without prior
written consent. We and the third party have exclusive rights over copyrighted material. No license shall
be granted or conveyed under any patents, copyrights, trademarks, or service mark rights. To avoid
ambiguities, purchasing in any form cannot be deemed as granting a license other than the normal
non-exclusive, royalty-free license to use the material. We reserve the right to take legal action for
noncompliance with abovementioned requirements, unauthorized use, or other illegal or malicious use of
the material.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 1 / 136
LTE Standard Module Series
Trademarks
Except as otherwise set forth herein, nothing in this document shall be construed as conferring any rights
to use any trademark, trade name or name, abbreviation, or counterfeit product thereof owned by Quectel
or any third party in advertising, publicity, or other aspects.
Third-Party Rights
This document may refer to hardware, software and/or documentation owned by one or more third parties
(“third-party materials”). Use of such third-party materials shall be governed by all restrictions and
obligations applicable thereto.
We make no warranty or representation, either express or implied, regarding the third-party materials,
including but not limited to any implied or statutory, warranties of merchantability or fitness for a particular
purpose, quiet enjoyment, system integration, information accuracy, and non-infringement of any
third-party intellectual property rights with regard to the licensed technology or use thereof. Nothing herein
constitutes a representation or warranty by us to either develop, enhance, modify, distribute, market, sell,
offer for sale, or otherwise maintain production of any our products or any other hardware, software,
device, tool, information, or product. We moreover disclaim any and all warranties arising from the course
of dealing or usage of trade.
Privacy Policy
To implement module functionality, certain device data are uploaded to Quectel’s or third-party’s servers,
including carriers, chipset suppliers or customer-designated servers. Quectel, strictly abiding by the
relevant laws and regulations, shall retain, use, disclose or otherwise process relevant data for the
purpose of performing the service only or as permitted by applicable laws. Before data interaction with
third parties, please be informed of their privacy and data security policy.
Disclaimer
a) We acknowledge no liability for any injury or damage arising from the reliance upon the information.
b) We shall bear no liability resulting from any inaccuracies or omissions, or from the use of the
information contained herein.
c) While we have made every effort to ensure that the functions and features under development are
free from errors, it is possible that they could contain errors, inaccuracies, and omissions. Unless
otherwise provided by valid agreement, we make no warranties of any kind, either implied or express,
and exclude all liability for any loss or damage suffered in connection with the use of features and
functions under development, to the maximum extent permitted by law, regardless of whether such
loss or damage may have been foreseeable.
d) We are not responsible for the accessibility, safety, accuracy, availability, legality, or completeness of
information, advertising, commercial offers, products, services, and materials on third-party websites
and third-party resources.
Copyright © Quectel Wireless Solutions Co., Ltd. 2023. All rights reserved.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 2 / 136
LTE Standard Module Series
Revision History
Wythe WANG/
- 2021-04-15 Alessa TANG/ Creation of the document
Colin CUI
Wythe WANG/
1.0 2022-05-30 Alessa TANG/ First official release
Colin CUI
1. Added the applicable modules: EG21-GL and
EG25-GL.
Clauz LU/
1.1 2023-06-27 2. Updated the response to AT+QCFG=? (Chapter 2.1).
Colin CUI
3. Added the example for AT+QCFG="band"
(Chapter 5.4).
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 3 / 136
LTE Standard Module Series
Contents
1 Introduction ......................................................................................................................................... 9
1.1. Applicable Modules .................................................................................................................... 9
1.2. Definitions ................................................................................................................................ 10
1.3. AT Command Syntax ............................................................................................................... 10
1.4. AT Command Responses ........................................................................................................ 11
1.5. Declaration of AT Command Examples .................................................................................. 11
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 4 / 136
LTE Standard Module Series
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 5 / 136
LTE Standard Module Series
6 PS Commands ................................................................................................................................... 93
6.1. AT+QCFG="ntp" Specify the Maximum Re-transmission Counts and the Interval for NTP 93
6.2. AT+QCFG="TCP/SendMode" Configure TCP Sending Mode ............................................. 94
6.3. AT+QCFG="tcp/windowsize" Configure TCP Window Available Size ................................. 95
7 CS Commands................................................................................................................................... 96
7.1. AT+QCFG="amrcodec" Configure AMR Codec ................................................................... 96
7.2. AT+QCFG="frhrcodec" Configure GSM EFR/HR/FR Codec................................................ 97
7.3. AT+QCFG="bip/auth" Configure PDP Authentication Type in BIP Process ........................ 98
7.4. AT+QCFG="SMS/ListMsgMap" List Message Map .............................................................. 99
7.5. AT+QCFG="ims/ut" Enable/Disable IMS/UT Function ....................................................... 100
7.6. AT+QCFG="ims" Configure IMS Function .......................................................................... 102
7.7. AT+QCFG="ltesms/format" Set SMS Format in LTE Mode ............................................... 103
7.8. AT+QCFG="volte_disable" Enable/Disable VoLTE ............................................................ 104
7.9. AT+QCFG="sms/omadm" Set OMADM Message Parsing Mode ...................................... 105
7.10. AT+QCFG="imsreg/iptype" Configure the IP Type for IMS Registration ........................... 106
7.11. AT+QCFG="sim/recovery" Configure (U)SIM Card Hot-plug ............................................. 107
7.12. AT+QCFG="siminvalirecovery" Enable/Disable Re-attach Request .................................. 108
7.13. AT+QCFG="roaming/voicecall" Enable/Disable Voice Call in Roaming Mode .................. 109
7.14. AT+QCFG="voice_busytone" Control Busy Tone Playback .............................................. 110
7.15. AT+QCFG=''call_control'' Enable/Disable Module Voice Call Feature ............................... 111
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 6 / 136
LTE Standard Module Series
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 7 / 136
LTE Standard Module Series
Table Index
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 8 / 136
LTE Standard Module Series
1 Introduction
This document introduces Quectel QCFG commands applicable for EC2x family, EG2x family, EG9x
family and EM05 series modules to query and configure UE settings.
EC20-CE
EC25 series
EG91 series
EG9x
EG95 series
EG21-G
EG25-G
EG2x
EG21-GL
EG25-GL
- EM05 series
NOTE
The actual support of the specific AT+QCFG is subject to the result of executing AT+QCFG=? by using
the corresponding firmware version.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 9 / 136
LTE Standard Module Series
1.2. Definitions
All command lines must start with AT or at and end with <CR>. Information responses and result codes
always start and end with a carriage return character and a line feed character:
<CR><LF><response><CR><LF>. In tables presenting commands and responses throughout this
document, only the commands and responses are presented, and <CR> and <LF> are deliberately
omitted.
AT+QCFG implemented by EC2x family, EG2x family, EG9x family and EM05 series modules is in
“Extended” syntax, as illustrated below.
⚫ Extended
Extended commands can be executed in several types, as shown in the following table:
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 10 / 136
LTE Standard Module Series
Multiple commands can be placed on a single line using a semi-colon (;) between commands. In such
cases, only the first command should have AT prefix. Commands can be in upper or lower case.
Spaces should be ignored when you enter AT commands, except in the following cases:
On input, at least a carriage return is required. A newline character is ignored so it is permissible to use
carriage return/line feed pairs on the input.
If no command is entered after the AT token, OK will be returned. If an invalid command is entered,
ERROR will be returned.
Optional parameters, unless explicitly stated, need to be provided up to the last parameter being entered.
When the AT command processor has finished processing a line, it will output OK, ERROR or +CME
ERROR: <err> to indicate that it is ready to accept a new command. Solicited information responses are
sent before the final OK, ERROR or +CME ERROR: <err>.
<CR><LF>+CMD1:<parameters><CR><LF>
<CR><LF>OK<CR><LF>
The AT command examples in this document are provided to help you learn about the use of the AT
commands introduced herein. The examples, however, should not be taken as Quectel’s
recommendations or suggestions about how to design a program flow or what status to set the module
into. Sometimes multiple examples may be provided for one AT command. However, this does not mean
that there is a correlation among these examples, or that they should be executed in a given sequence.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 11 / 136
LTE Standard Module Series
2 Test Command
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 12 / 136
LTE Standard Module Series
+QCFG: "thermal/modem"[,<level>,<trig>,<clr>]
+QCFG: "urc/ri/pin",(list of supported <pin_name>s)
+QCFG: "icf",(range of supported <data_bit>s),(range of
supported <stop_bit>s),(range of supported <parity_mod
e>s)
+QCFG: "thermal/limit_rates"[,<enable>]
+QCFG: "urcdelay",(list of supported <mode>s),(range of
supported <delay_time>s)
+QCFG: "sarcfg",(list of supported <mode>s),max_powe
r,row_grads,column_grads
+QCFG: "fast/poweroff",(list of supported <n>s)
+QCFG: "sleep/datactrl",(range of supported
<dev>s),(range of supported <time_out>s),(list of supported
<flag>s)
+QCFG: "rf/tuner_cfg",<index>,<lte bands>,[<wcdma
bands>,<gsm bands>]
+QCFG: "mms_rec_control",(list of supported <n>s)
+QCFG: "tone/incoming",(range of supported <enable>s)
+QCFG: "pcmclk",(list of supported <enable>s)
+QCFG: "codec/powsave",(list of supported <status>s)
+QCFG: "gprsattach",(list of supported <attach_mode>s)
+QCFG: "nwscanmode",(range of supported <scan_mod
e>s),(list of supported <effect>s)
+QCFG: "servicedomain",(list of supported <service>s),(list
of supported <effect>s)
+QCFG: "band",(range of supported <bandval>s),(range
of supported <ltebandval>s),(range of supported <tdsban
dval>s),(list of supported <effect>s)
+QCFG: "rrc",(range of supported <rrcr>s)
+QCFG: "msc",(range of supported <mscr>s)
+QCFG: "sgsn",(range of supported <sgsnr>s)
+QCFG: "hsdpacat",(list of supported <HSDPA_cat>s)
+QCFG: "hsupacat",(list of supported <HSUPA_cat>s)
+QCFG: "pdp/duplicatechk",(list of supported <enable>s)
+QCFG: "disable_backoff_lte",(list of supported <value>
s)
+QCFG: "airplanecontrol",(range of supported <enable>
s)
+QCFG: "epcflag",(list of supported <n>s)
+QCFG: "lte/bandprior",(range of supported
<band1>s),(range of supported <band2>s),(range of
supported <band3>s)
+QCFG: "plmn/addinfbdn",(list of supported <enable>s)
+QCFG: "cops_no_mode_change",(list of supported <val
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 13 / 136
LTE Standard Module Series
ue>s)
+QCFG: "hplmn/search_timer",(range of supported <tim
er>s)
+QCFG: "tdd/config",(range of supported
<assign>s),(range of supported <pattern>s)
+QCFG: "urc_cause_support",(range of supported <bit_
mask_value>s)
+QCFG: "dhcppktfltr",(list of supported <disable>s)
+QCFG: "oostimer",<timer1>,<timer2>,<timer3>
+QCFG: "apn/blocked",(list of supported <block_mode>
s),(list of supported <NV_mode>s)
+QCFG: "redir/3gtolte",(list of supported <redir_mode>
s),(list of supported <NV_flag>s),list of supported <NV_va
lue>s)
+QCFG: "rssi",(range of supported <thereshold>s)
+QCFG: "roamservice",(list of supported <roam_mode>
s),(list of supported <effect>s)
+QCFG: "fast_dormancy",(range of supported
<op>s),(range of supported <duration>s)
+QCFG: "airplane",(range of supported <n>s)
+QCFG: "rrc/control",(list of supported <enable>s),(range of
supported <crrc>s),(range of supported <trrc>s),(range of
supported <wai_time>s),(list of supported
<bar_opt>s),(range of supported <conn_est_latency>s)
+QCFG: "nwscanmodeex",(range of supported <mode>
s)
+QCFG: "assign_plmn_in_limit_search",(list of supported
<enable>s),<plmn>
+QCFG: "iprulectl",(list of supported <type>s)
+QCFG: "disrplmn",(list of supported <RPLMN_enable>
s),(list of supported <RPLMNact_enable>s)
+QCFG: "lte/preferfre",op,index,band,bandwith,earfcn,m
cc,mnc
+QCFG: "cops_control",(list of supported <enable>s)
+QCFG: "map_rej_cause7_to_cause14",(list of supported
<flag>s)
+QCFG: "netmaskset",(list of supported <enable>s)[,<net
mask>]
+QCFG: "pingdiscard",(list of supported <en>s)
+QCFG: "urc/ri/restart",(list of supported <enable>s)
+QCFG: "ping/ri",(list of supported <enable>s),(list of
supported <mode>s)
+QCFG: "defaultdns"[, list of supported <enable>s)[,<dn
s1>[,<dns2>]]]
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 14 / 136
LTE Standard Module Series
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 15 / 136
LTE Standard Module Series
OK
Maximum Response Time 300 ms
Characteristics /
NOTE
The above only shows an example for the command response. The response of the command varies
according to the module used.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 16 / 136
LTE Standard Module Series
3 General Commands
The command queries and configures the behavior of AP_READY pin. An external MCU can change the
AP_READY pin level as needed.
When there is a URC to be reported, if the AP_READY pin level is invalid, the URC is buffered first, and
the AP_READY pin level will be detected periodically with the configured detection period. The URC will
be output when the AP_READY pin level becomes valid. The pulse signal generated on the MAIN_RI pin
can still be output according to the configured mode, and the pulse signal will not be buffered.
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 17 / 136
LTE Standard Module Series
AP_READY detection function is enabled, and determines the default level of AP_READY.
0 Low level
1 High level
<interval> Integer type. Detection period. Unit: ms. Range:100–3000. Default value: 500.
This parameter only takes effect when AP_READY detection function is enabled. When
AP_READY level is invalid and a URC is reported, this parameter is used as detection
interval to check whether the indicator pin level is valid.
NOTE
1. Maximally 15 URCs can be buffered. When the number of URC exceeds 15, the oldest one in
the buffer will be cleared to store the new URC.
2. The RING URC is buffered only once for each call process.
Example
AT+QCFG="apready",1,0,800
OK
AT+QCFG="apready"
+QCFG: "apready",1,0,800
OK
SLEEP_IND Pin
This command configures the output level of the SLEEP_IND pin when the module is in sleep mode.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 18 / 136
LTE Standard Module Series
Parameter
<value> Integer type. It indicates the output level after the module enters sleep mode.
0 When the module enters sleep mode, SLEEP_IND pin outputs high level
1 When the module enters sleep mode, SLEEP_IND pin outputs low level
Example
AT+QCFG="sleepind/level",0 //SLEEP_IND pin outputs high level.
OK
AT+QCFG="sleepind/level"
+QCFG: "sleepind/level",0 //Query the current setting.
OK
This command configures whether to wake up the module through WAKEUP_IN pin.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 19 / 136
LTE Standard Module Series
Parameter
<value> Integer type. Set WAKEUP_IN pin to low or high level to wake up the module.
0 Set WAKEUP_IN pin to low level
1 Set WAKEUP_IN pin to high level
<enable> Integer type. Enable or disable whether to wake up the module through WAKEUP_IN pin.
0 Disable
1 Enable
Example
AT+QCFG="wakeupin/level",0 //Set WAKEUP_IN pin to low level to wake up the module.
OK
AT+QCFG="wakeupin/level" //Query the current setting.
+QCFG: "wakeupin/level",0,0
OK
Presented
The ring indicator is active low. AT+QCFG="urc/ri/ring" specifies the RI behavior when URC RING is
presented to indicate an incoming call.
The sum of <active_duration> and <inactive_duration> determines the interval time of RING
indications when a call is coming.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 20 / 136
LTE Standard Module Series
pulse_count>
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 21 / 136
LTE Standard Module Series
This command specifies the RI (ring indicator) behavior when related incoming message URCs are
presented. Related incoming message URCs list: +CMTI, +CMT, +CDS and +CBM.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 22 / 136
LTE Standard Module Series
Parameter
Presented
This command specifies the RI (ring indicator) behavior when other URCs are presented.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 23 / 136
LTE Standard Module Series
Parameter
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 24 / 136
LTE Standard Module Series
Example
AT+QCFG="risignaltype"
+QCFG: "risignaltype","respective"
OK
AT+QCFG="risignaltype","physical"
OK
AT+QCFG="risignaltype"
+QCFG: "risignaltype","physical"
OK
This command delays the output of URC indication until ring indicator pulse ends.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 25 / 136
LTE Standard Module Series
Parameter
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 26 / 136
LTE Standard Module Series
Example
AT+QCFG="urc/cache"
+QCFG: "urc/cache",0 //Disable URC cache.
OK
AT+QCFG="urc/cache",1 //Enable URC cache.
OK
AT+QCFG="urc/cache"
+QCFG: "urc/cache",1
OK
//Make a call and send two messages to the module.
AT+QCFG="urc/cache",0 //Disable URC cache.
OK
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 27 / 136
LTE Standard Module Series
1 Disable
Example
AT+QCFG="urc/poweron"
+QCFG: "urc/poweron",0 //Query the current configuration of URC output.
OK
AT+CFUN=0
OK
AT+CFUN=1
OK
+CPIN: READY
+QUSIM: 1
+QIND: PB DONE
AT+QCFG="urc/poweron",1 //Disable URC output.
OK
AT+CFUN=0
OK
AT+CFUN=1
OK
//No URC output.
AT+QCFG="urc/poweron"
+QCFG: "urc/poweron",1
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 28 / 136
LTE Standard Module Series
LTE/WCDMA
OK
Characteristics /
Parameter
Example
OK
AT+QCFG="divctl","lte",1 //Open LTE PRX, and close DRX.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 29 / 136
LTE Standard Module Series
This command enables/disables the services in Linux, such as the web services.
OK
Parameter
Example
AT+QCFG="bootup"
+QCFG: "bootup",<sfe,wlan-services,web-services>
OK
AT+QCFG="bootup",web-services,0
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 30 / 136
LTE Standard Module Series
OK
Parameter
<on_off> Integer type. Enable/Disable waking up the module through the RI pin when receiving
data after PPP establishment.
0 Disable
1 Enable
<RI_interval> Integer type. RI level jump interval. Unit: ms. Range: 500–50000. Default value: 1000.
NOTE
Under PPP, when the module is awakened from the sleep, the RI pin always changes from high level to
low level.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 31 / 136
LTE Standard Module Series
Strategy
This command configures temperature protection strategy to restrict the maximum transmission power of
the module.
OK
Parameter
<on_off> Integer type. Enable/disable the restriction for the maximum transmission power
when a specified sensor reaches the temperature threshold.
1 Disable
0 Enable
<sensor> Integer type. Sensor ID. Range: 0–7.
2 Modem temperature sensor
5 PA temperature senso
7 XO temperature sensors
<temp_threshold> Integer type. Temperature threshold. Range: -150~150. Unit: ºC. Default value:
105.
<duration> Integer type. Detect period. Range: 1000–360000. Unit: ms. Default value:
1000.
<trig_cnt> Integer type. Trigger counter. Range: 1–10000. Default value: 3.
<clr_cnt> Integer type. Clear counter. Range: 1–10000. Default value: 10.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 32 / 136
LTE Standard Module Series
This command configures the thermal threshold to trigger the UL/DL rate descending.
OK
Parameter
NOTE
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 33 / 136
LTE Standard Module Series
If the trigger threshold is higher than 115 degrees, the module enters limitation service state; If the
clearing threshold is lower than 100 degrees, the module exits from level 3.
OK
Parameter
This command configures the data bit, stop bit, parity bit of main UART.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 34 / 136
LTE Standard Module Series
OK
Parameter
Example
AT+QCFG="icf"
+QCFG: "icf",3,1,0 //Default UART configuration: 8 data bits per char, 1 stop bits, NO_PARITY.
OK
AT+QCFG="icf",2,1,1 //Configure main UART: 7 data bits per char, 1 stop bits, ODD_PARITY.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 35 / 136
LTE Standard Module Series
OK
Parameter
Example
AT+QCFG="thermal/limit_rates"
+QCFG: "thermal/limit_rates",0
OK
AT+QCFG="thermal/limit_rates",1
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 36 / 136
LTE Standard Module Series
This command enables/disables URC delay report and URC delay time. When this feature is enabled,
URC will be reported after the delay time.
OK
Parameter
Example
AT+QCFG="urcdelay"
+QCFG: "urcdelay",0,0 //URC delay is disabled by default.
OK
AT+QCFG="urcdelay",1,3000 //Enable URC delay feature and delay URC for 3 s.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 37 / 136
LTE Standard Module Series
LTE/WCDMA/GSM
This command sets the specific transmission power corresponding to the SAR power level for
LTE/WCDMA/GSM.
OK
OK
OK
Characteristics /
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 38 / 136
LTE Standard Module Series
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 39 / 136
LTE Standard Module Series
25 LTE B30
26 LTE B31
27 LTE B33
28 LTE B34
29 LTE B38
30 LTE B39
31 LTE B40
32 LTE B41
33 LTE B42
43 LTE B43
45 LTE B45
66 LTE B66
71 LTE B71
WCDMA:
35 WCDMA B1 WCDMA2100
36 WCDMA B2 WCDMA1900
37 WCDMA B4 WCDMA1700
38 WCDMA B5 WCDMA850
39 WCDMA B8 WCDMA900
40 WCDMA B9 WCDMA1700
41 WCDMA B11 WCDMA1500
NOTE
1. When <max_power> - <row_grads> × SARlevel(n) < 0, transmission power of the SARlevel(n) equals
that of SARlevel(n-1).
2. In LTE and WCDMA, by default, the transmission power of SARlevel(1) to SARlevel(8) corresponds to
23 dBm to 16 dBm respectively. <max_power> = 230 (23 dBm), <row_grads> = 10 (1 dBm).
3. In GSM, each SAR level is subdivided into 5 slots, and the power difference between each slot is
determined by <column_grads>. For example, when <column_grads> = 100, it means that the
power difference of the slot is 100/100 = 1 dBm.
The power difference between each SAR level is determined by <row_grads>. For example, when
<row_grads>=100, it means that the power difference of the SAR level is 100/100=1 dBm, that is,
the transmission power of SARlevel(1) to SARlevel(8) corresponds to 28 dBm to 12 dBm respectively. The
default values are: <max_power> = 2800 (28 dBm), <row_grads> = 100 (1 dBm).
<column_grads> = 100 (1 dBm).
Example
AT+QCFG="sarcfg" //Query the current setting.
+QCFG: "sarcfg",("lte_wcdma","gsm","lte","wcdma"),max_power,row_grads,column_grads[,ban
d]
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 40 / 136
LTE Standard Module Series
AT+QCFG="sarcfg","lte_wcdma"
+QCFG: "sarcfg","lte_wcdma",230,10,0
OK
AT+QCFG="sarcfg","lte",5
+QCFG: "sarcfg","lte",230,10,0
OK
AT+QCFG="sarcfg","lte_wcdma",230,10,0
OK
AT+QCFG="sarcfg","lte",230,10,0,5
OK
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 41 / 136
LTE Standard Module Series
Example
AT+QCFG="fast/poweroff" //Query the current setting.
+QCFG: "fast/poweroff",0
OK
AT+QCFG="fast/poweroff",1 //Enable fast power-off.
OK
AT+QCFG="fast/poweroff"
+QCFG: "fast/poweroff",1 //Fast power-off is enabled.
OK
This command configures data cache mode when the module is in sleep mode.
OK
Parameter
<dev> Integer type. The type of the device to be cached. (e.g. 5 = 1 + 4, indicates caching
the data that from UART1 and USB AT port when the module is in sleep mode.)
0 No device. Disable data cache
1 UART1
2 USB modem port (Not supported currently)
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 42 / 136
LTE Standard Module Series
NOTE
When all the following conditions are met, the module judges that the host is in the sleep
mode.
⚫ DTR condition: DTR sleep control is enabled with high level. If DTR sleep control is disabled,
this condition can be ignored.
⚫ USB condition: the status of USB is DISCONNECT or SUSPEND.
⚫ AT+QSCLK is configured to 1.
Example
AT+QCFG="sleep/datactrl",1,800,0 //Enable data caching when the module is in sleep mode.
The caching port is UART1. Timeout is 800 ms.
OK
AT+QCFG="sleep/datactrl"
+QCFG: "sleep/datactrl",0,300,1 //Query the current setting, which is disabled.
OK
RF Bands
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 43 / 136
LTE Standard Module Series
Parameter
Example
AT+QCFG="rf/tuner_cfg" //Query the current setting.
+QCFG: "rf/tuner_cfg",0,"1,2,3,4,8,25,39","1,2,4,8","8,3,2"
"rf/tuner_cfg",1,"5,18,19,20,26","5,6,19","5"
"rf/tuner_cfg",2,"12,13,28"
"rf/tuner_cfg",3,"7,38,40,41"
OK
//Set the LTE bands, i.e., pin 144 at high level and pin 143 at low level.
AT+QCFG="rf/tuner_cfg",2,"2,12,13, 25,28","5, 8"
OK
AT+QCFG="rf/tuner_cfg" //Query the current setting.
+QCFG: "rf/tuner_cfg", 0,"1, 3, 4, 8, 39","1, 2","8, 3, 2"
"rf/tuner_cfg",1,"5,18,19,20,26","5,6,19","5"
"rf/tuner_cfg",2,"2,12,13, 25,28","5,8"
"rf/tuner_cfg",3,"7,38,40,41"
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 44 / 136
LTE Standard Module Series
OK
Parameter
<n> Integer type. Whether to discard the MMS.
0 Save the MMS
1 Discard the received MMS
Example
AT+QCFG="mms_rec_control",1 //Discard the received MMS.
OK
AT+QCFG="mms_rec_control" //Query the current setting.
+QCFG: "mms_rec_control",1
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 45 / 136
LTE Standard Module Series
4 Audio Commands
OK
Parameter
Example
AT+QCFG="tone/incoming" //Ring tone is disabled.
+QCFG: "tone/incoming",0
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 46 / 136
LTE Standard Module Series
OK
AT+QCFG="tone/incoming",1 //Enable the ring tone.
OK
AT+QCFG="tone/incoming" //Ring tone is enabled.
+QCFG: "tone/incoming",1
OK
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 47 / 136
LTE Standard Module Series
NOTE
The output frequency depends on <clock> of AT+QDAI. If enabled, PCM_CLK will be able to output
square wave, and the frequency is 2048 KHz; the PCM_SYNC will be able to output pulse shape, and
the frequency is 8 KHz. See document [1] for the details of the command.
The command enables/disables the PSM (power saving mode) for ALC5616 Codec.
OK
Parameter
NOTE
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 48 / 136
LTE Standard Module Series
Example
AT+QCFG="codec/powsave",1 //Enable the PSM for ALC5616 Codec.
OK
AT+QCFG="codec/powsave" //Query the current power saving mode.
+QCFG: "codec/powsave",1
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 49 / 136
LTE Standard Module Series
5 Network Commands
This command specifies the mode to attach GPRS when UE is powered on. This configuration is valid
only after the module is restarted.
OK
Parameter
<attach_mode> Integer type. The mode to attach GRPS when UE is powered on.
0 Attach manually
1 Attach automatically
<err> Error code. See Chapter 13.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 50 / 136
LTE Standard Module Series
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 51 / 136
LTE Standard Module Series
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 52 / 136
LTE Standard Module Series
OK
Parameter
<bandval> A hexadecimal value that specifies the GSM and WCDMA frequency bands.
e.g. 00000013 = 00000001 (GSM 900) + 00000002 (GSM 1800) + 00000010
(WCDMA 2100)
00000000 No change
00000001 GSM 900 MHz
00000002 GSM 1800 MHz
00000004 GSM 850 MHz
00000008 GSM 1900 MHz
00000010 WCDMA 2100 MHz
00000020 WCDMA 1900 MHz
00000040 WCDMA 850 MHz
00000080 WCDMA 900 MHz
00000100 WCDMA 800 MHz
00000200 WCDMA 1700 MHz
0000FFFF Any frequency band
<ltebandval> A hexadecimal value that specifies the LTE frequency band. If it is set to 0 or
0x40000000, it means not to change LTE frequency band.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 53 / 136
LTE Standard Module Series
(e.g.: 0x15 = 0x1 (LTE B1) + 0x4 (LTE B3) + 0x10 (LTE B5)
0x1 (CM_BAND_PREF_LTE_EUTRAN_BAND1) LTE B1
0x4 (CM_BAND_PREF_LTE_EUTRAN_BAND3) LTE B3
0x10 (CM_BAND_PREF_LTE_EUTRAN_BAND5) LTE B5
0x40 (CM_BAND_PREF_LTE_EUTRAN_BAND7) LTE B7
0x80 (CM_BAND_PREF_LTE_EUTRAN_BAND8) LTE B8
0x80000(CM_BAND_PREF_LTE_EUTRAN_BAND20) LTE B20
0x7FFFFFFFFFFFFFFF(CM_BAND_PREF_ANY) Any frequency band
<tdsbandval> A hexadecimal value that specifies the TD-SCDMA frequency band. If it is set to 0 or
0x40000000, it means not to change TD-SCDMA frequency band.
e.g.: 0x21 = 0x1 (TDS BCA) + 0x20 (TDS BCF)
0x1 (CM_BAND_PREF_TDS_BANDA) TDS BCA
0x2 (CM_BAND_PREF_TDS_BANDB) TDS BCB
0x4 (CM_BAND_PREF_TDS_BANDC) TDS BCC
0x8 (CM_BAND_PREF_TDS_BANDD) TDS BCD
0x10 (CM_BAND_PREF_TDS_BANDE) TDS BCE
0x20 (CM_BAND_PREF_TDS_BANDF) TDS BCF
<effect> Integer type. When to take effect.
0 Take effect after UE is rebooted
1 Take effect immediately
<err> Error code. See Chapter 13.
Example
AT+QCFG="band" //Read the factory band settings and save it on host side.
+QCFG: "band",0xbff,0x1e00b0e18df,0x0
OK
AT+QCFG="band",0,1,0 //Fix module to LTE band 1, GSM/WCDMA band is not changed.
OK
AT+QCFG="band"
+QCFG: "band",0xbff,0x1,0x0
OK
AT+QCFG="band",bff,00b0e18df,0 //Restore the band back in terms of factory band settings saved
at beginning.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 54 / 136
LTE Standard Module Series
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 55 / 136
LTE Standard Module Series
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 56 / 136
LTE Standard Module Series
This command specifies the UE SGSN release version. This configuration is valid only after the module is
restarted.
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 57 / 136
LTE Standard Module Series
setting:
+QCFG: "hsdpacat",<HSDPA_cat>
OK
Parameter
This command specifies the HSUPA category. This configuration is valid only after the module is
restarted.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 58 / 136
LTE Standard Module Series
OK
Parameter
APN
This command allows/refuses establishing multi-PDN with the same APN profile.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 59 / 136
LTE Standard Module Series
Parameter
This command configures whether to disable backoff LTE when Voice/SMS is not available because of
the unavailable SRLTE.
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 60 / 136
LTE Standard Module Series
W_DISABLE# Pin
This command enters or exits airplane mode via the W_DISABLE# pin and queries the current setting. If
the airplane mode is enabled, the module enters the airplane mode when the pin is pulled down and
enters normal mode when the pin is pulled up. Also, URC +QIND: airplanestatus,<status> is outputted
before module entering or exiting the airplane mode.
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 61 / 136
LTE Standard Module Series
0 Exit
1 Enter
NOTE
See the corresponding hardware design of each module for more information about W_DISABLE# pin.
Example
AT+QCFG="airplanecontrol" //Query the current setting.
+QCFG: "airplanecontrol",0,0
OK
//Pull down W_DISABLE# pin.
AT+QCFG="airplanecontrol",1 //Enable airplane mode.
OK
+QIND: airplanestatus,1 //Enter airplane mode because W_DISABLE# pin is pulled down.
OK
OK
//Reboot the modem.
AT+QCFG="airplanecontrol" //Query the current setting. This setting still takes effect after reboot.
+QCFG: "ariplanecontrol",1,0
OK
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 62 / 136
LTE Standard Module Series
OK
Parameter
Example
AT+QCFG="epcflag" //Query the value of EPC capability.
+QCFG: "epcflag",1
OK
AT+QCFG="epcflag",0 //Set value of EPC capability to 0.
OK
AT+QCFG="epcflag"
+QCFG: "epcflag",0 //Query the value of EPC capability.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 63 / 136
LTE Standard Module Series
OK
Parameter
<band1> Integer type. Band ID of the first preferred LTE band. Range: 1–43.
<band2> Integer type. Band ID of the second preferred LTE band. Range: 1–43.
<band3> Integer type. Band ID of the third preferred LTE band. Range: 1–43.
<err> Error code. See Chapter 13.
Example
AT+QCFG="lte/bandprior",7,5,41 //Set searching order priority of LTE band.
OK
//Reboot the module.
AT+QCFG="lte/bandprior" //Read searching priority of LTE band.
+QCFG: "lte/bandprior",07,05,41
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 64 / 136
LTE Standard Module Series
OK
Parameter
<enable> Integer type. Configure whether to add the current PLMN into FPLMN event if it is in the
EHPLMN.
0 Do not add
1 Add
Example
AT+QCFG="plmn/addinfbdn" //Query the current value.
+QCFG: "plmn/addinfbdn",0
OK
AT+QCFG="plmn/addinfbdn",1 //Add the current PLMN to FPLMN event.
OK
AT+QCFG="plmn/addinfbdn" //Query the current value.
+QCFG: "plmn/addinfbdn",1
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 65 / 136
LTE Standard Module Series
under AT+COPS=1
OK
Parameter
<value> Integer type. Enable/disable the switch under automatic mode in AT+COPS=1 (See
document [1] for details about the command).
1 Disable
0 Enable
Interval
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 66 / 136
LTE Standard Module Series
Parameter
<timer> Integer type. HLPMN search interval. Range: 1–71582. Unit: minute.
NOTE
The HPLMN search timer is started if the PLMN registered by the UE is different from HPLMN and
EHPLMN.
OK
Maximum Response Time 300 ms
Characteristics /
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 67 / 136
LTE Standard Module Series
This command controls whether to report the URC of the cause (ESM/EMM/CP) when the network rejects
the module.
OK
Characteristics /
Parameter
<bit_mask_value> Hex format. Indicate the value of the setting. Range: 0–31.
0 Do not report network rejection code
Bit 0: 0x01 namely value 1. Support ESM cause report.
Bit 1: 0x02 namely value 2. Support EMM cause report.
Bit 2: 0x04 namely value 4. Support CP cause report.
Bit 3: 0x08 namely value 8. Support GMM cause report.
Bit 4: 0x10 namely value 16. Support MM cause report.
Certain reports above-mentioned can be freely combined.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 68 / 136
LTE Standard Module Series
OK
Parameter
Example
AT+QCFG="dhcppktfltr" //Query the current value.
+QCFG: "dhcppktfltr",0
OK
AT+QCFG="dhcppktfltr",1 //Ship the UDP DHCP package to the external network after the
module gets IP address.
OK
AT+QCFG="dhcppktfltr" //Current value is changed to 1.
+QCFG: "dhcppktfltr",1
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 69 / 136
LTE Standard Module Series
OK
Parameter
<timer1> Integer type. In OOS state, search the network 10 times with <timer1> as a cycle first.
Default value: 30. Unit: second.
<timer2> Integer type. If the network cannot be found within <timer1>, search the network 10
times with <timer2> as a cycle. Default value: 45. Unit: second.
<timer2> Integer type. If the network cannot be found within <timer2>, keep searching the
network with <timer3> as a cycle. Default value: 60. Unit: second.
Example
AT+QCFG="oostimer",5,5,5
OK
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 70 / 136
LTE Standard Module Series
ERROR
Parameter
<block_mode> Integer type. Configure whether all the APNs blocked by the network is allowed to be
written to NV.
0 Allowed
1 Not allowed
<NV_mode> Integer type.
0 Query all APNs that are blocked
1 Delete all APNs that are blocked
Example
OK
AT+QCFG="apn/blocked",0,1 //All the APNs blocked by the network are allowed to be written to
NV, and delete them.
OK
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 71 / 136
LTE Standard Module Series
ERROR
Parameter
Example
OK
AT+QCFG="redir/3gtolte",1 //Allow the module to redirect LTE from 3G.
OK
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 72 / 136
LTE Standard Module Series
Parameter
<thereshold> Integer type. The delta threshold of RSSI change. Range: 0–20. Default value: 5.
Unit: dBm.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 73 / 136
LTE Standard Module Series
Parameter
Connection
This command dynamically controls the RRC connection under WCDMA network.
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 74 / 136
LTE Standard Module Series
3 If the network support T323 timer, query if there is data in the period of T323 timer; If
not, disconnect RRC automatically
<duration> Integer type. Only valid when <op> is 1. Range: 1–65535. Default value: 5. Unit: second.
OK
Parameter
Example
AT+QCFG="airplane" //Query the current setting.
+QCFG: "airplane",0
OK
AT+QCFG="airplane",1 //Force to enter airplane mode.
OK
//Reboot the modem.
AT+QCFG="airplane" //It is forced to enter airplane mode.
+QCFG: "ariplane",1
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 75 / 136
LTE Standard Module Series
OK
Control
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 76 / 136
LTE Standard Module Series
NOTE
The cause of the random-access failure reported by the RRC to the NAS layer is fixed into LTE RRC
CONN_EST_FAILURE_CONN_REJECT when the barring optimization is enabled with the remaining
time. Remaining time = <wait_time> - elapsed time from the first RRC connection failure, unless it is
configured with <conn_est_latency> by the OEM.
OK
Parameter
<mode> Integer type. Network searching mode. Range: 0–63. Default value: 63.
NOTE
When Bit 0 to Bit 5 are all set to 1, it corresponds to <scan_mode>=0 in AT+QCFG="nwscanmode".
Bit 0: CDMA2000 1X
Bit 1: CDMA2000 HRPD (1xEVDO)
Bit 2: GSM
Bit 3: WCDMA
Bit 4: LTE
Bit 5: TD-SCDMA
For example, to configure network searching mode to LTE only, it indicates to set <mode> to 16,
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 77 / 136
LTE Standard Module Series
Example
AT+QCFG="nwscanmodeex",28 //In hex, 28 is 0001 1100. Configure network searching mode to
GSM, WCDMA, LTE.
OK
AT+QCFG="nwscanmodeex" //Query the current setting.
+QCFG: "nwscanmode",28
OK
The command specifies an operator for the module to camp on a cell with limited service when no (U)SIM
card is inserted.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 78 / 136
LTE Standard Module Series
Parameter
<enable> Integer type. Enable/disable the feature of specifying an operator for the module to camp
on a cell with limit service when no (U)SIM card is inserted.
0 Disable
1 Enable
<plmn> String type. Operator code. For example, "46000" indicates China Mobile.
Example
AT+QCFG="assign_plmn_in_limit_search",1,"46000" //Specify China Mobile.
OK
AT+QCFG="assign_plmn_in_limit_search" //Query current setting.
+QCFG: "assign_plmn_in_limit_search",1,46000
OK
AT+QCFG="assign_plmn_in_limit_search",0 //Disable the feature of specifying an operator
for the module to camp on a cell with limit
service when no (U)SIM card is inserted.
OK
Rule
The command configures the gateway address generation rule when the module is used as a network
card.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 79 / 136
LTE Standard Module Series
Parameter
Example
AT+QCFG="iprulectl"
+QCFG: "iprulectl",0
OK
AT+QCFG="iprulectl",1
OK
Network Searching
This command configures whether to use RPLMN and RPLMNACT when searching network. If RPLMN is
used when searching network, RPLMNACT must be used too.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 80 / 136
LTE Standard Module Series
Parameter
NOTE
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 81 / 136
LTE Standard Module Series
Parameter
Example
AT+QCFG="lte/preferfre",1,1,6,101,2452,460,03 //Delete the preferred frequency with index 1.
OK
AT+QCFG="lte/preferfre"
OK
AT+COPS
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 82 / 136
LTE Standard Module Series
OK
Parameter
Examples
AT+QCFG="cops_control",1 //Enable the configurations of AT+COPS.
OK
AT+QCFG="cops_control"
+QCFG: "cops_control",1
OK
This command enables or disables network rejection cause mapping. When using roaming card, GPRS
NOT ALLOWED is returned under the roaming network. After receiving the rejection code, the module
marks the roaming card as PS INVALID, and stops searching PLMN. This command controls whether to
modify REJECT CAUSE 7 to REJECT CAUSE 14 to make the module search PLMN continuously after
receiving the rejection code.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 83 / 136
LTE Standard Module Series
OK
Parameter
Example
AT+QCFG="map_rej_cause7_to_cause14" //Query the current setting.
+QCFG: "map_rej_cause7_to_cause14",0
OK
AT+QCFG="map_rej_cause7_to_cause14",1 //Enable network rejection cause mapping.
OK
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 84 / 136
LTE Standard Module Series
Or
ERROR
Maximum Response Time 300 ms
This command takes effect after reconnecting the network card.
Characteristic
The configuration is saved automatically.
Parameter
Example
AT+QCFG="netmaskset" //Query whether customized netmask is enabled.
+QCFG: "netmaskset",0 //Customized netmask is disabled.
OK
AT+QCFG="netmaskset",1, "255.255.255.0" //Enable customized netmask and set netmask.
OK
AT+QCFG="netmaskset"
+QCFG: "netmaskset",1
OK
AT+QCFG="netmaskset",0 //Disable customized netmask and set netmask.
OK
Packet
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 85 / 136
LTE Standard Module Series
OK
Parameter
This command enables or disables restarting RI pulse timer when a new URC is reported but the last
URC RI pulse is finished.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 86 / 136
LTE Standard Module Series
Parameter
<enable> Integer type. Enable/disable restarting RI pulse timer when a new URC is reported
but the last URC RI pulse is finished.
0 Disable
1 Enable
Example
AT+QCFG="urc/ri/restart" //Query the current setting.
+QCFG: "urc/ri/restart",1
OK
AT+QCFG="urc/ri/restart",1 //Enable restarting RI pulse timer when a new URC is reported but
the last URC RI pulse is finished.
OK
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 87 / 136
LTE Standard Module Series
Parameter
<enable> Integer type. Enable/disable Ping detection function. The value occupies one byte.
0 Disable
1 Enable
<mode> Integer type. Reporting mode if Ping packet is detected. The value occupies one byte.
0 Report URC ping/ri
1 Pull RI pin without reporting URC
Example
AT+QCFG="ping/ri" //Query the current setting.
+QCFG: "ping/ri",0,0
OK
AT+QCFG="ping/ri",1,0 //Enable Ping detection and set reporting URC if Ping packet is detected.
OK
AT+QCFG="ping/ri"
+QCFG: "ping/ri",1,0
OK
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 88 / 136
LTE Standard Module Series
Parameter
<enable> Integer type. Enable/disable configuring default DNS for PDP context.
0 Disable
1 Enable
<dns1> String type. Customized primary DNS. For example: "8.8.8.8".
<dns2> String type. Customized secondary DNS. For example: "114.114.114.114".
Example
AT+QCFG="defaultdns"
+QCFG: "defaultdns",0,"0.0.0.0","0.0.0.0"
OK
AT+QCFG="defaultdns",1
OK
AT+QCFG="defaultdns"
+QCFG: "defaultdns",1,"8.8.8.8","0.0.0.0"
OK
AT+QCFG="defaultdns",1, "114.114.114.114"
OK
AT+QCFG="defaultdns"
+QCFG: "defaultdns",1,"114.114.114.114","8.8.8.8"
OK
AT+QCFG="defaultdns",1,"8.8.4.4","114.114.114.114"
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 89 / 136
LTE Standard Module Series
AT+QCFG="defaultdns"
+QCFG: "defaultdns",1,"8.8.4.4","114.114.114.114"
OK
AT+QCFG="defaultdns",0
OK
OK
Parameter
<enable> Integer type. Enable/disable the wake-up mechanism. The value occupies one byte.
0 Disable
1 Enable
<mask> Integer type. Wake-up trigger mask. The value occupies one byte. If the corresponding bit
is set to 1, the module is woken up when SCLK/DTR/USB receives data.
Bit0 1 indicates detecting SLCK. If it is TRUE, wakes up the module
0 indicates ignoring SLCK
Bit1 1 indicates detecting DTR. If it is TRUE, wakes up the module
0 indicates ignoring DTR
Bit2 1 indicates detecting USB. If it is TRUE, wakes up the module
0 indicates ignoring USB
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 90 / 136
LTE Standard Module Series
Example
AT+QCFG="lpm/dataind"
+QCFG: "lpm/dataind",0,0
OK
AT+QCFG="lpm/dataind",1,0
OK
AT+QCFG="lpm/dataind"
+QCFG: "lpm/dataind",1,0
OK
Roaming State
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 91 / 136
LTE Standard Module Series
Parameter
<roammode> Integer type. Each bit corresponds to a feature. Set the bit to 1 indicates disabling the
corresponding function. Range: 0–3. Default value: 0.
Bit 1 Disable dial-up internet access function when UE is in roaming state
Bit 2 Disable voice call function when UE is in roaming state
Example
AT+QCFG="roamserviceex",1 //Disable dial-up internet access when UE is in roaming mode.
OK
AT+QCFG="roamserviceex"
+QCFG: "roamserviceex",1
OK
AT+QCFG="roamserviceex",2 //Disable voice call when UE is in roaming mode.
OK
AT+QCFG="roamserviceex"
+QCFG: "roamserviceex",2
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 92 / 136
LTE Standard Module Series
6 PS Commands
The command specifies the maximum re-transmission times and the interval of NTP.
AT+QCFG="ntp" Specify the Maximum Re-transmission Counts and the Interval for
NTP
Write Command Response
AT+QCFG="ntp"[,<cnt>,<interval>] If the optional parameters are omitted, query the current
setting:
+QCFG: "ntp",<cnt>,<interval>
OK
Parameter
<cnt> Integer type. NTP re-transmission counts. Range: 1–10. Default value: 3.
<interval> Integer type. NTP re-transmissions interval. Range: 5–60. Default value: 15.
Example
AT+QCFG="ntp" //Query the current setting.
+QCFG: "ntp",3,15
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 93 / 136
LTE Standard Module Series
OK
AT+QCFG="ntp",5,20 //Set NTP re-transmission counts and interval.
OK
AT+QCFG="ntp"
+QCFG: "ntp",5,20 //Query the current setting.
OK
OK
Parameter
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 94 / 136
LTE Standard Module Series
Example
AT+QCFG="TCP/SendMode"
+QCFG: "TCP/SendMode",0
OK
AT+QCFG="TCP/SendMode",1
OK
Size
This command configures the available size of TCP window when sending/receiving data.
OK
Parameter
<buffer> Integer type. Set the receiving and sending buffer sizes.
0 Receiving buffer size
1 Sending buffer size
<window_size> Integer type. TCP window available size. Range: 16–100. Default value: 16.
<err> Error code. See Chapter 13.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 95 / 136
LTE Standard Module Series
7 CS Commands
This command configures the bandwidth, rate, and byte alignment of the voice codec AMR in different
network states. Parameter can be multi-selected (calculate incoming parameters with &).
OK
Parameter
<preference> Integer type. Configure AMR codec in ORed. e.g. 7 = 1 + 2 + 4 means GSM AMR NB
& GSM AMR WB & GSM HR AMR.
0 No AMR configuration
1 GSM AMR NB
2 GSM AMR WB
4 GSM HR AMR
8 WCDMA AMR WB
16 IMS AMR WB (Mode Set)
32 IMS AMR WB (Octet aligned mode)
63 All above six AMR configurations
64 Reserved
128 Reserved
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 96 / 136
LTE Standard Module Series
Example
AT+QCFG="AMRCODEC"
+QCFG: "amrcodec",5
OK
AT+QCFG="amrcodec",63
OK
AT+QCFG="amrcodec"
+QCFG: "amrcodec",63
OK
NOTE
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 97 / 136
LTE Standard Module Series
Parameter
<preference> Integer type. Configure GSM EFR/HR/FR codec in ORed. e.g. 7 = 1 + 2 + 4, means
GSM EFR/HR/FR are selected. Default value: 7.
0 No codec configuration
1 GSM FR
2 GSM HR
4 GSM EFR
Example
AT+QCFG="frhrcodec"
+QCFG: "frhrcodec",7
OK
AT+QCFG="frhrcodec",3
OK
AT+QCFG="frhrcodec"
+QCFG: "frhrcodec",3
OK
Process
This command configures PDP authentication type in BIP data transmission process.
OK
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 98 / 136
LTE Standard Module Series
Parameter
NOTE
1. PDP in BIP process generally does not require authentication.
2. Currently this command is only supported for IDEMIA operator.
Example
AT+QCFG="bip/auth"
+QCFG: "bip/auth",0
OK
AT+QCFG="bip/auth",1 //Set PDP authentication type as PAP in the BIP process.
OK
AT+QCFG="bip/auth"
+QCFG: "bip/auth",1
OK
This command lists the message map with <msgtype> in the storage <mem1> specified by AT+CPMS.
See document [1] for details about the command.
EC2x&EG2x&EG9x&EM05_Series_QCFG_AT_Commands_Manual 99 / 136
LTE Standard Module Series
Characteristic /
Parameter
Example
AT+CPMS?
+CPMS: 24,40,24,40,24,40
OK
AT+QCFG="sms/listmsgmap","REC UNREAD" //List the received unread message map.
+QCFG: "sms/listmsgmap","REC UNREAD","000F5B0000"
OK
OK
Parameter
NOTE
1. UT is a sub function of IMS function. UT is running over IMS, and IMS is running over LTE.
2. If IMS/UT function is disabled, <ICS> MUST be 0 and supplementary service (eg: CCFC/CCWA)
over LTE is unavailable and use CSFB instead.
Example
AT+QCFG="ims/ut"
+QCFG: "ims/ut",1,1,0 //UT is enabled, Supplementary service over LTE is available, and USSD over
LTE is unavailable.
OK
AT+QCFG="ims/ut",0 //Disable IMS/UT function and supplementary service uses CSFB.
OK
AT+QCFG="ims/ut"
+QCFG: "ims/ut",0,0,0
OK
OK
Parameter
Example
AT+QCFG="ims"
+QCFG: "ims",0,0
OK
AT+QCFG="ims",1
OK
AT+QCFG="ims"
+QCFG: "ims",1,1
OK
OK
Parameter
<n> Integer type. SMS format in LTE mode. For EC21-V and EC25-V modules, the default
value is 0; for other modules, the default value is 1.
0 CDMA format
1 GSM format
<err> Error code. See Chapter 13.
Example
AT+CMGF=1
OK
AT+QCFG="ltesms/format",0 //Set CDMA format for SMS in LTE mode.
OK
AT+CMGS="15021012496" //Send CDMA format SMS in LTE mode.
> This is a test from Quectel
+CMGS: 24
OK
AT+QCFG="ltesms/format",1 //Set GSM format for SMS in LTE mode.
OK
AT+CMGS="15021012496" //Send GSM format SMS in LTE mode.
> This is a test from Quectel
+CMGS: 25
OK
OK
Parameter
Example
AT+QCFG="volte_disable"
+QCFG: "volte_disable",0
OK
AT+QCFG="volte_disable",1 //VoLTE is disabled.
OK
OK
Parameter
Example
AT+QCFG="sms/omadm" //Query the current setting.
+QCFG: "sms/omadm",0
OK
AT+QCFG="sms/omadm",1 //Set the value of OMADM SMS to 1.
OK
AT+QCFG="sms/omadm"
+QCFG: "sms/omadm",0
OK
Registration
OK
Parameter
Example
AT+QCFG="imsreg/iptype"
+QCFG: "imsreg/iptype",0 //The current configuration is IPv4.
OK
AT+QCFG="imsreg/iptype",1 //Configure the IP type when IMS registering to IPv6.
OK
AT+QCFG="imsreg/iptype"
+QCFG: "imsreg/iptype",1
OK
OK
Parameter
<recovery_count> Integer type. The number of times to resend an APDU immediately after
sending an APDU to receive an error response.
<auto_detect_period> Integer type. Automatic detection cycle. Unit: second.
<auto_detect_count> Integer type. The number of times of automatic detection.
<err> Error code. See Chapter 13.
NOTE
This command is a software hot-plug implementation, which corresponds to the hardware hot-plug
implementation through AT+QSIMDET.
Example
AT+QCFG="sim/recovery"
+QCFG: "sim/recovery",3,0,0 //The feature of software hot-plug is disabled.
OK
This command enables/disables re-attach request after (U)SIM card attachment failure.
OK
Parameter
NOTE
Example
AT+QCFG="siminvalirecovery"
+QCFG: "siminvalirecovery",208,0,72
OK
Roaming Mode
OK
Parameter
<voicecall_mode> Integer type. Enable/disable the feature of Voice Call when UE is in the roaming
mode.
0 Enable
1 Disable
When the module registers on the MCC/MNC (311/480) network, and initiates a call to peer, but the peer
hangs up the call caused by on call, busy tone will appear. This command controls busy tone playback.
OK
Or
ERROR
Parameter
NOTE
1. Busy tone control is enabled by default if the module registers on the MCC/MNC (311/480)
network. Disable this function through AT+QCFG="voice_busytone",0.
2. If this function has not been configured by the module through Write Command before, ERROR
will be returned by Read Command.
Example
AT+QCFG=? //Return the supported parameter range.
…
+QCFG: "voice_busytone",(0,1)
…
OK
AT+QCFG="voice_busytone" //Query the current setting.
+QCFG: "voice_busytone",0
OK
AT+QCFG="voice_busytone",1 //Enable busy tone playback.
OK
Feature
OK
Parameter
Example
AT+QCFG=?
…
+QCFG: ''call_control'',(0,1),(0,1)
…
OK
AT+QCFG="call_control"
+QCFG: ''call_control'',0,0
OK
ATH
OK
AT+QCFG="call_control",1,0
OK
8 PPP Command
Sending
This command enables/disables the PPP TERM frame sending when PPP is hung up by module itself.
OK
Parameter
<flag> Integer type. Enable/disable TERM frame sending when hang up PPP by module itself.
0 Disable
1 Enable
<err> Error code. See Chapter 13.
NOTE
If AT+QPPPDROP hangs up PPP with TERM frame, module will send TERM frame to MCU no matter
whether <flag> is 0 or 1.
Example
AT+QCFG="ppp/termframe",1
OK
AT+QCFG="ppp/termframe"
+QCFG: "ppp/termframe",1
OK
9 USB Commands
OK
Parameter
The command configures VID, PID and porting settings for the module.
OK
Parameter
<vid> Integer type. Vendor ID of USB device. The maximum value is 65535.
<pid> Integer type. Product ID of USB device. The maximum value is 65535.
<diag> Integer type. Status of USB DIAG port.
0 Disable
1 Enable
<nmea> Integer type. Status of USB NMEA port.
0 Disable
1 Enable
<at_port> Integer type. Status of USB AT port.
0 Disable
1 Enable
<modem> Integer type. Status of USB Modem port.
0 Disable
1 Enable
<rmnet> Integer type. Status of USB net device.
0 Disable
1 Enable
<adb> Integer type. Status of USB ADB device.
0 Disable
1 Enable
<uac> Integer type. UAC status.
0 Disable
1 Enable
Example
AT+QCFG="usbcfg",0x2C7C,0x0125,1,1,1,1,1,0,0
OK
AT+QCFG="usbcfg"
+QCFG: "usbcfg",0x2C7C,0x125,1,1,1,1,1,0,0
OK
The command controls whether USB device loading needs to wait for modem to start.
OK
Parameter
This command queries USB mode or enables/disables the module to automatically report URCs about
bus mode change.
OK
Parameter
<n> Integer type. Enable/disable to automatically report URCs about USB mode change.
0 Disable
1 Enable
<state> String type. Indicate the USB mode.
"SUSPEND"
"CONFIGURED"
"DISCONNECTED"
"CONNECTED"
"UNKNOWN"
NOTE
Example
AT+QCFG="usbmode"
+QCFG: "usbmode",0,"SUSPEND"
OK
AT+QCFG="usbmode",1 //Set <n> to 1 for report URCs about bus mode change.
OK
+QCFG: "usbmode",1,"CONFIGURED" //The URC about USB mode "CONFIGURED".
OK
Parameter
Example
AT+QCFG=? //Query the range of this command.
….
+QCFG: "spi/set",(0-2)
OK
AT+QCFG="spi/set",1 //Initialized pins as uart6.
OK
AT+QCFG="spi/set" //Query the current setting.
+QCFG: "spi/set",1
OK
Enumeration Failure
OK
Parameter
<enable> Integer type. Indicate whether to enable optimizing USB enumeration failure.
0 Disable
1 Enable
Example
AT+QCFG=? //Test command.
…
+QCFG: "usbenum/seoctl",(0,1)
…
OK
AT+QCFG="usbenum/seoctl",1 //Enable optimizing USB enumeration failure.
OK
AT+QCFG="usbenum/seoctl" //Query the current setting.
+QCFG: "usbenum/seoctl",1
OK
10 CDMA Commands
10.1. AT+QCFG="cdma/pppauth" Enable/Disable PPP Authentication
OK
Parameter
<n> Integer type. Whether to enable the PPP authentication optimization under CDMA.
0 Disable
1 Enable
<err> Error code. See Chapter 13.
Example
AT+QCFG="cdma/pppauth"
+QCFG: "cdma/pppauth",0 //The PPP authentication optimization is disabled by default.
OK
AT+QCFG="cdma/pppauth",1 //Enable the PPP authentication optimization under CDMA.
OK
AT+QCFG="cdma/pppauth"
+QCFG: "cdma/pppauth",1
OK
This command configures the CDMA network mode which the module expects to use.
OK
Parameter
6 HDRSCP_REVA_PROTOCOLS_WITH_EHRPD_AND_IRAT
7 HDRSCP_REVB_PROTOCOLS_WITH_EHRPD_AND_IRAT
NOTE
Example
OK
AT+QCFG="ehrpd",2 //Configure the network mode.
OK
PDU
OK
Parameter
Example
AT+CMGF=0
OK
AT+CNMI=2,2 //Show CDMA SMS content directly and not store it.
OK
AT+QCFG="cdmasms/cmtformat",0 //Set CDMA format.
OK
11 SMS Commands
11.1. AT+QCFG="urcport/sms" Set URC Output Port of Short Message
OK
Parameter
NOTE
Use AT+QDIAGPORT=1 to configure debug UART port as AT port and restart module. See
document [1] for details about the command.
Example
AT+QDIAGPORT=1 //Configure debug UART port as AT port.
OK
//Restart module
OK
AT+QCFG="urcport/sms",1 //Set URC output port of short message as "uart2".
OK
AT+QCFG="urcport/sms"
+QCFG: "urcport/sms",1 //Query URC output port of short message as "uart2".
OK
OK
Parameter
<interval> Integer type. SMS retry interval. Range: 0–255. Unit: second.
<period> Integer type. SMS retry period. Range: 0–255. Unit: second.
NOTE
Example
AT+QCFG=?
…
+QCFG: "sms_retry",(0-255),(0-255)
…
OK
AT+QCFG=''sms_retry''
+QCFG: "sms_retry",45,180
OK
AT+QCFG=''sms_retry'',5
OK
AT+QCFG=''sms_retry''
+QCFG: "sms_retry",5,180
OK
AT+QCFG=''sms_retry'',5,30
OK
AT+QCFG=''sms_retry''
+QCFG: "sms_retry",5,30
OK
SMS
OK
Parameter
NOTE
1. After disabling sending SMS, AT+CMGS/AT+CMSS will return an error. See document [1] for
details about the two commands.
2. This command takes effect in both 3GPP and 3GPP2 messages.
Example
AT+QCFG="sms_control" //Query SMS control configuration.
+QCFG: "sms_control",1,1
OK
AT+QCFG="sms_control",0,1 //Disable submitting SMS.
OK
AT+CMGS="17301836745"
+CMS ERROR: 302 //The operation is not allowed.
AT+QCFG="sms_control",0,0 //Disable sending and receiving SMS.
OK
12 Appendix A References
Table 3: Related Document
Document Name
[1] Quectel_EC2x&EG9x&EG2x&EM05_Series_AT_Commands_Manual
Abbreviation Description
AP Application Processor
CS Circuit Switching
CP Control Plane
ME Mobile Equipment
MS Mobile Station
MO Mobile Originated
MT Mobile Terminated
PS Packet Switching
RX Receive
TA Terminal Adapter
UE User Equipment
VID Vendor ID
<err> values are mostly used by common message commands. The following table lists most of general
and GRPS related ERROR codes. For some GSM protocol failure cause described in GSM specifications,
the corresponding ERROR codes are not included.
0 Phone failure
1 No connection to phone
13 SIM failure
14 SIM busy
15 SIM wrong
16 Incorrect password
20 Memory full
21 Invalid index
22 Not found
23 Memory failure
30 No network service
31 Network timeout