Luat 780E Shanghai Hezhou Cat 1 Communication Module User Manual
- June 1, 2024
- Luat
Table of Contents
- 780E Shanghai Hezhou Cat 1 Communication Module
- Specifications:
- Product Information:
- Product Usage Instructions:
- 1. AT Command Overview:
- 2. Basic Command:
- 3. Configuration Commands:
- 4. Device Control Commands:
- 5. Network Service Related Commands:
- 6. Audio Related Commands:
- 7. Short Message Command:
- 8. Grouping Domain Related Commands:
- 9. NTP Related Commands:
- Q: How can I check the version number of the module?
780E Shanghai Hezhou Cat 1 Communication Module
“`html
Specifications:
-
Product Name: Shanghai Hezhou Cat.1 Module (EC618 Platform
Series) AT Command Manual V1.3.3 -
Applicable Modules: 780E/600E series
-
Published Date: 2023/8/30
Product Information:
The Shanghai Hezhou Cat.1 Module (EC618 Platform Series) AT
Command Manual V1.3.3 is designed for use with the 780E/600E series
modules. It provides detailed command instructions for configuring
and controlling the module’s functions.
Product Usage Instructions:
1. AT Command Overview:
Refer to section 1 of the manual for an overview of AT
commands.
2. Basic Command:
Section 2 covers basic commands for interacting with the
module.
3. Configuration Commands:
Section 3 provides commands for configuring various settings of
the module.
4. Device Control Commands:
Section 4 includes commands for controlling the device
functions, such as entering power-saving modes and managing PIN
codes.
5. Network Service Related Commands:
Section 5 contains commands related to network services and
connectivity.
6. Audio Related Commands:
Section 6 outlines commands for managing audio functions of the
module.
7. Short Message Command:
Section 7 covers commands related to short message services.
8. Grouping Domain Related Commands:
Section 8 provides commands for managing grouping domains.
9. NTP Related Commands:
Section 9 includes commands for NTP (Network Time Protocol)
related settings.
FAQ:
Q: How can I check the version number of the module?
A: You can query the version number by using the ATI command as
mentioned in the manual.
“`
Shanghai Hezhou Cat.1 Module (EC618 Platform Series) AT Command Manual V1.3.3
Applicable modules: 780E/600E series Published: 2023/8/30
1 / 285
edit record
releases
Modify Time
V1.0.0
2023.3.13
V1.0.1 V1.0.3
2023.3.15 2023.3.30
Content of the modification 1st edition
versioning requiremen ts
Add AT+CTTSPARAM 7th parameter description Add AT*EXINFO? directive description
=V1121 >=V1126
note
The
version
number can be
queried via ATI
V1.0.4
2023.4.10 Add AT*RTIME instruction description
V1.0.5
V1.0.6 V1.0.7 V1.0.8 V1.0.9
V1.1.0 V1.1.1
V1.1.2
V1.1.3 V1.1.4 V1.1.5
2023.4.18
2023.4.19 2023.5.5 2023.5.11 2023.5.23
2023.5.30 2023.6.1
2023.6.5
2023.6.9 2023.6.12 2023.6.14
Add AT+CTTSPARAM Newly added parameter description Add AT^WAKEUPHEX instruction description Modifying the AT+CGNSPWR Command Description Modify the GPS example note description Modify POST data size description Adding Voice Command Only LSAT Version Support Instructions Modifying the AT+ROUTEIP command description Modifying the AT+RNDISCALL Instruction Description Add AT+CATCHPCAP command description Add AT+NITZDISSET command description Modifying the AT+SLEDS Default Modifying AT+MCONFIG Command Parameter Descriptions Add AT+CTTS mode 3 parameter description Modify the RI pin to correspond to the hardware pin description Modify the inconsistency between the documentation and the actual test Supplementary AT+CNTP=? and AT+HTTPPARA? parameter descriptions LSB and WIFI positioning, latitude and longitude (6 to 7 decimal places)
=V1131
=V1103 >=V1140 >=1128 >=V1140 >=V1103
2 / 285
V1.1.6
V1.1.7
V1.1.8 V1.1.9 V1.2.0 V1.2.1 V1.2.2 V1.2.3 V1.2.4
V1.2.5 V1.2.6 V1.2.7 V1.2.8
V1.2.9
V1.3.0 V1.3.1 V1.3.2 V1.3.3
2023.6.16
2023.6.20
2023.6.25 2023.6.26 2023.6.28 2023.7.6 2023.7.10 2023.7.18 2023.7.19
2023.7.26 2023.7.28 2023.8.3 2023.8.4
AT+CPNETAPN command removal mode 0, 1 (not supported) Modifying the FIXmode Description Add ultra-low power AT+POWERMODE command description Add AT+WIFILOC 3rd parameter description Modify AT+CGNSAID=31,1,1,1 in the example description Add a note to ctrl+z Add AT+GSMLOCFG instruction description Modifying the AT+CADC Instruction Description Add AT+POWERMODE second parameter description Adding a timeout for positioning commands Remove FTPGETTOFS description of SD card Modify http get/post example Deletion of the AT^CARDMODE command MQTT max send/receive changed to 4100 bytes Add AT+HTTPGETTOFS command description Add AT+POWERMODE third parameter description Add AT+CAUDPLAY command description Add AT+CRSL command description
=V1143 >=V1143
=V1144 >=V1146
=V1148 >=V1148 >=V1146 >=V1146
2023.8.8
2023.8.11 2023.8.18 2023.8.25 2023.8.30
Add AT+CSCLK=3 Low Power Application Example Add AT+CIPSTATUS=
LPAT Version Support
LPAT Version Support
LPAT Version Support AUAT Version Support AUAT Version Support
3 / 285
directory
1 AT COMMAND OVERVIEW ………………………………………………………………………………………………………………. 11
1.1 DOCUMENT PURPOSE ………………………………………………………………………………………………………………………………. 11 1.2
CONVENTIONS AND TERMINOLOGICAL ABBREVIATIONS ……………………………………………………………………………..
11 1.3 AT COMMAND SYNTAX ……………………………………………………………………………………………………………………………..12
1.4 MAXIMUM RESPONSE TIME FOR AT COMMANDS ………………………………………………………………………………………..
13
2 BASIC COMMAND ……………………………………………………………………………………………………………………………… 15
2.1 CHECK MANUFACTURER’S NAME: AT+CGMI …………………………………………………………………………………………… 15
2.2 QUERY MODULE MODEL: AT+CGMM …………………………………………………………………………………………………….. 15
2.3 QUERY MODULE VERSION INFORMATION: AT+CGMR ………………………………………………………………………………
16 2.4 CHECK IMEI NUMBER: AT+CGSN ………………………………………………………………………………………………………….16
2.5 QUERY SIM CARD ICCID NUMBER: AT+CCID (/ICCID) ……………………………………………………………………..
17 2.6 QUERY IMSI: AT+CIMI …………………………………………………………………………………………………………………………18
2.7 FIND PRODUCT INFORMATION: ATI …………………………………………………………………………………………………………. 18
2.8 QUERY MODULE FIRMWARE VERSION: AT+VER ………………………………………………………………………………….. 19
2.9 QUERY PLATFORM HARDWARE VERSION: AT^HVER …………………………………………………………………………………..
19 2.10 QUERY FOR VARIOUS INFORMATION: AT I
………………………………………………………………………………………….. 20 2.11 WRITE SN NUMBER COMMAND: AT+WISN
…………………………………………………………………………………………. 21 2.12 REBOOT MODULE: AT+RESET
………………………………………………………………………………………………………………. 21 2.13 REBOOT THE MODULE AND
RESTORE FACTORY SETTINGS: AT+RSTSET …………………………………………………… 22 2.14 QUERY BOOT
REASON VALUE: ATEXINFO? …………………………………………………………………………………………… 22 2.15 TURN OFF
THE SIZE LIMIT OF PCAP PACKAGES EXPORTED BY EPAT: AT+CATCHPCAP …………………………… 23
3 CONFIGURATION COMMANDS ……………………………………………………………………………………………………….24
3.1 SELECT TE CHARACTER SET: AT+CSCS ………………………………………………………………………………………………… 24
3.2 SAVE THE USER’S CURRENT CONFIGURATION: AT&W ………………………………………………………………………………
24 3.3 SETTING THE COMMAND RETURN MODE: ATE
…………………………………………………………………………………………25 3.4 RESTORE ALL PARAMETERS TO FACTORY
CONFIGURATION: AT&F …………………………………………………………….. 25 3.5 SETTING THE RESULT CODE
SUPPRESSION MODE: ATQ …………………………………………………………………………… 25 3.6 FOTA AERIAL
UPGRADE: AT+UPGRADE …………………………………………………………………………………………………. 26 3.7 SETTING THE
COMMAND LINE TERMINATOR: ATS3 ………………………………………………………………………………….. 29 3.8 SETTING
THE COMMAND LINE EDIT CHARACTER: ATS5 …………………………………………………………………………… 29 3.9
SETTING THE CDC FUNCTION MODE: AT&C …………………………………………………………………………………………… 30
3.10 SETTING THE DTR FUNCTION MODE: AT&D ………………………………………………………………………………………….30
3.11 REAL-TIME CLOCK: AT+CCLK ……………………………………………………………………………………………………………… 31
3.12 SET USB MODE: AT+SETUSB …………………………………………………………………………………………………………… 31 3.13
DEVICE ERROR: AT+CMEE …………………………………………………………………………………………………………………..32 3.14
ERROR CODE DESCRIPTION: +CME ERROR:
4 DEVICE CONTROL COMMANDS ………………………………………………………………………………………………………. 39
4.1 MODULE FUNCTION MODE: AT+CFUN ……………………………………………………………………………………………………39 4.2
SHUTDOWN: AT+CPOWD …………………………………………………………………………………………………………………….. 40 4.3 ENTER
PIN CODE: AT+CPIN ………………………………………………………………………………………………………………….40
4 / 285
4.4 DEVICE LOCK: AT+CLCK ………………………………………………………………………………………………………………………. 41 4.5
CHANGE PASSWORD: AT+CPWD …………………………………………………………………………………………………………… 43 4.6
NETWORK LIGHT BLINKING INTERVAL: AT+SLEDS ………………………………………………………………………………… 43
4.7 SETTING THE TE-TA BAUD RATE: AT+IPR ……………………………………………………………………………………………..
44 4.8 SETTING THE TE-TA FRAME FORMAT: AT+ICF
……………………………………………………………………………………….. 46 4.9 SETTING THE COMMAND LINE NEWLINE
CHARACTER: ATS4 …………………………………………………………………….. 47 4.10 TE-TA LOCAL TRAFFIC
CONTROL: AT+IFC …………………………………………………………………………………………..47 4.11 ENABLING AND
DISABLING SIM CARD PRESENCE HARDWARE DETECTION: AT+CSDT ………………………….. 49 4.12
DETECT WHETHER THE SIM CARD OF A SLOT IS IN POSITION: AT SIMDETEC
………………………………………… 50 4.13 GET SIM TYPE: ATEUICC
…………………………………………………………………………………………………………………….50 4.14 SETTING SLEEP WAKE-UP VIA
UART PORT: AT+CSCLK ………………………………………………………………………. 51 4.15 SETS HOW LONG TO WAIT
TO GO TO SLEEP IN DIGITAL TRANSMISSION MODE: ATRTIME ………………….. 54 4.16 ULTRA-
LOW POWER COMMAND: AT+POWERMODE …………………………………………………………………………………55 4.17 SETTING
THE SLEEP WAIT TIME: AT+WAKETIM …………………………………………………………………………………. 58 4.18
SETTING THE RI INDICATION FUNCTION: AT+CFGRI ………………………………………………………………………….. 58
4.19 SAVE RI SETTING FUNCTION: AT+CFGRISAVE …………………………………………………………………………………..
60 4.20 SET WAKEUP STRING COMMAND: AT^WAKEUPHEX ……………………………………………………………………………
60 4.21 READ ADC: AT+CADC ………………………………………………………………………………………………………………………. 61
4.22 READ VBAT VOLTAGE: AT+CBC …………………………………………………………………………………………………………..62
4.23 TURN ON/OFF THE NETWORK LIGHT: AT+CNETLIGHT
…………………………………………………………………………63 4.24 SIM PHYSICAL CARD, VIRTUAL CARD SWITCHING:
AT+ECSIMCFC …………………………………………………….. 64 4.25 SIM CARD SWITCHING: AT+SIMCROSS
……………………………………………………………………………………………. 65 4.26 SIM CARD AUTOMATIC SWITCHING
SWITCH: ATSIMAUTO …………………………………………………………………66 4.27 RNDIS/ECM FUNCTION SWITCH:
AT+RNDISCALL …………………………………………………………………………… 67 4.28 RE-OPEN USB: AT+SYSNV=1,
“UREBOOT”,1 …………………………………………………………………………………… 67 4.29 GPIO PORT CONTROL:
AT+CGPIO ………………………………………………………………………………………………………67
5 NETWORK SERVICE RELATED COMMANDS ……………………………………………………………………………….. 69
5.1 QUERY SIGNAL QUALITY: AT+CSQ …………………………………………………………………………………………………………..69
5.2 QUERY SIGNAL QUALITY (EXTENDED): AT+CESQ
………………………………………………………………………………………. 69 5.3 TURN ON CSQ ACTIVE REPORTING: ATCSQ
……………………………………………………………………………………………. 71 5.4 WEB REGISTRATION INFORMATION:
AT+CREG ………………………………………………………………………………………….. 72 5.5 E-UTRAN EPS NETWORK
REGISTRATION STATUS: AT+CEREG ………………………………………………………………..74 5.6 SETTING THE
NETWORK MODE: AT^SYSCONFIG ……………………………………………………………………………………… 76 5.7 QUERY CID-
RELATED CONTEXT DEFINITION: AT+CGCONTRDP …………………………………………………………………. 78 5.8
CARRIER SEARCH AND SELECTION: AT+COPS ………………………………………………………………………………………….. 79
5.9 AUTOMATIC TIME ZONE UPDATE: AT+CTZU ………………………………………………………………………………………………..
81 5.10 TURN ON NITZ AUTO-REPORTING: AT+CTZR
…………………………………………………………………………………………. 82 5.11 (URC) NITZ AUTO-REPORTING:
+NITZ:BANDIND ……………………………………………………………………………83
5.14 QUERY ACCESS TECHNOLOGY: AT^CACAP ……………………………………………………………………………………………. 86
5.15 QUERY CURRENT SYSTEM INFORMATION: AT^SYSINFO
………………………………………………………………………….. 87 5.16 SET THE DOMAIN NAME AND PORT OF THE
BASE STATION LOCATION (LBS) SERVER: AT+GSMLOCFG ………..88 5.17 READING BASE
STATION POSITIONING (LBS) INFORMATION AND TIME: AT+CIPGSMLOC …………………………… 89
5.18 READ WIFI POSITIONING INFORMATION AND TIME: AT+WIFILOC
……………………………………………………………… 91
5 / 285
5.19 GET WIFI INFORMATION: AT+WIFISCAN ………………………………………………………………………………………………..
93 5.20 FLOW QUERY COMMAND: AT^DATAINFO …………………………………………………………………………………………….94
5.21 (URC) SYSTEM MODE: ^MODE ………………………………………………………………………………………………………………94
5.22 CELL INFORMATION ENQUIRY: AT+CCED …………………………………………………………………………………………………
95 5.23 QUERY GSM/UMTS/LTE INFORMATION IN ENGINEERING MODE: AT+EEMGINFO
……………………………………..98 5.24 LTE ENGINEERING MODE SERVICE CELL INFORMATION:
+EEMLTESVC ……………………………………………………..99 5.25 LTE ENGINEERING MODE CO-FREQUENCY
INFORMATION: +EEMLTEINTRA ……………………………………………100 5.26 LTE ENGINEERING MODE
INTER-FREQUENCY INFORMATION: +EEMLTEINTER ………………………………………… 100 5.27 (URC)
NETWORK SERVICE TYPE INDICATION ………………………………………………………………………………………….. 101
6 AUDIO RELATED COMMANDS ………………………………………………………………………………………………………..102
6.1 TTS (TEXT TO SPEECH) FUNCTION: AT+CTTS
…………………………………………………………………………………….102 6.2 SETTING THE TTS PLAYBACK MODE:
AT+CTTSPARAM ……………………………………………………………………….. 103 6.3 VOICE FILE PLAYBACK:
AT+CAUDPLAY ………………………………………………………………………………………………. 104 6.4 LOCAL AUDIO PLAYBACK
VOLUME CONTROL: AT+CRSL ………………………………………………………………………… 105
7 SHORT MESSAGE COMMAND ……………………………………………………………………………………………………….. 106
7.1 INTRODUCTION TO PDU SMS CODING FORMAT
……………………………………………………………………………………..106 7.2 SELECT SMS SERVICE:AT+CSMS
………………………………………………………………………………………………………. 108 7.3 SHORT MESSAGE PRIORITY
STORAGE AREA SELECTION: AT+CPMS ……………………………………………………. 109 7.4 SMS CENTRE
ADDRESS: AT+CSCA ……………………………………………………………………………………………………. 110 7.5 SHORT MESSAGE
FORMAT: AT+CMGF ………………………………………………………………………………………………….. 111 7.6 SETTING SMS
TEXT MODE PARAMETERS: AT+CSMP …………………………………………………………………………..112 7.7 TO CONTROL
THE SMS HEADER MESSAGE DISPLAY IN TEXT MODE: AT+CSDH ………………………………….. 113 7.8
NEW MESSAGE INDICATION: AT+CNMI ……………………………………………………………………………………………….. 115 7.9
NEW SHORT MESSAGE CONFIRMATION: AT+CNMA ………………………………………………………………………………. 119
7.10 SEND SMS: AT+CMGS ……………………………………………………………………………………………………………………. 119 7.11
WRITE MESSAGE TO MEMORY: AT+CMGW ………………………………………………………………………………………… 122 7.12
SEND SMS FROM MEMORY: AT+CMSS ……………………………………………………………………………………………… 125 7.13
SMS LINK CONTROL COMMANDS: AT+CMMS ……………………………………………………………………………………. 126 7.14
READ SMS: AT+CMGR ……………………………………………………………………………………………………………………. 127 7.15 LIST
OF SHORT MESSAGES: AT+CMGL ……………………………………………………………………………………………… 129 7.16
DELETE SMS: AT+CMGD ………………………………………………………………………………………………………………………. 132 7.17
SMS SERVICE FAILURE RESULT CODE: CMS ERROR:
8 GROUPING DOMAIN RELATED COMMANDS ………………………………………………………………………………137
8.1 GPRS NETWORK REGISTRATION STATUS: AT+CGREG
………………………………………………………………………….137 8.2 GPRS ATTACHMENT SEPARATION: AT+CGATT
………………………………………………………………………………………139 8.3 PDP CONTEXT DEFINITION: AT+CGDCONT
…………………………………………………………………………………………140 8.4 PDP CONTEXT AUTHENTICATION
PARAMETERS: AT+CGAUTH ……………………………………………………………….142 8.5 DISPLAY PDP ADDRESS:
AT+CGPADDR …………………………………………………………………………………………….. 143 8.6 PDP CONTEXT
ACTIVATION: AT+CGACT ………………………………………………………………………………………………144 8.7 CONTROL OF
UNSOLICITED GPRS EVENT REPORTING: AT+CGEREP …………………………………………………….144 8.8 (URC)
PACKET DOMAIN EVENT URC REPORTING: +CGEV ………………………………………………………………………. 145 8.9
QUERY LOCAL IP ADDRESS BY CID: AT*GETIP ……………………………………………………………………………………. 149
9 NTP RELATED COMMANDS ……………………………………………………………………………………………………………..150
6 / 285
9.1 SET GPRS BEARER SCENE ID: AT+CNTPCID ……………………………………………………………………………………..150
9.2 SYNCHRONISED NETWORK TIME: AT+CNTP ………………………………………………………………………………………….150
11 FILE SYSTEM READ AND WRITE COMMANDS ………………………………………………………………………. 153
11.1 CREATE A FILE: AT+FSCREATE …………………………………………………………………………………………………………153
11.2 READ FILE: AT+FSREAD ………………………………………………………………………………………………………………….. 153
11.3 WHETHER TO RETURN THE HEADER WHEN READING A FILE: AT+FSREADHEAD
………………………………..154 11.4 WRITE FILE: AT+FSWRITE
……………………………………………………………………………………………………………….154 11.5 GET DISC DRIVE: AT+FSDRIVE
……………………………………………………………………………………………………….. 155 11.6 DISPLAY FILE DIRECTORY
LIST: AT+FSLS ………………………………………………………………………………………….. 155 11.7 GET FREE SPACE
SIZE: AT+FSMEM ………………………………………………………………………………………………….. 156 11.8 CREATE
DIRECTORY: AT+FSMKDIR ……………………………………………………………………………………………………156 11.9 DELETE
DIRECTORY: AT+FSRMDIR ……………………………………………………………………………………………………157 11.10 DELETE
FILES: AT+FSDEL ……………………………………………………………………………………………………………… 157 11.11 GET FILE
SIZE: AT+FSFLSIZE ………………………………………………………………………………………………………..158 11.12 EXAMPLE
OF USE ………………………………………………………………………………………………………………………………. 158
12 EMBEDDED TCPIP COMMANDS ………………………………………………………………………………………………….160
12.1 INITIATING MULTI-IP CONNECTIONS: AT+CIPMUX
…………………………………………………………………………….160 12.2 START THE TASK AND SET THE ACCESS POINT
APN, USERNAME AND PASSWORD: AT+CSTT ………………160 12.3 DEDICATED NETWORK CARD SET
APN, USER NAME, PASSWORD AND AUTHENTICATION METHOD: AT+CPNETAPN
…………………………………………………………………………………………………………………………………………..161 12.4 TO ACTIVATE A
MOBILE SCENE (OR INITIATE A GPRS OR CSD WIRELESS CONNECTION): AT+CIICR .. 162
12.5 QUERY LOCAL IP ADDRESS: AT+CIFSR ……………………………………………………………………………………………..163
12.6 SETTING TCP TO USE SSL FUNCTION: AT+CIPSSL
…………………………………………………………………………..163 12.7 CONFIGURE TCP SSL PARAMETERS: AT+SSLCFG
……………………………………………………………………………. 164 12.8 CONFIGURE THE LOCAL TCP PORT:
AT+CLPORT ………………………………………………………………………………. 169 12.9 TO ESTABLISH A TCP
CONNECTION OR REGISTER A UDP PORT NUMBER: AT+CIPSTART …………………. 170 12.10
SELECT TCPIP APPLICATION MODE: AT+CIP MODE ………………………………………………………………………. 172
12.11 SELECT NON-TRANSPARENT DATA SENDING MODE: AT+CIPQSEND
………………………………………………… 172 12.12 SET WHETHER TO AUTOMATICALLY ADD A CARRIAGE
RETURN LINE FEED AT THE END OF THE RECEIVED DATA: AT+CIPRXF
……………………………………………………………………………………………………………………………………………….. 173 12.13 CONFIGURING
TRANSPARENT TRANSMISSION MODE: AT+CIPCCFG ………………………………………………….174 12.14 SEND
DATA: AT+CIPSEND …………………………………………………………………………………………………………….. 175 12.15 SETTING
THE TIMING TIME BEFORE SENDING DATA AUTOMATICALLY: AT+CIPATS ……………………………. 177
12.16 SET WHETHER TO DISPLAY ‘>’ WHEN SENDING DATA AND SEND STATUS PROMPT:
AT+CIPSPRT ………178 12.17 QUERY CURRENT CONNECTION STATUS: AT+CIPSTATUS
……………………………………………………………….. 178 12.18 QUERY CONNECTED DATA TRANSFER STATUS:
AT+CIPACK ……………………………………………………………… 180 12.19 SET TO CSD OR GPRS CONNECTION
MODE: AT+CIPCSGP …………………………………………………………… 181 12.20 CONFIGURING DOMAIN NAME
SERVER DNS: AT+CDNSCFG ………………………………………………………….181 12.21 DOMAIN NAME
RESOLUTION: AT+CDNSGIP …………………………………………………………………………………… 183 12.22 SET WHETHER
TO DISPLAY THE SENDER’S IP ADDRESS AND PORT NUMBER WHEN RECEIVING DATA OVER A
SINGLE LINK: AT+CIPSRIP …………………………………………………………………………………………………………………………184
12.23 SET WHETHER TO DISPLAY IP HEADER WHEN RECEIVING DATA FROM SINGLE LINK:
AT+CIPHEAD …..185 12.24 SET WHETHER SINGLE-LINK RECEIVED DATA SHOWS TRANSPORT
PROTOCOL IN IP HEADER: AT+CIPSHOWTP
………………………………………………………………………………………………………………………………………. 185
7 / 285
12.25 RECEIVE DATA IN CASE OF MULTIPLE LINKS: +RECEIVE
…………………………………………………………………. 186 12.26 SAVE TCPIP APPLICATION CONTEXT:
AT+CIPSCONT …………………………………………………………………….. 186 12.27 MANUAL ACQUISITION OF
NETWORK DATA: AT+CIPRXGET ……………………………………………………………..187 12.28 CLOSE TCP OR UDP
CONNECTION: AT+CIPCLOSE ………………………………………………………………………..191 12.29 TO CLOSE A
MOVING SCENE: AT+CIPSHUT …………………………………………………………………………………….191 12.30 MODIFY THE
RNDIS CARD GATEWAY IP ADDRESS: AT+ROUTEIP …………………………………………………..192 12.31 PING
ECHO REQUEST COMMAND:AT+CIPPING ……………………………………………………………………………….. 192 12.32
SETTING TCP KEEP-ALIVE PARAMETERS: AT+CIPTKA …………………………………………………………………….. 194
12.33 HEARTBEAT PACKET PARAMETER SETTING:AT^HEARTCONFIG
……………………………………………………….. 195 12.34 SET HEARTBEAT PACKET CONTENT:AT^HEARTBEAT
……………………………………………………………………….. 196 12.35 SETTING THE CONTENTS OF A HEARTBEAT
PACKET IN HEX ENCODING FORMAT:AT^HEARTBEATHEX197 12.36 QUERY HEARTBEAT PACKET
DELIVERY: AT^HEARTINQUIRE ……………………………………………………………198 12.37 SWITCHING FROM DATA
MODE OR PPP ONLINE MODE TO COMMAND MODE: ++++ …………………………. 199 12.38 SWITCHING
FROM COMMAND MODE TO DATA MODE: ATO ………………………………………………………………….200 12.39
TCP/UDP ERROR CODES …………………………………………………………………………………………………………………..201 12.40
STATE MACHINE ………………………………………………………………………………………………………………………………….202 12.41
EXAMPLE OF USE ………………………………………………………………………………………………………………………………. 204
13 IP APPLICATION RELATED COMMANDS ………………………………………………………………………………… 216
13.1 IP APPLICATION SETUP: AT+SAPBR …………………………………………………………………………………………………..216
14 HTTP RELATED COMMANDS ………………………………………………………………………………………………………. 218
14.1 INITIALISE HTTP SERVICE: AT+HTTPINIT
………………………………………………………………………………………..218 14.2 ENABLE SSL: AT+HTTPSSL
…………………………………………………………………………………………………………….. 218 14.3 SET HTTP PARAMETER
VALUES: AT+HTTPPARA ………………………………………………………………………………. 218 14.4 WRITE DATA:
AT+HTTPDATA …………………………………………………………………………………………………………… 221 14.5 HTTP METHOD
ACTIVATION: AT+HTTPACTION ……………………………………………………………………………….. 222 14.6 HTTP
METHOD ACTIVATION (EXTENSION): AT+HTTPEXACTION ………………………………………………………224 14.7
QUERY HTTP SERVICE RESPONSE: AT+HTTPREAD ………………………………………………………………………….. 224
14.8 GET HTTP SERVICE RESPONSE DATA: AT+HTTPGET …………………………………………………………………………
225 14.9 GET HTTP SERVICE RESPONSE DATA (EXTENSION): AT+HTTPEXGET
……………………………………………….225 14.10 GET HTTP POST DATA (EXTENSION): AT+HTTPEXPOST
………………………………………………………………226 14.11 DOWNLOADING FILES AND SAVING THEM TO THE
FILE SYSTEM: AT+HTTPGETTOFS ……………………….226 14.12 QUERY HTTP HEADER INFORMATION:
AT+HTTPHEAD …………………………………………………………………… 227 14.13 SAVE HTTP APPLICATION
CONTEXT: AT+HTTPSCONT …………………………………………………………………… 227 14.14 TERMINATE HTTP
TASK: AT+HTTPTERM ………………………………………………………………………………………..228 14.15 HTTP ERROR
CODE: ERROR:
15 FTP RELATED COMMANDS …………………………………………………………………………………………………………..236
15.1 SETTING THE FTP CONTROL PORT: AT+FTPPORT ……………………………………………………………………………..
236 15.2 SET FTP ACTIVE OR PASSIVE MODE: AT+FTP MODE
……………………………………………………………………….. 236 15.3 SET FTP DATA TRANSFER TYPE: AT+FTPTYPE
………………………………………………………………………………….. 236 15.4 SET FTP INPUT TYPE: AT+FTPPUTOPT
……………………………………………………………………………………………. 237 15.5 SET FTP BEARER ID: AT+FTPCID
…………………………………………………………………………………………………….237 15.6 SETTING UP FTP DOWNLOAD
RENEWAL: AT+FTPREST …………………………………………………………………….. 238
8 / 285
15.7 SET FTP SERVER ADDRESS: AT+FTPSERV ………………………………………………………………………………………. 238
15.8 SET FTP USER NAME: AT+FTPUN ……………………………………………………………………………………………………..239
15.9 SET FTP PASSWORD: AT+FTPPW …………………………………………………………………………………………………….. 239
15.10 SET FTP DOWNLOAD FILE NAME: AT+FTPGETNAME ……………………………………………………………………..
239 15.11 SET FTP DOWNLOAD FILE PATH: AT+FTPGETPATH
………………………………………………………………………..240 15.12 SET FTP UPLOAD FILE NAME: AT+FTPPUTNAME
…………………………………………………………………………… 240 15.13 SET FTP UPLOAD FILE PATH:
AT+FTPPUTPATH …………………………………………………………………………….. 241 15.14 CREATING A FILE
DIRECTORY ON A REMOTE SERVER: AT+FTPMKD ………………………………………………….241 15.15 DELETE
FILE DIRECTORY ON REMOTE SERVER: AT+FTPRMD …………………………………………………………… 242 15.16
DOWNLOAD FILE: AT+FTPGET ………………………………………………………………………………………………………..242 15.17
UPLOADING FILES: AT+FTPPUT ……………………………………………………………………………………………………… 243 15.18
DOWNLOAD FILE (EXTENSION): AT+FTPEXTGET …………………………………………………………………………… 244
15.19 UPLOAD FILE (EXTENSION): AT+FTPEXTPUT
………………………………………………………………………………….246 15.20 DOWNLOADING FILES AND SAVING THEM TO
THE FILE SYSTEM: AT+FTPGETTOFS ………………………….247 15.21 UPLOADING FILES FROM THE
FILE SYSTEM TO THE SERVER: AT+FTPPUTFRMFS ……………………………. 248 15.22 LOAD FROM
FILE SYSTEM INTO RAM AND UPLOAD WITH FTPPUT: AT+FTPFILEPUT ………………………249 15.23
GET THE DIRECTORY OF FILES ON THE REMOTE SERVER: AT+FTPLIST
…………………………………………….249 15.24 GET THE FILE SIZE ON THE REMOTE SERVER: AT+FTPSIZE
……………………………………………………………. 250 15.25 GET FTP STATUS: AT+FTPSTATE
………………………………………………………………………………………………….. 251 15.26 SAVE FTP APPLICATION
CONTEXT: AT+FTPSCONT ………………………………………………………………………… 251 15.27 DELETE THE
SPECIFIED FILE ON THE SERVER: AT+FTPDELE ……………………………………………………………252 15.28 EXIT
THE CURRENT FTP SESSION: AT+ FTPQUIT ………………………………………………………………………….. 252 15.29
EXAMPLE OF USE ………………………………………………………………………………………………………………………………. 252
16 MQTT RELATED COMMANDS ……………………………………………………………………………………………………… 264
16.1 SETTING MQTT-RELATED PARAMETERS: AT+MCONFIG …………………………………………………………………….
264 16.2 ESTABLISH TCP CONNECTION: AT+MIPSTART
…………………………………………………………………………………. 265 16.3 CLIENT REQUESTS A SESSION CONNECTION
FROM THE SERVER: AT+MCONNECT …………………………….. 266 16.4 PUBLISHED: AT+MPUB
………………………………………………………………………………………………………………………267 16.5 RELEASE OF FIXED-LENGTH
MESSAGES: AT+MPUBEX ………………………………………………………………………. 268 16.6 SUBSCRIPTION TOPIC:
AT+MSUB …………………………………………………………………………………………………….. 270 16.7 UNSUBSCRIBE FROM
THREAD: AT+MUNSUB …………………………………………………………………………………….. 271 16.8 PRINT ALL
SUBSCRIPTION MESSAGES RECEIVED: AT+MQTTMSGGET ………………………………………………..271 16.9
SETTING THE PRINT MODE FOR SUBSCRIPTION MESSAGES: AT+MQTTMSGSET ………………………………..
272 16.10 MQTT MESSAGE ENCODING FORMAT SWITCH: AT+MQTTMODE
…………………………………………………….. 273 16.11 CLOSE TCP CONNECTION: AT+MIPCLOSE
…………………………………………………………………………………….. 274 16.12 CLOSE THE MQTT CONNECTION:
AT+MDISCONNECT …………………………………………………………………..274 16.13 QUERY MQTT CONNECTION
STATUS: AT+MQTTSTATU ………………………………………………………………….. 274 16.14 EXAMPLE OF USE
………………………………………………………………………………………………………………………………. 275
18 GPS-RELATED COMMANDS ………………………………………………………………………………………………………… 280
18.1 GPS SWITCH: AT+CGNSPWR …………………………………………………………………………………………………………. 280 18.2
READING GNSS INFORMATION: AT+CGNSINF ………………………………………………………………………………… 280 18.3
OPEN GNSS URC UPLINK: AT+CGNSURC ……………………………………………………………………………………… 282 18.4
SEND THE READ GNSS DATA TO THE AT PORT: AT+CGNSTST ………………………………………………………… 282
18.5 SENDING CONTROL COMMANDS TO GNSS: AT+CGNSCMD ……………………………………………………………… 283
9 / 285
18. 6 SETTING UP SECONDARY POSITIONING: AT+CGNSAID
…………………………………………………………………….283 18.7 DELETION OF EPO FILES: AT+CGNSDEL
………………………………………………………………………………………….284 18.8 DEFINING NMEA RESOLUTION:
AT+CGNSSEQ ……………………………………………………………………………….. 284 18.9 EXAMPLES OF METHODS OF
USE ………………………………………………………………………………………………………….. 285
10 / 285
1 AT Command Overview
1.1 Document Purpose
This manual describes in detail the set of AT commands supported by the Azeus
Luat LTE module.
1.2 Conventions and terminological abbreviations
Modules may be referred to in this manual by the following terms: 1) ME
(Mobile Equipment), which may include Mobile Terminal (MT), Terminal Adaptor
(TA) 2) MS (mobile station), which includes the mobile equipment (ME) and the
subscriber identification module (SIM) 3) TA (Terminal Accessory) 4) DCE (Data
Communication Equipment) or Fax DCE (Fax Modem, Fax Board)
In the application, the controller controls the GSM module by sending AT
commands through the serial port. The controller at the opposite end of the
serial line can be referred to by the following terms: 1) TE (Terminal
Equipment) or 2) DTE (Data Terminal Equipment) or simply put, an embedded
application
Other terminological abbreviations:
AT
ATtention; this two-character abbreviation is always used to start a command line to
be sent fromTE to TA
BCD
Binary Coded Decimal
DCE
Data Circuit Terminating Equipment
DTE
Data Terminal Equipment
IMEI
International Mobile station Equipment Identity
ICCID
Integrate circuit card identity
IRA
International Reference Alphabet (ITU-T T.50)
11 / 285
ME MT SIM TA TE URC NTP NITZ MO
Mobile Equipment Mobile Termination Subscriber Identity Module Terminal Adaptor, e.g. a GSM data card (equal to DCE) Terminal Equipment, e.g. a computer (equal to DTE) Unsolicited Reslut Code Network Time Protocol Network Identity and Time Zone Mobile Originated
1.3 AT Command Syntax
All command lines in this manual must begin with “AT” or “at” and end with a
carriage return (
1.3.2 S-parameter class AT commands
The format of this type of AT command is “ATS
1.3.3 Extended Class AT Commands
In general, extension commands can be classified into the following types based on their functions:
Command Type
vocabulary
instructions
test command
AT+
The command queries the parameters set by the setup command or internal procedure and their value ranges.
Enquiry command
AT+
This command returns the current value of the parameter
Setup Commands
AT+
This command sets user-defined parameter values
12 / 285
execute a command AT+
This command is used to read the non-variable parameters controlled by the internal procedures of the GSM module.
Extended class command syntax: In the command line TA return result, <> contains mandatory parameters and [ ] contains optional parameters; In each command, the optional and mandatory parameters must be listed in the specified order, and the parameters must be separated by commas; String arguments are generally placed in double quotes; In practice, <>, [ ] need not be entered.
Syntax for entering multiple AT commands simultaneously on one line:
Several AT commands can be entered on the same command line. This eliminates the need to enter “AT”
or “at” at the beginning of each command, and only requires that you enter “AT” or “at” at the beginning
of the command line. Please note that a semicolon should be added as a delimiter after the extended class
commands, while no semicolon is needed for the base class commands and S-argument commands.
Example: Comman d ()/Retu rn ()
an actual example
ATE0&W+CREG=2;&W
OK
AT+CFUN=1;+CIMI;+VER
Explanations and clarifications
Set the display back to off and save, set the network registration status URC
reporting mode to 2 and save Setting up successfully
460060500266902
airm2m_780e_v1121_lte_at
OK
1.4 Maximum response time for AT commands
For the ATs listed in the following table, the maximum response time is as shown in the table, regardless of the setup command, query command or test command. For the ATs not listed in the table, the maximum response time is 9 seconds, regardless of the test command, query command or setup command.
AT command
COPS CGACT CGATT CFUN CMGS CMGW CPBW
Maximum response time (in seconds)
300 108 108 45 90 90 72
13 / 285
CPIN
180
CSTT
60
CIICR
90
CIPSHUT
90
14 / 285
2 basic command
2.1 Check manufacturer’s name: AT+CGMI
Grammatical rules:
Command Type
vocabulary
execute command
a AT+CGMI
come (or go) back
OK
Parameter Definition:
parametric
define
Manufacturer ID
retrieve value
a Explanation of values Values are defined by the module manufacturer
Examples: Command ()/Return ()
an actual example
AT+CGMI +CGMI: “AirM2M”
OK
Explanations and clarifications Query the manufacturer’s ID of the module Return query results
2.2 Query Module Model: AT+CGMM
Grammatical rules: Comma vocabulary nd Type execute a AT+CGMM comman d
come (or go) back
Parameter Definition:
parametr define
retrieve
a Explanation of values
ic
value
Vendor dependent
Examples:
Command ()/Return ()
an actual example
Explanations and clarifications
AT+CGMM
Query Module Model
+CGMM: “Air780E”
Return query results
15 / 285
OK
2.3 Query module version information: AT+CGMR
Grammatical rules: Comma vocabulary nd Type execute a AT+CGMR comman d test comman AT+CGMR=? d
come (or go) back
Revision:
OK
Parameter Definition: parametric define
Software version identification
retrieve a value
Explanation of values Defined by the vendor
Examples: Command ()/Retur n ()
an actual example
AT+CGMR +CGMR: “AirM2M_780E_V1120_LTE_AT” OK
Explanations and clarifications
Query software version identification Return query results
2.4 Check IMEI number: AT+CGSN
Grammatical rules:
Command vocabulary
Type
execute a AT+CGSN
command
test command
AT+CGSN=?
Parameter Definition:
parametr define
ic
come (or go) back
retriev Explanation of values ea
16 / 285
Product serial number, i.e. IMEI (International Mobile Equipment Identification)
value –
15-digit composition
Examples: Command ()/Return ()
an actual example
AT+CGSN 359759002514931
OK
Explanations and clarifications Check Product IMEI Return query results
2.5 Query SIM card ICCID number: AT+CCID (/ICCID)
Grammatical rules:
Comma vocabulary
nd Type
execute a comman d
AT+CCID AT+ICCID
come (or go) back
Parameter Definition: parametric define
Product ICCID number (Integrated circuit card identity , integrated circuit card identification code)
retrieve a value
Explanation of values Generally consists of 20 digits
Examples: Command ()/Retur n ()
an actual example
AT+CCID 89860117831003134201
OK AT+ICCID +ICCID: 89860117831003134201
OK
Explanations and clarifications
Query SIM card ICCID number Return query results Query SIM card ICCID number
Return query results
17 / 285
2.6 Query IMSI: AT+CIMI
Grammatical rules:
Command
vocabulary
Type
execute command
a AT+CIMI
Returns and notes
Parameter Definition: parame define tric
retrieve value
a Explanation of values Consists of 15 digits
Examples: Command ()/Return ()
an actual example
AT+CIMI 460001841426414
OK
Explanations and clarifications Query IMSI number Return query results
2.7 Find product information: ATI
Grammatical rules: Comma vocabulary nd Type execute a ATI comman d
come (or go) back
Parameter Definition:
parametric
define Module-related
information
version)
(vendor,
retrieve a value –
Explanation of values Defined by the vendor
Examples: Command ()/Retur n ()
an actual example ATI
18 / 285
Explanations and clarifications Query Module Information
airm2m_780e_v1120_lte_at
OK
Return query results
2.8 Query module FIRMWARE version: AT+VER
Grammatical rules: Comma vocabulary nd Type execute a AT+VER comman d caveat Returns results consistent with ATI
come (or go) back
Parameter Definition:
parametric
define
retrieve a Explanation of values
< firmware ver>value Module internal software –
Defined by the vendor
version
Examples: Command ()/Retur n ()
an actual example
AT+VER airm2m_780e_v1120_lte_at OK
Explanations and clarifications Query Module Information Return query results
2.9 Query platform hardware version: AT^HVER
Grammatical rules: Command vocabulary Type
execute a AT^HVER
command
Examples: Command ()/Retur
an actual example
come (or go) back ^HVER:
Explanations and clarifications
19 / 285
n ()
AT^HVER ^HVER: EC618
OK
Query Modular Platform Hardware Information Return query results
2.10 Query for various information: AT *I
Grammatical rules: Comma vocabulary nd Type
Setup Comma nds
AT*I
come (or go) back
Manufacturer:
OK
Parameter Definition:
parametric
Definition
+CGMI command return Return of +CGMM command Return of +CGMR command hardware version Compile time for version firmware Same as the return value of the +CGSN command Same as the return value of the +ICCID command International Mobile Subscriber Identity (IMSI)
retrieve a value
account for Consists of 15 digits
Examples: Command ()/Retur n ()
an actual example
AT*I Manufacturer: AirM2M Model: Air780E Revision: AirM2M_780E_V1120_LTE_AT
HWver: A12
Explanations and clarifications
20 / 285
Buildtime: Mar 6 2023 20:04:22 imei: 864040060365518 iccid:
89860621260002571487 IMSI: 460060086257148
OK
2.11 Write SN number command: AT+WISN
AT+WISN is used to write the user sn (serial number) to the module.
Grammatical rules:
Command Type
vocabulary
come (or go) back
Setup Commands
AT+WISN=
OK +CME ERROR:
Enquiry command
AT+WISN?
Parameter Definition:
parametric
define
special SN
retrieve a value –
Explanation of values User-defined, up to 64 bits
Examples: Command ()/ Return ()
an actual example
AT+WISN=”1234567890″ OK AT+WISN? 1234567890
OK
Explanations and clarifications
Write customer SN number Query Customer SN Number
2.12 Reboot module: AT+RESET
Reboot the module. Grammatical rules:
Command Type
vocabulary
execute a command AT+RESET
come (or go) back OK
21 / 285
2.13 Reboot the module and restore factory settings: AT+RSTSET
Reboot the module and restore the factory settings. Grammatical rules:
Command Type vocabulary
execute a command AT+RSTSET
come (or go) back OK
2.14 Query boot reason value: AT*EXINFO?
Query boot reason value command. >=1126 Software version support.
Grammatical rules:
Command Type vocabulary
come (or go) back
Enquiry command AT*EXINFO? Parameter Definition:
*EXINFO:
parametric
define
retrieve Explanation of values
a value
Power-on reason
Reason for booting
0
powerkey or power on
1
Charge or AT means switch on after the download
is complete today.
2
alarm clock
3
software reboot
4
unknown cause
5
RESET button to reboot
6
abnormal reboot
7
Tool Control Reboot
8
Internal Watchdog Reboot
9
External reboot
10
Charge and power on
Examples: Command ()/ Return ()
an actual example
ATEXINFO? EXINFO: 0 OK
Explanations and clarifications
Query Boot Reason Value powerkey boot
22 / 285
2.15 Turn off the size limit of PCAP packages exported by EPAT: AT+CATCHPCAP
Turn off the size limit command for EPAT exported PCAP packages. Supported by software version >=1128.
Note: Turning off the PCAP packet size limit will result in the loss of other logs (except for other logs from the network),
which are not saved by powering down.
Grammatical rules:
Command Type vocabulary
come (or go) back
Enquiry command AT+CATCHPCAP?
+CATCHPCAP:
Setup Commands AT+CATCHPCAP=
OK
Parameter Definition:
parametric
define
limited
Whether to limit PCAP packet size
retrieve a value 0 1
Explanation of values
Open Limit (default value is 0) Closure of restrictions
Examples: Command ()/ Return ()
an actual example
AT+CATCHPCAP=1 OK
Explanations and clarifications Turning off the PCAP packet size limit
23 / 285
3 Configuration Commands
3.1 Select TE character set: AT+CSCS
The set command informs the DCE of the character set that the DTE needs to use to ensure that the DCE
and DTE convert strings accurately between the agreed character sets.
Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
AT+CSCS=
OK
Commands
Enquiry command
AT+CSCS?
+CSCS:
test command
AT+CSCS=?
+CSCS: (list of
Parameter Definition: parametric define
character set
retrieve value “GSM” “IRA” “UCS2”
a Explanation of values
GSM 7-bit default character (3GPP TS 23.038) International Reference Symbol
Set (ITU-T T.50) 16-bit Universal Multi-Byte Encoded Character Set
Examples: Command ( )/Return ()
an actual example
AT+CSCS? +CSCS: “GSM”
OK
AT+CSCS=?
+cscs: “gsm”, “ira”, “ucs2”
OK
Explanations and clarifications Query Character Set Range
3.2 Save the user’s current configuration: AT&W
Most of the AT commands in this document need to be saved by AT&W if you want
their parameters to remain unchanged after the module is rebooted. This
command saves some AT command parameters set 24 / 285
by the user into NV, and the related configuration is automatically loaded and takes effect after reboot.
Grammatical rules:
Command vocabulary
Returns and notes
Type
execute a
AT&W
OK
command
3.3 Setting the Command Return Mode: ATE
Execute command to set whether the TA can display back the characters received from the TE in the command mode.
Grammatical rules: Command vocabulary Type execute a ATE
come (or go) back OK
Parameter Definition:
parame define
retrieve a Explanation of values
tric
value
Whether or 0
Display mode off
Display mode on
3.4 Restore all parameters to factory configuration: AT&F
Execute the command to restore all parameters to the factory configuration.
Grammatical rules:
Command vocabulary
come (or go) back
Type
execute a
AT&F
OK
command
3.5 Setting the result code suppression mode: ATQ
This command is used to set whether the TA sends the result code to the TE. And this setting will
not affect the contents of the response.
Grammatical rules:
Command Type
vocabulary
Returns and notes
execute a command ATQ
OK
Parameter storage The parameters of the setup command can be saved to the NVM via the AT&W
25 / 285
mode
command and are not lost on reboot
Parameter Definition:
parame define
tric
Whether to
display the
result code
retrieve a value 0
1
Explanation of values Send result code to TE Result code is suppressed and not sent
Examples: Command ( ) / Return ()
an actual example
ATQ1 AT+CREG? +CREG: 0,1
Explanations and clarifications
Set to not return result codes The result code OK does not appear at this time
The result code OK does not appear at this time
3.6 FOTA Aerial Upgrade: AT+UPGRADE
FOTA (Firmware Over The Air) is the function of upgrading firmware over the air. The process is in the following order: 1 Compare the size of the version number with the server firmware version; 2 If the server firmware version number is large, the process of downloading the firmware is initiated; 3 When the download of the firmware is complete, the module automatically reboots and burns the new version; 4 The module automatically reboots again, running the new firmware
Grammatical rules:
Comma vocabulary
nd Type
AT+UPGRADE=
Setup
[,
Comma
nds
AT+UPGRADE=
Enquiry comman d
AT+UPGRADE?
come (or go) back
OK +UPGRADE:
OK +UPGRADE:
OK +UPGRADE:
instructions Setting the
26 / 285
OK +UPGRADE:
Returns when
OK
execute
a
AT+UPGRADE
OK
comman
d
Manually upgrades
triggered
Parameter Definition:
parameters
define
retrieve a value “KEY”
“AUTO”
“PERIOD”
“URL”
Whether to 0
save
1
parameters to
NV
The value of
different
different
1
values
60~2^32 (4294967296)
“http://xxxx.bin” 0
Explanation of values Use “KEY” to set the ProductKEY of the server. Use
“AUTO” to set whether to upgrade automatically or not. Use “PERIOD” to set the
query period for auto-upgrade in seconds. When the set period is up, the
module will query the server for the version, and the server will initiate the
automatic upgrade if the version number of the module is larger than your own.
Use “URL” to set the URL address of your own upgrade server. Save, default
unsaved
String,
27 / 285
Percentage of upgrades
http error code
1 2 1~100
-1000 -1001 -1002 -1003 -1004 -1005 -1006
FOTA causes
error 3 17 25 26 27
Downloading firmware from server Firmware download results Percentage of
firmware downloaded when the module is in the state
https://baike.baidu.com/item/HTTP%E7%8A %B6%E6%8
Invalid device. Device not found no entitlement Invalid items Invalid firmware
Already the latest version. Passed the previous checks, but the version number
is already the latest, or the upgrade switch is not turned on, no imei is
specified, etc.
Examples: Upgrade using the user’s own server: The user puts the bin file on
their server and types it in:
AT+UPGRADE=”URL”, “http://xxxx.bin”
OK
Again, the default is an automatic upgrade, and the interval period is also 24
hours. The module downloads the firmware from the server using the HTTP
protocol.
28 / 285
3.7 Setting the command line terminator: ATS3
Set command to set the character to be used for the AT command line terminator that can be
recognised by the TA.
Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
ATS3=
OK
Commands
Enquiry command
ATS3?
Parameter Definition:
parame define
retrieve a Explanation of values
tric
value
ASCII value of the
Default value: 13, the corresponding ASCII character is
command
line 13
terminator
Note: Only this value is supported
3.8 Setting the command line edit character: ATS5
This command sets the character that deletes the previous character of the command line.
Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
ATS5=
OK
Commands
Enquiry command
ATS5?
Parameter Definition:
parame define
retrieve a Explanation of values
tric
value
ASCII value of the 8
command line editor
Default value: 8 (corresponds to the ASCII character
Examples: Command () / Return ()
an actual example
Explanations and clarifications
29 / 285
ATS5?
8
OK
Queries the current command line edit character
The current command line edit character is the BackSpace backspace character.
3.9 Setting the CDC function mode: AT&C
This command sets the relationship between the 109 (DCD) circuit status and the signal detection on the
remote receive line.
Grammatical rules:
Command vocabulary
come (or go) back
Type
execute a
AT&C
OK
command
Parameter Definition: parametr define ic
retrieve a Explanation of values
value
0
The DCD line is always ON.
1
The DCD line is ON only when the data carrier is present
3.10 Setting the DTR function mode: AT&D
This command sets the response state of TA when circuit 108/2 (DTR) changes from ON to OFF in data
mode.
Grammatical rules:
Command vocabulary
come (or go) back
Type
execute
a AT&D
OK
command
Parameter Definition: parametr define ic
DTR Status
Circuit
retrieve a value 0 1
2
Explanation of values
TA Ignore DTR status DTR from ON to OFF: TA switches to command mode while
holding the current data call DTR from ON to OFF: The TA releases the data
call and switches to command mode. When DTR= OFF, it is the auto answer off
state.
30 / 285
3.11 Real-time clock: AT+CCLK
Grammatical rules:
Command
vocabulary
Type
Setup Commands
AT+CCLK=
Enquiry command
AT+CCLK?
test command AT+CCLK=?
come (or go) back
OK +CCLK:
Parameter Definition: parame define tric
retriev ea value
–
Explanation of values
String type (string must be enclosed in inverted commas); format similar to
“yyy/MM/dd,hh:mm:ss±zz”, the last two characters indicate the year, month,
day, hour, minute, second, and time zone (expressed as the difference between
local time and GMT time in 1/4 hour format; range -47… +48). +48)
Examples: Command () / Return ()
an actual example
AT+CCLK? +CCLK: “18/08/01,12:12:58+00″
Explanations and clarifications
Query current time Returned query results
OK
AT+CCLK=”18/08/07,13:28:29+32”
Set the current time to the correct time, setting
the time zone can be done with a “+” sign
OK
AT+CCLK?
Query the current time again
+CCLK: “18/08/07,13:28:31+32″
Returned query results
OK
3.12 Set USB mode: AT+SETUSB
This command sets the usage mode of the USB port.
Grammatical rules:
Command vocabulary
Type
Setup
AT+SETUSB=
come (or go) back OK
31 / 285
Commands
Enquiry command
AT+SETUSB?
mode:
test command caveat
OK
AT+SETUSB=?
OK
This command shuts down the machine and automatically saves
Parameter Definition: parametric define
USB usage mode, mandatory parameters for setup commands
Vendor id, an optional parameter for the setup command. Product id, an
optional parameter of the setup command
retrieve a value 1 2 3
Explanation of values
RNDIS+AT+PPP+DIAG mode, default value ECM+ AT+PPP+DIAG model reservation
series default value is 0x19d1
series default value is 0x0001
Examples: Command () / Return ()
an actual example
AT+SETUSB=2 OK AT+SETUSB? mode: 2 vid: 0x19d1 pid: 0x1
Explanations and clarifications Set to ECM NIC
OK
3.13 Device error: AT+CMEE
This command enables or masks the use of the result code +CME ERROR:
Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
AT+CMEE=[
OK
Commands
Enquiry
AT+CMEE?
+CMEE :
32 / 285
command
test command
AT+CMEE=?
OK +CMEE: (list of
OK
Parameter Definition: parame define tric
Result
code
reporting model
retrieve a value 0 1
2
Explanation of values
Disable result code + CME ERROR:
3.14 Error code description: +CME ERROR:
Numeric Redundant way of taking
common error
0
phone failure
1
no connection to phone
2
phone-adaptor link reserved
3
operation not allowed
4
operation not supported
5
PH-SIM PIN required
6
PH-FSIM PIN required
7
PH-FSIM PUK required
10
SIM not inserted
11
SIM PIN required
12
SIM PUK required
13
SIM failure
14
SIM busy
15
SIM wrong
16
incorrect password
17
SIM PIN2 required
18
SIM PUK2 required
20
memory full
21
invalid index
22
not found
23
memory failure
24
text string too long
25
invalid characters in text string
26
dial string too long
account for
malfunction of a mobile phone Not connected to mobile phone Reserve mobile
phone adapter link Operation is not permitted Unsupported operations PH-SIM
card PIN required Requires a PIN for PH-FSIM PUK requiring PH-FSIM No SIM card
inserted SIM card PIN required PUK requiring a SIM card SIM card failure SIM
card is busy SIM error Invalid password Requires SIM card PIN2 PUK2 requiring
a SIM card Storage full Invalid index not found memory failure Text string too
long Invalid characters in text string Dialling strings too long
33 / 285
27 30 31 32 40 41
42
43
44 45 46 47 48 49 50 50 51 52 53 54 55 56 57 58 59 60 61 62 63 96 97 98 99 100
103 106 107 111 112 113 132 133
34 / 285
invalid characters in dial string no network service network timeout network
not allowed – emergency calls only network personalisation PIN required
network personalisation PUK required
network subset personalisation PIN required
network subset personalisation PUK required
service provider personalisation PIN required service provider personalisation
PUK required corporate personalisation PIN required corporate personalisation
PUK required hidden key required EXE_NOT_SURPORT EXE_FAIL Invalid Param NO
MEMORY OPTION NOT SURPORT parameters are invalid EXT_REG_NOT_EXIT
EXT_SMS_NOT_EXIT EXT_PBK_NOT_EXIT EXT_FFS_NOT_EXIT INVALID_COMMAND_LINE
ITF_DIFFERENT BURN_FLASH_FAIL
TFLASH NOT EXIST
FILE NOT EXIST FILE TOO LARGE INVALID DATE OR TIME DIR CREATE FAIL DIR NOT
EXIST NOT IMPLEMENTED unknown Illegal MS Illegal ME GPRS services not allowed
PLMN not allowed Location area not allowed Roaming not allowed in this
location area service option not supported requested service option not
subscribed
Invalid characters in dialling string no network service network timeout
Network not allowed – only for emergency calls Network personalised PIN
required Web personalised PUK required Requires a subset of the network to
personalise the PIN Requires a subset of the network to personalise the PUK
Personalised PIN for service providers required Service Provider Personalised
PUK required Company personalised PIN required Company personalised PUK
required Requires a hidden password
(for cat1 modules) Invalid parameter (for cat4 modules) Out of memory (for
cat1 modules) Option not supported (for cat1 modules) Invalid parameter (for
cat1 modules) (for cat1 modules) (for cat1 modules) (for cat1 modules) (for
cat1 modules) (for cat1 modules) (for cat1 modules) (for cat1 modules) TF card
not present (for cat1 modules) File does not exist (for cat1 module) File too
large (for cat1 modules) Invalid date or time (for cat1 modules) Failure to
create folder (for cat1 module) Folder does not exist (for cat1 modules) Not
executable (for cat1 modules) uncharted Illegal MS Illegal ME GPRS services
are not allowed PLMN not allowed Not permitted location zones Roaming is not
allowed in this location area No support for business options Undescribed
service selection request
134 148 149 150 151 181 214 222 223 224 225 226 229 230 231 232 233 234 240
247 248 249 250 251 256 264 265 266 267 267 268 269 270 271 272 273 274 275
276 277 278 279 280 281
35 / 285
service option temporarily out of order unspecified GPRS error PDP authentication failure invalid mobile class AT command timeout UNSUPPORTED QCI VALUE SS_UNKNOWN_SUBSCRIBER SS_ILLEGAL_SUBSCRIBER SS_BRERSERV_NOT_PROV SS_TELESERV_NOT_PROV SS_ILLEGAL_EQUIPMENT SS_CALL_BARRED SS_ILLEGAL_OPERATION SS_ERROR_STATUS SS_NOT_AVAILABLE SS_SUBS_VIOLATION SS_INCOMPATIBILITY SS_FACILITY_NOT_SUPPORTED SS_ABSENT_SUBSCRIBER SS_SYSTEM_FAILURE SS_DATA_MISSING SS_UNEXPECTED_DATA_VALUE SS_PWD_REGISTRATION_FAILURE SS_NEGATIVE_PWD_CHECK SS_NUMOF_PWD_ATTEMPT_VIOL SIM VERIFY FAIL SIM UNBLOCK FAIL SIM CONDITION NO FULLFILLED SS_POSITION_METHOD_FAILURE sim unblock fail no left sim verify fails no left SIM INVALID PARAMETER SIM UNKNOW COMMAND SIM WRONG CLASS SIM TECHNICAL PROBLEM SIM CHV NEED UNBLOCK SIM NOEF SELECTED SIM FILE UNMATCH COMMAND SIM CONTRADICTION CHV SIM CONTRADICTION INVALIDATION SIM MAXVALUE REACHED SIM PATTERN NOT FOUND SIM FILEID NOT FOUND SIM STK BUSY
Business Selection Temporarily No Connection GPRS error not specified PDP
authentication failure Invalid move category AT command timeout CQI is not
supported
(for cat1 modules) (for cat1 modules) (for cat1 modules) (for cat4 modules)
(for cat1 modules) (for cat1 modules) (for cat1 modules) (for cat1 modules)
(for cat1 modules) (for cat1 modules) (for cat1 modules) (for cat1 modules)
(for cat1 modules) (for cat1 modules) (for cat1 modules) (for cat1 modules)
(for cat1 modules) (for cat1 modules) (for cat1 modules)
282 283 284 285 323 339 340 501 502 503 504 505 506 507 508 509 510 511 535
600 601 602 603 604 605 606 753 754 755 756 757 758 759 765 766 767 768 769
770 771 772 773 774 791
36 / 285
SIM UNKNOW SIM PROFILE ERROR SS_UNKNOWN_ALPHABET SS_USSD_BUSY
SS_MAXMPTY_CALLS_EXCEEDED SS_RESOURCES_NOT_AVAILABLE WIFI labtool reture error
BT labtool reture error FM labtool reture error MRD file already exist MRD
file with same version already exist MRD file with newer version already exist
MRD authorisation failure (U)SIM PUK blocked Vendor not supported NVM path not
exist NVM file comcfg error PROTOCOL stack busy BTSAP card not accessible
BTSAP card powered off BTSAP card removed BTSAP card powered on BTSAP data not
available BTSAP not supported Non-Production mode missing required cmd
parameter Invalid SIM command Invalid file id Missing required P1/2/3
parameter Invalid P1/2/3 parameter Missing required command data invalid
characters in command data Invalid input value Unsupported mode Operation
failed Mux already running Unable to get control SIM network reject Call setup
in progress SIM powered down SIM file not present RAC refresh net time failure
Param count not enough
(for cat1 modules) (for cat1 modules)
Cat1 module
CRSM Missing Parameters CRSM Invalid Order CRSM Invalid document CRSM Missing
P parameter CRSM Invalid P Parameter CRSM Missing command data CRSM Invalid
characters in command line Invalid Input Value Unsupported modes failure of an
operation Multiplexing is already running Inability to gain control SIM
Network Rejection Call being set up SIM is off. SIM files are not
792 793 794 795 796 797 810 811 812 813 814 815 816 817 818 819 820 821 822
823 824 890 891 892 893 894 900 901 902 910 911 912 913 914 915 916 917 918
980 981 982 983 1000 1001
37 / 285
Param count beyond Param value range beyond Param type not match Param format invalid Get a null param CFUN state is 0 or 4 No Error Unrecognized Command Return Value Error Syntax Error Unspecified Error Data Transfer Already Action Already Not At Cmd Multi Cmd too long Abort Cops No Call Disc BT SAP Undefined BT SAP Not Accessible BT SAP Card Removed AT Not Allowed By Customer GPS_NOT_RUNNING GPS_IS_RUNNING GPS_IS_FIXING GPS_IS_SLEEPING GPS_NOT_SLEEPING DIAED_REJECT PDP_NO_ACTIVE PDP_ACTIVE TCP_CONNECTION_REJECT TCP_CONNECT_OVERTIME SOCKET_CONNECTION_EXIST SOCKET_CONNECTION_NOT_EXIST BUFFER_OVER_SIZE SENDING_OVERTIME DNS_EXIST DNS_PARSE_OVERTIME DNS_PARSE_ERROR INPUT_VALUE_ERROR OTHER_ERROR ERROR not_allowed UPGRADE_INVALID_URL UPGRADE_NET_ERROR
1002 1003 1004 1005 1006 65535
UPGRADE_SERVER_CONNECT_ERROR UPGRADE_INVALID_FILE UPGRADE_SERVER_RESPONSE_ERROR UPGRADE_WRITE_FLASH_ERROR UPGRADE_ERROR Other Error
38 / 285
4 Device Control Commands
4.1 Module Function Mode: AT+CFUN
Sets the function mode of the command selection module.
Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
AT+CFUN=
OK
Commands
Enquiry command
AT+CFUN?
+CFUN:
+CFUN: (
test command
AT+CFUN=?
values)
OK
Parameter Definition: parametric define
functional mode
Whether
a
reboot
is
required
retrieve a value 0 1 4 0
1
Explanation of values
minimum functionality All functions Flight Mode. Turn off the receive and
transmit functions of the module’s RF circuitry No reset of ME when setting
Examples: Command () / Return ()
an actual example
AT+CFUN=? +CFUN: (0,1,4),(0,1)
Explanations and clarifications
Queries the value range of each parameter Enquiry results
OK
AT+CFUN?
+CFUN: 1
OK
AT+CFUN=1,1
OK
Query the current function mode Enquiry results
Used to actively reboot the module, after rebooting it enters full-featured
mode.
39 / 285
4.2 Shutdown: AT+CPOWD
Grammatical rules: Comman vocabulary d Type Setup Comman AT+CPOWD=
Returns and notes
4.3 Enter PIN code: AT+CPIN
Grammatical rules: Comman vocabulary d Type
Setup Comman ds
AT+CPIN=
Enquiry AT+CPIN?
command
test command URC
AT+CPIN=? +CPIN:
Returns and notes
OK
Note: If the required pin is SIM PUK or SIM PUK2, a second pin is required.
OK OK
Parameter Definition:
parametric define
cryptographic
new password
retrieve a value READY SIM PIN SIM PUK SIM PIN2 SIM PUK2 SIM REMOVED
Explanation of values string type string type ME no longer needs to provide a
password ME waiting to provide PIN code for SIM card ME waiting to provide PUK
code for SIM card ME waiting to provide PIN2 code for SIM card ME waiting to
provide PUK2 code for SIM card SIM card not detected
Examples: Command () / Return ()
an actual example
AT+CPIN? +CPIN: READY
Explanations and clarifications
Query PIN code lock status Indicates that the PIN lock is not on
40 / 285
OK
AT+CLCK=”SC”,1, “1234”
Turn on the power-on PIN code lock, 1234 is the PIN code,
SC means it’s a SIM card
OK
After returning OK, restart the module
+CPIN: SIM PIN
After rebooting, the module will automatically report the PIN code status, SIM
PIN indicates the status of the power-on PIN code is ON (i.e. power-on needs
to enter the PIN code)
AT+CPIN=”1234″
You will need to enter the PIN code at this point
+CPIN: READY
Indicates that the password is correct and the PIN code lock is unlocked
OK
AT+CLCK=”SC”,2
Query whether the current power-on PIN code is still on
+CLCK: 1
1 means there is still a power-on PIN code prompt
OK
AT+CLCK=”SC”,0, “1234”
Turning off the boot-up PIN code prompt
OK
+CPIN: READY
Return to OK and reboot
After rebooting, the module will automatically report the PIN code status,
READY means power-on PIN code: OFF
4.4 Device lock: AT+CLCK
Execute commands to lock, unlock, and query the ME or network device .
Usually requires a
password.
Grammatical rules:
Comman vocabulary
Returns and notes
d Type
Returns when 2:
OK
Setup Comman ds
AT+CLCK=, [,[,]]]
When =2, return:
+CLCK:[, +CLCK:,[…]]
test AT+CLCK=?
command
OK +CLCK: (list of values)
OK
Parameter Definition: parametric define
appliances
41 / 285
retrieve a Explanation of values
value
“CS”
Control surface
“PS”
Locking the device to one or some SIM cards
“PF”
Lock the device to the first inserted SIM card
“SC” “AO” “OI”
“OX”
“AI”
“IR”
“NT” “NM” “NS”
“NA”
“AB” “AG” “AC” “FD” “PN” “PP” “PU”
“PC”
0
operating mode 1
2
activation
0
state
1
1
2
Business
4
Type
8
16
32
64
128
cryptographi
c
SIM/UICC (lock SIM card) Disable all outgoing calls Disable all international
outgoing calls Prohibition of all international outgoing calls, except to
countries of attribution Disable all incoming calls Prohibit all incoming
calls when roaming outside the country of attribution Prohibit TA unsaved
numbers from incoming calls Prohibit MT unsaved numbers from entering the call
Prohibit SIM/UICC unsaved numbers from entering the call Prohibit incoming
calls from numbers that are not saved in any storage space Disable all
services, only valid if mode=0 Disable all outgoing services, valid only if
mode=0 Disable all incoming services, valid only if mode=0 SIM card fixed
dialling Network personalisation (please refer to GSM 02.22) Service provider
personalisation (please refer to GSM 02.22) Network subset personalisation
(please refer to GSM 02.22)
Enterprise personalisation (please refer to GSM 02.22)
release
lock (denying access to a computer system or device or files)
Enquiry Status inactive activate voice Data (all bearer services; when
=2, if the TA does not support values of 16, 32, 64, 128, this parameter
indicates only partial bearer services) Fax (fax operations) short message
service Data Circuit Synchronisation Data Circuit Asynchronous Dedicated
Packet Access Dedicated PAD access Character type; same as the device password
used for the ME user interface and the password set by the Change Password
command +CPWD
42 / 285
4.5 Change password: AT+CPWD
Grammatical rules:
Comman vocabulary
d Type
Setup Comman ds
AT+CPWD=,,
test AT+CPWD=?
command
come (or go) back
OK +CPWD: (,) list of values. OK
Parameter Definition: parametric
,
define
Old code, new code. Password length appliances
retrieve a value –
–
Explanation of values
Character type; same as the device password used for the ME user interface,
the password change command + the password set by CPWD Integer type, the
maximum password length supported by the device Same definition as in AT+CLCK
Examples: Command () / Return ()
an actual example
AT+CLCK=”SC”,1, “1234”
OK
AT+CPWD=”SC”, “1234”, “8888”
OK
+CPIN: SIM PIN
AT+CPIN=”8888″
+CPIN: READY
OK
Explanations and clarifications
If you want to change the power-on PIN code, you have to open the power-on PIN
code lock first.
Modify the boot PIN code to 8888 Restart the module at this point After
rebooting, the module will automatically report the PIN code status, SIM PIN
indicates the power-on PIN code: ON You will need to enter the PIN code at
this point
Indicates that the password is correct and the PIN code lock is unlocked
4.6 Network light blinking interval: AT+SLEDS
Grammatical rules: Comman vocabulary
come (or go) back
43 / 285
d Type Setup Comman ds
AT+SLEDS=, ,
Enquiry AT+SLEDS?
command
test AT+SLEDS=?
command
OK
+SLEDS:, ,
OK +SLEDS: ( value list), ( value list), ( value
list)
OK
Parameter Definition: parametric define
Setting the interval between flashing lights in which state
length of time the light is on lights out time
retrieve
a
value
1
2
3
0 or 40 to 65535 0 or 40~65535
Explanation of values
Setting the network light blinking interval when not registered on the network
Setting the network light blinking interval when you are already registered on
the network Setting the network light blinking interval during PPP
communication status
Unit ms, 0 is always off
Unit ms, 0 is always on
Examples: Command () / Return ()
an actual example
AT+SLEDS=? +SLEDS:(1-3),(40~65535),(40~65535)
Explanations and clarifications
test command Return results
OK
AT+SLEDS?
+SLEDS:1,200,1800
+SLEDS:2,1800,200
+SLEDS:3,125,125
Enquiry command This is the default configuration
OK
4.7 Setting the TE-TA baud rate: AT+IPR
Grammatical rules: Comman vocabulary
Returns and notes
44 / 285
d Type Setup Comman ds Enquiry command test command
caveat
AT+IPR=
OK
+IPR: AT+IPR?
OK +IPR: (adaptive baud rate picklist), (fixed baud rate picklist) AT+IPR=? OK
- Default baud rate = 0, i.e. adaptive baud rate. 2. When the module is
switched on, you need to input a number of “AT” or (Note: “aT”, “At” can not
train the baud rate), you can train the baud rate of the module to be the same
as the main control, at this time there will be an initialisation message
reported, indicating that the training is successful. 3. After successful
training, the AT command can recognise upper, lower or mixed case. 4.
“AT+IPR=x;&W”, you can set a fixed baud rate and save it. After restarting the
module, the module is still at this baud rate x. If the upper computer baud
rate is also x, at this time, you don’t need to input anything, the module
will automatically report the power-on initialisation information. Note: x is
the baud rate, e.g. 115200
Parameter Definition: parametric define
retrieve a value
0
600 1200 2400
Explanation of values Adaptive baud rate (adaptive range varies with module
model)
4800
9600 Baud rate in bps 19200
38400
57600
115200
230400
460800
921600
Examples: Command () / Return ()
an actual example
Explanations and clarifications
45 / 285
AT+IPR=?
Queries the currently supported baud rate range
+ipr:(600,1200,2400,4800,9600,19200,38400,57600,
115200,230400),(0,600,1200,2400,4800,9600,19200
,38400,57600,115200,230400, 460800, 921600)
OK
4.8 Setting the TE-TA frame format: AT+ICF
Grammatical rules: Comman vocabulary d Type Setup Comman
AT+ICF=,[] ds
Enquiry AT+ICF?
command
test AT+ICF=?
command
Returns and notes
OK +ICF: < format >[,] OK +ICF: ( list of values), (
list of values) OK
Parameter Definition: parametric define
frame format
check digit
retrieve a Explanation of values
value
0
automatic recognition
1
8 Data bit 0 Parity bit 2 Stop bit
2
8 Data bit 1 Parity bit 1 Stop bit
3
8 Data bit 0 Parity bit 1 Stop bit
4
7 Data bit 0 Parity bit 2 Stop bit
5
7 Data bit 1 Parity bit 1 Stop bit
7 Data bit 0 Parity bit 1 Stop bit
6
Note: 0 parity bit means no parity bit, in this case is
ignored
0
Odd bits (Odd)
1
Even digits (Even)
Examples: Command ( ) / Return ()
an actual example
AT+ICF=? +ICF: (1-6), (0-1)
Explanations and clarifications Query parameter value range
46 / 285
OK
4.9 Setting the command line newline character: ATS4
Use the Set command of this instruction to set the characters to be used for
result codes and message
text line feeds.
Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
OK
ATS4=
Commands
Enquiry command
ATS4?
OK
Parameter Definition:
parame define
retrieve a Explanation of values
tric
value
ASCII value of 10
command line breaks
Default value: 10 (corresponds to the ASCII character line break) Note:
Only this value is supported
4.10 TE-TA Local Traffic Control: AT+IFC
Introduction to Flow Control:
Flow control is important for reliable communication between the module and
the DTE. Assuming a data or fax call in which the sending end is sending
faster than the receiving end is receiving, when the receive buffer is nearly
full, the receiving end should have a way for the sending end to pause sending
until it catches up again. This is flow control.
Generally, there are two ways to implement flow control. They are software
flow control and hardware flow control. In multiplexed mode, hardware flow
control is recommended. Both methods of flow control are supported by the
HopZoo module.
Software flow control: The software flow control sends different characters to
pause (XOFF, decimal 19) and resume (XON, decimal 17) the data stream. It is
suitable for serial communication with only three wires.
If the Hopu LTE module uses software flow control, it needs to be configured
with the command: AT+IFC=1,1
Because this configuration is not saved, if you wish to continue to use
software flow control after a reboot, you need to save it to the User
Configuration Table via AT&W.
Note: When the module transmits binary/hexadecimal data, the software flow
control method is not
47 / 285
suitable because the TE may treat the binary data as flow control characters.
Hardware flow control:
Hardware flow control is implemented via the RTS/CTS signals. When the receive
buffer is almost full, the module sets the CTS signal to invalid and the data
transfer is suspended. When the module’s receive buffer can receive more data,
the CTS signal is reset to active. To implement the hardware flow control
feature, make sure your application serial port contains the RTS/CTS line.
Grammatical rules:
Comman vocabulary
Returns and notes
d Type
Setup
Comman AT+IFC=,[< dte_by_dce>] OK
ds
Enquiry AT+IFC?
command
+IFC: , OK
+IFC:
(
list
of
test AT+IFC=?
command
values), list of values)
OK
caveat
The module has no flow control by default. If you need hardware flow control,
please enter “AT+IFC=2,2;&W” and reboot the module to take effect all the
time.
Parameter Definition:
parametric
define
< dce_by_dte> < dte_by_dce>
Flow
control
method used by the
TE to receive data
from the TA
Flow
control
method used when
TA receives data
from TEs
retriev ea value 0 1
2
0 1
2
Explanation of values
no-flow control software flow control hardware flow control no-flow control
software flow control hardware flow control
Examples: Command () / Return ()
an actual example AT+IFC=?
+IFC: (0-2), (0-2)
Explanations and clarifications
Query the range of values for < dce_by_dte> and < dte_by_dce>. Enquiry results
OK
48 / 285
AT+IFC?
+IFC: 2,2
OK
Query the current flow control method hardware flow control
4.11 Enabling and disabling SIM card presence hardware detection: AT+CSDT
The setup command of this command enables the function of this pin USIM_CD.
When AT+CSDT=1, enable this pin. At this time with the SIM card peripheral
detection circuit can detect the SIM card in position state, that is, inserted
or dropped. Note: The USIM_CD pin is the USIM card presence detection pin,
please refer to the hardware manual of the relevant model for the specific
definition.
Grammatical rules:
Comman vocabulary
Returns and notes
d Type
Setup
Comman AT+CSDT=,[]
OK
ds
Enquiry AT+CSDT?
command
+CSDT:,[] OK
test AT+CSDT=?
command
+CSDT: (list of values) OK
When SIM card presence is detected, a URC is immediately reported: +CPIN:
READY
When the SIM card is detected to be out of position, a URC is immediately
reported:
+CPIN: SIM REMOVED
If you need to shut down and save, enter AT+CSDT=;&W
caveat
AT+CSDT=1: default rising edge trigger, low without card insertion, high with
card insertion
AT+CSDT=1,0: you can configure falling edge triggering, high without card
insertion,
low with card insertion
AT+CSDT=1,1: Rising edge trigger can be configured, low without card inserted,
high
with card inserted
Parameter Definition: parametric define
SIM presence detection on state
retrieve Explanation of values a value
0
Disable SIM card presence detection
49 / 285
1
Enable SIM card presence detection
4.12 Detect whether the SIM card of a slot is in position: AT *SIMDETEC
The set command is used to detect whether the SIM card of a certain slot is in
position.
The test command is used to display the currently supported SIM slots.
Grammatical rules:
Command vocabulary
come (or go) back
Type
*SIMDETEC: ,
test command
AT*SIMDETEC=?
OK *SIMDETEC: (1,2)
OK
Parameter Definition: parametric define
Which sim card slot
SIM card status
retrieve a Explanation of values value
1
Primary sim card
2
Spare sim card (not supported yet)
NOS
SIM card does not exist
SIM
SIM card inserted
Examples: Command ( )/Retur n ()
an actual example
ATSIMDETEC=1 SIMDETEC: 1, NOS
OK
4.13 Get Sim type: AT*EUICC
Getting to know the SIM card type.
Grammatical rules: Command Type
vocabulary
50 / 285
Explanations and clarifications SIM card not in position
come (or go) back
Enquiry command AT*EUICC?
*EUICC: OK
Parameter Definition. parametric define
SIM card type
retrieve value 0 1
a Explanation of values
SIM USIM
4.14 Setting sleep wake-up via UART port: AT+CSCLK
A prerequisite for putting the module to sleep via the serial port is that the
USB port is not connected.
Grammatical rules:
Comman vocabulary
Returns and notes
d Type
Setup
Comman AT+CSCLK=
OK
ds
Enquiry AT+CSCLK?
command
+CSCLK: OK
test AT+CSCLK=?
command
+CSCLK: (list of supported s) OK
Parameter Definition:
param define retri
etric
eve
a
valu
e
0
Sleep settings
1
Explanation of values
Disable the module sleep function. The module cannot enter the sleep state.
Default value. Sleep mode 1. controlled by the module AP_WAKEUP_MODULE pin to
enter sleep or not. When AP_WAKEUP_MODULE is pulled high (default is high
because there is an internal pull-up), AT+CSCLK=1 is set, and no other
interrupts are generated (GPIOs, incoming calls, incoming SMS, etc.), the
module automatically enters Sleep Mode 1. In this mode, the module is still
able to receive calls and SMS from the network.
When the module is in sleep mode 1, the module can be woken up by several
methods as follows.
51 / 285
The module receives an external interrupt signal; The module receives a voice
or data call; The module receives a short message (SMS); The serial port
receives the AT command; Pull down the AP_WAKEUP_MODULE pin for roughly 50ms
Note: URCs are reported when the module receives a voice or data call or short
message Sleep mode 2. After setting AT+CSCLK=2, the module will continuously
monitor the serial port data, if there is no data input on the module’s serial
port and no other interrupt is generated (GPIO, incoming call, incoming SMS,
incoming data, etc.), the module will automatically enter Sleep Mode 2 after 5
seconds by default. (Note: In the case of Sleep Mode 2, the level of
AP_WAKEUP_MODULE has no effect on the module’s Sleep Wake function. This is
the main difference with sleep mode 1). In this mode, the module can still
receive calls and SMS 2 from the network.
When the module is in sleep mode 2, the module can be woken up by several
methods as follows. The module receives an external interrupt signal; The
module receives a voice or data call; The module receives a short message
(SMS); The serial port receives the AT command. Sleep mode 3 (ultra-low power
consumption). After setting AT+CSCLK=3, the module will continuously monitor
the serial port data, if there is no data input on the module’s serial port
and no other interrupt is generated (GPIO, incoming call, incoming SMS,
incoming data, etc.), the module will automatically enter Sleep Mode 3 after 5
seconds by default. (Note: In the case of Sleep Mode 3, the AP_WAKEUP_MODULE
level has no effect on the module’s Sleep Wake function. This is the main
difference with sleep mode 1). In this mode, the module can still receive
calls and SMS from the network. 3
When the module is in sleep mode 3, the module can be woken up by one of the
following methods. The module receives an external interrupt signal; The
module receives a voice or data call; The module receives a short message
(SMS); The serial port receives the AT command.
Software version >= V1026 support.
Examples: Command () / Return
an actual example
Explanations and clarifications
52 / 285
()
Sleep-wake application example 1
AT+CSCLK=2
OK
AT+WAKETIM?
+WAKETIM:5
OK
AT+WAKETIM=8
OK
AT+CSCLK=0
OK
Sleep-wake application example 2
AT+CSCLK=1
OK
AT+WAKETIM?
+WAKETIM:5
OK
AT+WAKETIM=8
OK
53 / 285
Set to sleep mode 2. In this sleep mode, the module goes to sleep when the
following conditions are met simultaneously.
Module has no input on AT port No URC reported (including no incoming calls,
no SMS, no data
received from the server, etc.) No GPIO interrupt
Check the time to go to sleep
The query result is 5 seconds. 5 seconds is the default time to go to sleep
after CSCLK is set to sleep.
If you need to change the time to go to sleep, you can set it via WAKETIM,
e.g. change it to 8 (normally you don’t need to set it)
Note: WAKETIM should not be set to 0 at this time, as this will disable sleep.
The module wakes up in one of the following ways. 1) Enter several AT commands
into the serial port (one
often doesn’t wake up, you need to enter more than one) 2) Arbitrary URC
reporting (including incoming calls,
incoming SMS, data received from server, etc.) 3) GPIO interrupt
0, set to disallow module sleep
Set to sleep mode 1. In this sleep mode, the module goes to sleep when the
following conditions are met simultaneously.
Module has no input on AT port No URC reported (including no incoming calls,
no SMS, no data
received from the server, etc.)
Module
AP_WAKEUP_MODULE
is
high
(AP_WAKEUP_MODULE high is to allow the module to sleep;
AP_WAKEUP_MODULE low is to wake up the module) No GPIO interrupt
Check the time to go to sleep
The query result is 5 seconds. 5 seconds is the default time to go to sleep
after CSCLK is set to sleep.
If you need to change the time to go to sleep, you can set it via WAKETIM,
e.g. change it to 8 (normally you don’t need to set it)
Note: WAKETIM should not be set to 0 at this time, as this will disable sleep.
The module wakes up in one of the following ways. Enter several AT commands
into the serial port (one or
two ATs will do) Arbitrary URC reporting (including incoming calls,
AT+CSCLK=0
incoming SMS, data received from server, etc.) GPIO interrupt AP_WAKEUP_MODULE
wake-up (AP_WAKEUP_MODULE
low, wake-up; AP_WAKEUP_MODULE high, sleep
allowed)
OK
0, set to disallow module sleep
Examples of ultra-low power applications (for most digital transmission
business scenarios)
AT+CSCLK=3
Set to sleep mode 3 (ultra-low power consumption). In this sleep mode, the
module goes to sleep when the following conditions are met
simultaneously.
OK
AT+WAKETIM=1
OK
AT*RTIME=2
OK
AT+CSCLK=0
OK
Module has no input on AT port No URC reported (including no incoming calls,
no SMS, no data
received from the server, etc.) No GPIO interrupt
Set to wait 1 second to enter sleep state in IDL state
Set to wait 2 seconds to enter sleep state when in digital transmission mode
The module wakes up in one of the following ways. 4) Enter several AT commands
into the serial port (one
often doesn’t wake up, you need to enter more than one) 5) Arbitrary URC
reporting (including incoming calls,
incoming SMS, data received from server, etc.) 6) GPIO interrupt
0, set to disallow module sleep
4.15 Sets how long to wait to go to sleep in digital transmission mode:
AT*RTIME
Grammatical rules:
Comman vocabulary
Returns and notes
d Type
Setup
Comman AT*RTIME=
OK
ds
Enquiry AT*RTIME?
command
*RTIME: OK
Under normal circumstances, the shorter the value, the lower the
power consumption, and it is
caveat
recommended to set it to 2. If the actual use of the environment signal is
relatively poor, the data sending and
receiving often retransmission delay, then this value needs to be changed to a
larger one.
Parameter Definition:
54 / 285
parametric define How long to wait to go to sleep in
digital transmission mode.
retrieve a value Explanation of values
0~20
Unit:second, 0 means off. The default value is 0.
Examples: Command () / Return ()
an actual example
AT*RTIME=2 OK
Explanations and clarifications Set the wait time to 2 seconds
4.16 Ultra-low power command: AT+POWERMODE
=V1143 (LPAT version) support, ultra-low power programme reference:
https://doc.openluat.com/wiki/50
Grammatical rules:
Comman vocabulary
Returns and notes
d Type
Setup
AT+POWERMODE=[,<para
Comman
OK
][,]
ds
Enquiry AT+POWERMODE?
command
+POWERMODE:[,] OK
1. Response priority mode and balanced mode, the serial port baud rate is set
to 9600, which
can ensure that the first packet of AT sent during sleep is not lost.
2. PSM+ mode, the serial port baud rate is set to 9600, which can guarantee
the must wake up
3. The AT+CFGRI=1 instruction is required to pull down the RI pin.
caveat
4. AT+CIPSEND=10r1234567890 (send data with the left side, the length of the
latter directly
r plus the way the data is sent, because waiting for > may lead to a timeout
module into
hibernation)
5.PSM+ mode does not support automatic upgrade, fota upgrade recommended
manual
upgrade
Parameter Definition: parametric define
Response Priority Mode (shutdown
retrieve a value “PRO”
Explanation of values Function 1. Remote wake-up speed (within
55 / 285
will save)
Equilibrium mode (switch-off opportunity to save)
“STD”
PSM+ mode (switch-off will save)
“PSM+”
56 / 285
2 seconds) 2.474uA average standby current under good signal condition 3.
Support UART and GPIO interrupt wake-up Wake-up method 1. The linked server,
sends down data to the module, the module will be woken up and print the URC
and pull down the RI pin for 120ms. 2. The module can be woken up by pulling
down DTR or pulling up VBUS. 3. Send data to the module via UART, which can
wake up the module. Function 1. Remote wake-up speed (within 2 minutes)
2.474uA average standby current under good signal condition 3.Support UART and
GPIO interrupt wake-up Wake-up method 1. The linked server, sends down data to
the module, the module will be woken up and print the URC and pull down the RI
pin for 120ms. 2. The module can be woken up by pulling down DTR or pulling up
VBUS. 3. Send data to the module via UART, which can wake up the module.
Function 1. Remote can not wake up 2. Standby power consumption 2.89uA 3.
Support UART and GPIO interrupts and timer wake-up (will pull down the RI
wake-up or open the microcontroller) Wake-up method
(>=V1148 (LPAT version) support)
Exit ultra-low power mode (switch-off will save)
“CLOSE”
Timed pull-down of the RI pin in PSM+ mode
Enable or disable ipv6 in “PRO” and 0 “STD” modes.
1 (>=V1146 (LPAT version) support)
Whether or not to open TAU in PSM+ 0
mode
(TAU configured as 1 Standby power consumption can go up to 2.9uA, configured
as 0, and the base station 1 is assigned a TAU time of 54 minutes)
In STD mode, 1 further reduces
0
power consumption, which can lead
to increased packet loss, and 0 is the 1 default
1. If time is entered, the microcontroller wakes up periodically and performs
the response. 2. The module can be woken up by pulling down DTR or pulling up
VBUS. 3. Send data to the module via UART, which can wake up the module.
Unit: s
Off (default off)
show (a ticket)
Open TAU (default)
Close TAU
default (setting) Further reduction in power consumption can lead to increased
packet loss rates
Examples: Command () / Return ()
an actual example
AT+IPR=9600;&W OK AT+POWERMODE=”PRO” OK AT+CIPSTART=”TCP”,112.12
Explanations and clarifications
Switching to 9600 ensures that the first packet of AT sent while sleeping is
not lost Set to response priority mode Enter PRO mode first and then link to
the server)
57 / 285
5.89.8,42951
CONNECT OK
at^heartconfig=1,0,300
Setting the heartbeat period
OK
at^heartbeathex=0,6,41424 Setting the heartbeat content
3444546
OK
4.17 Setting the sleep wait time: AT+WAKETIM
Grammatical rules:
Comman vocabulary
Returns and notes
d Type
Setup
Comman AT+WAKETIM=
OK
ds
Enquiry AT+WAKETIM?
command
+WAKETIM: OK
caveat
Please use WAKETIM command to set the module sleep time, and please use CSCLK
to set the sleep.
Parameter Definition: parametric define How long to wait in IDLE state (no AT,
no SMS, no call and AP_WAKEUP_MODULE is high) to go to sleep?
retrieve a value 0~100
Explanation of values
Unit:second, 0 means no sleep. The default value is 5.
Examples: Command () / Return ()
an actual example
AT+WAKETIM=8 OK
Explanations and clarifications Set sleep time to 8 seconds
4.18 Setting the RI indication function: AT+CFGRI
The setup command sets whether the RI pin (corresponding MAIN_RI pin in the
module) is indicated with
a low pulse when a URC upload is received. If the indication is turned on
(=1), the RI generates
a 120ms low pulse when the corresponding URC arrives (default setting).
Grammatical rules:
Comma vocabulary
come (or go) back
nd Type
58 / 285
Setup Comma nds Enquiry comman d
caveat
AT+CFGRI= [,][,][,] OK
+CFGRI: AT+CFGRI?
OK Whether is 0 or 1, a 120ms low pulse is generated by default when
an SMS is
received; Only after setting AT+CFGRI=1, the URC upload on the arrival of data
services (including
TCPIP,HTTP,MQTT,FTP) will cause the RI to generate low pulse
Parameter Definition: parametr define ic
retrieve a value Explanation of values
0
RI
indication
status
1
RI indication function off RI indication turned on (TCPIP/FTP/HTTP/MQTT and
other URCs)
Time to pull up
0
Unit: milliseconds
pull-down time
Number pull-downs
0 of
0
Unit: milliseconds Unit: milliseconds
Example. Comman d ( )/Retu rn ()
an actual example AT+CFGRI=0
OK
AT+CFGRI=1
OK
at+cfgri=1,200,150,3
OK
Explanations and clarifications
This is the default setting for the module. Under this setting, a 120ms low
pulse will be generated when an SMS is received; when a call comes in, it will
jump to a low level, and won’t go high until the call is connected or hung up
In this setting: When an SMS is received, it generates a 120ms low pulse; when
a call comes in, it jumps to a low level and does not go high until the call
is connected or hung up; The URC upload on the arrival of data services
(including TCPIP,HTTP,MQTT,FTP) generates a 120ms low pulse.
When receiving URC from SMS or data service, it will generate three 150ms low
pulses with 200ms pull-up time between low pulses; when a call comes in, it
will jump to low level and will not become high until the call is connected or
hung up
59 / 285
4.19 Save RI setting function: AT+CFGRISAVE
Sets whether the value set by the AT+CFGRI command is saved.
Grammatical rules:
Comma vocabulary
come (or go) back
nd Type
Setup
Comma AT+CFGRISAVE=
OK
nds
Enquiry
+CFGRISAVE:
comman AT+CFGRISAVE?
d
OK
caveat
After AT+CFGRI sets the corresponding value, AT+CFGRISAVE=1 is required to
keep the corresponding value.
Parameter Definition: parametr define ic
retrieve a value Explanation of values
Is it critical to 0
save
1
unsaved save (a file etc) (computing)
4.20 Set wakeup string command: AT^WAKEUPHEX
Set wake-up string command, send this command, and open the RI, then only the
specified string of
the URC reported to wake up the RI pulse, the other will be blocked, you want
to disable this command
in the string inside the fill in the blanks on the line, you need to the first
one on the blanks,
the string inside the acsii code hexadecimal string, for example, A is
41.(Software version >> V1131
version support) =V1131 version support)
Grammatical rules:
Comma vocabulary
come (or go) back
nd Type
Setup
Comma AT^WAKEUPHEX=
OK
nds
Enquiry
^wakeuphex:
comman AT^WAKEUPHEX?
d
OK
test
^WAKEUPHEX=”str”.
comman AT^WAKEUPHEX=?
d
OK
caveat
String must be acsii code hexadecimal representation, other direct error, does
not support non-displayable characters
60 / 285
Parameter Definition:
parametr define
retrieve a value Explanation of values
ic
Is it critical to acsii code 16
save
String must be acsii code hexadecimal representation, other direct error, does
not support non-displayable characters
Example. Comman d ( )/Retu rn ()
an actual example
AT+CFGRI=1 OK AT^WAKEUPHEX=”414243″
Explanations and clarifications
Turned on RI reporting Setting the wakeup string
OK
AT+CIPSTART=”TCP”,
“112.125.89.8”,35046
AT^WAKEUPHEX=” ”
OK
Connects to the server and triggers the RI pulse when the server sends 414243
with a string sent in HEX, other URC non-conformities do not trigger.
Disable (just fill in the blanks in the string if you want to disable this
command)
4.21 Read ADC: AT+CADC
Grammatical rules:
Command
vocabulary
come (or go) back
Type
Setup
AT+CADC=,
OK
Commands
retrieve command
AT+CADC,2
+CADC:, OK
take note of
Corresponding channel should be opened before reading, default maximum range
1.2V.
Parameter Definition: parametr define ic
ADC id, there are two
retrieve a Explanation of values value
0
61 / 285
1
0
ADC Usage Mode
1
2
ADC Voltage
Example. Comman d ( )/Retu rn ()
an actual example
AT+CADC=0,1 OK AT+CADC=0,2 +CADC: 0,1086
OK
prohibit the use of sth. start using Query the voltage of the adc of this
circuit (>=V1115 version support) Unit: millivolt
Explanations and clarifications
Open ADC0 Read ADC0 value
4.22 Read VBAT voltage: AT+CBC
Grammatical rules: Comman vocabulary d Type
retrieve AT+CBC
command
test command Setup Comman ds
AT+CBC=?
AT+CBC=,
retrieve AT+CBC?
command
come (or go) back +CBC: OK OK OK +CBC:, OK
Parameter Definition:
parametric
define
VBAT voltage
retrieve a Explanation of values
value
current
Unit: millivolt
62 / 285
Voltage value for power-on detection Voltage value for shutdown detection
=0 >=0
Unit: millivolt Unit: millivolt
4.23 Turn on/off the network light: AT+CNETLIGHT
The setup command of this command is used to turn on or off the network status
indicator (NET_STATUS). This query command is used to query whether the
network status indicator has been turned on. The Air780E series modules each
use the following pin signals to indicate the status of the network. The
following table describes the pin definitions. Network Indication Pin
Definitions
pin name
type serial Voltage domain
function
NET_STATUS
status NET_STATUS
DO
16
LDOAON
Indicates the 4G network status of the module
Pin working status On for 1.8 seconds, off for 0.2 seconds On for 0.2 seconds,
off for 1.8 seconds On for 0.125 seconds, off for 0.125 seconds
network state Search network state
idle
Data transmission state Note: This status prompt is limited to successful PPP
dial-up or active PDP activation by the AT command The RNDIS network is
successfully connected.
Grammatical rules: Comman vocabulary d Type
Setup Comman AT+CNETLIGHT= ds retrieve
AT+CNETLIGHT? command
Parameter Definition:
63 / 285
come (or go) back
OK +CNETLIGHT: OK
parametr define ic
retriev ea value
Explanation of values
Network Status Indicator Switch 0
Status
1
cloture show (a ticket)
4.24 SIM physical card, virtual card switching: AT+ECSIMCFC
Note: This command only applies to the Hopu 4G CAT1 module (software version
=V1108).
Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
AT+ECSIMCFG=”SoftSim”,
OK
Commands
+ECSIMCFG: “SimPowerSave”,
+ECSIMCFG: “SimPowerSave”,
Enquiry command
AT+ECSIMCFG?
+ECSIMCFG: “SimPresenceDetect”, +ECSIMCFG: “SimSlot”,
+ECSIMCFG: “SoftSim”,
test command
AT+ECSIMCFG=?
OK
+ECSIMCFG: (list of supported)
OK
caveat
Need to go into flight mode for card switching (enter flight mode (AT+CFUN=0),
switch card, exit flight mode AT+CFUN=1)
Parameter Definition. parametric define
(SoftSim)
Whether to switch to a virtual card
retrieve value 0 1
a Explanation of values
Switch to physical card Switch to virtual card
Examples:
Command ( )/Return ()
an actual example AT+CFUN=0
OK
AT+ECSIMCFG=”SoftSim”,1
OK
Explanations and clarifications Switch to flight mode Switch to virtual card
64 / 285
AT+CFUN=1
OK
Exit Flight Mode
4.25 SIM card switching: AT+SIMCROSS
When the module module is switched on, it will firstly go to query whether
there is a SIM card inserted on the SIM0 interface, and if it detects a SIM
card on the SIM0 interface, it will read the card information on the SIM0
interface to register the network; If no SIM card is detected on the SIM0
interface, it will go back to detect whether there is a SIM card on the SIM1
interface, and if a SIM card is detected on the SIM1 interface, it will read
the card information on the SIM1 interface to register with the network; If a
SIM card is also not detected on the SIM1 interface, an error is reported: no
SIM card inserted; If SIM cards are inserted into both SIM0 and SIM1
interfaces, the SIM card on the SIM0 interface will be used by default, and
you can also switch between them by using the command AT+SIMCROSS.
Grammatical rules:
Command Type
vocabulary
come (or go) back
Setup
AT+SIMCROSS=
OK
Commands
Enquiry command
AT+SIMCROSS?
test command
AT+SIMCROSS=?
+SIMCROSS:
OK +SIMCROSS:(range of values for )
OK
This command is saved by shutting down the computer, but it needs to be
rebooted to take effect.
caveat
EC618 needs to go into flight mode for card switching (enter flight mode
(AT+CFUN=0), switch cards, exit
flight mode AT+CFUN=1)
Parameter Definition. parametric define
SIM No.
retrieve value 0 1
a Explanation of values
SIM card 0 SIM card 1 or internal patch card
Examples:
Command ( )/Return ()
an actual example
AT+SIMCROSS? +SIMCROSS:0
Explanations and clarifications SIM card position is 0
65 / 285
OK
AT+SIMCROSS=1
OK
Switch to internal patch card or SIM card1
4.26 SIM card automatic switching switch: AT*SIMAUTO
You can determine which card to use for network communication based on the
simSlot in the AT+ECSIMCFG?
return value. Grammatical rules:
Command vocabulary
come (or go) back
Type
Setup
AT*SIMAUTO=
OK
Commands
Enquiry command
AT*SIMAUTO?
*SIMAUTO: OK
caveat
This command is saved by shutting down the computer, but it needs to be
rebooted to take effect.
Parameter Definition.
parametric define
retrieve value
a Explanation of values
0
Disable automatic switching
Turn on the SIM auto switching function to judge 1
according to the communication card set up
Switching SIM cards and selecting the right
communication card by signal quality
Note: This configuration will not run automatically every
time you turn on the computer, but needs to be triggered
by AT + SIMSWT command (1. When you run AT +
Automatic
switching
of
switching status 2
SIMSWT, it will trigger the operation of selecting a communication card, and
save the information of the communication card selected by the system to
ensure that the network communication will be carried out in
accordance with the saved communication card after
restarting the computer). 2. When you need to update the
selected communication card, you need to run AT +
SIMSWT again. 3. When you need to update the selected
communication card, you just need to run this AT +
SIMSWT again. 3. When you don’t know the saved
communication card, you can query the saved
communication card by AT + SIMSWT?)
caveat
The SIMSWT command is valid only when used in mode 2
66 / 285
4.27 RNDIS/ECM function switch: AT+RNDISCALL
=V1140 version support Grammatical rules:
Comma vocabulary nd Type Setup Comma AT+RNDISCALL= nds retrieve comman
AT+RNDISCALL? d test comman AT+RNDISCALL=? d
come (or go) back
OK +RNDISCALL: OK +RNDISCALL:(0-disable;1-enable) OK
Parameter Definition: parametr define ic
operating mode
retrieve a Explanation of values value
Turn off the RNDIS/ECM NIC and reboot to take 0
effect Turn on the RNDIS/ECM card and reboot to take 1 effect
4.28 Re-open USB: AT+SYSNV=1, “ureboot”,1
Grammatical rules: Comma vocabulary nd Type
execute a comman AT+SYSNV=1, “ureboot”,1 d Enquiry comman AT+SYSNV=0,
“ureboot” d
come (or go) back
OK +SYSNV: “ureboot”,1 OK
4.29 GPIO port control: AT+CGPIO
Note: This command is only applicable to Hopu 4G CAT1 module (EC618 series)
=V1115 version
Grammatical rules:
Comma vocabulary
come (or go) back
nd Type
67 / 285
Setup Comma nds
caveat
+CGPIO: ,, AT+CGPIO=,,<s
et_mode>
OK The design does not consider the gpio multiplexing situation, it is normal
that some of the gpio multiplexing settings do not take effect, and it is also
normal that the input default state of the original factory limitations cannot
be changed.
Parameter Definition: parametric define
state of affairs
retrieve a Explanation of values value
0
importation
1
exports
Specific GPIO No.
Output high and low
levels
Input
drop-down
state
0,1 0,1,2
Refer to the corresponding hardware manual
If it is an output, it is: 1: output high level 0: output low level If it’s an
input, it’s: 0: pull down 1: pull up 2: hovering
68 / 285
5 Network Service Related Commands
5.1 Query Signal Quality: AT+CSQ
Grammatical rules: Command Type
execute a command
vocabulary AT+CSQ
test command
AT+CSQ=?
come (or go) back +csq: , OK +CSQ: (list of supported
s),(list of supported s)
OK
Parameter Definition:
parame define
retrieve a Corresponding received signal strength
tric
value
(dbm)
Received signal strength indication 0
Less than or equal to -115dBm
(received
signal
strength 1
-111dBm
indication)
2~30
-109 to -53dBm
=(Received signal strength 31
Greater than or equal to -51dBm
dBm+113)/2
99
unknown or unmeasurable
Channel BER (bit error rate, which 0~7
is only known after the call is
RXQUAL value shown in GSM 05.08 section 8.2.4
established)
99
unknown or unmeasurable
Example. Command ( )/Retur n ()
an actual example
AT+CSQ +CSQ: 15,0
Explanations and clarifications
Check signal strength and quality Enquiry results
OK
5.2 Query signal quality (extended): AT+CESQ
Execute the command to return the individual parameters of the received
signal. If the current serving cell is not a
GERAN cell, and are set to 99; if the current serving cell
is not a UTRA FDD or UTRA TDD cell,
is set to 255; if the current serving cell is not a UTRA FDD cell, <
ecno > is set to 255; and
are set to 255 if the current serving cell is not an E-UTRA cell.
Grammatical rules:
Command Type
vocabulary
come (or go) back
69 / 285
execute a command
AT+CESQ
+CESQ: ,,,,, OK
Parameter Definition. parametr define ic
Received signal strength ( received signal strength level ; 3GPP TS 45.008
subclause 8.1.4); integer type
Received signal quality (see XQUAL value in Table R in 3GPP TS 45.008
subclause 8.2.4); integer type
retrieve a value 0 1 2 … 61 62 63 … 99 0 1 2 3 4 5 6
Explanation of values
rssi < -110 dBm
-110 dBm rssi < -109 dBm
-109 dBm rssi < -108 dBm
…
-50 dBm rssi < -49 dBm
-49 dBm rssi < -48 dBm
-48 dBm rssi
…
unknown or unmeasurable
BER <0.2 % Assumed value = 0.14 %
0.2 %<BER<0.4 %Assumed value = 0.28 %
0.4 %<BER<0.8 % Assumed value = 0.57 %
0.8 %<BER<1.6 % Assumed value = 1.13 %
1.6 %<BER<3.2 % Assumed value = 2.26 %
3.2 %<BER<6.4 % Assumed value = 4.53 %
6.4 %<BER<12.8 %Assumed value =
9.05 %
7
12.8 %<BER Assumed value = 18.10 %
99
0
1
received signal code power
2
(refer to 3GPP TS
…
25.133subclause 9.1.1.3 and
94
3GPP TS 25.123subclause
9.1.1.1.3); integer type
95
96
255
0
1
ratio of the received energy per 2
PN chip to the total received
…
power spectral density (see
47
3GPP TS 25.133 ); integer
48
type
49
255
reference signal received
0
quality (refer to 3GPP TS
1
unknown or unmeasurable rscp < -120 dBm
-120 dBm rscp < -119 dBm -119 dBm rscp < -118 dBm … -27 dBm rscp < -26 dBm -26 dBm rscp < -25 dBm -25 dBm rscp
unknown or unmeasurable
Ec/Io < -24 dB -24 dB Ec/Io < -23.5 dB -23.5 dB Ec/Io < -23 dB … -1 dB Ec/Io <
-0.5 dB -0.5 dB Ec/Io < 0 dB 0 dB Ec/Io
unknown or unmeasurable
rsrq < -19.5 dB -19.5 dB rsrq < -19 dB
70 / 285
36.133 subclause 9.1.7);
2
integer type
…
32
33
34
255
0
1
2
reference signal received
…
power (see 3GPP TS 36.133 subclause 9.1.4); integer type
95
96
97
255
-19 dB rsrq < -18.5 dB … -4 dB rsrq < -3.5 dB -3.5 dB rsrq < -3 dB -3 dB rsrq
unknown or unmeasurable
rsrp < -140 dBm -140 dBm rsrp < -139 dBm -139 dBm rsrp < -138 dBm … -46 dBm
rsrp < -45 dBm -45 dBm rsrp < -44 dBm -44 dBm rsrp
unknown or unmeasurable
5.3 Turn on CSQ active reporting: AT*CSQ
The reported URCs (CSQ indicators) are listed below:
+CSQ:, +CESQ:,,,,, *CESQ:
,,,,,,
Grammatical rules: Command Type Setup Commands
Enquiry command
vocabulary ATCSQ=
AT CSQ?
test command
AT*CSQ=?
come (or go) back OK CSQ: OK CSQ = (list of supported s)
OK
Parameter Definition. parametric
, ,,,,
define
See AT+CSQ See AT+CESQ Signal to interference plus noise ratio (S/N ratio)
retrieve a value 0 1
Explanation of values
Closure of active reporting Open Active Reporting
71 / 285
5.4 Web registration information: AT+CREG
The setup command turns on or off URC reporting for +CREG, and the URC
reporting is as follows: Set =1 to proactively report +CREG: when
there is a change in network registration status. Set =2 to proactively
report +CREG: [,,[,]] when there is a change in the
network registration status or resident cell.
The query returns the current value of , and the value of ,
when =2.
Grammatical rules: Command vocabulary Type Setup AT+CREG=[] Commands
come (or go) back
OK =0 (default) or 1. +CREG: ,
Enquiry command
AT+CREG?
OK
=2. +CREG: ,,,,
test command
AT+CREG=?
+CREG:
URC report
+CREG: [,,[,]] +CEREG:
[,[],[],[][,,]]]
OK +CREG: (list of supported values)
OK If =1 , report this URC when the network registration status changes. If
=2, when the network registration status changes or the location zone cell
changes
If =3, when the network registration status changes or the location zone
cell changes
Parameter Definition. parametr define ic
URC reporting status
retrieve a value 0 1
2
Explanation of values
Disable Network Registration Unsolicited Result Code (URC,Unsolicited Result
Code) Enable network registration of unsolicited result codes + CREG:
Enable web registration and location information unsolicited result codes
+CREG: [,,[,]]
72 / 285
3
0
1
2
3
4
5
Current
Network
6
Registration Status
7
8
9
10
11
location area
–
Cell id
–
0
1
2
3
4 access mode
5
6
7
8
Example. Command ()/ return ()
AT Sequences
73 / 285
Enable web registration and location information unsolicited result codes
+CEREG: [,[],[],[][,,]]]
Unregistered; ME Currently not searching for new operators to register for
business Registered, local network Not registered, but ME is searching for a
new operator to register the business with Registration denied uncharted
Registered, roaming Register local network, SMS-only (only possible if =
E-UTRAN) Register for roaming network, SMS-only (only possible if =
E-UTRAN) Attached to emergency bearer service only (not supported)
Registration of attribution “CSFB not preferred” operations (only possible if
= E-UTRAN) Registration for roaming “CSFB not preferred” service
(possible only if = E-UTRAN) Available for emergency operations only
Hexadecimal number, string type Hexadecimal number, string type GSM
GSM Compact
UTRAN
GSM w/EGPRS
UTRAN w/HSDPA
UTRAN w/HSUPA
UTRAN w/HSDPA and HSUPA
E-UTRAN
UTRAN HSPA+ (CAT1 module) EC-GSM-IoT (CAT4 module)
account for
AT+CREG=?
+creg:(0,1,2,3)
Query the range of values of <n Enquiry results
(URC) (URC)
(URC)
OK AT+CREG? +CREG: 0,1
OK +CREG:0
+CREG:1
AT+CREG=2 OK AT+CREG? +creg: 2,1, “1863”, “0183db22”,7
OK +creg: 1, “1863”, “01a2c315”,7
The default is 0, when the registration status of the network is queried
The query comes up with =0 and =1 (registered and registered to a
local network)
Unplug the antenna or walk into an area where there is no signal, a URC will
be reported indicating that the network is not currently registered Attach an
antenna or walk into an area with a signal, at this point, there will be a URC
reported at this time, indicating that the current re-registration to the
network Setting =2
Query the registration status of the network
Query to =2, =1, =1863, =0183db22, =7
Mobile module, a URC is reported when the cell number changes
5.5 E-UTRAN EPS Network Registration Status: AT+CEREG
The setup command turns on or off URC reporting for +CEREG, and the URC
reporting is as follows:
Set =1 to proactively report +CEREG when there is a change in EPS
registration status on the E-UTRAN network: Set =2 to proactively
report +CEREG: [,,,] when there is a change in the
registration status of an EPS on an E-UTRAN network or a resident cell. Set
=3 to proactively report +CEREG when there is a change in EPS registration
status or resident cell on the E-UTRAN network:
[,,,[,,< reject_cause>]]
Grammatical rules: Comman vocabulary d Type
Setup Comman AT+CEREG= ds
Enquiry comman d
AT+CEREG?
test
AT+CEREG=?
come (or go) back
OK
+CEREG: ,[,[],[],[[,,]]]] OK
+CEREG: (list of supported s)
74 / 285
comman d
URC reporting
+CEREG:
+CEREG: [,[],[],[]] +CEREG:
[,[],[],[][,,]]] +CEREG:
[,[],[],[][,[,[], []]]]
OK =1 when there is a change in the EPS registration status on the E-UTRAN
network =2 when there is a change in the EPS registration status or
resident cell in the E-UTRAN network =3 when there is a change in the EPS
registration status or resident cell in the E-UTRAN network =4, for UEs
requesting PSM, enable proactive reporting of network registration status,
proactive reporting of location information and network timer configuration
+CEREG:[,[],[],[][,[],[<reject_cause
][,[], [], [ []]]]
=5, for the UE requesting PSM, enable proactive reporting of network
registration status, location information, reason for registration failure and
network timer configuration, with the reporting content as
Parameter Definition.
parametric
define
URC reporting status
Current Network Registration Status
retrieve a value 0 1 2
3
4
5
0 1 2 3 4
Explanation of values
Disable reporting of network registration status URC
+CEREG
Allow active reporting + CEREG:
Allow active reporting + CREG:[,,]
Allow active reporting + CEREG:
[,[],[],[][,,
]]]
+CEREG: [,[],[],[][,[,[<Active
Time>], []]]]
+CEREG:[,[],[],[][,[],[<r
eject_cause>][,[],
[], [ []]]]
Unregistered; ME Currently not searching for new
operators to register for business
Registered, local network
Not registered, but ME is searching for a new
operator to register the business with
Registration denied
Unknown (beyond E-UTRAN coverage)
75 / 285
5 6 7 8 9
10
11
Tracking area code
–
Cell id
–
0
1
2
3
4 access mode
5
6
7
8
Integer type, define
0
type 1
Integer type, defines the reason for registration failure
Register for Roaming Network Registering for “SMS only” services at the place
of attribution Registering for “SMS only” service in roaming destinations
Attachment of emergency bearer operations only Registration of “CSFB not
preferred” business in the place of attribution Register for “CSFB not
preferred” service in roaming locations Available for emergency operations
only String type, hexadecimal number String type, hexadecimal number GSM GSM
Compact UTRAN GSM w/EGPRS UTRAN w/HSDPA UTRAN w/HSUPA UTRAN w/HSDPA and HSUPA
E-UTRAN UTRAN HSPA+ (CAT1 module) EC-GSM-IoT (CAT4 module) Display
includes an EMM cause value (refer to 3GPP TS 24.301 Annex A)
Display values defined by the manufacturer
The type of this value is defined by 5.6 Setting the network mode: AT^SYSCONFIG
This command sets the system mode, GSM/WCDMA access sequence, roaming and
service domain characteristics.
76 / 285
Grammatical rules:
Comman vocabulary
d Type
Setup
AT^SYSCONFIG=,
Comman ,,
ds
Enquiry comman d
AT^SYSCONFIG?
come (or go) back OK
^SYSCONFIG:,,, OK
Parameter Definition:
parametric
define
network paradigm
Network Access Sequence
Roaming Support
domain setting
retrieve a value 2
Explanation of values Automatic selection
13
GSM ONLY
14
WCDMA ONLY
15
TD-SCDMA ONLY
16
LTE+UTRAN+GSM
0
Automatic
1
GSM first, then UTRAN
2
UTRAN first ,then GSM
3
LTE first, then GSM or UTRAN
0
roaming disabled
1
roaming enabled
2
No Change
0
CS_ONLY
1
PS_ONLY
2
CS_PS
3
ANY
4
No Change
77 / 285
5.7 Query cid-related context definition: AT+CGCONTRDP
The set command returns -related , , <local_addr and
subnet_mask>, , , , ,
, and . sec_addr>, ,
, and .
Grammatical rules:
Command
vocabulary
Type
AT+CGCONTRDP[=]
come (or go) back
[+CGCONTRDP: ,,[,,[,[,<
DNS_prim_addr& gt;[,[,[,[,<I
M_CN_Signalling_Flag>[,<LIPA_indication& gt;]]]]]]]]]
Setup Commands
[+CGCONTRDP:
,,[,,[,
[,[,[,[,[,[,& lt;LIPA_indication>]]]]]]]] […]]
test command
AT+CGCONTRDP=?
OK +CGCONTRDP: (list of s associated with active contexts)
OK
Parameter Definition. parametric
define
defines a specific PDP context. A bearer is specified, e.g., an EPS bearer in
an EPS network, an NSAPI bearer in UMTS/GPRS. Access Point Name, access point
name, used to select GGSN or external packet data network Module Local IP
Address subnet mask Gateway IP address Primary DNS server IP address Secondary
DNS server IP address Main P-CSCF server IP address
retriev ea value
Explanation of values
integer type (math.)
integer type (math.)
string type
string type string type string type string type string type string type
78 / 285
Auxiliary P-CSCF server IP address Integer type defining whether the PDP 0
context is related to the IM CN
1 subsystem maximum only Integer type indicating whether the 0 PDP context is
related to the LIPA
1 PDN. This parameter cannot be set
string type clogged be
clogged be
Examples: Comman d ( )/Retu rn ()
an actual example
AT+CGCONTRDP=1 +CGCONTRDP: 1,5, “xz01.njm2mapn”, “10.64.16.223”,””,
“10.64.16.223”, “58.240.57.33”, “221.6.4.66”
OK
5.8 Carrier search and selection: AT+COPS
The set command is used to try to select and register a GSM/UMTS network
operator. is used to select whether to register automatically (
is ignored) or manually to (the value of is defined by
). If the manually selected operator is not available, then no
other operator is registered either, unless =4.
When =2, it forces an exit and remains in the exit state until is
set to 0, 1 or 4.
This command will not be executed if it is set when the network is being
cancelled or withdrawn.
The query command returns the current , the currently registered
operator , and the currently used Access Technology.
Grammatical rules:
Comman vocabulary
d Type
Setup Comman ds
AT+COPS=[,[,[,[, ]]]]
Enquiry
comman AT+COPS?
d
test
AT+COPS=?
come (or go) back
OK
+COPS: [,,[,< AcT>[, ]]]] OK +COPS: [list of
supported (,long alphanumeric ,short alphanumeric ,numeric
[,<
79 / 285
comman d
AcT>])s ][,,(list of supported s),(list of supported s)] OK
Parameter Definition. parametric define
Operator Registration Model
Operator’s format
Operator values corresponding to
Network Availability Status
retrieve a value 0 1
2
3
4
0
1 2
–
0 1 2 3 0
Explanation of values
Automatic mode; is ignored Manually register operators ( must
have, can have) Manually exit the network and remain in the exit state
until is set to 0,1,4 Set only (for query commands + COPS?);
no attempt to register or logout ( field can be ignored) Manual/Auto
( field cannot be ignored); if manual selection fails, it will enter
auto selection mode (=0) Long string type (in alphanumeric
format), up t
References
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>
Download This Manual (PDF format)