Name: SIM7020 Series AT Command Manual V1.02
User Manual:
Open the PDF directly: View PDF .
Page Count: 248
Download | |
Open PDF In Browser | View PDF |
LE FI SI M C O M C O N FI D EN IT AL SIM7020 Series_AT Command Manual_V1.02 SIM7020 Series AT Command Manual Version 1.02 Date 2018-12-13 Status Release Document Control ID SIM7020 Series_AT Command Manual_V1.02 FI Document Title LE Smart Machine Smart Decision IT AL General Notes SIMCom offers this information as a service to its customers, to support application and engineering efforts that use the products designed by SIMCom. The information provided is based upon requirements specifically provided to SIMCom by the customers. SIMCom has not undertaken any independent search for additional relevant information, including any information FI D EN that may be in the customer's possession. Furthermore, system validation of this product designed by SIMCom within a larger electronic system remains the responsibility of the customer or the customer's system integrator. All specifications supplied herein are subject to change. C O N Copyright This document contains proprietary technical information which is the property of Shanghai SIMCom Wireless Solutions Ltd, copying of this document and giving it to others and the using or communication of the contents thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All rights reserved in the event of grant of a patent or the registration of a utility model or design. All specification supplied herein are subject to change without notice at any time. SI M C O M Copyright © Shanghai SIMCom Wireless Solutions Ltd. 2018 SIM7020 Series_AT Command Manual_V1.02 2 2018-12-13 Smart Machine Smart Decision Contents Version History .........................................................................................12 Introduction .........................................................................................15 1.1 1.1 1.2 1.3 Scope of the document ................................................................................... 15 Related documents ......................................................................................... 15 Conventions and abbreviations ...................................................................... 15 AT Command syntax...................................................................................... 15 LE 1 IT AL 1.4 1.5 Basic syntax ............................................................................................................ 16 S Parameter syntax .................................................................................................. 16 Extended Syntax...................................................................................................... 16 Combining AT commands on the same Command line.......................................... 16 Entering successive AT commands on separate lines .............................................. 17 FI 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 Supported character sets ................................................................................ 17 Flow control ................................................................................................... 17 1.6 Software flow control (XON/XOFF flow control).................................................. 17 Hardware flow control (RTS/CTS flow control) ..................................................... 18 FI D EN 1.5.1 1.5.2 Definitions...................................................................................................... 18 1.6.1 1.6.2 2.1 2.1 N AT Commands According to V.25TER .............................................19 Overview of AT Commands According to V.25TER ..................................... 19 Detailed Description of AT Commands According to V.25TER.................... 20 ATE Set Command Echo Mode ........................................................................... 20 ATI Display Product Identification Information .................................................. 20 ATL Set Monitor Speaker Loudness .................................................................... 21 ATM Set Monitor Speaker Mode ......................................................................... 21 ATN1 some PC modem driver initial setting to handshake at highest speed larger 22 ATO Switch from Command Mode to Data Mode .............................................. 22 ATP Select Pulse Dialling .................................................................................... 22 ATQ Set Result Code Presentation Mode ............................................................ 23 ATS0 Set Number of Rings before Automatically Answering the Call ............... 23 ATS1 Ring Counter .............................................................................................. 24 ATS2 Set Escape Sequence Character.................................................................. 25 ATS3 Set Command Line Termination Character ................................................ 25 ATS4 Set Response Formatting Character ........................................................... 26 ATS5 Set Command Line Editing Character ....................................................... 26 ATS6 Pause Before Blind Dialling....................................................................... 27 ATS7 Set Number of Seconds to Wait for Connection Completion ..................... 27 ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in SI M C O M 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 than S37 2.1.6 2.1.7 2.1.8 2.1.9 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.16 2.1.17 C O 2 Parameter Saving Mode .......................................................................................... 18 Max Response Time ................................................................................................ 18 SIM7020 Series_AT Command Manual_V1.02 3 2018-12-13 Smart Machine Smart Decision 3 M C O N FI D EN IT AL FI LE Dial String of D Command ..................................................................................................... 28 2.1.18 ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier ........ 29 2.1.19 ATS12 Set Escape Code Guard Time .................................................................. 29 2.1.20 ATS25 Set DTR Change Time ............................................................................. 30 2.1.21 ATS95 Some PC Modem Driver Initial Setting to Enable Extended Result Codes 31 2.1.22 ATT Select Tone Dialing ...................................................................................... 31 2.1.23 ATV TA Response Format .................................................................................. 32 2.1.24 ATX Set CONNECT Result Code Format and Monitor Call Progress ................ 33 2.1.25 ATZ Reset Default Configuration ........................................................................ 34 2.1.26 AT&C Set DCD Function Mode .......................................................................... 34 2.1.27 AT&D Set DTR Function Mode .......................................................................... 34 2.1.28 AT&F Factory Defined Configuration ................................................................. 35 2.1.29 AT&K Flow Control Setting ................................................................................ 35 2.1.30 AT&V Display Current Configuration ................................................................. 36 2.1.31 AT&W Store Active Profile ................................................................................. 36 2.1.32 AT+DR V.42bis data compression reporting control ........................................... 37 2.1.33 AT+DS V.42bis data compression control ........................................................... 38 2.1.34 AT+GCAP Request Complete TA Capabilities List ............................................. 39 2.1.35 AT+GMI Request Manufacturer Identification .................................................... 39 2.1.36 AT+GMM Request TA Model Identification ....................................................... 40 2.1.37 AT+GMR Request TA Revision Identification of Software Release ................... 40 2.1.38 AT+GOI Request Global Object Identification .................................................... 41 2.1.39 AT+GSN Request TA Serial Number Identification (IMEI) ................................ 41 2.1.40 AT+ICF Set TE-TA Control Character Framing .................................................. 42 2.1.41 AT+IFC Set TE-TA Local Data Flow Control ..................................................... 43 2.1.42 AT+ILRR Set TE-TA Local rate reporting mode ................................................. 44 2.1.43 AT+IPR Set TE-TA Fixed Local Rate .................................................................. 44 2.1.44 AT+FCLASS Set Fax Class ................................................................................. 45 AT Commands According to 3GPP TS 27.007 ..................................47 Overview of AT Command According to 3GPP TS 27.007 ........................... 47 Detailed Descriptions of AT Command According to 3GPP TS 27.007 ........ 48 C O 3.1 3.2 SI M 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.2.10 3.2.11 AT+CEER Extended Error Report ....................................................................... 48 AT+CGMI Request Manufacturer Identification ................................................. 51 AT+CGMM Request Model Identification .......................................................... 51 AT+CGMR Request TA Revision Identification of Software Release ................. 52 AT+CGOI Request global object identification ................................................... 52 AT+CGSN Request Product Serial Number Identification .................................. 53 AT+CIMI Request International Mobile Subscriber Identity ............................... 53 AT+CLCK Facility Lock...................................................................................... 54 AT+CMAR Master Reset ..................................................................................... 55 AT+CMEE Report Mobile Equipment Error ....................................................... 55 AT+COPS Operator Selection .............................................................................. 56 SIM7020 Series_AT Command Manual_V1.02 4 2018-12-13 Smart Machine Smart Decision C O N FI D EN IT AL FI LE AT+CPIN Enter PIN ............................................................................................ 58 AT+CPWD Change Password .............................................................................. 59 AT+CR Service Reporting Control ...................................................................... 60 AT+CREG Network Registration......................................................................... 61 AT+CRSM Restricted SIM Access ...................................................................... 62 AT+CSCS Select TE Character Set ...................................................................... 63 AT+CSQ Signal Quality Report ........................................................................... 64 AT+CMUX Multiplexer Control .......................................................................... 65 AT+CNUM Subscriber Number........................................................................... 67 AT+CPOL Preferred Operator List ...................................................................... 67 AT+CFUN Set Phone Functionality ..................................................................... 69 AT+CCLK Clock ................................................................................................. 70 AT+CSIM Generic SIM Access ........................................................................... 70 AT+CBC Battery Charge ..................................................................................... 71 AT+CTZR Time Zone Reporting ......................................................................... 72 AT+CTZU Automatic Time Update ..................................................................... 73 AT+CPLS Selection of preferred PLMN List ...................................................... 73 AT+CPSMS Power Saving Mode Setting ............................................................ 74 AT+CCIOTOPT CIoT optimization configuration .............................................. 76 AT+CEDRXS eDRX Setting ............................................................................... 77 AT+CEDRXRDP eDRX Read Dynamic Parameters ........................................... 78 AT+CCHO Open UICC Logical Channel ............................................................ 79 AT+CCHC Close UICC logical channel .............................................................. 80 AT+CGLA Generic UICC Logical Channel Access ............................................ 80 AT+CPINR Remaining PIN Retries ..................................................................... 81 AT+CGATT GPRS/Packet Domain Attach or Detach ......................................... 82 AT+CGDCONT Define PDP Context .................................................................. 83 AT+CGACT PDP Context Activate or Deactivate ............................................... 85 AT+CGPADDR Show PDP Address .................................................................... 86 AT+IPCONFIG Show the Complete PDP Address .............................................. 87 AT+CGEREP Packet Domain Event Reporting ................................................... 87 AT+CGREG Network Registration Status ........................................................... 90 AT+CGCONTRDP PDP Context Read Dynamic Parameters ............................. 91 AT+CGPIAF Printing IP Address Format ............................................................ 93 AT+CGDEL Delete Non-Active PDP Contexts ................................................... 94 AT+CGAUTH Define PDP Context Authentication Parameters ......................... 95 AT*MCGDEFCONT Set Default PSD Connection Settings ............................... 96 AT*MSACL Enable/Disable ACL feature ........................................................... 97 AT*MLACL Display ACL List ............................................................................ 98 AT*MWACL Write an ACL entry ........................................................................ 99 AT*MDACL Delete an ACL entry ....................................................................... 99 AT+CNBIOTDT NB-IOT Data Type ................................................................. 100 AT+CEREG EPS Network Registration Status.................................................. 101 AT+CGDATA Enter Data State .......................................................................... 103 SI M C O M 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.20 3.2.21 3.2.22 3.2.23 3.2.24 3.2.25 3.2.26 3.2.27 3.2.28 3.2.29 3.2.30 3.2.31 3.2.32 3.2.33 3.2.34 3.2.35 3.2.36 3.2.37 3.2.38 3.2.39 3.2.40 3.2.41 3.2.42 3.2.43 3.2.44 3.2.45 3.2.46 3.2.47 3.2.48 3.2.49 3.2.50 3.2.51 3.2.52 3.2.53 3.2.54 3.2.55 SIM7020 Series_AT Command Manual_V1.02 5 2018-12-13 Smart Machine Smart Decision AT Commands Special for SIMCom ...............................................104 Overview ...................................................................................................... 104 Detailed Descriptions of Commands ........................................................... 104 5 FI D EN IT AL FI LE AT+CPOWD Power Off .................................................................................... 104 AT+CADC Read ADC ...................................................................................... 105 AT+CLTS Get Local Timestamp ....................................................................... 105 AT+CBAND Get and Set Mobile Operation Band ............................................ 106 AT+CBANDSL Set Modem NB-IOT Search Prefer Band List ......................... 107 AT+CENG Report Network State ...................................................................... 108 AT+CCID Show ICCID ..................................................................................... 112 AT+EXUNSOL Enable or Disable Proprietary Unsolicited Indications ............ 112 AT+GSV Display Product Identification Information........................................ 113 AT*CELLLOCK Set the List of ARFCN Which Needs to Be Locked .............. 113 AT+SLEDS Set the Timer Period of Net Light .................................................. 114 AT+CNETLIGHT Close the Net Light or Open It to Shining ........................... 115 AT+CSMINS SIM Inserted Status Reporting .................................................... 116 AT+CSPCHSC Set Scrambling Algorithm for NPDSCH .................................. 117 AT+CPSMSTATUS Enable Deep Sleep Wakeup Indication ............................. 118 AT+CSCLK Configure Slow Clock .................................................................. 118 AT+CRESET Trigger WDT Reset ..................................................................... 119 AT+CREVHEX Control the Data Output Format .............................................. 120 AT+CDISAUPDN Control the Auto PDN Status .............................................. 120 AT+CNWRCCFG Network Recovery Configure .............................................. 121 AT+CURTC Control CCLK Show URC Or RTC Time ..................................... 122 AT+CHOMENW Display Home Network Information..................................... 123 AT+CBATCHK Set VBAT Checking Feature ON/OFF ................................... 123 AT+CGPIO Control the GPIO by PIN Index ..................................................... 124 AT*MEDRXCFG eDRX Configuaration .......................................................... 125 M 4.2.1 4.2.2 4.2.3 4.2.4 4.2.5 4.2.6 4.2.7 4.2.8 4.2.9 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 4.2.15 4.2.16 4.2.17 4.2.18 4.2.19 4.2.20 4.2.21 4.2.22 4.2.23 4.2.24 4.2.25 N 4.1 4.2 C O 4 AT Commands for TCPIP Application Toolkit ...............................127 Overview of AT Commands for TCPIP Application Toolkit ....................... 127 Detailed Descriptions of AT Commands for TCPIP Application Toolkit .... 127 C O 5.1 5.2 SI M 5.2.1 5.2.2 5.2.3 5.2.4 5.2.5 5.2.6 5.2.7 5.2.8 5.2.9 5.2.10 5.2.11 AT+CSOC Create a TCP/UDP Socket ............................................................... 127 AT+CSOCON Connect Socket To Remote Address and Port ............................ 128 AT+CSOB Bind Local Address and Local Port ................................................. 129 AT+RETENTION Retention of Socket Scene ...................................................... 129 AT+CSOSEND Send Data to Remote via Socket .............................................. 130 AT+CSODSEND Send Data to Remote via Socket with Data Mode ................ 131 AT+CSOCL Close Socket .................................................................................. 132 AT+CSOSENDFLAG Set TCP Send Flag ......................................................... 132 AT+CSORCVFLAG Set Receive Flag .............................................................. 133 AT+CSOSTATUS Get Socket Status ................................................................. 133 AT+CSOACK Query Previous Connection Data Transmitting State................. 134 SIM7020 Series_AT Command Manual_V1.02 6 2018-12-13 Smart Machine Smart Decision 5.2.12 5.2.13 5.2.14 6 AT+CSOALIVE Set TCP Keepalive Parameters ............................................... 135 +CSONMI Socket message arrived indicator .................................................... 136 +CSOERR Socket error indicator ...................................................................... 136 AT Commands for TCPIP Application Toolkit to Compatible with SIM800 Serials........................................................................................137 N FI D EN IT AL FI AT+CIPMUX Start Up Multi-IP Connection ..................................................... 138 AT+CIPSTART Start Up TCP or UDP Connection............................................ 138 AT+CIPSEND Send Data Through TCP or UDP Connection ........................... 140 AT+CIPQSEND Select Data Transmitting Mode .............................................. 143 AT+CIPACK Query Previous Connection Data Transmitting State .................. 143 AT+CIPCLOSE Close TCP or UDP Connection ............................................... 144 AT+CIPSHUT Deactivate GPRS PDP Context ................................................. 145 AT+CLPORT Set Local Port .............................................................................. 145 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD .................... 146 AT+CIICR Bring Up Wireless Connection with GPRS or CSD ........................ 147 AT+CIFSR Get Local IP Address ...................................................................... 148 AT+CIPSTATUS Query Current Connection Status .......................................... 148 AT+CDNSCFG Configure Domain Name Server ............................................. 150 AT+CDNSGIP Query the IP Address of Given Domain Name ......................... 151 AT+CIPHEAD Add an IP Head at the Beginning of a Package Received......... 151 AT+CIPHEXS Show Data in Hex Mode of a Package Received ...................... 152 AT+CIFSREX Get Local IP Address ................................................................. 153 AT+CIPATS Set Auto Sending Timer ................................................................ 154 AT+CIPSPRT Set Prompt of ‘>’ When Module Sends Data .............................. 154 AT+CIPCSGP Set CSD or GPRS for Connection Mode ................................... 155 AT+CIPSRIP Show Remote IP Address and Port When Received Data ........... 156 AT+CIPSHOWTP Display Transfer Protocol in IP Head When Received Data 157 AT+CIPUDPMODE UDP Extended Mode........................................................ 158 AT+CIPRXGET Get Data from Network Manually .......................................... 159 AT+CIPTKA Set TCP Keepalive Parameters .................................................... 161 AT+CIPMODE Open Transparent Mode ........................................................... 162 AT+CIPCHAN Enter Transparent Mode ........................................................... 163 SI M C O M 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.7 6.2.8 6.2.9 6.2.10 6.2.11 6.2.12 6.2.13 6.2.14 6.2.15 6.2.16 6.2.17 6.2.18 6.2.19 6.2.20 6.2.21 6.2.22 6.2.23 6.2.24 6.2.25 6.2.26 6.2.27 LE Overview ...................................................................................................... 137 Detailed Descriptions of Commands ........................................................... 138 C O 6.1 6.2 7 AT Commands for HTTP/HTTPS Client .........................................165 7.1 7.2 Overview of AT Commands for HTTP/HTTPS Client ................................ 165 Detailed Descriptions of AT Commands for HTTP/HTTPS Client ............. 165 7.2.1 AT+CHTTPCREATE Create a HTTP/HTTPS Client Instance ......................... 165 7.2.2 AT+CHTTPCREATEEXT Create a HTTP/HTTPS Client Instance by Multi Packages for a Long Size Command..................................................................................... 166 7.2.3 AT+CHTTPCON Establish the HTTP/HTTPS Connection .............................. 167 SIM7020 Series_AT Command Manual_V1.02 7 2018-12-13 Smart Machine Smart Decision 8 FI D EN IT AL FI LE 7.2.4 AT+CHTTPDISCON Close the HTTP/HTTPS Connection ............................. 168 7.2.5 AT+CHTTPDESTROY Destroy the HTTP/HTTPS Client Instance................. 169 7.2.6 AT+CHTTPSEND Send HTTP/HTTPS Package .............................................. 170 7.2.7 AT+CHTTPSENDEXT Send HTTP/HTTPS Package by Multi Packages for a Long Size Command ............................................................................................................. 171 7.2.8 AT+CHTTPPARA Set Parmeter for AT Command of AT+CHTTPSEND ........... 172 7.2.9 AT+CHTTPTOFS Download File to Module System ....................................... 172 7.2.10 AT+CHTTPCLRMULCRTBUF Clear Multi Create Buffer of AT+CHTTPCREATEEXT ................................................................................................... 173 7.2.11 AT+CHTTPCLRMULSNDBUF Clear Multi Send Buffer of AT+CHTTPSENDEXT ........................................................................................................ 174 7.2.12 AT+CHTTPRESUMESEND Set Resume Send Package or not when HTTP Disconnected ......................................................................................................................... 174 7.2.13 +CHTTPNMIH Header of the Response from Host .......................................... 175 7.2.14 +CHTTPNMIC Content of The Response from Host ........................................ 176 7.2.15 +CHTTPERR HTTP Client Connection Error Indicator ................................... 177 7.2.16 +CHTTPTOFS HTTP Download Indicate from Host ........................................ 177 7.2.17 +CHTTPTOFSOK HTTP Download Finished Indicate..................................... 177 AT Commands for PING Support ....................................................179 8.1 8.2 Overview of AT Commands for PING Support ........................................... 179 Detailed Descriptions of AT Commands for PING Support ........................ 179 8.2.1 Test IP Network Connectivity to A Remote Host ...................... 179 9.1 9.2 N AT Commands for Network Command – LwM2M .........................181 Overview of AT Commands for Network Command – LwM2M ................ 181 Detailed Descriptions of AT Commands for Network Command – LwM2M181 AT+CLMCONF Configure LwM2M Instance and Create the Connection ....... 181 AT+CLMADDOBJ Add LwM2M Object ......................................................... 182 AT+CLMDELOBJ Delete LwM2M Object ...................................................... 182 AT+CLMREAD Read Notification and Command ........................................... 182 AT+CLMWRITE Write Notification and Command ........................................ 183 AT+CLMEXECUTE Execute Notification and Command ............................... 184 AT+CLMNOTIFY Notify Data Change ............................................................ 185 AT+CLMDEL Delete LwM2M Instance ........................................................... 185 +CLMOBSERVE Observed Command ............................................................. 185 +CLMPARAMETER Observed Command ....................................................... 186 +CLMERR Indicated there are Some Errors ..................................................... 186 SI M C O M 9.2.1 9.2.2 9.2.3 9.2.4 9.2.5 9.2.6 9.2.7 9.2.8 9.2.9 9.2.10 9.2.11 C O 9 AT+CIPPING 10 AT Commands for Network Command – MQTT .........................188 10.1 10.2 10.2.1 10.2.2 Overview of AT Commands for Network Command-MQTT .................. 188 Detailed Descriptions of AT Commands for Network Command-MQTT188 AT+CMQNEW New MQTT .............................................................................. 188 AT+CMQCON Send MQTT Connection Packet ............................................... 189 SIM7020 Series_AT Command Manual_V1.02 8 2018-12-13 Smart Machine Smart Decision 10.2.3 10.2.4 10.2.5 10.2.6 10.2.7 10.2.8 10.2.9 AT Commands for Network Command – CoAP...........................195 LE 11 AT+CMQDISCON Disconnect MQTT.............................................................. 190 AT+CMQSUB Send MQTT Subscribe Packet .................................................. 190 AT+CMQUNSUB Send MQTT Unsubscribe Packet ........................................ 191 AT+CMQPUB Send MQTT Publish Packet ...................................................... 192 +CMQDISCON MQTT Disconnect Indication ................................................. 192 AT+CMQALICFG Configure Alibaba Clound Parameters ............................... 193 AT+CMQALICON Send MQTT Connection Packet to Alibaba Cloud ............ 193 FI 11.1 Overview of AT Commands for Network Command-CoAP .................... 195 11.2 Detailed Descriptions of AT Commands for Network Command-CoAP .... 195 AT Commands for Network Command – SNTP...........................199 12.1 12.2 FI D EN 12 AT+CCOAPNEW Create a CoAP Client Instance ............................................ 195 AT+CCOAPSEND Send CoAP Data ................................................................. 196 AT+CCOAPCSEND Send CoAP Data .............................................................. 196 AT+CCOAPDEL Destory the CoAP Client Instance ........................................ 198 +CCOAPNMI Content from CoAP server ......................................................... 198 IT AL 11.2.1 11.2.2 11.2.3 11.2.4 11.2.5 Overview of AT Commands for Network Command-SNTP .................... 199 Detailed Descriptions of AT Commands for Network Command-SNTP . 199 12.2.1 12.2.2 12.2.3 AT Commands for Network Command – TLS .............................201 N 13 AT+CSNTPSTART Start to Query Network Time ............................................ 199 AT+CSNTPSTOP Stop to Query Network Time ............................................... 199 +CSNTP Received Network Time ..................................................................... 200 Overview of AT Commands for Network Command- TLS ..................... 201 Detailed Descriptions of AT Commands for Network Command-TLS ... 201 C O 13.1 13.2 AT+CTLSCFG Configure TLS Parameters ....................................................... 201 AT+CTLSCONN Create a TLS Connection ...................................................... 202 AT+CTLSCLOSE Close a TLS Connection ...................................................... 202 AT+CTLSSEND Send Data ............................................................................... 203 AT+CTLSRECV Receive Data .......................................................................... 203 AT Commands for Network Command –OneNET .......................205 C 14 O M 13.2.1 13.2.2 13.2.3 13.2.4 13.2.5 SI M 14.1 14.2 14.2.1 14.2.2 14.2.3 14.2.4 14.2.5 14.2.6 14.2.7 14.2.8 Overview of AT Commands for Network Command- OneNet ................ 205 Detailed Descriptions of AT Commands for Network Command-OneNet206 AT+MIPLCREATE Create a OneNET Instance ................................................ 206 AT+MIPLCREATEEXT Another Method to Create a OneNET Instance......... 207 AT+MIPLDELETE Delete a OneNET Instance ................................................ 208 AT+MIPLOPEN Register to OneNET ............................................................... 208 AT+MIPLCLOSE Deregister to OneNET ......................................................... 209 AT+MIPLADDOBJ Add an Object ................................................................... 209 AT+MIPLDELOBJ Delete an Object ................................................................ 210 AT+MIPLUPDATE Update Registration .......................................................... 211 SIM7020 Series_AT Command Manual_V1.02 9 2018-12-13 Smart Machine Smart Decision IT AL FI LE 14.2.9 AT+MIPLREADRSP Read Response from User .............................................. 211 14.2.10 AT+MIPLWRITERSP Write Response from User ........................................ 213 14.2.11 AT+MIPLEXECUTERSP Execute Response from User............................... 213 14.2.12 AT+MIPLOBSERVERSP Observe Response from User .............................. 214 14.2.13 AT+MIPLDISCOVERRSP Discover Response from User ........................... 215 14.2.14 AT+MIPLPARAMETERRSP Set Parameter from User ................................ 216 14.2.15 AT+MIPLNOTIFY Notify Data Value Change from User ............................ 216 14.2.16 AT+MIPLVER Read Version ......................................................................... 217 14.2.17 AT+MIPLBOOTSTRAPPARA Set Parameter for Connect Bootstrap .......... 218 14.2.18 +MIPLREAD Read Request to User.............................................................. 219 14.2.19 +MIPLWRITE Write Request to User ........................................................... 219 14.2.20 +MIPLEXECUTE Execute Request to User.................................................. 220 14.2.21 +MIPLOBSERVE Observe Request to User ................................................. 220 14.2.22 +MIPLDISCOVER Discover request to User................................................ 220 14.2.23 +MIPLPARAMETER Set Parameter Request to User .................................. 221 14.2.24 +MIPLEVENT Event Indication to User ....................................................... 221 AT Commands for NVRAM .........................................................223 15.1 15.2 FI D EN 15 Overview of AT Commands for NVRAM Command .............................. 223 Detailed Descriptions of AT Commands for NVRAM Command ........... 223 AT Commands for CT IOT Platform ............................................226 16.1 16.2 C O 16 AT+CNVMR Read Data from NVRAM ............................................................ 223 AT+CNVMW Write Data to NVRAM............................................................... 224 AT+CNVMIVD Invalidate a Specific Data Item in NVRAM ........................... 224 AT+CNVMGET Get all Customer Data Item IDs from NVRAM ..................... 225 N 15.2.1 15.2.2 15.2.3 15.2.4 Overview of AT Commands for CT IOT Platform ................................... 226 Detailed Descriptions of AT Commands for CT IOT Platform ................ 226 AT+CM2MCLINEW Register to CT IOT Platform .......................................... 226 AT+CM2MCLISEND Send Data to CT IOT Platform ...................................... 227 AT+CM2MCLIDEL Deregister to CT IOT Platform ........................................ 227 AT+CM2MCLIGET Get the Lastest 6 Received Data....................................... 227 +CM2MCLI CT IOT Client Notification ........................................................... 228 +CM2MCLIRECV Receive data from CT IOT Platform .................................. 228 M C O M 16.2.1 16.2.2 16.2.3 16.2.4 16.2.5 16.2.6 17 AT Commands for Network Command-DM.................................229 SI 17.1 17.2 Overview of AT Commands for Network Command-DM ....................... 229 Detailed Descriptions of AT Commands for Network Command-DM .... 229 17.2.1 17.2.2 18 AT+DMCONFIGEXT Configure paramters for DM ......................................... 229 AT+DMSET Set DM State ................................................................................. 230 18.1 18.2 AT Commands for FOTA ..............................................................231 Overview of AT Commands for FOTA .................................................... 231 Detailed Descriptions of AT Commands for FOTA ................................. 231 SIM7020 Series_AT Command Manual_V1.02 10 2018-12-13 Smart Machine Smart Decision 18.2.1 18.2.2 18.2.3 18.2.4 19 AT+CFOTA FOTA Operation .......................................................................... 231 AT+CFLE Flash Erase ..................................................................................... 232 AT+CFLW Flash Write .................................................................................... 232 AT+CFLR Flash Read ...................................................................................... 233 Supported Unsolicited Result Codes .............................................234 19.1 Summary of CME ERROR Codes ........................................................... 234 20 FI IT AL Summary of CMS ERROR Codes ........................................................... 242 Summary of CIS ERROR Codes.............................................................. 244 Summary of Unsolicited Result Codes..................................................... 244 FI D EN 19.2 19.3 19.4 CME Error Codes Related to mobile equipment or network ................................ 234 CME Error Codes related to PSD and Packet Domain ......................................... 235 CME Error Codes related to select TE character set ............................................. 239 CME Error Codes related to preferred operator list .............................................. 240 CME Error Codes related to Restricted/Generic SIM Access ............................... 240 CME Error Codes related to Miscellaneous Proprietary ....................................... 240 CME Error Codes related to report Network State ............................................... 241 LE 19.1.1 19.1.2 19.1.3 19.1.4 19.1.5 19.1.6 19.1.7 AT Commands Examples ..............................................................246 20.1 ATC Differences among SIM7020 Series .....................................247 21.1 21.2 AT+CSCLK .............................................................................................. 247 AT*MEDRXCFG ..................................................................................... 247 N 21 CoAP command........................................................................................ 246 SI M C O M C O Contact ....................................................................................................248 SIM7020 Series_AT Command Manual_V1.02 11 2018-12-13 Smart Machine Smart Decision Version History Chapter What is new V1.00 2018-04-10 New version V1.01 2018-07-16 AT+CATWAKEUP Delete ATC Delete ATC 4.2.3 AT+CLTS Modify parameters 4.2.15 AT+CPSMSTATUS Add ATC 4.2.17 AT+CRESET Add ATC 4.2.18 AT+CREVHEX Add ATC 5.2.3 AT+CSOB Add ATC 5.2.5 AT+CSODSEND Add ATC 5.2.8 AT+CSORCVFLAG Add ATC Add ATC 10.2.3 +CMQDISCON Add ATC 11.2.1 AT+CCOAPNEW Add test command 11.2.2 AT+CCOAPSEND Add test command 11.2.3 AT+CCOAPDEL Add test command 12.2.1 +CSNTP Modify parameters 14.2.2 AT+MIPLCREATEEXT Add ATC M C O M C O 7.2.8 AT+CHTTPPARA N FI D EN IT AL AT+CSGACT LE Date FI Version SI V1.02 14.2.17 Add ATC AT+MIPLBOOTSTRAPPA RA 15 AT Commands NVRAM for Add ATC 16 AT Commands for CT Add ATC IOT Platform 2018-12-13 Scope AT+CCOAPSTA Add SIM7020G Delete command 3.2.41 AT+IPCONFIG Add command 3.2.54 AT+CEREG Add command 3.2.55 AT+CGDATA Add command 4.2.5 AT+CBANDSL Add command 4.2.19 AT+CDISAUPDN Add command SIM7020 Series_AT Command Manual_V1.02 12 2018-12-13 Smart Machine Smart Decision Add command 4.2.21 AT+CURTC Add command 4.2.22 AT+CHOMENW Add command 4.2.23 AT+CBATCHK Add command 4.2.24 AT+CGPIO Add command 4.2.25 AT*MEDRXCFG Add command 5.2.4 AT+RETENTION Add command 5.2.12 AT+CSOALIVE Add command Charpter 6 AT Commands for TCPIP Application Toolkit to Compatible with SIM800 Serials 7.2.2 AT+CHTTPCREATEEXT Add command 7.2.7 AT+CHTTPSENDEXT Add command 7.2.9 AT+CHTTPTOFS Add command 7.2.10 AT+CHTTPCLRMULCRT BUF Add command 7.2.11 AT+CHTTPCLRMULSND BUF Add command 7.2.12 AT+CHTTPRESUMESEN D Add command 7.2.16 +CHTTPTOFS Add command 7.2.17 +CHTTPTOFSOK Add command 10.2.8 AT+CMQALICFG Add command 10.2.9 AT+CMQALICON Add command 16.2.4 AT+CM2MCLIGET Add command SI M C O M C O N FI D EN IT AL FI LE 4.2.20 AT+CNWRCCFG Charpter 17 AT Add ATC Commands for Network Command-DM Charpter 18 AT Commands for FOTA Add ATC Charpter 19 Supported Unsolicited Result Codes Add Charpter 21 Differences Add ATC ATC SIM7020 Series_AT Command Manual_V1.02 among 13 2018-12-13 Smart Machine Smart Decision SI M C O M C O N FI D EN IT AL FI LE SIM7020 Series SIM7020 Series_AT Command Manual_V1.02 14 2018-12-13 Smart Machine Smart Decision 1 Introduction 1.1 Scope of the document FI LE This document presents the AT Command Set for SIMCom SIM7020 Series, including SIM7020C, SIM7020E, SIM7020G, SIM7030 and SIM7060. You can visit the SIMCom Website using the following link: http://www.simcom.com FI D EN 1.2 Conventions and abbreviations IT AL 1.1 Related documents N In this document, the GSM engines are referred to as following term: ME (Mobile Equipment); MS (Mobile Station); TA (Terminal Adapter); DCE (Data Communication Equipment) or facsimile DCE (FAX modem, FAX board); O M C O In application, controlling device controls the GSM engine by sending AT Command via its serial interface. The controlling device at the other end of the serial line is referred to as following term: TE (Terminal Equipment); DTE (Data Terminal Equipment) or plainly "the application" which is running on an embedded system. C 1.3 AT Command syntax SI M The "AT" or "at" or "aT" or "At" prefix must be set at the beginning of each Command line. To terminate a Command line enter. Commands are usually followed by a response that includes. " " Throughout this document, only the responses are presented, are omitted intentionally. The AT Command set implemented by SIM7020 Series is a combination of 3GPP TS 27.005, 3GPP TS 27.007 and ITU-T recommendation V.25ter and the AT commands developed by SIMCom. Note: Only enter AT Command through serial port after SIM7020 Series is powered on and Unsolicited Result SIM7020 Series_AT Command Manual_V1.02 15 2018-12-13 Smart Machine Smart Decision Code "RDY" is received from serial port. If auto-bauding is enabled, the Unsolicited Result Codes "RDY" and so on are not indicated when you start up the ME, and the "AT" prefix, or "at" prefix must be set at the beginning of each command line. All these AT commands can be split into three categories syntactically: "basic", "S parameter", and "extended". These are as follows: Basic syntax LE 1.3.1 1.3.2 IT AL FI These AT commands have the format of "AT ", or "AT& ", where " "is the Command, and " "is/are the argument(s) for that Command. An example of this is "ATE ", which tells the DCE whether received characters should be echoed back to the DTE according to the value of " ". " " is optional and a default will be used if missing. S Parameter syntax 1.3.3 FI D EN These AT commands have the format of "ATS = ", where " " is the index of the S register to set, and " "is the value to assign to it. " " is optional; if it is missing, then a default value is assigned. Extended Syntax These commands can operate in several modes, as in the following table: AT+ ? M Read Command AT+ =? C O Test Command N Table 1: Types of AT commands and responses O Write Command M SI 1.3.4 This command returns the currently set value of the parameter or parameters. AT+ =<…> This command sets the user-definable parameter values. AT+ The execution command reads non-variable parameters affected by internal processes in the GSM engine. C Execution Command The mobile equipment returns the list of parameters and value ranges set with the corresponding Write Command or by internal processes. Combining AT commands on the same Command line You can enter several AT commands on the same line. In this case, you do not need to type the "AT" or "at" prefix before every command. Instead, you only need type "AT" or "at" the beginning of the command line. Please note to use a semicolon as the command delimiter after an extended command; in basic syntax or S parameter syntax, the semicolon need not enter, for example: ATE1Q0S0=1S3=13V1X4;+IFC=0,0;+IPR=115200. The Command line buffer can accept a maximum of 2048 characters (counted from the first SIM7020 Series_AT Command Manual_V1.02 16 2018-12-13 Smart Machine Smart Decision command without "AT" or "at" prefix). If the characters entered exceeded this number then none of the Command will executed and TA will return "ERROR". 1.3.5 Entering successive AT commands on separate lines LE When you need to enter a series of AT commands on separate lines, please Note that you need to wait the final response (for example OK, CME error, CMS error) of last AT Command you entered before you enter the next AT Command. FI 1.4 Supported character sets FI D EN IT AL The SIM7020 Series AT Command interface defaults to the IRA character set. The SIM7020 Series supports the following character sets: GSM format UCS2 IRA The character set can be set and interrogated using the "AT+CSCS" Command (3GPP TS 27.007). The character set is defined in GSM specification 3GPP TS 27.005. The character set affects transmission and reception of SMS and SMS Cell Broadcast messages, the entry and display of phone book entries text field and SIM Application Toolkit alpha strings. N 1.5 Flow control M C O Flow control is very important for correct communication between the GSM engine and DTE. For in the case such as a data or fax call, the sending device is transferring data faster than the receiving side is ready to accept. When the receiving buffer reaches its capacity, the receiving device should be capable to cause the sending device to pause until it catches up. C O There are basically two approaches to achieve data flow control: software flow control and hardware flow control. SIM7020 Series support both two kinds of flow control. In Multiplex mode, it is recommended to use the hardware flow control. Software flow control (XON/XOFF flow control) M 1.5.1 SI Software flow control sends different characters to stop (XOFF, decimal 19) and resume (XON, decimal 17) data flow. It is quite useful in some applications that only use three wires on the serial interface. The default flow control approach of SIM7020 Series is hardware flow control (RTS/CTS flow control), to enable software flow control in the DTE interface and within GSM engine, type the following AT Command: AT+IFC=1, 1 SIM7020 Series_AT Command Manual_V1.02 17 2018-12-13 Smart Machine Smart Decision Ensure that any communications software package (e.g. Hyper terminal) uses software flow control. NOTE: Software Flow control should not be used for data calls where binary data will be transmitted or received (e.g. TCP/IP) as the DTE interface may interpret binary data as flow control characters. Hardware flow control (RTS/CTS flow control) LE 1.5.2 IT AL FI Hardware flow control achieves the data flow control by controlling the RTS/CTS line. When the data transfer should be suspended, the CTS line is set inactive until the transfer from the receiving buffer has completed. When the receiving buffer is ok to receive more data, CTS goes active once again. 1.6 Definitions 1.6.1 Parameter Saving Mode FI D EN To achieve hardware flow control, ensure that the RTS/CTS lines are present on your application platform. O M C O N For the purposes of the present document, the following syntactical definitions apply: NO_SAVE: The parameter of the current AT command will be lost if module is rebooted or current AT command doesn't have parameter. AUTO_SAVE: The parameter of the current AT command will be kept in NVRAM automatically and take in effect immediately, and it won't be lost if module is rebooted. AUTO_SAVE_REBOOT: The parameter of the current AT command will be kept in NVRAM automatically and take in effect after reboot, and it won't be lost if module is rebooted. AT&W_SAVE: The parameter of the current AT command will be kept in NVRAM by sending the command of "AT&W". -: "-" means this AT command doesn't care the parameter saving mode. Max Response Time C 1.6.2 SI M Max response time is estimated maximum time to get response, the unit is seconds. "-" means this AT command doesn't care the response time. SIM7020 Series_AT Command Manual_V1.02 18 2018-12-13 Smart Machine Smart Decision 2 AT Commands According to V.25TER LE These AT Commands are designed according to the ITU-T (International Telecommunication Union, Telecommunication sector) V.25ter document. 2.1 Overview of AT Commands According to V.25TER Description ATE Set command echo mode ATI Display product identification information ATL Set monitor speaker loudness ATM Set monitor speaker mode ATN1 Some PC modem driver initial setting to handshake at highest speed larger than S37 ATO Switch from command mode to data mode ATP Select pulse dialling ATQ Set result code presentation mode ATS0 Set number of rings before automatically answering the call ATS1 Ring counter ATS2 Set escape sequence character ATS3 Set command line termination character IT AL Set response formatting character ATS5 Set command line editing character Pause before blind dialling O M ATS6 ATS8 FI D EN N C O ATS4 ATS7 FI Command Set number of seconds to wait for connection completion Set number of seconds to wait for comma dial modifier encountered in dial string of D command Set disconnect delay after indicating the absence of data carrier ATS12 Set escape code guard time ATS25 Set DTR change time SI M C ATS10 ATS95 Some PC modem driver initial setting to enable extended result codes ATT Select Tone Dialing ATV TA response format ATX Set connect result code format and monitor call progress ATZ Reset default configuration AT&C Set DCD function mode AT&D Set DTR function mode SIM7020 Series_AT Command Manual_V1.02 19 2018-12-13 Smart Machine Smart Decision Factory defined configuration AT&K Flow control setting AT&V Display current configuration AT&W Store Active Profile AT+DR V.42bis data compression reporting control AT+DS V.42bis data compression control AT+GCAP Request complete TA capabilities list AT+GMI Request manufacturer identification AT+GMM Request TA model identification AT+GMR Request TA revision identification of software release AT+GOI Request global object identification AT+GSN Request TA serial number identification (IMEI) AT+ICF Set TE-TA control character framing AT+IFC Set TE-TA local data flow control AT+ILRR Set TE-TA Local rate reporting mode AT+IPR Set TE-TA fixed local rate AT+FCLASS Set Fax Class FI D EN IT AL FI LE AT&F 2.1 Detailed Description of AT Commands According to V.25TER Set Command Echo Mode N ATE ATE Set Command Echo Mode C O 2.1.1 Response This setting determines whether or not the TA echoes characters received from TE during Command state. OK Parameters 0 Echo mode off 1 Echo mode on M C O M Execution Command ATE SI Parameter Saving Mode Max Time Response - Reference V.25ter 2.1.2 ATI ATI Note Display Product Identification Information Display Product Identification Information SIM7020 Series_AT Command Manual_V1.02 20 2018-12-13 Smart Machine Smart Decision Execution Command ATI Response TA issues product information text Example: SIM7020 R1752 OK Reference V.25ter 2.1.3 FI Response Note IT AL Max Time LE Parameter Saving NO_SAVE Mode ATL Set Monitor Speaker Loudness Execution Command ATL Response OK Parameters 0..3 C O Response - Reference V.25ter Set Monitor Speaker Mode Set Monitor Speaker Mode O ATM ATM Note No effect in GSM M 2.1.4 Volume N Parameter Saving NO_SAVE Mode Max Time FI D EN ATL Set Monitor Speaker Loudness M C Execution Command ATM Response OK Parameters 0..2 Mode SI Parameter Saving NO_SAVE Mode Max Time Response - Reference V.25ter Note No effect in GSM SIM7020 Series_AT Command Manual_V1.02 21 2018-12-13 Smart Machine Smart Decision 2.1.5 ATN1 some PC modem driver initial setting to handshake at highest speed larger than S37 ATN1 Some PC modem driver initial setting to handshake at highest speed larger than S37 Execution Command ATN1 Response OK LE Parameters Reference V.25ter 2.1.6 ATO ATO Note IT AL Response - Switch from Command Mode to Data Mode Switch from Command Mode to Data Mode Execution Command ATO[n] FI D EN Max Time FI Parameter Saving NO_SAVE Mode Response TA resumes the connection and switches back from command mode to data mode. C O N CONNECT If connection is not successfully resumed ERROR else TA returns to data mode from command mode CONNECT Note: only if parameter setting ATX>0 M Parameter 0 Switch from command mode to data mode. C O Parameter Saving NO_SAVE Mode M Max Time Response - SI Reference V.25ter 2.1.7 Note ATP Select Pulse Dialling ATP Select Pulse Dialling SIM7020 Series_AT Command Manual_V1.02 22 2018-12-13 Smart Machine Smart Decision Execution Command ATP Response OK Parameter Saving NO_SAVE Mode 2.1.8 ATQ ATQ Note No effect in GSM FI Reference V.25ter LE Response - Set Result Code Presentation Mode IT AL Max Time Set Result Code Presentation Mode Response This parameter setting determines whether or not the TA transmits any result code to the TE. Information text transmitted in response is not affected by this setting. If =0: OK If =1: (none) FI D EN Execution Command ATQ C O N Parameters 0 TA transmits result code 1 Result codes are suppressed and not transmitted Parameter Saving Mode Response - M Max Time C O Reference V.25ter M 2.1.9 SI ATS0 ATS0 Note This command only affects V.250 AT commands and not all other AT commands in this specification (either 3GPP or MediaTek proprietary). Set Number of Rings before Automatically Answering the Call Set Number of Rings before Automatically Answering the Call Read Command ATS0? Response OK Parameters See Write Command Write Command Response SIM7020 Series_AT Command Manual_V1.02 23 2018-12-13 Smart Machine Smart Decision ATS0= This parameter setting determines the number of rings before auto-answer. OK or ERROR LE Parameters 0 Automatic answering is disable. 1-255 Number of rings the modem will wait for before answering the phone if a ring is detected. IT AL Response - 2.1.10 ATS1 Ring Counter Ring counter Read Command ATS1? Response N ATS1 Note If is set too high, the calling party may hang up before the call can be answered automatically. If using cmux port, ATH and AT+CHUP can hang up the call (automatically answering) only in the CMUX channel 0. If using dual-physical serial port, ATH and AT+CHUP can hang up the call (automatically answering) only in UART1. FI D EN Reference V.25ter C O Max Time FI Parameter Saving Mode OK M Parameters See Write Command SI M C O Write Command ATS1= Response This command will not alert the RING counter,but simply display OK or ERROR Parameters The number of "RING" strings sent to the TE as a result of receiving an incoming call. 0-255 Parameter Saving AT&W_SAVE Mode Max Time Response - SIM7020 Series_AT Command Manual_V1.02 24 2018-12-13 Smart Machine Smart Decision Reference V.25ter Set Escape Sequence Character Response FI Read Command ATS2? IT AL ATS3 Set Escape Sequence Character LE 2.1.11 ATS2 Note If "RING" is not displayed on a particular channel due to other settings (such as suppression of all unsolicited events (ATQ)) then this value should not be incremented. This value is reset to 0 when receiving a new incoming call. Note that this command should also be made channel specific as with other ATS commands. OK Parameters See Write Command Response This parameter setting determines the character recognized by the TA to indicate the escape sequence. OK or ERROR FI D EN Write Command ATS2= C O N Parameters 0-43-255 escape sequence character Note: default 43 = '+' Parameter Saving AT&W_SAVE Mode Response - M Max Time Note O Reference V.25ter M C 2.1.12 ATS3 ATS3 Set Command Line Termination Character Set Command Line Termination Character SI Read Command ATS3? Response OK Parameters See Write Command Write Command ATS3= Response This parameter setting determines the character recognized by TA to SIM7020 Series_AT Command Manual_V1.02 25 2018-12-13 Smart Machine Smart Decision terminate an incoming command line. The TA also returns this character in output. OK or ERROR Parameters 0-13-127 Command line termination character 2.1.13 ATS4 ATS4 Note Default 13 = CR. It only supports default value. Set Response Formatting Character Set Response Formatting Character Read Command ATS4? Response OK IT AL Reference V.25ter FI Response - FI D EN Max Time LE Parameter Saving Mode C O Response This parameter setting determines the character generated by the TA for result code and information text. OK or ERROR O M Write Command ATS4= N Parameters See Write Command Parameters 0-10-127 Response formatting character C Parameter Saving Mode Response - SI M Max Time Reference V.25ter 2.1.14 ATS5 ATS5 Note Default 10 = LF. It only supports default value. Set Command Line Editing Character Set Command Line Editing Character Read Command ATS5? Response SIM7020 Series_AT Command Manual_V1.02 26 2018-12-13 Smart Machine Smart Decision OK Parameters See Write Command Response This parameter setting determines the character recognized by TA as a request to delete from the command line the immediately preceding character. OK or ERROR FI LE Write Command ATS5= Parameters 0-8-127 IT AL Response formatting character Parameter Saving AT&W_SAVE Mode FI D EN Response - Reference V.25ter 2.1.15 ATS6 Pause Before Blind Dialling Pause Before Blind Dialling Read Command ATS6? Response N ATS6 Note Default 8 = Backspace. C O Max Time OK Response OK or ERROR C O M Write Command ATS6= Parameters 0-2-10 Time SI M Parameter Saving AT&W_SAVE Mode Max Time Response - Reference V.25ter 2.1.16 ATS7 ATS7 Note No effect in GSM Set Number of Seconds to Wait for Connection Completion Set Number of Seconds to Wait for Connection Completion SIM7020 Series_AT Command Manual_V1.02 27 2018-12-13 Smart Machine Smart Decision Read Command ATS7? Response OK Parameters See Write Command LE Response This parameter setting determines the amount of time to wait for the connection completion in case of answering or originating a call. OK or ERROR Parameters 1-60-255 IT AL FI Write Command ATS7= Number of seconds to wait for connection completion Max Time Response - Note If called party has specified a high value for ATS0= , call setup may fail. The correlation between ATS7 and ATS0 is important Example: Call may fail if ATS7=30 and ATS0=20. ATS7 is only applicable to data call. N Reference V.25ter FI D EN Parameter Saving AT&W_SAVE Mode C O 2.1.17 ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in Dial String of D Command M ATS8 Set Number of Seconds to Wait for Comma Dial Modifier Encountered in Dial String of D Command M C O Read Command ATS8? SI Write Command ATS8= Response OK Parameters See Write Command Response OK or ERROR Parameters 0 no pause when comma encountered in dial string 1-2-255 The value of this register determines how long the modem should pause when it sees a comma in the dialing string. SIM7020 Series_AT Command Manual_V1.02 28 2018-12-13 Smart Machine Smart Decision Parameter Saving Mode Response - Reference V.25ter Set Disconnect Delay after Indicating the Absence of Data Carrier Read Command ATS10? FI ATS10 Set Disconnect Delay after Indicating the Absence of Data Carrier Response OK Parameters See Write Command Response This parameter setting determines the amount of time that the TA will remain connected in absence of data carrier. If the data carrier is once more detected before disconnecting, the TA remains connected. OK or ERROR FI D EN Write Command ATS10= LE 2.1.18 ATS10 Note No effect in GSM IT AL Max Time C O N Parameters 1-15-254 Number of tenths seconds of delay Parameter Saving Mode Response - M Max Time C O Reference V.25ter M 2.1.19 ATS12 Note This command is not used, as there have been issues with in-band DCD dropping unexpectedly for CSD calls on some networks. Set Escape Code Guard Time SI This command sets the escape code guard time in fiftieths of a second. The escape guard time is used to measure when to detect the +++ escape sequence has been entered by the PC in order to drop out of data mode back to AT command mode. The guard time determines the time that forms a guard period before and after three escape sequence characters. In order to distinguish an escape sequence from just three escape sequence characters in the data stream there is timing associated to the three escape sequence characters of an escape sequence. The time between the last byte of the data stream and the first escape sequence character must be at least the guard time and the time between each escape sequence character of the escape SIM7020 Series_AT Command Manual_V1.02 29 2018-12-13 Smart Machine Smart Decision sequence must be less than the guard time and no other byte is received after the third escape sequence character for the time of the guard time. If an escape sequence is detected, the OK result code will be sent to the DTE. Otherwise, the DCE will stay in data mode. For example: " +++ " Set Escape Code Guard Time Read Command ATS12? Response LE ATS12 FI OK IT AL NB: is in 3 decimal digits format (e.g. Default value is given as 050). If error is related to wrong AT syntax: +CME ERROR: Write Command ATS12= Response OK or ERROR FI D EN Parameters See Write Command Parameters 0-50-255 Response - C O Max Time Reference V.25ter Note Set DTR Change Time M 2.1.20 ATS25 N Parameter Saving AT&W_SAVE Mode Number of 20 ms. M C O This command sets the S-register 25 Detect DTR change time that contain the threshold for noticing a change in DTR. This time permits to the modem to ignore DTR before taking action specified by &Dn (See AT&D Circuit 108 behavior). The value unit is in 1/100 seconds. Default value is set to 5 (50ms delay after a DTR drop before the modem acts on it). SI ATS25 Set DTR Change Time Read Command ATS25? Response OK NB: is in 3 decimal digits format (e.g. Default value is given as 000). If error is related to wrong AT syntax: +CME ERROR: SIM7020 Series_AT Command Manual_V1.02 30 2018-12-13 Smart Machine Smart Decision Parameters See Write Command Response OK or ERROR Parameters 0-5-255 Number of 10 ms. LE Write Command ATS25= Reference V.25ter 2.1.21 ATS95 ATS95 IT AL Response Note Some PC Modem Driver Initial Setting to Enable Extended Result Codes FI D EN Max Time FI Parameter Saving AT&W_SAVE Mode Some PC Modem Driver Initial Setting to Enable Extended Result Codes Read Command ATS95? Response OK Response OK C O Write Command ATS95= N Parameters See Write Command Some standard PC modem drivers will send this AT command to initialize the setting, but it is meaningless in the 3gpp standard. So we just return OK and no effect for the setting. O M Parameters 0-255 setting . Meaningless for the GSM, and GPRS/Packet Domain M C Parameter Saving AT&W_SAVE Mode SI Max Time Response - Reference V.25ter Note 2.1.22 ATT Select Tone Dialing ATT Select Tone Dialing SIM7020 Series_AT Command Manual_V1.02 31 2018-12-13 Smart Machine Smart Decision Execution Command ATT Response OK Parameter Saving AUTO_SAVE Mode 2.1.23 ATV Note FI Reference V.25ter LE Response - TA Response Format IT AL Max Time ATV TA Response Format Response This parameter setting determines the contents of the header and trailer transmitted with result codes and information responses. When =0 0 When =1 OK Parameters 0 FI D EN Execution Command ATV M C O N Information response: Short result code format: 1 Information response: Long result code format: The result codes, their numeric equivalents and brief descriptions of the use of each are listed in the following table. O Parameter Saving AT&W_SAVE Mode Response - C Max Time SI M Reference V.25ter Note ATV1 ATV0 Description OK 0 Acknowledges execution of a Command CONNECT 1 A connection has been established; the DCE is moving from Command state to online data state RING 2 The DCE has detected an incoming call signal from network SIM7020 Series_AT Command Manual_V1.02 32 2018-12-13 Smart Machine Smart Decision 3 The connection has been terminated or the attempt to establish a connection failed ERROR 4 Command not recognized, Command line maximum length exceeded, parameter value invalid, or other problem with processing the Command line NO DIALTONE 6 No dial tone detected BUSY 7 Engaged (busy) signal detected NO ANSWER 8 "@" (Wait for Quiet Answer) dial modifier was used, but remote ringing followed by five seconds of silence was not detected before expiration of the connection timer (S7) PROCEEDING 9 An AT command is being processed CONNECT Manufacturer- Same as CONNECT, but includes manufacturer-specific specific text that may specify DTE speed, line speed, error control, data compression, or other status ATX FI IT AL Set CONNECT Result Code Format and Monitor Call Progress FI D EN 2.1.24 ATX LE NO CARRIER Set CONNECT Result Code Format and Monitor Call Progress Response This parameter setting determines whether or not the TA detected the presence of dial tone and busy signal and whether or not TA transmits particular result codes. OK or ERROR C O N Execution Command ATX SI M C O M Parameters 0 CONNECT result code only returned, dial tone and busy detection are both disabled. 1 CONNECT result code only returned, dial tone and busy detection are both disabled. 2 CONNECT result code returned, dial tone detection is enabled, busy detection is disabled. 3 CONNECT result code returned, dial tone detection is disabled, busy detection is enabled. 4 CONNECT result code returned, dial tone and busy detection are both enabled. Parameter Saving AT&W_SAVE Mode Max Time Response - Reference V.25ter Note SIM7020 Series_AT Command Manual_V1.02 33 2018-12-13 Smart Machine Smart Decision 2.1.25 ATZ Reset Default Configuration ATZ Reset Default Configuration Response TA sets all current parameters to the user defined profile. OK or ERROR Restore profile 0 FI Parameters 0 Parameter Saving NO_SAVE Mode Reference V.25ter IT AL Response Note FI D EN Max Time LE Execution Command ATZ[ ] Parameter impacted by Z command: refer to AT&W, and IFC will be set too. 2.1.26 AT&C AT&C Set DCD Function Mode Set DCD Function Mode Response This parameter determines how the state of circuit 109 (DCD) relates to the detection of received line signal from the distant end. OK or ERROR C O N Execution Command AT&C O M Parameters 0 DCD line is always ON 1 DCD line is ON only in the presence of data carrier C Parameter Saving Mode M Max Time Response - SI Reference V.25ter 2.1.27 AT&D AT&D Note Set DTR Function Mode Set DTR Function Mode Execution Command Response This parameter determines how the TA responds when circuit 108/2 (DTR) SIM7020 Series_AT Command Manual_V1.02 34 2018-12-13 Smart Machine Smart Decision AT&D[ ] is changed from the ON to the OFF condition during data mode. OK or ERROR FI LE Parameters 0 TA ignores status on DTR. 1 ON->OFF on DTR: Change to Command mode with remaining the connected call. 2 ON->OFF on DTR: Disconnect call, change to Command mode. During state DTR=OFF is auto-answer off. Parameter Saving Mode Reference V.25ter IT AL Response Note FI D EN Max Time 2.1.28 AT&F Factory Defined Configuration AT&F Factory Defined Configuration Execution Command AT&F[ ] Response TA sets all current parameters to the manufacturer defined profile. OK N Parameters 0 C O Set all TA parameters to manufacturer defaults. Parameter Saving NO_SAVE Mode Response - M Max Time Note C O Reference V.25ter M Parameter impacted by &F command: refer to AT&W, and IFC will be set too. SI 2.1.29 AT&K AT&K Flow Control Setting Flow Control Setting Execution Command AT&K[ ] Response OK Parameters 0 3 4 No flow control RTS /CTS flow control (hardware) XON/XOFF flow control (software) SIM7020 Series_AT Command Manual_V1.02 35 2018-12-13 Smart Machine Smart Decision Parameter Saving NO_SAVE Mode Max Time Response Note This command does not store anything in the profile data because it sets the AT+IFC settings when used: AT&K0 is equivalent of entering AT+IFC=0,0 AT&K3 is equivalent of entering AT+IFC=2,2 AT&K4 is equivalent of entering AT+IFC=1,1 FI LE Reference V.25ter IT AL 2.1.30 AT&V Display Current Configuration AT&V Display Current Configuration Response TA returns the current parameter setting. OK or ERROR FI D EN Execution Command AT&V[ ] Parameters 0 Responses in numeric format Response - Note M Reference V.25ter C O Max Time N Parameter Saving NO_SAVE Mode O 2.1.31 AT&W Store Active Profile AT&W Store Active Profile SI M C Execution Command AT&W[ ] Response TA stores the current parameter setting in the user defined profile. OK or ERROR Parameters 0 Store the current configuration in profile 0 Parameter Saving NO_SAVE Mode Max Time Response - SIM7020 Series_AT Command Manual_V1.02 36 2018-12-13 Smart Machine Smart Decision Reference V.25ter Note The user defined profile is stored in non volatile memory. Parameter stored by &W Parameter name Displayedby &V ATS0 Y ATS3 Y ATS4 Y ATS5 Y ATS6 Y ATS7