quectel AT

legacy wiki page

CMD enquiry or notification Set enable feedback description CN
AT+CREG? 1 = registered ge registeration status //获得手机的注册状态
AT+CPIN?
AT+COPS?
ATD18576608994; //拨打电话; 用户将其中的数字换成自己要
AT+CBC
+EUSIM: 1 //识别到 SIM 卡
AT+ESLP=0 //禁止模块自动休眠
AT+CSQ +CSQ: 24,99 //查询手机信号强度

Basic Operations

Making a phone call AT process:

+EUSIM: 1  //SIM card detected
AT+ESLP=0  //Disable module automatic sleep
AT+CSQ  //Query mobile signal strength
AT+CREG?  //Get the registration status of the mobile phone
ATD13168091598  //Make a call; the user replaces the numbers with their desired
phone number to dial

SMS sending AT process:

+EUSIM: 1  //SIM card detected
AT+ESLP=0  //Disable module automatic sleep
AT+CSQ  //Query mobile signal strength
AT+CREG?  //Get the registration status of the mobile phone
AT+CMGF=1  //Set SMS format to TEXT mode; AT+CMGF=0 is PDU mode
AT+CMGS="13168091598"  //Set the SMS recipient number
“I love you!”  //Send SMS content
0x1A  //Send SMS end character

GPRS network access process:

+EUSIM: 1  //SIM card detected
AT+ESLP=0  //Disable module automatic sleep
AT+CSQ  //Query mobile signal strength
AT+CREG?  //Get the registration status of the mobile phone
AT+EGDCONT=0,"IP","CMNET"  //Set the mobile network. CMNET, China Mobile network; UNINET, China Unicom network
AT+ETCPIP=1,0  //Set the network connection type
AT+ETL=1,0,0,"122.228.19.57",29329  //Set the IP address and port number.
AT+ETLTS=0  //The connection returns socket id, and enters transparent transmission mode
“I love you!”  //Send content to the server
+++  //Send +++ to exit transparent transmission mode

AT+CPIN

//Enter PIN
AT+CPIN?
+CPIN: SIM PIN //Query PIN code is locked
OK
AT+CPIN=1234 //Enter PIN
OK
+CPIN: READY
AT+CPIN? //PIN has already been entered
+CPIN: READY
OK

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

13.3. AT+CBC Battery Charge

AT+CBC returns battery charge status and battery charge level of the MT.

2.22. AT+CFUN Set Phone Functionality

Parameter

  • 0 Minimum functionality
  • 1 Full functionality (Default)
  • 4 Disable the phone from both transmitting and receiving RF signals

  • 0 Do not reset the ME before setting it to power level. This is default when is not given.
  • 1 Reset the ME. The device is fully functional after the reset. This value is available only for =1

7.15. AT+CLCC List Current Calls of ME

network status

AT+COPS?

commands

AT+COPS? //Query the currently selected network operator
+COPS: 0,0,“CHN-UNICOM”,0
OK

AT+COPS? +COPS: 0,0,"CHINA MOBILE",0

AT+CREG

AT+CREG?

+CREG: ,[,,[,]]

  • 0 Disable network registration unsolicited result code
  • 1 Enable network registration unsolicited result code +CREG:
  • 2 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

For NBIOT

AT+CEREG? +CEREG: 0,4

6.3. AT+CSQ Signal Quality Report

Mobile Call

  • ATD18576608994;
  • ATD15318413464;
  • ATD15575141816;

ref