451
SIM8200 Series_ AT Command Manual SIMCom Wireless Solutions Limited Building B, SIM Technology Building, No.633, Jinzhong Road Changning District, Shanghai P.R. China Tel: 86-21-31575100 [email protected] www.simcom.com 5G Module

SIM8200Series ATCommandManual

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SIM8200Series ATCommandManual

SIM8200 Series_AT Command Manual

SIMCom Wireless Solutions LimitedBuilding B SIM Technology Building No633 Jinzhong Road

Changning District Shanghai PR ChinaTel 86-21-31575100

supportsimcomcomwwwsimcomcom

5G Module

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 2451

Document Title SIM8200 Series_AT Command Manual

Version 101

Date 2020123

Status Released

GENERAL NOTES

SIMCOM OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS TO SUPPORTAPPLICATION AND ENGINEERING EFFORTS THAT USE THE PRODUCTS DESIGNED BY SIMCOMTHE INFORMATION PROVIDED IS BASED UPON REQUIREMENTS SPECIFICALLY PROVIDED TOSIMCOM BY THE CUSTOMERS SIMCOM HAS NOT UNDERTAKEN ANY INDEPENDENT SEARCHFOR ADDITIONAL RELEVANT INFORMATION INCLUDING ANY INFORMATION THAT MAY BE IN THECUSTOMERrsquoS POSSESSION FURTHERMORE SYSTEM VALIDATION OF THIS PRODUCTDESIGNED BY SIMCOM WITHIN A LARGER ELECTRONIC SYSTEM REMAINS THE RESPONSIBILITYOF THE CUSTOMER OR THE CUSTOMERrsquoS SYSTEM INTEGRATOR ALL SPECIFICATIONSSUPPLIED HEREIN ARE SUBJECT TO CHANGE

COPYRIGHT

THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTYOF SIMCOM WIRELESS SOLUTIONS LIMITED COPYING TO OTHERS AND USING THIS DOCUMENTARE FORBIDDEN WITHOUT EXPRESS AUTHORITY BY SIMCOM OFFENDERS ARE LIABLE TO THEPAYMENT OF INDEMNIFICATIONS ALL RIGHTS RESERVED BY SIMCOM IN THE PROPRIETARYTECHNICAL INFORMATION INCLUDING BUT NOT LIMITED TO REGISTRATION GRANTING OF APATENT A UTILITY MODEL OR DESIGN ALL SPECIFICATION SUPPLIED HEREIN ARE SUBJECT TOCHANGE WITHOUT NOTICE AT ANY TIME

SIMCom Wireless Solutions LimitedBuilding B SIM Technology Building No633 Jinzhong Road Changning District Shanghai PR ChinaTel +86 21 31575100Email simcomsimcomcom

For more information please visithttpswwwsimcomcomdownloadlist-863-enhtml

For technical support or to report documentation errors please visithttpswwwsimcomcomaskor email to supportsimcomcom

Copyright copy 2020 SIMCom Wireless Solutions Limited All Rights Reserved

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 3451

Version HistoryVersion Date Chapter What is newV100 2020424 New version

V10002 202051115 AT Commands for NTP16 AT Commands for HTP

Add these chapters

V10002 20205112023 AT+CVAUXS2024 AT+CVAUXV

Delete these commands

V10004 202064 3220 AT+SMEID Delete this command

V10005 20206191134 AT+CPING1135 AT+CPINGSTOP

Add these commands

V10005 202061933 Summary of CME ERRORcodes

Remove MMS related error codes

V10007 20207283 Summary of Unsolicited ResultCodes

Add this chapter

V10009 2020714 4219 AT+CNWINFO Add this command

V10011 2020727161 Software flow control(XONXOFF flow control)

Delete this command

V10012 20207314220 AT+CBANDCFG4221 AT+C5GREG

Add this command

V10013 20208104222 AT+CSYSSEL25 AT Commands for Bluetooth26 AT Commands for Wifi

Add these commands

V10014 2020821

4223 AT+CCELLCFGSet lte cellconfiguration4224 AT+C5GCELLCFG SetNR5G cell configuration

Add these commands

V10015 202099625 AT+CNUM Subscribernumber

Add these commands

V10016 20209232521 AT+BTINIT Init Bluetoothservice

Remove the command

V10016 2020923

5218 AT+MORING Enable ordisable report MO ring URC42221AT+CSYSSEL=nr5g_disable42222AT+CSYSSEL=nr5g_band42223AT+CSYSSEL=nsa_nr5g_band42224 AT+CSYSSEL=lte_band42225 AT+CSYSSEL=w_band

Add these commands

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 4451

V10017 2020930

5219 AT+CLVL Loudspeakervolume level5220 AT+VMUTE Speakermute control5221 AT+CMUT Microphonemute control

Add these commands

V10019 20201111

5222 AT+CRXVOL Adjust RXvoice output speaker volume5223 AT+CTXVOL Adjust TXvoice mic volume5224 AT+CTXMICGAIN AdjustTX voice mic gain5225 AT+CECH Inhibit far-endecho5226 AT+CECDT Inhibit echoduring doubletalk2521 AT+BTINIT Init Bluetoothservice2522 AT+BTTERM StopBluetooth service1929 AT+CPCIEMODE Get orset the mode of PCIE

Add these commands

V10020 202011235227 AT+CSTA Select type ofaddress

Add these commands

V101 20201234220 AT+CBANDCFG4212 AT+CNBP

Delete these commands

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 5451

Contents

Version History3

Contents 5

1 Introduction1611 Scope of the document1612 Related documents1613 Conventions and abbreviations1614 AT Command syntax16

141 Basic syntax17142 S Parameter syntax17143 Extended Syntax17144 Combining AT commands on the same Command line 18145 Entering successive AT commands on separate lines18

15 Supported character sets 1816 Flow control19

161 Hardware flow control (RTSCTS flow control)1917 Definitions19

171 Parameter Saving Mode19172 Max Response Time19

2 AT Commands According to V25TER2121 Overview of AT Commands According to V25TER2122 Detailed Description of AT Commands According to V25TER22

221 A Re-issues the Last Command Given22222 ATD Mobile Originated Call to Dial A Number 22223 ATDgtltmemgtltngt Originate call from specified memory24224 ATDgtltngt Originate call from active memory(1)25225 ATDgtltstrgt Originate call from active memory(2)26226 ATA Call answer27227 ATH Disconnect existing call28228 ATS0 Automatic answer incoming call 29229 +++ Switch from data mode to command mode 302210 ATO Switch from command mode to data mode302211 ATI Display product identification information312212 AT+IPR Set local baud rate temporarily322213 AT+ICF Set control character framing332214 AT+IFC Set local data flow control342215 ATampC Set DCD function mode 352216 ATE Enable command echo 362217 ATampV Display current configuration36

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 6451

2218 ATampD Set DTR function mode372219 ATV Set result code format mode372220 ATampF Set all current parameters to manufacturer defaults 382221 ATQ Set Result Code Presentation Mode392222 ATX Set CONNECT Result Code Format 402223 ATV Set CONNECT Result Code Format About Protocol402224 ATampE Set CONNECT Result Code Format About Speed 412225 ATampW Save the user setting to ME 422226 ATZ Restore the user setting from ME422227 AT+CGMI Request manufacturer identification432228 AT+CGMM Request model identification442229 AT+CGMR Request revision identification442230 AT+CGSN Request product serial number identification452231 AT+CSCS Select TE character set462232 AT+CIMI Request international mobile subscriber identity472233 AT+GCAP Request overall capabilities48

3 AT Commands for Status Control 4931 Overview of AT Commands for Status Control4932 Detailed Description of AT Commands for Status Control49

321 AT+CFUN Set phone functionality49322 AT+CPIN Enter PIN51323 AT+CICCID Read ICCID from SIM card52324 AT+CSIM Generic SIM access53325 AT+CRSM Restricted SIM access54326 AT+SPIC Times remain to input SIM PINPUK 58327 AT+CSPN Get service provider name from SIM59328 AT+CSQ Query signal quality60329 AT+AUTOCSQ Set CSQ report613210 AT+CSQDELTA Set RSSI delta change threshold623211 AT+CATR Configure URC destination interface633212 AT+CPOF Power down the module643213 AT+CRESET Reset the module653214 AT+CACM Accumulated call meter 653215 AT+CAMM Accumulated call meter maximum 673216 AT+CPUC Price per unit and currency table683217 AT+CCLK Real time clock management 693218 AT+CMEE Report mobile equipment error703219 AT+CPAS Phone activity status 713220 AT+SIMEI Set IMEI for the module723221 AT+CSVM Voice Mail Subscriber number733222 Indication of Voice Mail74

33 Summary of CME ERROR codes7534 Summary of CMS ERROR codes77

4 AT Commands for Network7941 Overview of AT Commands for Network79

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 7451

42 Detailed Description of AT Commands for Network79421 AT+CREG Network registration79422 AT+COPS Operator selection81423 AT+CLCK Facility lock 83424 AT+CPWD Change password85425 AT+CCUG Closed user group86426 AT+CUSD Unstructured supplementary service data87427 AT+CAOC Advice of Charge89428 AT+CSSN Supplementary service notifications 90429 AT+CPOL Preferred operator list 924210 AT+COPN Read operator names 934211 AT+CNMP Preferred mode selection944212 AT+CNAOP Acquisitions order preference954213 AT+CPSI Inquiring UE system information 964214 AT+CNSMOD Show network system mode 1004215 AT+CEREG EPS network registration status1014216 AT+CTZU Automatic time and time zone update1034217 AT+CTZR Time and time zone reporting1044218 AT+CNWINFO Inquiring extra network info1064219 AT+C5GREG NR5G network registration status 1074220 AT+CSYSSEL Set system selection pref 1094221 AT+CCELLCFG Set lte cell configuration1124222 AT+C5GCELLCFG Set NR5G cell configuration 113

5 AT Commands According to Call Control11551 Overview of AT Commands According to 3GPP Call Control 11552 Detailed Description of AT Commands According to Call Control116

521 AT+CVHU Voice hang up control116522 AT+CHUP Hang up call 117523 AT+CBST Select bearer service type117524 AT+CRLP Radio link protocol 119525 AT+CR Service reporting control 120526 AT+CRC Cellular result codes121527 AT+CLCC List current calls123528 AT+CEER Extended error report 125529 AT+CCWA Call waiting 1255210 AT+CHLD Call related supplementary services1275211 AT+CCFC Call forwarding number and conditions1285212 AT+CLIP Calling line identification presentation 1305213 AT+CLIR Calling line identification restriction1325214 AT+COLP Connected line identification presentation1335215 AT+VTS DTMF and tone generation1345216 AT+VTD Tone duration 1355217 AT+CSTA Select type of address1365218 AT+CMOD Call mode 1385219 AT+VMUTE Speaker mute control 139

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 8451

5220 AT+CMUT Microphone mute control1405221 AT+MORING Enable or disable report MO ring URC1415222 AT+CLVL Loudspeaker volume level 1415223 AT+CRXVOL Adjust RX voice output speaker volume1425224 AT+CTXVOL Adjust TX voice mic volume1435225 AT+CTXMICGAIN Adjust TX voice mic gain1445226 AT+CECH Inhibit far-end echo1455227 AT+CECDT Inhibit echo during doubletalk 146

6 AT Commands for Phonebook14861 Overview of AT Commands for Phonebook14862 Detailed Description of AT Commands for Phonebook148

621 AT+CPBS Select Phonebook memory storage148622 AT+CPBR Read Phonebook entries 150623 AT+CPBF Find Phonebook entries 151624 AT+CPBW Write Phonebook entry152625 AT+CNUM Subscriber number153

7 AT Commands for SIM Application Toolkit15571 Overview of AT Commands for SIM Application Toolkit15572 Detailed Description of AT Commands for SIM Application Toolkit155

721 AT+STIN SAT Indication155722 AT+STGI Get SAT information 156723 AT+STGR SAT respond 159724 AT+STK STK switch160725 AT+STKFMT Set STK pdu format 161726 AT+STENV Original STK PDU Envelope Command161727 AT+STSM Get STK Setup Menu List with PDU Mode162

8 AT Commands for GPRS 16481 Overview of AT Commands for GPRS16482 Detailed Description of AT Commands for GPRS164

821 AT+CGREG GPRS network registration status 164822 AT+CGATT Packet domain attach or detach166823 AT+CGACT PDP context activate or deactivate167824 AT+CGDCONT Define PDP context 168825 AT+CGDSCONT Define Secondary PDP Context 170826 AT+CGTFT Traffic Flow Template 172827 AT+CGQREQ Quality of service profile (requested)175828 AT+CGEQREQ 3G quality of service profile (requested)178829 AT+CGQMIN Quality of service profile (minimum acceptable) 1828210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)1858211 AT+CGDATA Enter data state 1898212 AT+CGPADDR Show PDP address1908213 AT+CGCLASS GPRS mobile station class1918214 AT+CGEREP GPRS event reporting 1938215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS194

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 9451

83 Summary of Unsolicited Result Codes196

9 AT Commands for SMS19891 Overview of AT Commands for SMS19892 Detailed Description of AT Commands for SMS 198

921 AT+CSMS Select message service198922 AT+CPMS Preferred message storage 200923 AT+CMGF Select SMS message format201924 AT+CSCA SMS service center address 202925 AT+CSCB Select cell broadcast message indication203926 AT+CSMP Set text mode parameters204927 AT+CSDH Show text mode parameters205928 AT+CNMA New message acknowledgement to META 206929 AT+CNMI New message indications to TE2079210 AT+CGSMS Select service for MO SMS messages2099211 AT+CMGL List SMS messages from preferred store2109212 AT+CMGR Read message 2149213 AT+CMGS Send message2189214 AT+CMSS Send message from storage 2199215 AT+CMGW Write message to memory2209216 AT+CMGD Delete message 2229217 AT+CMGMT Change message status2239218 AT+CMVP Set message valid period2249219 AT+CMGRD Read and delete message 2249220 AT+CMGSEX Send message 2269221 AT+CMSSEX Send multi messages from storage 227

10 AT Commands for SSL229101 Overview of AT Commands for SSL229102 Detailed Description of AT Commands for SSL229

1021 AT+CCHSTART Start SSL service 2291022 AT+CCHSTOP Stop SSL service 2301023 AT+CCHOPEN Connect to SSL server2311024 AT+CCHCLOSE Disconnect from SSL server 2321025 AT+CCHSEND Send data to SSL server2331026 AT+CCHRECV Read the cached data that received from the SSL server 2341027 AT+CCHADDR Get the IPV4 address2361028 AT+CCHCFG Configure the client context2371029 AT+CCHSSLCFG Set the SSL context 23810210 AT+CCHMODE Configure the mode of sending and receiving data23910211 AT+CCHSET Configure the report mode of sending and receiving data 24010212 AT+CSSLCFG Configure the SSL context24110213 AT+CCERTDOWN Download certificate into the module24610214 AT+CCERTLIST List certificates24710215 AT+CCERTDELE Delete certificates 247

103 Command result lterrgt codes248104 Unsolicited result codes249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 10451

11 AT Commands for TCPIP250111 Overview of AT Commands for TCPIP250112 Detailed Description of AT Commands for TCPIP 250

1121 AT+NETOPEN Start TCPIP service2501122 AT+NETCLOSE Stop TCPIP service2521123 AT+CIPOPEN Setup TCPUDP client socket connection 2521124 AT+CIPCLOSE Destroy TCPUDP client socket connection2561125 AT+CIPSEND Send TCPUDP data2571126 AT+CIPRXGET Retrieve TCPUDP buffered data2611127 AT+IPADDR Get IP address of PDP context2641128 AT+CIPHEAD Add an IP header when receiving data2641129 AT+CIPSRIP Show remote IP address and port26511210 AT+CIPMODE Select TCPIP application mode26611211 AT+CIPSENDMODE Set sending mode26711212 AT+CIPTIMEOUT Set TCPIP timeout value26811213 AT+CIPCCFG Configure parameters of socket 26911214 AT+SERVERSTART Startup TCP server27011215 AT+SERVERSTOP Stop TCP server27111216 AT+CIPACK QueryTCP connection data transmitting status272

113 DNS amp PING2731131 AT+CDNSGIP Query the IP address of given domain name2741132 AT+CDNSGHNAME Query the domain name of given IP address2751133 AT+CIPDNSSET Set DNS query parameters 2761134 AT+CPING Ping destination address2761135 AT+CPINGSTOP Stop an ongoing ping session 278

114 Information Elements related to TCPIP279115 Description of lterr_infogt280116 Description of lterrgt281

12 AT Commands for FTP(S)282121 Overview of AT Commands for FTP(S) 282122 Detailed Description of AT Commands for FTP(S)282

1221 AT+CFTPSSTART Start FTP(S) service 2821222 AT+CFTPSSTOP Stop FTP(S) Service2831223 AT+CFTPSLOGIN Login to a FTP(S) server2841224 AT+CFTPSLOGOUT Logout FTP(S) server2851225 AT+CFTPSMKD Create a new directory on FTP(S) server2861226 AT+CFTPSRMD Delete a directory on FTP(S) server2871227 AT+CFTPSDELE Delete a file on FTP(S) server2881228 AT+CFTPSCWD Change the current directory on FTP(S) server2881229 AT+CFTPSPWD Get the current directory on FTP(S) server28912210 AT+CFTPSTYPE Set the transfer type on FTP(S) server29012211 AT+CFTPSLIST List the items in the directory on FTP(S) server29112212 AT+CFTPSGETFILE Get a file from FTP(S) server to module29312213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server29412214 AT+CFTPSGET Get a file from FTP(S) server to serial port295

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 11451

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port 29612216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type29812217 AT+CFTPSCACHERD Output cached data to MCU29812218 AT+CFTPSABORT Abort FTP(S) Operations 29912219 AT+CFTPSSIZE Get the File Size on FTP(S) server300

123 Summary of result codes for FTPS 3011231 Summary of Command result lterrcodegt3011232 Summary of Unsolicited Result Codes302

13 AT Commands for HTTPS 303131 Overview of AT Commands for HTTPS 303132 DetailedDescription of AT Commands for HTTPS303

1321 AT+HTTPINIT Start HTTP(S) service 3031322 AT+HTTPTERM Stop HTTP(S) Service3041323 AT+HTTPPARA Set HTTP(S) Parameters value3041324 AT+HTTPACTION HTTP(S) Method Action3061325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response3071326 AT+HTTPREAD Read the Response Information of HTTP(S) Server3091327 AT+HTTPDATA Input HTTP(S) Data3101328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File3111329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file 312

133 Summary of result codes for HTTPS 3131331 Summary of HTTP(S) Response Code3141332 Summary of HTTP(S) error Code315

14 AT Commands for MQTT(S)316141 Overview of AT Commands for MQTT(S)316142 Detailed Description of AT Commands for MQTT(S) 316

1421 AT+CMQTTSTART Start MQTT service3161422 AT+CMQTTSTOP STOP MQTT service 3171423 AT+CMQTTACCQ Acquire a client3181424 AT+CMQTTREL Release a client3191425 AT+CMQTTSSLCFG Set the SSL context3201426 AT+CMQTTWILLTOPIC Input the will topic3211427 AT+CMQTTWILLMSG Input the will message3221428 AT+CMQTTDISC Disconnect from server 3221429 AT+CMQTTCONNECT Connect to MQTT server 32414210 AT+CMQTTTOPIC Input the publish message topic 32514211 AT+CMQTTPAYLOAD Input the publish message body32614212 AT+CMQTTPUB Publish a message to server32714213 AT+CMQTTSUBTOPIC Input a subscribe message topic32814214 AT+CMQTTSUB Subscribe a message to server 32914215 AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic33014216 AT+CMQTTUNSUB Unsubscribe a message to server33114217 AT+CMQTTCFG Configure the MQTT Context332

143 Summary of result codes for MQTT(S)3341431 Summary of Command result lterrgt codes334

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 12451

1432 Summary of Unsolicited Result Codes335

15 AT Commands for NTP337151 Overview of AT Commands for NTP 337152 Detailed Description of AT Commands for NTP337

1521 AT+CNTP Update system time 3371522 Unsolicited NTP Codes 338

16 AT Commands for HTP339161 Overview of AT Commands for HTP 339162 Detailed Description of AT Commands for HTP339

1621 AT+CHTPSERV Set HTP server info3391622 AT+CHTPUPDATE Updating date time using HTP protocol 3401623 Unsolicited HTP Codes 341

17 AT Commands for GPS342171 Overview of AT Commands for GPS342172 Detailed Description of AT Commands for GPS342

1721 AT+CGPS StartStop GPS session3421722 AT+CGPSINFO Get GPS fixed position information3441723 AT+CGPSCOLD Cold Start GPS3451724 AT+CGPSHOT Hot Start GPS 3451725 AT+CGPSURL Set AGPS default server URL3461726 AT+CGPSSSL Set AGPS transport security3471727 AT+CGPSAUTO Start GPS automatic 3471728 AT+CGPSNMEA Configure NMEA sentence type3481729 AT+CGPSNMEARATE Set NMEA output rate35017210 AT+CGPSMD Configure AGPS MO method 35017211 AT+CGPSFTM Start GPS test mode35117212 AT+CGPSDEL Delete the GPS information 35217213 AT+CGPSXE EnableDisable GPS XTRA function35217214 AT+CGPSXD Download XTRA assistant file35317215 AT+CGPSXDAUTO Download XTRA assistant file automatically35417216 AT+CGPSPMD Configure positioning mode35517217 AT+CGPSMSB Configure based mode switch to standalone35617218 AT+CGPSHOR Configure positioning desired accuracy35717219 AT+CGNSSINFO Get GNSS fixed position information35717220 AT+CGNSSMODE Configure GNSS support mode 35917221 Unsolicited XTRA download Codes 360

18 AT Commands for LBS361181 Overview of AT Commands for LBS361182 Detailed Description of AT Commands for LBS361

1821 AT+CLBS Base station location3611822 AT+CLBSCFG Base station Location configure 364

19 AT Commands for Hardware366191 Overview of AT Commands for Hardware366

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 13451

192 Detailed Description of AT Commands for Hardware3661921 AT+IPREX Set UART local baud rate permanently3661922 AT+CFGRI Indicate RI when using URC3671923 AT+CSCLK Control UART sleep3681924 AT+CMUX Enable the multiplexer over the UART 3701925 AT+CGFUNC Enabledisable the function for the special GPIO3711926 AT+CGDRT Set the direction of specified GPIO3721927 AT+CGSETV Set the value of specified GPIO3731928 AT+CGGETV Get the value of specified GPIO3741929 AT+CPCIEMODE Get or set the mode of PCIE374

20 Hardware Related Commands 376201 Overview of Hardware Related Commands 376202 Detailed Description of AT Commands for Hardware376

2021 AT+CVALARM Set overvoltage and undervoltage alarm3762022 AT+CADC Read the value of ADC 3782023 AT+CADC2 Read the value of ADC23782024 AT+CMTE Set the power action when over the critical temperature3792025 AT+CPMVT Set the power action when overvoltage and undervoltage3802026 AT+CDELTA Set module reboot to recovery mode 3822027 AT+CBC Read the voltage value of the power supply3822028 AT+CPMUTEMP Read the temperature of the modules3832029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode38320210 AT+CCPUTEMP Read the temperature of CPU different zones 385

21 AT Commands for UIM hot swap387211 Overview of AT Commands for UIM hot swap387212 Detailed Description of AT Commands for UIM hot swap 387

2121 AT+UIMHOTSWAPON Set UIM hot swap function on 3872122 AT+UIMHOTSWAPLEVEL Set UIM card detection level 388

22 AT Commands for File System 390221 Overview of AT Commands for File System 390222 Detailed Description of AT Commands for File System391

2221 AT+FSCD Select directory as current directory 3912222 AT+FSMKDIR Make new directory in current directory3922223 AT+FSRMDIR Delete directory in current directory3932224 AT+FSLS List directoriesfiles in current directory3932225 AT+FSDEL Delete file in current directory 3952226 AT+FSRENAME Rename file in current directory 3962227 AT+FSATTRI Request file attributes 3962228 AT+FSMEM Check the size of available memory3972229 AT+FSLOCA Select storage place 39822210 AT+FSCOPY Copy an appointed file39922211 AT+CFTRANRX Transfer a file to EFS40022212 AT+CFTRANTX Transfer a file from EFS to host 401

23 AT Commands for AUDIO403

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 14451

231 Overview of AT Commands for AUDIO403232 Detailed Description of AT Commands for AUDIO403

2321 AT+CREC Record wav audio file4032322 AT+CRECAMR Record amr audio file4042323 AT+CCMXPLAY Play audio file4062324 AT+CCMXSTOP Stop playing audio file407

24 AT Commands for TTS409241 Overview of AT Commands for TTS409242 Detailed Description of AT Commands for TTS409

2421 AT+CDTAM TTS play path local or remote4092422 AT+CTTS TTS operation play or stop4102423 AT+CTTSPARAM TTS Parameters set or get412

25 AT Commands for Bluetooth414251 Overview of AT Commands for Bluetooth 414252 Detailed Description of AT Commands for Bluetooth415

2521 AT+BTINIT Init Bluetooth service4152522 AT+BTTERM Stop Bluetooth service4152523 AT+BTPOWER OpenClose Bluetooth4162524 AT+BTHOST Get or Set host name4172525 AT+BTSCAN Scan BT devices 4172526 AT+BTPAIR Pair with other BT device4182527 AT+BTPAIRED Get Paired BT devices4192528 AT+BTUNPAIR Unpair with the paired BT device 4202529 AT+BTOPPREG OPP Register42125210 AT+BTOPPSEND OPP send file 42125211 +BTOPPRECVING OPP receive file notification 42225212 AT+BTOPPACCEPT OPP accept or refuse received file42225213 AT+BTGATTREG GATT register 42325214 AT+BTGATTCRESRV GATT create service42425215 AT+BTGATTCRECHAR GATT create service characteristic42525216 AT+BTGATTCRECHARDES GATT create service characteristic description42725217 AT+BTGATTSTARTSRV GATT startstop service42825218 AT+BTGATTSTARTADV GATT start advertisement 42925219 AT+BTGATTDELSRV GATT delete service43025220 +BTGATTCONN GATT client connect status43125221 +BTGATTWRIND GATT receive client write request43125222 AT+BTGATTWRCFM GATT response to BTGATTWRIND43225223 +BTGATTREADIND GATT receive client read request43225224 AT+BTGATTREADCFM GATT response to BTGATTREADIND43325225 AT+BTGATTNOTIFY GATT send notification to client434

253 Summary of result codes for GATT4352531 Summary of Command result lterrgt codes435

26 AT Commands for MiFi436261 Overview of AT Commands for MiFi436

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 15451

262 Detailed Description of AT Commands for MiFi4362621 AT+CWMAP OpenClose MiFi 4362622 AT+CWSSID SSID setting 4372623 AT+CWBCAST Broadcast setting4382624 AT+CWAUTH Authentication setting4392625 AT+CWMOCH 80211 mode and channel setting 4402626 AT+CWISO Client isolation setting4422627 AT+CWDHCP Get the current DHCP configuration4432628 AT+CWNAT NAT type setting4432629 AT+CWCLICNT Get client number connected to the MiFi44426210 AT+CWRSTD Restore to default setting44526211 AT+CWMAPCFG MiFi configuration setting44526212 AT+CWMACADDR Get MAC address44726213 AT+CWNETCNCT Query the connection to the network44826214 AT+CWSTASCAN Scan WIFI network44826215 AT+CWSTACFG STAmode configuration setting45026216 AT+CWSTAIP Get STAmode IP address451

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 16451

THIS DOCUMENT IS A REFERENCE GUIDE TO ALL THE AT COMMANDS

1 Introduction

11 Scope of the document

This document presents the AT Command Set for SIMCom SIM8200ampSIM8300 Series

12 Related documents

You can visit the SIMCom Website using the following linkhttpwwwsimcomcom

13 Conventions and abbreviations

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)

In application controlling device controls the GSM engine by sending AT Command via its serial interfaceThe 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

14 AT Command syntax

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 17451

The AT or at or aT or At prefix must be set at the beginning of each Command line To terminate aCommand line enter ltCRgtCommands are usually followed by a response that includes ltCRgtltLFgtltresponsegtltCRgtltLFgtThroughout this document only the responses are presented ltCRgtltLFgt are omitted intentionally

The AT Command set implemented by SIM8200 Series is a combination of 3GPP TS 27005 3GPP TS27007 and ITU-T recommendation V25ter and the AT commands developed by SIMCom

Only enter AT Command through serial port after SIM8200 Series is powered on and Unsolicited ResultCode RDY is received from serial port If auto-bauding is enabled the Unsolicited Result CodesRDY and so on are not indicated when you start up the ME and the AT prefix orat prefix must beset at the beginning of each command line

All these AT commands can be split into three categories syntactically basic S parameter andextended These are as follows

141 Basic syntax

These AT commands have the format of ATltxgtltngt orATampltxgtltngt where ltxgtis the Command andltngtisare the argument(s) for that Command An example of this is ATEltngt which tells the DCEwhether received characters should be echoed back to the DTE according to the value of ltngt ltngt isoptional and a default will be used if missing

142 S Parameter syntax

These AT commands have the format of ATSltngt=ltmgt where ltngt is the index of the S register to setand ltmgtis the value to assign to it ltmgt is optional if it is missing then a default value is assigned

143 Extended Syntax

These commands can operate in several modes as in the following table

Table 1 Types of AT commands and responsesTest CommandAT+ltxgt=

The mobile equipment returns the list of parameters and value ranges setwith the corresponding Write Command or by internal processes

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 18451

Read CommandAT+ltxgt

This command returns the currently set value of the parameter orparameters

Write CommandAT+ltxgt=lthellipgt

This command sets the user-definable parameter values

Execution CommandAT+ltxgt

The execution command reads non-variable parameters affected by internalprocesses in the GSM engine

144 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 AToratprefix before every command Instead you only need type ATorat the beginning of the command linePlease note to use a semicolon as the command delimiter after an extended command in basic syntax or Sparameter syntax the semicolon need not enter for exampleATE1Q0S0=1S3=13V1X4+IFC=00+IPR=115200

145 Entering successive AT commands on separate lines

When you need to enter a series of AT commands on separate lines please Note that you need to wait thefinal response (for example OK CME error CMS error) of last AT Command you entered before you enterthe next AT Command

15 Supported character sets

The SIM8200 Series AT Command interface defaults to the IRA character set The SIM8200 Seriessupports the following character sets GSM format UCS2 IRAThe character set can be set and interrogated using the AT+CSCS Command (3GPP TS 27007) Thecharacter set is defined in GSM specification 3GPP TS 27005

The character set affects transmission and reception of SMS and SMS Cell Broadcast messages the entryand display of phone book entries text field and SIM Application Toolkit alpha strings

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 19451

16 Flow control

Flow control is very important for correct communication between the GSM engine and DTE For in thecase such as a data or fax call the sending device is transferring data faster than the receiving side is readyto accept When the receiving buffer reaches its capacity the receiving device should be capable to causethe sending device to pause until it catches up

There are basically two approaches to achieve data flow control software flow control and hardware flowcontrol SIM8200 Series support both two kinds of flow controlIn Multiplex mode it is recommended to use the hardware flow control

161 Hardware flow control (RTSCTS flow control)

Hardware flow control achieves the data flow control by controlling the RTSCTS line When the datatransfer should be suspended the CTS line is set inactive until the transfer from the receiving buffer hascompleted When the receiving buffer is OK to receive more data CTS goes active once again

To achieve hardware flow control ensure that the RTSCTS lines are present on your application platform

17 Definitions

171 Parameter Saving Mode

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 doesnt have parameter AUTO_SAVE The parameter of the current AT command will be kept in NVRAM automatically and

take in effect immediately and it wont 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 wont be lost if module is rebooted

172 Max Response Time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 20451

Max response time is estimated maximum time to get response the unit is seconds

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 21451

2 AT Commands According toV25TER

21 Overview of AT Commands According to V25TER

Command DescriptionA Re-issues the last command given

ATD Mobile originated call to dial a numberATDgtltmemgtltngt Originate call from specified memoryATDgtltngt Originate call from active memoryATDgtltngt Originate call from active memoryATA Call answerATH Disconnect existing callATS0 Automatic answer incoming call+++ Switch from data mode to command modeATO Switch from command mode to data modeATI Display product identification information

AT+IPR Set local baud rate temporarilyAT+ICF Set control character framingAT+IFC Set local data flow controlATampC Set DCD function modeATE Enable command echoATampV Display current configurationATampD Set DTR function modeATV Set result code format modeATampF Set all current parameters to manufacturer defaultsATQ Set Result Code Presentation ModeATX Set CONNECT Result Code FormatATV Set CONNECT Result Code Format About ProtocolATampE Set CONNECT Result Code Format About SpeedATampW Save the user setting to MEATZ Restore the user setting from MEAT+CGMI Request manufacturer identificationAT+CGMM Request model identificationAT+CGMR Request revision identification

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 22451

AT+CGSN Request product serial number identificationAT+CSCS Select TE character setAT+CIMI Request international mobile subscriber identityAT+GCAP Request overall capabilities

22 Detailed Description of AT Commands According to V25TER

221 A Re-issues the Last Command Given

A Re-issues the Last Command GivenExecution CommandA

ResponseRe-issues the previous Command

Parameter Saving Mode NO_SAVE

Max Response Time 120000msReference

Example

A+GCAP +CGSM+FCLASS+DS

OK

222 ATD Mobile Originated Call to Dial A Number

This command can be used to set up outgoing data calls It also serves to control supplementary services

ATD Mobile Originated Call to Dial A NumberExecution CommandATDltngt[ltmgsm][]

ResponseIf originate a voice call successfullyOK

VOICE CALL BEGIN

If error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 23451

+CME ERROR lterrgt

If no dial tone and (parameter setting ATX2 or ATX4)NO DIALTONE

If busy and (parameter setting ATX3 or ATX4)BUSY

If a connection cannot be establishedNO CARRIER

If the remote station does not answerNO ANSWER

If connection successful and non-voice callCONNECTlttextgtTA switches to data modeNote lttextgt output only if ATXltvaluegt parameter setting with theltvaluegtgt0

When TA returns to command mode after call releaseOK

Parameter Saving Mode NO_SAVE

Max Response TimeReference

Defined Values

ltngt String of dialing digits and optionally V25ter modifiers dialing digits0-9 +ABCFollowing V25ter modifiers are ignored(comma)TPW

Emergency callltngt Standardized emergency number 112 (no SIM needed)ltmgsmgt String of GSM modifiers

I Actives CLIR (Disables presentation of own number to calledparty)i Deactivates CLIR (Enable presentation of own number to calledparty)G Activates Closed User Group invocation for this call onlyg Deactivates Closed User Group invocation for this call only

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 24451

ATD10086OKVOICE CALL BEGIN

This command may be aborted generally by receiving an ATH Command or a character duringexecution The aborting is not possible during some states of connection establishment such ashandshaking

223 ATDgtltmemgtltngt Originate call from specified memory

This command is used to originate a call using specified memory and index number

ATDgtltmemgtltngt Originate call from specified memoryExecution CommandATDgtltmemgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

Max Response TimeReferenceV25ter

Defined Values

ltmemgtPhonebook storage (For detailed description of storages seeAT+CPBS)

DC ME dialed calls list

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 25451

MC ME missed (unanswered received) calls listRC ME received calls listSM SIM phonebookME UE phonebookFD SIM fixed dialing phonebookON MSISDN listLD Last number dialed phonebookEN Emergency numbers

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtSM3 Specify the ltmemgtOK

VOICE CALL BEGIN

224 ATDgtltngt Originate call from active memory(1)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 26451

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgt2OK

VOICE CALL BEGIN

225 ATDgtltstrgt Originate call from active memory(2)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltstrgt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 27451

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltstrgt

String type value which should equal to an alphanumeric field in atleast one phone book entry in the searched memories ltstrgtformattedas current TE character set specified by AT+CSCSltstrgt must bedouble quoted

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtkobeOK

VOICE CALL BEGIN

226 ATA Call answer

This command is used to make remote station to go off-hook eg answer an incoming call If there is no anincoming call and entering this command to TA it will be return NO CARRIER to TA

ATA Call answerExecution CommandATA

Responsea)If originate a voice call successfullyOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 28451

VOICE CALL BEGIN

b)For data call and TA switches to data modeCONNECT

c)No connection or no incoming callNO CARRIER

ReferenceV25ter

Example

ATAVOICE CALL BEGIN

OK

227 ATH Disconnect existing call

This command is used to disconnect existing call Before using ATH command to hang up a voice call itmust set AT+CVHU=0 Otherwise ATH command will be ignored and OK response is given onlyThis command is also used to disconnect PS data call and in this case it doesnrsquot depend on the value ofAT+CVHU

ATH Disconnect existing callExecution CommandATH

Responsea) If AT+CVHU=0OK

VOICE CALL END lttimegtb) If ATD99OK

+PPPD DISCONNECTEDc) No any callOK

ReferenceV25ter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 29451

Defined Values

lttimegtVoice call connection time

Format HHMMSS (HH hour MM minute SS second)

Example

AT+CVHU=0OKATHOK

VOICE CALL END 000017

228 ATS0 Automatic answer incoming call

The S-parameter command controls the automatic answering feature of the Module If set to 000 automaticanswering is disabled otherwise it causes the Module to answer when the incoming call indication (RING)has occurred the number of times indicated by the specified value and the setting will not be stored uponpower-off ie the default value will be restored after restart

ATS0 Automatic answer incoming callRead CommandATS0

Responsea) If successltngt

OK

d) If failedERROR

Write commandATS0=ltngt

Responsea) If successOK

b) If failedERROR

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 30451

ltngt000 Automatic answering mode is disable (default value when

power-on)001ndash255 Enable automatic answering on the ring number specified

Example

ATS0000

OKATS0=003OK

1The S-parameter command is effective on voice call and data call2If ltngt is set too high the remote party may hang up before the call can be answered automatically

229 +++ Switch from data mode to command mode

This command is only available during a connecting PS data call The +++ character sequence causes theTA to cancel the data flow over the AT interface and switch to Command Mode This allows to enter ATcommands while maintaining the data connection to the remote device

+++ Switch from data mode to command modeExecution Command+++

ResponseOK

ReferenceV25ter

To prevent the +++ escape sequence from being misinterpreted as data it must be preceded andfollowed by a pause of at least 1000 milliseconds and the interval between two lsquo+rsquo character canrsquotexceed 900 milliseconds

2210 ATO Switch from command mode to data mode

ATO is the corresponding command to the +++ escape sequence When there is a PS data call connected

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 31451

and the TA is in Command Mode ATO causes the TA to resume the data and takes back to Data Mode

ATO Switch from command mode to data modeExecution CommandATO

Responsea) TADCE switches to Data Mode from Command ModeCONNECT[ltbaud rategt]

b) If connection is not successfully resumedNO CARRIERorERROR

ReferenceV25ter

Example

ATOCONNECT 115200

2211 ATI Display product identification information

This command is used to request the product information which consists of manufacturer identificationmodel identification revision identification International Mobile station Equipment Identity (IMEI) andoverall capabilities of the product

ATI Display product identification informationExecution CommandATI

ResponseManufacturer ltmanufacturergtModel ltmodelgtRevision ltrevisiongtIMEI [ltsngt]+GCAP list of ltnamegts

OKReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturerltmodelgt The identification of modelltrevisiongt The revision identification of firmware

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 32451

ltsngtSerial number identification which consists of a single line containingIMEI (International Mobile station Equipment Identity) number

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

ATIManufacturer SIMCOMINCORPORATEDModel SIMCOM_SIM8200GRevision SIM8200G _V10IMEI 351602000330570+GCAP +CGSM+FCLASS+DS

OK

2212 AT+IPR Set local baud rate temporarily

This command sets the baud rate of modulersquos serial interface temporarily after reboot the baud rate is set tovalue of IPREX

AT+IPR Set local baud rate temporarilyTest CommandAT+IPR=

Response+IPR (list of supportedltspeedgts)

OKRead CommandAT+IPR

Response+IPR ltspeedgt

OKWrite CommandAT+IPR=ltspeedgt

ResponseOKorERROR

Execution Command Set the value to boot value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 33451

AT+IPR OK

Defined Values

ltspeedgtBaud rate per second300 600 1200 2400 4800 9600 19200 38400 57600 115200230400 921600 3000000 3200000 3686400

2213 AT+ICF Set control character framing

This command sets character framing which contains data bit stop bit and parity bit

AT+ICF Set control character framingTest CommandAT+ICF=

Response+ICF (list of supportedltformatgts)(list of supportedltparitygts)

OKRead CommandAT+ICF

Response+ICF ltformatgtltparitygt

OKWrite CommandAT+ICF=ltformatgt[ltparitygt]

ResponseOKorERROR

Execution CommandAT+ICF

Set default valueOK

ReferenceV25ter

Defined Values

ltformatgt

1 data bit 8 stop bit 22 data bit 8 parity bit 1stop bit 13 data bit 8 stop bit 14 data bit 7 stop bit 25 data bit 7 parity bit 1stop bit 16 data bit 7 stop bit 1

ltparitygt

0 Odd1 Even2 Space3 none

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 34451

Example

AT+ICF+ICF 33

OKAT+ICF=+ICF (1-6)(0-3)

OKAT+ICF=33OK

2214 AT+IFC Set local data flow control

The command sets the flow control mode of the module

AT+IFC Set local data flow controlTest CommandAT+IFC=

Response+IFC (list of supportedltDCEgts)(list of supportedltDTEgts)

OKorERROR

Read CommandAT+IFC

Response+IFC ltDCEgtltDTEgt

OKorERROR

Write CommandAT+IFC=ltDCEgt[ltDTEgt]

ResponseOKorERROR

Execution CommandAT+IFC

Set default valueOK

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 35451

ltDCEgt0 none (default)2 RTS hardware flow control

ltDTEgt0 none (default)2 CTS hardware flow control

Example

AT+IFC+IFC 00

OKAT+IFC=+IFC (02)(02)

OKAT+IFC=22OK

2215 ATampC Set DCD function mode

This command determines how the state of DCD PIN relates to the detection of received line signal from thedistant end

ATampC Set DCD function modeExecution CommandATampC[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 DCD line shall always be on1 DCD line shall be on only when data carrier signal is present2 Setting winks(briefly transitions offthen back on)the DCD line when data calls end

Example

ATampC1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 36451

2216 ATE Enable command echo

This command sets whether or not the TA echoes characters

ATE Enable command echoExecution CommandATE[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Echo mode off1 Echo mode on

Example

ATE1OK

2217 ATampV Display current configuration

This command returns some of the base configuration parameters settings

ATampV Display current configurationExecution CommandATampV

Responselttextgt

OKorERROR

ReferenceV25ter

Defined Values

lttextgt All relative configuration information

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 37451

Example

ATampVampC 0 ampD 2 ampF 0 E 1 L 0 M 0 Q0 V 1 X 0 Z 0 S0 0S3 13 S4 10 S5 8 S6 2 S7 50 S82 S9 6 S10 14 S11 95+FCLASS 0 +ICF 33 +IFC 22+IPR 115200 +DR 0 +DS 0020486+WS46 12 +CBST 001helliphellipOK

2218 ATampD Set DTR function mode

This command determines how the TA responds when DTR PIN is changed from the ON to the OFFcondition during data mode

ATampD Set DTR function modeExecution CommandATampD[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 TA ignores status on DTR1 ON-gtOFF on DTR Change to Command mode with remaining the connected call2 ON-gtOFF on DTR Disconnect call change to Command modeDuring state DTR =OFF is auto-answer off

Example

ATampD1OK

2219 ATV Set result code format mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 38451

This parameter setting determines the contents of the header and trailer transmitted with result codes andinformation responses

ATV Set result code format modeExecution CommandATV[ltvaluegt]

ResponseIf ltvaluegt =00If ltvaluegt =1OK

ReferenceV25ter

Defined Values

ltvaluegt

0 Information response lttextgtltCRgtltLFgtShort result code format ltnumeric codegtltCRgt

1 Information response ltCRgtltLFgtlttextgtltCRgtltLFgtLong result code format ltCRgtltLFgtltverbose codegtltCRgtltLFgt

Example

ATV1OK

2220 ATampF Set all current parameters to manufacturer defaults

This command is used to set all current parameters to the manufacturer defined profile

ATampF Set all current parameters to manufacturer defaultsExecution CommandATampF[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Set some temporary TA parameters to manufacturer defaults The setting afterpower on or reset is same as value 0

Default Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 39451

TA Parameters VALUESAT+CNMP[1] 2AT+CNAOP[1] 7912532411AT+CTZU[2] 0AT+CGPSSSL[2] 0AT+CGPSURL[2] [1] takes effect immediately[2] takes effect after a modem reboot

Example

ATampFOK

2221 ATQ Set Result Code Presentation Mode

Specify whether the TA transmits any result code to the TE or not Text information transmitted in responseis not affected by this setting

ATQ Set Result Code Presentation ModeExecution CommandATQltngt

ResponseIf ltngt=0OK

If ltngt=1No Responses

Execution CommandATQ

Set default value 0OK

ReferenceV25ter

Defined Values

ltngt0 DCE transmits result code1 DCE not transmits result code

Example

ATQ0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 40451

2222 ATX Set CONNECT Result Code Format

This parameter setting determines whether the TA transmits unsolicited result codes or not The unsolicitedresult codes areltCONNECTgtltSPEEDgtltCOMMUNICATION PROTOCOLgt[ltTEXTgt]

ATX Set CONNECT Result Code FormatExecution CommandATXltngt

ResponseOKorERROR

Execution CommandATX

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltngt0 CONNECT result code returned1234 May be transmits extern result codes according to ATampE and ATV settingsRefer to ATampE

Example

ATX1OK

2223 ATV Set CONNECT Result Code Format About Protocol

This parameter setting determines whether report the communication protocol If PS call it also determineswhether report APN uplink rate downlink rate

ATV Set CONNECT Result Code Format About ProtocolExecution CommandATVltvaluegt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 41451

Execution CommandATV

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 Donrsquot report1 Report communication protocol And report APN uplink rate downlink rate if PS callRefer to ATampE The maybe communication protocol report includeNONEPPPoverUDAV32KAV64KPACKET And APN in string format whileuplink rate and downlink rate in integer format with kb unit

Example

ATV0OK

2224 ATampE Set CONNECT Result Code Format About Speed

This parameter setting determines to report Serial connection rate or Wireless connection speed It is validonly ATX above 0

ATampE Set CONNECT Result Code Format About SpeedExecution CommandATampEltvaluegt

ResponseOKorERROR

Execution CommandATampE

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Wireless connection speed in integer format1 Serial connection rate in integer format Such as 115200

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 42451

Example

ATampE0OK

2225 ATampW Save the user setting to ME

This command will save the user settings to ME which set by ATE ATQ ATV ATX ATampC ATampD ATVAT+IFC and ATS0

ATampW Save the user setting to MEExecution CommandATampWltvaluegt

ResponseOKorERROR

Execution CommandATampW

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Save

Example

ATampW0OK

2226 ATZ Restore the user setting from ME

This command will restore the user setting from ME which set by ATE ATQ ATV ATX ATampC ATampD ATampSATQ ATV and ATS0

ATZ Restore the user setting from MEExecution CommandATZltvaluegt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 43451

orERROR

Execution CommandATZ

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Restore

Example

ATZ0OK

2227 AT+CGMI Request manufacturer identification

This command is used to request the manufacturer identification text which is intended to permit the user ofthe Module to identify the manufacturer

AT+CGMI Request manufacturer identificationTest CommandAT+CGMI=

ResponseOK

Execution CommandAT+CGMI

Responseltmanufacturergt

OKorERROR

ReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturer

Example

AT+CGMI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 44451

SIMCOM INCORPORATED

OK

2228 AT+CGMM Request model identification

This command is used to requests model identification text which is intended to permit the user of theModule to identify the specific model

AT+CGMM Request model identificationTest CommandAT+CGMM=

ResponseOK

Execution CommandAT+CGMM

Responseltmodelgt

OKorERROR

ReferenceV25ter

Defined Values

ltmodelgt The identification of model

Example

AT+CGMMSIMCOM_SIM8200G

OK

2229 AT+CGMR Request revision identification

This command is used to request product firmware revision identification text which is intended to permitthe user of the Module to identify the version

AT+CGMR Request revision identificationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 45451

AT+CGMR= OKExecution CommandAT+CGMR

Response+CGMR ltrevisiongt

OKorERROR

ReferenceV25ter

Defined Values

ltrevisiongt The revision identification of firmware

Example

AT+CGMR+CGMR LE11B03SIM8200G

OK

2230 AT+CGSN Request product serial number identification

This command requests product serial number identification text which is intended to permit the user of theModule to identify the individual ME to which it is connected to

AT+CGSN Request product serial number identificationTest CommandAT+CGSN=

ResponseOK

Execution CommandAT+CGSN

Responseltsngt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltsngtSerial number identification which consists of a single line containingthe IMEI (International Mobile station Equipment Identity) number of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 46451

the MTIf in CDMAEVDO mode it will show ESN(Electronic Serial Number)

Example

AT+CGSN351602000330570

OK

2231 AT+CSCS Select TE character set

Write command informs TA which character set ltchestgt is used by the TE TA is then able to convertcharacter strings correctly between TE and MT character setsRead command shows current setting and test command displays conversion schemes implemented in theTA

AT+CSCS Select TE character setTest CommandAT+CSCS=

Response+CSCS (list of supported ltchsetgts)

OKRead CommandAT+CSCS

Response+CSCS ltchsetgt

OKWrite CommandAT+CSCS=ltchsetgt

ResponseOKorERROR

Execution CommandAT+CSCS

Set subparameters as default valueOK

ReferenceV25ter

Defined Values

ltchsetgt

Character set the definition as followingIRA International reference alphabetGSM GSM default alphabet this setting causes easily

software flow control (XON XOFF) problemsUCS2 16-bit universal multiple-octet coded character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 47451

UCS2 character strings are converted to hexadecimal numbers from0000 to FFFF

Example

AT+CSCS=IRAOK

2232 AT+CIMI Request international mobile subscriber identity

Execution command causes the TA to return ltIMSIgt which is intended to permit the TE to identify theindividual SIM card which is attached to MTNOTE If USIM card contains two apps like China Telecom 4G card one RUIMCSIM app and anotherUSIM app so there are two IMSI in it AT+CIMI will return the RUIMCSIM IMSI AT+CIMIM will return theUSIM IMSI

AT+CIMI Request international mobile subscriber identityTest CommandAT+CIMI=

ResponseOK

Execution CommandAT+CIMI

ResponseltIMSIgt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltIMSIgtInternational Mobile Subscriber Identity (string without doublequotes)

ExampleAT+CIMI460010222028133

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 48451

2233 AT+GCAP Request overall capabilities

Execution command causes the TA reports a list of additional capabilities

AT+GCAP Request overall capabilitiesTest CommandAT+GCAP=

ResponseOK

Execution CommandAT+GCAP

Response+GCAP (list of ltnamegts)

OKReferenceV25ter

Defined Values

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

AT+GCAP+GCAP +CGSM+FCLASS+DS

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 49451

3 AT Commands for Status Control

31 Overview of AT Commands for Status Control

Command DescriptionAT+CFUN Set phone functionality

AT+CPIN Enter PINAT+CICCID Read ICCID from SIM cardAT+CSIM Generic SIM accessAT+CRSM Restricted SIM accessAT+SPIC Times remain to input SIM PINPUKAT+CSPN Get service provider name from SIMAT+CSQ Query signal qualityAT+AUTOCSQ Set CSQ reportAT+CSQDELTA Set RSSI delta change thresholdAT+CATR Configure URC destination interfaceAT+CPOF Power down the moduleAT+CRESET Reset the moduleAT+CACM Accumulated call meterAT+CAMM Accumulated call meter maximumAT+CPUC Price per unit and currency tableAT+CCLK Real time clock managementAT+CMEE Report mobile equipment errorAT+CPAS Phone activity statusAT+SIMEI Set IMEI for the moduleAT+CSVM Voice Mail Subscriber number

32 Detailed Description of AT Commands for Status Control

321 AT+CFUN Set phone functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 50451

DescriptionThis command is used to select the level of functionality ltfungt in the ME Level fullfunctionality is where the highest level of power is drawn Minimum functionality is whereminimum power is drawn Level of functionality between these may also be specified bymanufacturers When supported by manufacturers ME resetting with ltrstgt parameter maybe utilized

NOTE AT+CFUN=6 must be used after setting AT+CFUN=7 If module in offline modemust execute AT+CFUN=6 or restart module to online mode

AT+CFUN Set phone functionalityTest CommandAT+CFUN=

Response+CFUN (list of supported ltfungts)(list of supported ltrstgts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CFUN

Response+CFUN ltfungt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CFUN=ltfungt[ltrstgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltfungt 0 minimum functionality1 full functionality online mode4 disable phone both transmit and receive RF circuits5 Factory Test Mode6 Reset7 Offline Mode

ltrstgt 0 do not reset the ME before setting it to ltfungt power level

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 51451

1 reset the ME before setting it to ltfungt power level This value only takeseffect when ltfungt equals 1

Example

AT+CFUN+CFUN 1

OKAT+CFUN=0OK

322 AT+CPIN Enter PIN

DescriptionThis command is used to send the ME a password which is necessary before it can beoperated (SIM PIN SIM PUK PH-SIM PIN etc) If the PIN is to be entered twice the TAshall automatically repeat the PIN If no PIN request is pending no action is taken towardsMT and an error message +CME ERROR is returned to TEIf the PIN required is SIM PUK or SIM PUK2 the second pin is required This second pinltnewpingt is used to replace the old pin in the SIM

AT+CPIN Enter PINTest CommandAT+CPIN=

ResponseOK

Read CommandAT+CPIN

Response+CPIN ltcodegt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPIN=ltpingt[ltnewpingt]

ResponseOKorERRORor+CME ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 52451

Defined Valuesltpingt String type valuesltnewpingt String type valuesltcodegt Values reserved by the present document

READY ndash ME is not pending for any passwordSIM PIN ndash ME is waiting SIM PIN to be givenSIM PUK ndash ME is waiting SIM PUK to be givenPH-SIM PIN ndash ME is waiting phone- to- SIM card password to be givenSIM PIN2 ndash ME is waiting SIM PIN2 to be givenSIM PUK2 ndash ME is waiting SIM PUK2 to be givenPH-NET PIN ndash ME is waiting network personalization password to be given

Example

AT+CPIN+CPIN SIM PUK2

OK

323 AT+CICCID Read ICCID from SIM card

DescriptionThis command is used to Read the ICCID from SIM card

AT+CICCID Read ICCID from SIM cardTest CommandAT+CICCID=

ResponseOK

Execution CommandAT+CICCID

Response+ICCID ltICCIDgt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 53451

ltICCIDgt Integrate circuit card identity a standard ICCID is a 20-digit serial number of theSIM card it presents the publish state network code publish area publish datepublish manufacture and press serial number of the SIM card

Example

AT+CICCID+ICCID 898600700907A6019125

OK

324 AT+CSIM Generic SIM access

Description

This command is used to control the SIM card directlyCompared to restricted SIM access command AT+CRSM AT+CSIM allows the ME to takemore control over the SIM interfaceFor SIMndashME interface please refer 3GPP TS 1111NOTEThe SIM Application Toolkit functionality is not supported by AT+CSIM Therefore

the following SIM commands can not be used TERMINAL PROFILEENVELOPE FETCH and TEMINAL RESPONSE

AT+CSIM Generic SIM accessTest CommandAT+CSIM=

ResponseOK

Write CommandAT+CSIM=ltlengthgtltcommandgt

Response+CSIM ltlengthgtltresponsegt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 54451

ltlengthgt Integer type length of characters that are sent to TE in ltcommandgtorltresponsegtltcommandgt Command passed from MT to SIM cardltresponsegt Response to the command passed from SIM card to MT

Example

AT+CSIM=OK

325 AT+CRSM Restricted SIM access

DescriptionBy using AT+CRSM instead of Generic SIM Access AT+CSIM TE application has easierbut more limited access to the SIM databaseWrite command transmits to the MT the SIM ltcommandgt and its required parameters MThandles internally all SIM-MT interface locking and file selection routines As response tothe command MT sends the actual SIM information parameters and response data MTerror result code +CME ERROR may be returned when the command cannot be passed tothe SIM but failure in the execution of the command in the SIM is reported in ltsw1gt andltsw2gt parameters

AT+CRSM Restricted SIM accessTest CommandAT+CRSM=

ResponseOK

Write CommandAT+CRSM=ltcommandgt[ltfileIDgt[ltp1gtltp2gtltp3gt[ltdatagt]]]

Response+CRSM ltsw1gtltsw2gt[ltresponsegt]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcommandgt Command passed on by the MT to the SIM176 READ BINARY178 READ RECORD

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 55451

192 GET RESPONSE214 UPDATE BINARY220 UPDATE RECORD242 STATUS203 RETRIEVE DATA219 SET DATA

ltfileIDgt Identifier for an elementary data file on SIM if used by ltcommandgtThe following list the fileID hex value user needs to convert them to decimalEFs under MF0x2FE2 ICCID0x2F05 Extended Language Preferences0x2F00 EF DIR0x2F06 Access Rule Reference

EFs under USIM ADF0x6F05 Language Indication0x6F07 IMSI0x6F08 Ciphering and Integrity keys0x6F09 C and I keys for pkt switched domain0x6F60 User controlled PLMN selector wAcc Tech0x6F30 User controlled PLMN selector0x6F31 HPLMN search period0x6F37 ACM maximum value0x6F38 USIM Service table0x6F39 Accumulated Call meter0x6F3E Group Identifier Level0x6F3F Group Identifier Level 20x6F46 Service Provider Name0x6F41 Price Per Unit and Currency table0x6F45 Cell Bcast Msg identifier selection0x6F78 Access control class0x6F7B Forbidden PLMNs0x6F7E Location information0x6FAD Administrative data0x6F48 Cell Bcast msg id for data download0x6FB7 Emergency call codes0x6F50 Cell bcast msg id range selection0x6F73 Packet switched location information0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F49 Service dialling numbers0x6F4B Extension 20x6F4C Extension 30x6F47 SMS reports

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 56451

0x6F80 Incoming call information0x6F81 Outgoing call information0x6F82 Incoming call timer0x6F83 Outgoing call timer0x6F4E Extension 50x6F4F Capability Config Parameters 20x6FB5 Enh Multi Level Precedence and Pri0x6FB6 Automatic answer for eMLPP service0x6FC2 Group identity0x6FC3 Key for hidden phonebook entries0x6F4D Barred dialling numbers0x6F55 Extension 40x6F58 Comparison Method information0x6F56 Enabled services table0x6F57 Access Point Name Control List0x6F2C De-personalization Control Keys0x6F32 Co-operative network list0x6F5B Hyperframe number0x6F5C Maximum value of Hyperframe number0x6F61 OPLMN selector with access tech0x6F5D OPLMN selector0x6F62 HPLMN selector with access technology0x6F06 Access Rule reference0x6F65 RPLMN last used access tech0x6FC4 Network Parameters0x6F11 CPHS Voice Mail Waiting Indicator0x6F12 CPHS Service String Table0x6F13 CPHS Call Forwarding Flag0x6F14 CPHS Operator Name String0x6F15 CPHS Customer Service Profile0x6F16 CPHS CPHS Information0x6F17 CPHS Mailbox Number0x6FC5 PLMN Network Name0x6FC6 Operator PLMN List0x6F9F Dynamic Flags Status0x6F92 Dynamic2 Flag Setting0x6F98 Customer Service Profile Line20x6F9B EF PARAMS - Welcome Message0x4F30 Phone book reference file0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier0x4F20 GSM ciphering key Kc0x4F52 GPRS ciphering key0x4F63 CPBCCH information0x4F64 Investigation scan

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 57451

0x4F40 MExE Service table0x4F41 Operator Root Public Key0x4F42 Administrator Root Public Key0x4F43 Third party Root public key0x6FC7 Mail Box Dialing Number0x6FC8 Extension 60x6FC9 Mailbox Identifier0x6FCA Message Waiting Indication Status0x6FCD Service Provider Display Information0x6FD2 UIM_USIM_SPT_TABLE0x6FD9 Equivalent HPLMN0x6FCB Call Forwarding Indicator Status0x6FD6 GBA Bootstrapping parameters0x6FDA GBA NAF List0x6FD7 MBMS Service Key0x6FD8 MBMS User Key0x6FCE MMS Notification0x6FD0 MMS Issuer connectivity parameters0x6FD1 MMS User Preferences0x6FD2 MMS User connectivity parameters0x6FCF Extension 80x5031 Object Directory File0x5032 Token Information File0x5033 Unused space Information File

EFs under Telecom DF0x6F3A Abbreviated Dialing Numbers0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F3D Capability Configuration Parameters0x6F4F Extended CCP0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F44 Last number dialled0x6F49 Service Dialling numbers0x6F4A Extension 10x6F4B Extension 20x6F4C Extension 30x6F4D Barred Dialing Numbers0x6F4E Extension 40x6F47 SMS reports0x6F58 Comparison Method Information0x6F54 Setup Menu elements0x6F06 Access Rule reference0x4F20 Image0x4F30 Phone book reference file

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 58451

0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier

ltp1gtltp2gtltp3gt Integer type parameters to be passed on by the Module to the SIMltdatagt Information which shall be written to the SIM (hexadecimal character format refer

AT+CSCS)ltsw1gtltsw2gt Status information from the SIM about the execution of the actual command It is

returned in both cases on successful or failed execution of the commandltresponsegt Response data in case of a successful completion of the previously issued

commandSTATUS and GET RESPONSE commands return data which gives informationabout the currently selected elementary data field This information includes thetype of file and its sizeAfter READ BINARY or READ RECORD commands the requested data will bereturnedltresponsegt is empty after UPDATE BINARY or UPDATE RECORD commands

Example

AT+CRSM=OK

326 AT+SPIC Times remain to input SIM PINPUK

DescriptionThis command is used to inquire times remain to input SIM PINPUK

AT+SPIC Times remain to input SIM PINPUKTest CommandAT+SPIC=

ResponseOK

Execution CommandAT+SPIC

Response+SPIC ltpin1gtltpuk1gtltpin2gtltpuk2gt

OK

Defined Values

ltpin1gt Times remain to input PIN1 code

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 59451

ltpuk1gt Times remain to input PUK1 codeltpin2gt Times remain to input PIN2 codeltpuk2gt Times remain to input PUK2 code

Example

AT+SPIC=OKAT+SPIC+SPIC 310010

OK

327 AT+CSPN Get service provider name from SIM

DescriptionThis command is used to get service provider name from SIM card

AT+CSPN Get service provider name from SIMTest CommandAT+CSPN=

ResponseOKorERROR

Read CommandAT+CSPN

Response+CSPN ltspngtltdisplay modegt

OKorERRORor+CME ERROR lterrgt

Defined Values

ltspngt String type service provider name on SIMltdisplay modegt 0 doesnrsquot display PLMN Already registered on PLMN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 60451

1 display PLMN

Example

AT+CSPN=OKAT+CSPN+CSPN CMCC0

OK

328 AT+CSQ Query signal quality

DescriptionThis command is used to return received signal strength indication ltrssigt and channel biterror rate ltbergt from the ME Test command returns values supported by the TA ascompound values

AT+CSQ Query signal qualityTest CommandAT+CSQ=

Response+CSQ (list of supported ltrssigts)(list of supported ltbergts)

OK

Execution CommandAT+CSQ

Response+CSQ ltrssigtltbergt

OKorERROR

Defined Values

ltrssigt 0 -113 dBm or less1 - 111 dBm230 - 109 - 53 dBm31 -51 dBm or greater99 not known or not detectable100 - 116 dBm or less

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 61451

101 -115 dBm102hellip191 -114 - 26dBm191 -25 dBm or greater199 not known or not detectable100hellip199 expand to TDSCDMA indicate RSCP received

ltbergt (in percent)0 lt0011 001 --- 012 01 --- 053 05 --- 104 10 --- 205 20 --- 406 40 --- 807 gt=8099 not known or not detectable

Example

AT+CSQ+CSQ 220

OK

329 AT+AUTOCSQ Set CSQ report

DescriptionThis command is used to enable or disable automatic report CSQ information whenautomatic report enabled the module reports CSQ information every five seconds or onlyafter ltrssigt or ltbergt is changed the format of automatic report is +CSQ ltrssigtltbergt

AT+AUTOCSQ Set CSQ reportTest CommandAT+AUTOCSQ=

Response+AUTOCSQ (list of supportedltautogts)(list of supportedltmodegts)

OK

Read CommandAT+AUTOCSQ

Response+AUTOCSQ ltautogtltmodegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 62451

Write CommandAT+AUTOCSQ=ltautogt[ltmodegt]

ResponseOKorERROR

Defined Values

ltautogt 0 disable automatic report1 enable automatic report

ltmodegt 0 CSQ automatic report every five seconds1 CSQ automatic report only after ltrssigt or ltbergt is changed

NOTEIf the parameter of ltmodegt is omitted when executing write command ltmodegtwill be set to default value

Example

AT+AUTOCSQ=+AUTOCSQ (0-1)(0-1)

OKAT+AUTOCSQ+AUTOCSQ 11

OKAT+AUTOCSQ=11OK

+CSQ 230 (when ltrssigt or ltbergt changing)

3210 AT+CSQDELTA Set RSSI delta change threshold

DescriptionThis command is used to set RSSI delta threshold for signal strength reporting

AT+CSQDELTA Set RSSI delta change threshold

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 63451

Test CommandAT+CSQDELTA=

Response+CSQDELTA (list of supported ltdeltagts)

OK

Read CommandAT+CSQDELTA

Response+CSQDELTA ltdeltagt

OKorERROR

Write CommandAT+CSQDELTA=ltdeltagt

ResponseOKorERROR

Execution CommandAT+CSQDELTA

ResponseSet default value(ltdeltagt=5)OK

Defined Values

ltdeltagt Range from 0 to 5

Example

AT+CSQDELTA+CSQDELTA 5

OK

3211 AT+CATR Configure URC destination interface

DescriptionThis command is used to configure the serial port which will be used to output URCs Werecommend configure a destination port for receiving URC in the system initializationphase in particular in the case that transmitting large amounts of data eg use TCPUDPand MT SMS related AT command

AT+CATR Configure URC destination interface

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 64451

Test CommandAT+CATR=

Response+CATR (list of supported ltportgts)

OK

Read CommandAT+CATR

Response+CATR ltportgt

OKWrite CommandAT+CATR=ltportgt

ResponseOKorERROR

Defined Values

ltportgt 0 all ports1 use UART port to output URCs2 use MODEM port to output URCs3 use ATCOM port to output URCs4 use cmux virtual port1 to output URCs5 use cmux virtual port2 to output URCs6 use cmux virtual port3 to output URCs7 use cmux virtual port4 to output URCs

Example

AT+CATR=1OKAT+CATR+CATR 1

OK

3212 AT+CPOF Power down the module

DescriptionThis command is used to power off the module Once the AT+CPOF command is executedThe module will store user data and deactivate from network and then shutdown

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 65451

AT+CPOF Power down the moduleTest CommandAT+CPOF=

ResponseOK

Execution CommandAT+CPOF

ResponseOK

Example

AT+CPOFOK

3213 AT+CRESET Reset the module

DescriptionThis command is used to reset the module

AT+CRESET Reset the moduleTest CommandAT+CRESET=

ResponseOK

Execution CommandAT+CRESET

ResponseOK

Example

AT+CRESET=OKAT+CRESETOK

3214 AT+CACM Accumulated call meter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 66451

DescriptionThis command is used to reset the Advice of Charge related accumulated call meter valuein SIM file EFACM

AT+CACM Accumulated call meterTest CommandAT+CACM=

ResponseOKorERROR

Read CommandAT+CACM

Response+CACM ltacmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CACM=ltpasswdgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CACM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltpasswdgt String type SIM PIN2ltacmgt String type accumulated call meter value similarly coded as ltccmgt under +CAOC

Example

AT+CACM+CACM 000000

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 67451

3215 AT+CAMM Accumulated call meter maximum

DescriptionThis command is used to set the Advice of Charge related accumulated call metermaximum value in SIM file EFACMmax

AT+CAMM Accumulated call meter maximumTest CommandAT+CAMM=

ResponseOKorERROR

Read CommandAT+CAMM

Response+CAMM ltacmmaxgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CAMM=ltacmmaxgt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CAMM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltacmmaxgt String type accumulated call meter maximum value similarly coded as ltccmgtunder AT+CAOC value zero disables ACMmax feature

ltpasswdgt String type SIM PIN2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 68451

Example

AT+CAMM+CAMM 000000

OK

3216 AT+CPUC Price per unit and currency table

DescriptionThis command is used to set the parameters of Advice of Charge related price per unit and currencytable in SIM file EFPUCT

AT+CPUC Price per unit and currency tableTest CommandAT+CPUC=

ResponseOKorERROR

Read CommandAT+CPUC

Response+CPUC [ltcurrencygtltppugt]

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPUC=ltcurrencygtltppugt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcurrencygt String type three-character currency code (eg GBP DEM) character setas specified by command Select TE Character Set AT+CSCS

ltppugt String type price per unit dot is used as a decimal separator (eg 266)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 69451

ltpasswdgt String type SIM PIN2

Example

AT+CPUC+CPUC GBP266

OK

3217 AT+CCLK Real time clock management

DescriptionThis command is used to manage Real Time Clock of the module

AT+CCLK Real time clock managementTest CommandAT+CCLK=

ResponseOK

Read CommandAT+CCLK

Response+CCLK lttimegt

OKWrite CommandAT+CCLK=lttimegt

ResponseOKorERROR

Defined Values

lttimegt String type value format is yyMMddhhmmssplusmnzz where characters indicate year(two last digits) month day hour minutes seconds and time zone (indicates thedifference expressed in quarters of an hour between the local time and GMT threelast digits are mandatory range -47hellip+48) Eg 6thof May 2008 142810 GMT+8equals to 080506142810+32NOTE 1 Time zone is nonvolatile and the factory value is invalid time zone2 Command +CCLK will return time zone when time zone is valid and if time zone is

00 command +CCLK will return +00 but not -00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 70451

Example

AT+CCLK=081128123033+32OKAT+CCLK+CCLK 081128123035+32

OKAT+CCLK=081126101500OKAT+CCLK+CCLK 081126101502+32

OK

3218 AT+CMEE Report mobile equipment error

DescriptionThis command is used to disable or enable the use of result code +CME ERROR lterrgtor +CMS ERROR lterrgt as an indication of an error relating to the functionality of MEwhen enabled the format of lterrgt can be set to numeric or verbose string

AT+CMEE Report mobile equipment errorTest CommandAT+CMEE=

Response+CMEE (list of supported ltngts)

OK

Read CommandAT+CMEE

Response+CMEE ltngt

OKWrite CommandAT+CMEE=ltngt

ResponseOKorERROR

Execution CommandAT+CMEE

ResponseSet default valueOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 71451

Defined Values

ltngt 0 ndash Disable result codeie only ERROR will be displayed1 ndash Enable error result code with numeric values2 ndash Enable error result code with string values

Example

AT+CMEE+CMEE 2

OKAT+CPIN=12341234+CME ERROR incorrect passwordAT+CMEE=0OKAT+CPIN=12341234ERRORAT+CMEE=1OKAT+CPIN=12341234+CME ERROR 16

3219 AT+CPAS Phone activity status

DescriptionThis command is used to return the activity status ltpasgt of the ME It can be used tointerrogate the ME before requesting action from the phoneNOTE This command is same as AT+CLCC but AT+CLCC is more commonly used SoAT+CLCC is recommended to use

AT+CPAS Phone activity statusTest CommandAT+CPAS=

Response+CPAS (list of supported ltpasgts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 72451

Execution CommandAT+CPAS

Response+CPAS ltpasgt

OK

Defined Values

ltpasgt 0 ready (ME allows commands from TATE)3 ringing (ME is ready for commands from TATE but the ringer is active)4 call in progress (ME is ready for commands from TATE but a call is in progress)

Example

RING (with incoming call)AT+CPAS+CPAS 3

OKAT+CPAS=+CPAS (034)

OK

3220 AT+SIMEI Set IMEI for the module

DescriptionThis command is used to set the modulersquos IMEI value

AT+SIMEI Set IMEI for the moduleTest CommandAT+SIMEI=

ResponseOK

Read CommandAT+SIMEI

Response+SIMEI ltimeigt

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 73451

Write CommandAT+SIMEI=ltimeigt

ResponseOKorERROR

Defined Values

ltimeigt The 15-digit IMEI value

Example

AT+SIMEI=357396012183170OKAT+SIMEI+SIMEI 357396012183170

OKAT+SIMEI=OK

3221 AT+CSVM Voice Mail Subscriber number

DescriptionExecute the following command returns the voice mail number related to the subscriber

AT+CSVM Voice Mail Subscriber numberTest CommandAT+CSVM=

Response+CSVM (0-1)(0-9+)(128-255)

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 74451

Read CommandAT+CSVM

Response

+CSVM ltvalidgtltnumbergtlttypegt

OK

orERROR

Write CommandAT+CSVM=ltvalidgtltnumbergtlttypegt

ResponseOKorERROR

Defined Values

ltvalidgt Whether voice mail number is valid0 Voice mail number is invalid1 Voice mail number is valid

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format see also AT+CPBR lttypegt

Example

AT+CSVM+CSVM 113697252277129

OK

3222 Indication of Voice Mail

This module supports voice mail function the subscriber number is configured by AT+CSVM commandthe following table shows the URC related Voice Mail

Indication of Voice MailBox Empty+VOICEMAIL EMPTY

DescriptionThis indication means the voice mail box is empty

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 75451

New Message+VOICEMAIL NEW MSG

DescriptionThis indication means there is a new voice mail message notificationreceived This is for CPHS

Voice Mail Status Updated+VOICEMAIL WAITINGltcountgt

DescriptionThis indication means that there are ltcountgt number of voice mailmessages that needs to be got

Defined Values

ltcountgt Count of voice mail message that waits to be got

Example

+VOICEMAIL WAITINGltcountgt+VOICEMAIL WAITING5

33 Summary of CME ERROR codes

This result code is similar to the regular ERROR result code The format of lterrgt can be ethier numeric orverbose string by setting AT+CMEE command

lterrgt of numeric format lterrgt of verbose format0 Phone failure1 no connection to phone2 phone adaptor link reserved3 operation not allowed4 operation not supported5 PH-SIM PIN required6 PH-FSIM PIN required7 PH-FSIM PUK required10 SIM not inserted11 SIM PIN required12 SIM PUK required13 SIM failure14 SIM busy15 SIM wrong

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 76451

16 incorrect password17 SIM PIN2 required18 SIM PUK2 required20 memory full21 invalid index22 not found23 memory failure24 text string too long25 invalid characters in text string26 dial string too long27 invalid characters in dial string30 no network service31 network timeout32 network not allowed ndash emergency calls only40 network personalization PIN required41 network personalization PUK required42 network subset personalization PIN required43 network subset personalization PUK required44 service provider personalization PIN required45 service provider personalization PUK required46 corporate personalization PIN required47 corporate personalization PUK required100 Unknown103 Illegal message106 Illegal ME107 GPRS services not allowed111 PLMN not allowed112 Location area not allowed113 Roaming not allowed in this location area132 service option not supported133 requested service option not subscribed134 service option temporarily out of order148 unspecified GPRS error149 PDP authentication failure150 invalid mobile class257 network rejected request258 retry operation259 invalid deflected to number260 deflected to own number261 unknown subscriber262 service not available

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 77451

263 unknown class specified264 unknown network message273 minimum TFTS per PDP address violated274 TFT precedence index not unique275 invalid parameter combinationCME ERROR codes of FTP201 Unknown error for FTP202 FTP task is busy203 Failed to resolve server address204 FTP timeout205 Failed to read file206 Failed to write file207 Itrsquos not allowed in current state208 Failed to login209 Failed to logout210 Failed to transfer data211 FTP command rejected by server212 Memory error213 Invalid parameter214 Network error

Example

AT+CPIN=12341234+CME ERROR incorrect password

34 Summary of CMS ERROR codes

Final result code +CMS ERROR lterrgt indicates an error related to mobile equipment or network Theoperation is similar to ERROR result code None of the following commands in the same command line isexecuted Neither ERROR nor OK result code shall be returned ERROR is returned normally when error isrelated to syntax or invalid parameters The format of lterrgt can be either numeric or verbose This is setwith command AT+CMEE

lterrgt of numeric format lterrgt of verbose format300 ME failure301 SMS service of ME reserved

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 78451

302 Operation not allowed303 Operation not supported304 Invalid PDU mode parameter305 Invalid text mode parameter310 SIM not inserted311 SIM PIN required312 PH-SIM PIN required313 SIM failure314 SIM busy315 SIM wrong316 SIM PUK required317 SIM PIN2 required318 SIM PUK2 required320 Memory failure321 Invalid memory index322 Memory full330 SMSC address unknown331 No network service332 Network timeout340 NO +CNMAACK EXPECTED341 Buffer overflow342 SMS size more than expected500 Unknown error

Example

AT+CMGS=02112345678+CMS ERROR 304

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 79451

4 AT Commands for Network

41 Overview of AT Commands for Network

Command DescriptionAT+CREG Network RegistrationAT+COPS Operator selectionAT+CLCK Facility lockAT+CPWD Change passwordAT+CCUG Closed User GroupAT+CUSD Unstructured supplementary service dataAT+CAOC Advice of ChargeAT+CSSN Supplementary service notificationsAT+CPOL Preferred operator listAT+COPN Read operator namesAT+CNMP Preferred mode selectionAT+CNAOP Acquisitions order preferenceAT+CPSI Inquiring UE system informationAT+CNSMOD Show network system modeAT+CEREG EPS network registration statusAT+CTZU Automatic time and time zone updateAT+CTZR Time and time zone reportingAT+CNWINFO Inquiring extra network infoAT+C5GREG NR5G network registration statusAT+CSYSSEL Set system selection pref

AT+CCELLCFG Set lte cell configurationAT+C5GCELLCFG Set NR5G cell configuration

42 Detailed Description of AT Commands for Network

421 AT+CREG Network registration

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 80451

This command is used to control the presentation of an unsolicited result code +CREG ltstatgt when ltngt=1and there is a change in the ME network registration status or code +CREG ltstatgt[ltlacgtltcigt] whenltngt=2 and there is a change of the network cellRead command returns the status of result code presentation and an integer ltstatgt which shows whetherthe network has currently indicated the registration of the ME Location information elements ltlacgt andltcigt are returned only when ltngt=2 and ME is registered in the network

AT+CREG Network registrationTest CommandAT+CREG=

Response+CREG (list of supported ltngts)

OKRead CommandAT+CREG

Response+CREG ltngtltstatgt[ltlacgtltcigt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CREG

Response (Set default value ltngt=0)OK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CREG ltstatgt2 enable network registration and location information unsolicitedresult code +CREG ltstatgt[ltlacgtltcigt]

ltstatgt 0 not registered ME is not currently searching a new operator toregister to1 registered home network2 not registered but ME is currently searching a new operator toregister to3 registration denied4 unknown5 registered roaming

ltlacgt Two byte location area code in hexadecimal format(eg00C3 equals193 in decimal)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 81451

NOTE The ltlacgt not supported in CDMAHDR modeltcigt Cell Identify in hexadecimal format

GSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

NOTE The ltcigt not supported in CDMAHDR mode

Example

AT+CREG+CREG 01

OK

Location information elements ltlacgt and ltcigt are returned only when ltngt=2 and ME is registered inthe network

422 AT+COPS Operator selection

Write command forces an attempt to select and register the GSMUMTS network operator ltmodegt is usedto select whether the selection is done automatically by the ME or is forced by this command to operatorltopergt (it shall be given in format ltformatgt) If the selected operator is not available no other operatorshall be selected (except ltmodegt=4) The selected operator name format shall apply to further readcommands (AT+COPS) also ltmodegt=2 forces an attempt to deregister from the network The selectedmode affects to all further network registration (eg after ltmodegt=2 ME shall be unregistered untilltmodegt=0or1 is selected)Read command returns the current mode and the currently selected operator If no operator is selectedltformatgt and ltopergt are omittedTest command returns a list of quadruplets each representing an operator present in the networkQuadruplet consists of an integer indicating the availability of the operator ltstatgt long and shortalphanumeric format of the name of the operator and numeric format representation of the operator Any ofthe formats may be unavailable and should then be an empty field The list of operators shall be in orderhome network networks referenced in SIM and other networksIt is recommended (although optional) that after the operator list TA returns lists of supported ltmodegts andltformatgts These lists shall be delimited from the operator list by two commas

AT+COPS Operator selectionTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 82451

AT+COPS= [+COPS [list of supported (ltstatgtlong alphanumeric ltopergtshort alphanumeric ltopergtnumeric ltopergt[lt AcTgt])s][(list of supportedltmodegts)(list of supportedltformatgts)]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Read CommandAT+COPS

Response+COPS ltmodegt[ltformatgtltopergt[lt AcTgt]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+COPS=ltmodegt[ltformatgt[ltopergt[ltAcTgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+COPS

ResponseOK

Defined Values

ltmodegt 0 automatic1 manual2 force deregister3 set only ltformatgt4 manualautomatic

NOTE if ltmodegt is set to 1 4 in write command the ltopergt isneeded

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt2 numeric ltopergt

ltopergt string type ltformatgt indicates if the format is alphanumeric ornumeric

ltstatgt 0 unknown1 available2 current3 forbidden

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 83451

ltAcTgt Access technology selected0 GSM1 GSM Compact2 UTRAN6 UTRAN_HSDPA_HSUPA7 EUTRAN8 EC_GSM_IOT9 EUTRAN_NB_S111 NR_5GCN (NR connected to 5G core Network)12 NGRAN (NG-RAN access technology)13 EUTRA_NR (Dual connectivity of LTE with NR)

NOTE the value 8 do not follow the 3gpp spec we add this value todistinguish cdmahdr

Example

AT+COPS+COPS 00China Mobile Com0

OK

AT+COPS=+COPS (2China UnicomUnicom460010)(3China Mobile ComDGTMPT460000)(01234)(012)

OK

When executing AT+COPS= any input from serial port will stop this command

423 AT+CLCK Facility lock

This command is used to lock unlock or interrogate a ME or a network facility ltfacgt Password is normallyneeded to do such actions When querying the status of a network service (ltmodegt=2) the response linefor not active case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt

AT+CLCK Facility lockTest CommandAT+CLCK=

Response+CLCK (list of supportedltfacgts)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 84451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CLCK=ltfacgtltmodegt[ltpasswdgt[ltclassgt]]

Response (When ltmodegt=2 and command successful)[+CLCK ltstatusgt[ltclass1gt[ltCRgtltLFgt+CLCK ltstatusgtltclass2gt[]]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfacgt PF lock Phone to the First inserted SIM card or USIM cardSC lock SIM card or USIM cardAO Barr All Outgoing CallsOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home CountryAI Barr All Incoming CallsIR Barr Incoming Calls when roaming outside the home countryAB All Barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AC All inComing barring services (only for ltmodegt=0)FD SIM fixed dialing memory featurePN Network PersonalizationPU network subset PersonalizationPP service Provider PersonalizationPC Corporate Personalization

ltmodegt 0 unlock1 lock2 query status

ltstatusgt 0 not active1 active

ltpasswdgt Passwordstring type shall be the same as password specified for the facilityfrom the ME user interface or with command Change Password+CPWD

ltclassXgt It is a sum of integers each representing a class of information1 voice (telephony)2 data (refers to all bearer services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 85451

4 fax (facsimile services)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

Example

AT+CLCK=SC2+CLCK 0

OK

When querying the status of a network service (ltmodegt=2) the response line for not active case(ltstatusgt=0) should be returned only if service is not active for any ltclassgt

424 AT+CPWD Change password

Write command sets a new password for the facility lock function defined by command Facility LockAT+CLCKTest command returns a list of pairs which present the available facilities and the maximum length of theirpassword

AT+CPWD Change passwordTest CommandAT+CPWD=

Response+CPWD (list of supported (ltfacgtltpwdlengthgt)s)

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPWD=ltfacgtltoldpwdgtltnewpwdgt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 86451

Defined Values

ltfacgt Refer Facility Lock +CLCK for other valuesSC SIM or USIM PIN1P2 SIM or USIM PIN2AB All Barring servicesAC All inComing barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AI Barr All Incoming CallsAO Barr All Outgoing CallsIR Barr Incoming Calls when roaming outside the home countryOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home Country

ltoldpwdgt String type it shall be the same as password specified for the facilityfrom the ME user interface or with command Change PasswordAT+CPWD

ltnewpwdgt String type it is the new password maximum length of password canbe determined with ltpwdlengthgt

ltpwdlengthgt Integer type max length of password

Example

AT+CPWD=+CPWD (AB4)(AC4)(AG4)(AI4)(AO4)(IR4)(OI4)(OX4)(SC8)(P28)

OK

425 AT+CCUG Closed user group

This command allows control of the Closed User Group supplementary service Set command enables theserved subscriber to select a CUG index to suppress the Outgoing Access (OA) and to suppress thepreferential CUG

AT+CCUG Closed user groupTest CommandAT+CCUG=

ResponseOKorERROR

Read CommandAT+CCUG

Response+CCUG ltngtltindexgtltinfogt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 87451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CCUG=ltngt[ltindexgt[ltinfogt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CCUG

Response (Set default value)OK

Defined Values

ltngt 0 disable CUG temporary mode1 enable CUG temporary mode

ltindexgt 09 CUG index10 no index (preferred CUG taken from subscriber data)

ltinfogt 0 no information1 suppress OA2 suppress preferential CUG3 suppress OA and preferential CUG

Example

AT+CCUG+CCUG 000

OK

This command not supported in CDMAHDR mode

426 AT+CUSD Unstructured supplementary service data

This command allows control of the Unstructured Supplementary Service Data (USSD) Both network andmobile initiated operations are supported Parameter ltngt is used to disableenable the presentation of anunsolicited result code (USSD response from the network or network initiated operation) +CUSDltmgt[ltstrgtltdcsgt] to the TE In addition value ltngt=2 is used to cancel an ongoing USSD session

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 88451

AT+CUSD Unstructured supplementary service dataTest CommandAT+CUSD=

Response+CUSD (list of supportedltngts)

OKRead CommandAT+CUSD

Response+CUSD ltngt

OKWrite CommandAT+CUSD=ltngt[ltstrgt[ltdcsgt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CUSD

Response (Set default value)OK

Defined Values

ltngt 0 disable the result code presentation in the TA1 enable the result code presentation in the TA2 cancel session (not applicable to read command response)

ltstrgt String type USSD stringltdcsgt Cell Broadcast Data Coding Scheme in integer format (default 0)ltmgt 0 no further user action required (network initiated USSD Notify or

no further information needed after mobile initiated operation)1 further user action required (network initiated USSD Request orfurther information needed after mobile initiated operation)2 USSD terminated by network4 operation not supported5 network time out

Example

AT+CUSD+CUSD 1

OK

AT+CUSD=0OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 89451

This command not supported in CDMAHDR mode

427 AT+CAOC Advice of Charge

This command refers to Advice of Charge supplementary service that enables subscriber to get informationabout the cost of calls With ltmodegt=0 the execute command returns the current call meter value from theMEThis command also includes the possibility to enable an unsolicited event reporting of the CCM informationThe unsolicited result code +CCCM ltccmgt is sent when the CCM value changes but not more that every10 seconds Deactivation of the unsolicited event reporting is made with the same command

AT+CAOC Advice of ChargeTest CommandAT+CAOC=

Response+CAOC (list of supportedltmodegts)

OKRead CommandAT+CAOC

Response+CAOC ltmodegt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CAOC=ltmodegt

Response+CAOC ltccmgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CAOC

Response (Set default value)OKorERROR

Defined Values

ltmodegt 0 query CCM value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 90451

1 deactivate the unsolicited reporting of CCM value2 activate the unsolicited reporting of CCM value

ltccmgt String type three bytes of the current call meter value in hexadecimalformat (eg 00001E indicates decimal value 30) value is in homeunits and bytes are similarly coded as ACMmax value in the SIM

Example

AT+CAOC=0+CAOC 000000

OK

This command not supported in CDMAHDR mode

428 AT+CSSN Supplementary service notifications

This command refers to supplementary service related network initiated notifications The set commandenablesdisables the presentation of notification result codes from TA to TEWhen ltngt=1 and a supplementary service notification is received after a mobile originated call setupintermediate result code +CSSI ltcode1gt[ltindexgt] is sent to TE before any other MO call setup resultcodes presented in the present document When several different ltcode1gts are received from the networkeach of them shall have its own +CSSI result codeWhenltmgt=1 and a supplementary service notification is received during a mobile terminated call setup orduring a call or when a forward check supplementary service notification is received unsolicited resultcode +CSSU ltcode2gt[ltindexgt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt]]] is sent to TE In case ofMT call setup result code is sent after every +CLIP result code (refer command Calling line identificationpresentation +CLIP) and when several different ltcode2gts are received from the network each of themshall have its own +CSSU result code

AT+CSSN Supplementary service notificationsTest CommandAT+CSSN=

Response+CSSN (list of supportedltngts)(list of supportedltmgts)

OK

Read CommandAT+CSSN

Response+CSSN ltngtltmgt

OKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 91451

ERROR

Write CommandAT+CSSN=ltngt[ltmgt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltngt Parameter setsshows the +CSSI result code presentation status inthe TA0 disable1 enable

ltmgt Parameter setsshows the +CSSU result code presentation status inthe TA0 disable1 enable

ltcode1gt 0 unconditional call forwarding is active1 some of the conditional call forwarding are active2 call has been forwarded3 call is waiting5 outgoing calls are barred

ltindexgt Refer Closed user group +CCUGltcode2gt 0 this is a forwarded call (MT call setup)

2 call has been put on hold (during a voice call)3 call has been retrieved (during a voice call)5 call on hold has been released (this is not a SS notification) (duringa voice call)

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format default 145 when dialing string

includes international access code character + otherwise 129ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128

Example

AT+CSSN=1OK

AT+CSSN+CSSN 11

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 92451

This command not supported in CDMAHDR mode

429 AT+CPOL Preferred operator list

This command is used to edit the SIM preferred list of networks

AT+CPOL Preferred operator listTest CommandAT+CPOL=

Response+CPOL (list of supportedltindexgts)(list of supportedltformatgts)

OK

Read CommandAT+CPOL

Response[+CPOLltindex1gtltformatgtltoper1gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][ltCRgtltLFgt+CPOLltindex2gtltformatgtltoper2gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][]]]

OKorERROR

Write CommandAT+CPOL=ltindexgt[ltformatgt[ltopergt][ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt ]]NOTE If using USIM card thelast four parameters must set

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type the order number of operator in the SIM preferredoperator listIf only input ltindexgt command will delete the value indicate byltindexgt

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 93451

2 numeric ltopergtltoperXgt String typeltGSM_AcTngt GSM access technology

0 access technology not selected1 access technology selected

ltGSM_Compact_AcTngt GSM access technology0 access technology not selected1 access technology selected

ltUTRA_AcTngt UTRA access technology0 access technology not selected1 access technology selected

ltLTE_AcTngt LTE access technology0 access technology not selected1 access technology selected

Example

AT+CPOL+CPOL 12460010010

OK

AT+CPOL=+CPOL (1-8)(0-2)

OK

4210 AT+COPN Read operator names

This command is used to return the list of operator names from the ME Each operator code ltnumericXgtthat has an alphanumeric equivalent ltalphaXgt in the ME memory shall be returned

AT+COPN Read operator namesTest CommandAT+COPN=

ResponseOK

ERROR

Execution CommandAT+COPN

Response[+COPN ltnumeric1gtltalpha1gt[ltCRgtltLFgt+COPN ltnumeric2gtltalpha2gt[]]]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 94451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltnumericXgt String type operator in numeric format (see AT+COPS)ltalphaXgt String type operator in long alphanumeric format (see AT+COPS)

Example

AT+COPN+COPN 46000China Mobile Com+COPN 46001China Unicom

helliphellip

OK

4211 AT+CNMP Preferred mode selection

This command is used to select or set the state of the mode preference

AT+CNMP Preferred mode selectionTest CommandAT+CNMP=

Response+CNMP (list of supportedltmodegts)

OK

Read CommandAT+CNMP

Response+CNMP ltmodegt

OK

Write CommandAT+CNMP=ltmodegt

ResponseOKor(If ltmodegt not supported by module this command will returnERROR)ERROR

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 95451

ltmodegt 2 Automatic13 GSM Only14 WCDMA Only38 LTE Only71 NR5G19 GSM+WCDMA Only48 Any modes but LTE39 GSM+WCDMA+LTE Only51 GSM+LTE Only54 WCDMA+LTE Only55 WCDMA+LTE+NR5G109 LTE+NR5G100 UNKNOW

Example

AT+CNMP=13OK

AT+CNMP+CNMP 13

OK

The set value in Write Command will take efficient immediately The set value will retain after moduleresetThe response will be returned immediately for Test Command and Read Command The MaxResponse Time for Write Command is 10 seconds

4212 AT+CNAOP Acquisitions order preference

This command is used to reset the state of acquisitions order preference

AT+CNAOP Acquisitions order preferenceRead CommandAT+CNAOP

Response+CNAOPltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 96451

Write CommandAT+CNAOP=ltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

ResponseOKorERROR

Defined Values

ltmodegt 7 Acquistion by priority order list ltsys_modengtsltsys_modegt sys_mode values

2 CDMA3 GSM4 HDR5 WCDMA9 LTE11 TDSCDMA12 NR5G

Example

AT+CNAOP=79531124OK

AT+CNAOP+CNAOP 79531124

OK

4213 AT+CPSI Inquiring UE system information

AT+CPSI Inquiring UE system informationTest CommandAT+CPSI=

Response+CPSI (scope oflttimegt)

OK

Read CommandAT+CPSI

ResponseIf camping on a cdmaevdo cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 97451

+CPSI EVDOltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on a gsm cell+CPSIltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltAbsolute RF ChNumgtltRxLevgtltTrack LO AdjustgtltC1-C2gt

OKIf camping on a wcdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltPSCgtltFreqgtltSSCgtltECIOgtltRSCPgtltQualgtltRxLevgtltTXPWRgt

OKIf camping on a tds-cdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltUarfcngtltCpidgt

OKIf camping on a lte cell+CPSI ltSystem ModegtltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OK

If camping on a cdmaehrpd cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI eHRPDltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on 1xlte cell

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 98451

+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OKIf no service+CPSI NO SERVICE ltOperation modegt

OKIf camping on EN-DC connected mode+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]+CPSI NR5G_NSA [ltPCellIDgtltFrequencyBandgtltearfcnssbgtltRSRPgtltRSRQgtltSNRgt]

OK

If camping on NR5G only mode+CPSI NR5G_SAltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltRSRPgtltRSRQgtltSNRgt]

OK

ERROR

Write CommandAT+CPSI=lttimegt

ResponseOKorERROR

Defined Values

lttimegt The range is 0-255 unit is second after set lttimegt will report thesystem information every the seconds

ltSystem modegt System mode values NO SERVICE GSM WCDMA LTE TDShellipIf module in LIMITED SERVICE state and +CNLSA command is set to1 the system mode will display as GSM-LIMITED

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 99451

WCDMA-LIMITEDhellipltOperation modegt UE operation mode values Unknown Online Offline Factory

Test Mode Reset Low Power ModeltMCCgt Mobile Country Code (first part of the PLMN code)ltMNCgt Mobile Network Code (second part of the PLMN code)ltLACgt Location Area Code (hexadecimal digits)ltCell IDgt Service-cell IdentifyltAbsolute RF Ch Numbergt AFRCN for service-cellltTrack LO Adjustgt Track LO AdjustltC1gt Coefficient for base station selectionltC2gt Coefficient for Cell re-selectionltFrequency Bandgt Frequency Band of active setltPSCgt Primary synchronization code of active setltFreqgt Downlink frequency of active setltSSCgt Secondary synchronization code of active setltECIOgt EcIo valueReceived Signal Code PowerltRSCPgt Received Signal Code PowerltQualgt Quality value for base station selectionltRxLevgt RX level value for base station selectionltTXPWRgt UE TX power in dBm If no TX the value is 500ltCpigt Cell Parameter IDltTACgt Tracing Area CodeltPCellIDgt Physical Cell IDltearfcngt E-UTRA absolute radio frequency channel number for searching LTE

cellsltdlbwgt Transmission bandwidth configuration of the serving cell on the

downlinkltulbwgt Transmission bandwidth configuration of the serving cell on the uplinkltRSRPgt Current reference signal receive power in dBm x10 as measured by

L1Range -44 to -140ltRSRQgt Current reference signal receive quality as measured by L1The

quantities are in dB x10 Range -200 to -30 dBltRSSIgt Current received signal strength indicator as measured by L1Values

are in dBm x10 Range -1200 to 0ltRSSNRgt SINR(Signal to Interference Noise Ratio) Range of values [0 30]

The higher the value the betterltSNRgt SIGNAL-NOISE RATIO Range of values [-230 400] which

represents -230 dB to 400 dB The higher the value the betterltBIDgt Base ID

Example

AT+CPSI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 100451

+CPSI GSMOnline460-000x182d1240127 EGSM 900-64211042-42

OK

AT+CPSI+CPSI WCDMAOnline460-010xA80911122855WCDMA IMT 200027910663015623352500

OK

AT+CPSI=+CPSI (0-255)

OKAT+CPSI+CPSI LTEOnline460-110x5A1E187214780257EUTRAN-BAND3185055-94-850-54515+CPSI NR5G_NSA644NR5G_BAND78627264-960-12095

OK

4214 AT+CNSMOD Show network system mode

This command is used to return the current network system mode

AT+CNSMOD Show network system modeTest CommandAT+CNSMOD=

Response+CNSMOD (list of supportedltngts)

OK

Read CommandAT+CNSMOD

Response+CNSMOD ltngtltstatgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CNSMOD=ltngt

ResponseOKorERRORIf error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 101451

+CME ERROR lterrgt

Defined Values

ltngt 0 disable auto report the network system mode information1 auto report the network system mode information command+CNSMOD ltstatgt

ltstatgt 0 no service1 GSM2 GPRS3 EGPRS (EDGE)4 WCDMA5 HSDPA only(WCDMA)6 HSUPA only(WCDMA)7 HSPA (HSDPA and HSUPA WCDMA)8 LTE9 TDS-CDMA10 TDS-HSDPA only11 TDS- HSUPA only12 TDS- HSPA (HSDPA and HSUPA)13 CDMA14 EVDO15 HYBRID (CDMA and EVDO)16 1XLTE(CDMA and LTE)23 eHRPD24 HYBRID(CDMA and eHRPD)36 NR5G

Example

AT+CNSMOD+CNSMOD 02

OK

4215 AT+CEREG EPS network registration status

The set command controls the presentation of an unsolicited result code +CEREG ltstatgt when ltngt=1and there is a change in the MTs EPS network registration status in E-UTRAN or unsolicited result code+CEREG ltstatgt[lttacgtltcigt[ltAcTgt]] when ltngt=2 and there is a change of the network cell in E-UTRANin this latest case ltAcTgtlttacgt and ltcigt are sent only if availableNOTE 1 If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and +CGREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 102451

result codes apply to the registration status and location information for those servicesThe read command returns the status of result code presentation and an integer ltstatgt which showswhether the network has currently indicated the registration of the MT Location information elementslttacgtltcigt and ltAcTgt if available are returned only when ltngt=2 and MT is registered in the network

AT+CEREG EPS network registration statusTest CommandAT+CEREG=

Response+CEREG (list of supportedltngts)

OKorERROR

Read CommandAT+CEREG

Response+CEREG ltngtltstatgt[lttacgtltcigt[ltAcTgt]]

OKorERROR

Write CommandAT+CEREG[=ltngt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CEREG

Response (Set default valueltngt=0)OKorERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CEREGltstatgt2 enable network registration and location information unsolicitedresult code +CEREG ltstatgt[lttacgtltcigt[ltAcTgt]]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of E-UTRAN coverage)5 registered roaming6 registered for SMS only home network (not applicable)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 103451

7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN

Example

AT+CEREG+CEREG 04

OK

If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and+CGREG result codes apply to the registration status and location information for those services

4216 AT+CTZU Automatic time and time zone update

This command is used to enable and disable automatic time and time zone update via NITZ

AT+CTZU Automatic time and time zone updateTest CommandAT+CTZU=

Response+CTZU (list of supportedltonoffgts)

OK

Read CommandAT+CTZU

Response+CTZU ltonoff gt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 104451

orIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CTZU=ltonoffgt

ResponseOKorERROR

Defined Values

ltonoffgt Integer type value indicating0 Disable automatic time zone update via NITZ1 Enable automatic time zone update via NITZNOTE 1 The value of lt onoff gt is nonvolatile and factory value is 02 For automatic time and time zone update is enabled (+CTZU=1)If time zone is only received from network and it isnrsquot equal to localtime zone (AT+CCLK) time zone is updated automatically and realtime clock is updated based on local time and the difference betweentime zone from network and local time zone (Local time zone must bevalid)If Universal Time and time zone are received from network both timezone and real time clock is updated automatically and real time clockis based on Universal Time and time zone from network

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CTZU+CTZU 0

OK

AT+CTZU=1OK

4217 AT+CTZR Time and time zone reporting

This command is used to enable and disable the time zone change event reporting If the AT+CTZR=1 theMT returns the unsolicited result code+CTZV lttzgt whenever time zone received from network isnrsquot equal tolocal time zone If AT+CTZR=2 report +CTZE lttzgtltdstgtlttimegt whenever the time zone and time ischanged

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 105451

AT+CTZR Time and time zone reportingTest CommandAT+CTZR=

Response+CTZR (list of supported ltonoffgts)

OK

Read CommandAT+CTZR

Response+CTZR ltonoffgt

OK

Write CommandAT+CTZR=ltonoffgt

ResponseOKorERROR

Execution CommandAT+CTZR

Response (Set default value)OK

Defined Values

ltonoffgt Integer type value indicating0 Disable time zone change event reporting (default)1 Enable time zone change event reporting2 Display ltdstgtlttimegt

lttzgt Local time zone received from network its a integer and the format is+tz

ltdstgt Network daylight saving time and if it is received from network itindicates the value that has been used to adjust the local time zoneThe values as following0 No adjustment for Daylight Saving Time1 +1 hour adjustment for Daylight Saving Time2 +2 hours adjustment for Daylight Saving Time

lttimegt Universal time received from network and the format isyyMMddhhmmss where characters indicate year (two last digits)month day hour minutes and secondsNOTEHere inlttimegt is Universal Time or NITZ time

Example

AT+CTZR+CTZR 0

OK

AT+CTZR=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 106451

+CTZV +32AT+CTZR=2OK

+CTZE +32020200319151946

The time zone reporting is not affected by the Automatic Time and Time Zone command AT+CTZU

4218 AT+CNWINFO Inquiring extra network info

AT+CNWINFO Inquiring extra network info

Read CommandAT+CNWINFO

Response+CNWINFOltSYS_MODEgtltEGCIgtlteNBIDgtltMCSgtltDL_MODgtltUL_MODgtltCQIgtltTX_POWERgt

OKorERROR

Write CommandAT+CNWINFO=ltongt

Response

OKorERROR

Defined Values

ltSYS_MODEgt System modeLTENR5G

ltEGCIgt A decimal value contain PLMN+cellIdentitylteNBIDgt eNodeB ID itrsquos a hex valueltMCSgt Modulation and Coding Scheme a decimal value(0-31)ltDL_MODgtltUL_MODgt DL modulation type

QPSK16QAM64QAM256QAM

ltCQIgt Channel quality indication a decimal value(0-15)ltTX_POWERgt UL Tx power a decimal value(-99-30)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 107451

ltongt On or Off ltDL_MODgtltUL_MODgt display0 Close1 Open

Example

AT+CNWINFO+CNWINFO NR5G4600190886410x123452264QAM16QAM115

OK

AT+CNWINFO+CNWINFO LTE46011953338900x5AEAE1QPSK16QAM159

OK

4219 AT+C5GREG NR5G network registration status

The set command controls the presentation of an unsolicited result code +C5GREG ltstatgt when ltngt=1or unsolicited result code +C5GREG ltstatgt[lttacgtltcigtltAcTgtltoctec_lengtltnssaigt] when ltngt=2

AT+C5GREG NR5G network registration statusTest CommandAT+C5GREG=

Response+C5GREG (list of supportedltngts)

OKorERROR

Read CommandAT+C5GREG

Response+C5GREG ltngtltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

OKorERROR

Write CommandAT+C5GREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+C5GREG

Response (Set default value(ltngt=0)OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 108451

orERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +C5GREGltstatgt2 enable network registration and location information unsolicitedresult code +C5GREGltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of 5GC coverage)5 registered roaming6 registered for SMS only home network (not applicable)7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN10 EUTRA_5GCN11 NR_5GCN12 NGRAN13 EUTRA_NR

ltoctet_lengt The length of ltnssaigtltnssaigt Network slice selection assistance information a string value

Example

AT+C5GREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 109451

+C5GREG 01

OK

AT+C5GREG=2OK

AT+C5GREG+C5GREG 00GeeflexNetwork11

OK

4220 AT+CSYSSEL Set system selection pref

AT+CSYSSEL Set system selection pref

Test CommandAT+CSYSSEL=

Response+CSYSSEL nr5g_disable(list of supportedltnr5g_disable_modegt)+CSYSSEL nr5g_band(list of supported ltsa_nr5gbandgt)+CSYSSEL nsa_nr5g_band(list of supported ltnsa_nr5gbandgt)+CSYSSEL lte_band(list of supported ltlte_bandgt)+CSYSSEL w_band(list of supported ltw_bandgt)

OKExecution CommandAT+CSYSSEL

Restore all band to default band capabilityOK

Write CommandAT+CSYSSEL=nr5g_disable[ltnr5g_disable_modegt]

ResponseIf the parameterltnr5g_disable_modegt is omitted return currentconfiguration+CSYSSEL nr5g_disableltnr5g_disable_modegt

OKThis command was applied to disable NSA or SA mode

Write CommandAT+CSYSSEL=nr5g_band[ltnr5g_bandgt]

ResponseIf the parameter ltnr5g_bandgt is omitted return current configuration+CSYSSEL nr5g_bandlt sa_nr5gband gt

OKIf the parameter ltnr5g_bandgt is specified configure the preferred SANR5G bands to be searchedOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 110451

Write CommandAT+CSYSSEL=nsa_nr5g_band[ltnsa_nr5gbandgt]

ResponseIf the parameter ltnsa_nr5gbandgt is omitted return currentconfiguration+CSYSSEL nsa_nr5g_bandltnsa_nr5gbandgt

OKIf the parameter ltnsa_nr5gbandgt is specified configure thepreferred NSA NR5G bands to be searchedOKorERROR

Write CommandAT+CSYSSEL=lte_band[ltlte_bandgt]

ResponseIf the parameter ltlte_bandgt is omitted return current configuration+CSYSSEL lte_bandltlte_bandgt

OKIf the parameter ltlte_bandgt is specified configure the preferred LTEbands to be searchedOKorERRORThis command was applied to configure LTE bands

Write CommandAT+CSYSSEL=w_band[ltwbandgt]

ResponseIf the parameter ltw_bandgt is omitted return current configuration+CSYSSEL w_bandltw_bandgt

OKIf the parameter ltw_bandgt is specified configure the preferredWCDMA bands to be searchedOKorERRORThis command was applied to configure WCDMA bands

Defined Values

ltnr5g_disable_modegt NR5G SANSA disable setting0 None is disabled1 Disable SA2 Disable NSA

lt sa_nr5gband gt String type Use the colon as a separator to list NR5G bands to beconfigured The parameter format is B1B2B3hellipBN

ltnsa_nr5gbandgt String type Use the colon as a separator to list NSA NR5G bands tobe configured The parameter format is B1B2B3hellipBN

ltlte_bandgt String type Use the colon as a separator to list LTE bands to be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 111451

configured The parameter format is B1B2B3hellipBNltw_bandgt String type Use the colon as a separator to list WCDMA bands to be

configured The parameter format is B1B2B3hellipBN

B1 WCDMA_I_IMT_2000B2 WCDMA_II_PCS_1900B3 WCDMA_III_1700B4 WCDMA_IV_1700B5 WCDMA_V_850B6 WCDMA_VI_800B7 WCDMA_VII_2600B8 WCDMA_VIII_900B9 WCDMA_IX_1700B11 WCDMA_XI_1500B19 WCDMA_XIX_850

Example

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable0

OK

AT+CSYSSEL=nr5g_disable2OK

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable2

OK

AT+CSYSSEL=nr5g_band+CSYSSEL nr5g_band1284178

OK

AT+CSYSSEL=nr5g_band4178OK

AT+CSYSSEL=lte_band+CSYSSELlte_band12345781213141718192025262829303234383940414243486671

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 112451

AT+CSYSSEL=lte_band123OK

AT+CSYSSEL=w_band+CSYSSEL w_band123456

OKAT+CSYSSEL=w_band1234568OK

4221 AT+CCELLCFG Set lte cell configuration

AT+CCELLCFG Set lte cell configuration

Write CommandAT+CCELLCFG=ltenablegt[ltpcigtltfreqgt]

ResponseOKorERROR

Read CommandAT+CCELLCFG

Response+CCELLCFG ltpcigtltfreqgt

OKorERROR

Defined Values

ltenablegt0 ndash Clean cell lock1 ndash Set cell lock with pci and freq

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

Example

AT+CCELLCFG =12551850OK

AT+CCELLCFG=0 Clean cell lock setOKAT+CCELLCFG+CCELLCFG 2551850

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 113451

4222 AT+C5GCELLCFG Set NR5G cell configuration

AT+C5GCELLCFG Set NR5G cell configurationWrite CommandAT+C5GCELLCFG=pciltpcigtltfreqgtltscsgtltbandgt

AT+C5GCELLCFG=arfcnltarfcn_list_lengtltscsfreqgt[hellip]]

AT+C5GCELLCFG=unlock

ResponseOKorERROR

Read CommandAT+C5GCELLCFG

ResponseIf lock cell id was set+C5GCELLCFG pciltpcigtltfreqgtltscsgtltbandgt

OK

If arfcn list was set+C5GCELLCFGarfcnltarfcn_list_lengtltfreqgtltscsfreqgt[hellip]]

OKorERROR

Defined Values

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

ltscsgt

0x00 ndashSUB_CARRIER_SPACING_SSB_15KHZ0x01 ndashSUB_CARRIER_SPACING_SSB_30KHZ0x02ndashSUB_CARRIER_SPACING_SSB_60KHZ0x03ndashSUB_CARRIER_SPACING_SSB_120KHZ0x04ndashSUB_CARRIER_SPACING_SSB_240KHZ0x05ndashSUB_CARRIER_SPACING_SSB_SPARE30x06ndashSUB_CARRIER_SPACING_SSB_SPARE20x07ndashSUB_CARRIER_SPACING_SSB_SPARE1

ltbandgt NR bandltarfcn_list_lengt A integer value 1-32

Example

AT+C5GCELLCFG=pci100 518670141

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 114451

OKAT+C5GCELLCFG+C5GCELLCFG pci100 5186701 41

AT+C5GCELLCFG=arfcn1100518670OK

AT+C5GCELLCFG+C5GCELLCFG arfcn1100518670

OK

AT+C5GCELLCFG=unlockOK

This command was not verified test so suggest customer not use it now until SIMCom test it ok

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 115451

5 AT Commands According to CallControl

51 Overview of AT Commands According to 3GPP Call Control

Command DescriptionAT+CVHU Voice hang up controlAT+CHUP Hang up callAT+CBST Select bearer service typeAT+CRLP Radio link protocolAT+CR Service reporting controlAT+CRC Cellular result codesAT+CLCC List current callsAT+CEER Extended error reportAT+CCWA Call waitingAT+CHLD Call related supplementary servicesAT+CCFC Call forwarding number and conditionsAT+CLIP Calling line identification presentationAT+CLIR Calling line identification restrictionAT+COLP Connected line identification presentationAT+VTS DTMF and tone generationAT+VTD Tone durationAT+CSTA Select type of addressAT+CMOD Call modeAT+VMUTE Speaker mute controlAT+CMUT Microphone mute controlAT+MORING Enable or disable report MO ring URCAT+CLVL Loudspeaker volume levelAT+CRXVOL Adjust RX voice output speaker volumeAT+ CTXVOL Adjust TX voice mic volumeAT+ CTXMICGAIN Adjust TX voice mic gainAT+CECH Inhibit far-end echoAT+CECDT Inhibit echo during doubletalk

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 116451

52 Detailed Description of AT Commands According to Call Control

521 AT+CVHU Voice hang up control

Write command selects whether ATH or drop DTR shall cause a voice connection to be disconnected ornot By voice connection is also meant alternating mode calls that are currently in voice mode

AT+CVHU Voice hang up control

Test CommandAT+CVHU=

Response+CVHU (range of supported ltmodegts)

OK

Read CommandAT+CVHU

Response+CVHU ltmodegt

OK

Write CommandAT+CVHU=ltmodegt

ResponseOKorERROR

Execution CommandAT+CVHU

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 Drop DTR ignored but OK response given ATH disconnects1 Drop DTR and ATH ignored but OK response given

Example

AT+CVHU=0OKAT+CVHU+CVHU 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 117451

522 AT+CHUP Hang up call

This command is used to cancel voice calls If there is no call it will do nothing but OK response is givenAfter running AT+CHUP multiple VOICE CALL END may be reported which relies on how many callsexist before calling this command

AT+CHUP Hang up callTest CommandAT+CHUP=

ResponseOK

Execution CommandAT+CHUP

ResponseOK

VOICE CALL END lttimegt[hellipVOICE CALL END lttimegt]

No callOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

lttimegt Voice call connection timeFormat HHMMSS (HH hour MM minute SS second)

Example

AT+CHUPOK

VOICE CALL END 000017

523 AT+CBST Select bearer service type

Write command selects the bearer service ltnamegt with data rate ltspeedgt and the connection elementltcegt to be used when data calls are originated Values may also be used during mobile terminated data callsetup especially in case of single numbering scheme calls

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 118451

AT+CBST Select bearer service type

Test CommandAT+CBST=

Response+CBST (list of supported ltspeedgts)(list of supported ltnamegts)(listof supported ltcegts)

OK

Read CommandAT+CBST

Response+CBST ltspeedgtltnamegtltcegt

OK

Write CommandAT+CBST=ltspeedgt[ltnamegt[ltcegt]]

ResponseOKorERROR

Execution CommandAT+CBST

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltspeedgt 0 autobauding(automatic selection of the speed this setting ispossible in case of 31 kHz modem and non-transparent service)7 ndash 9600 bps (V32)12 ndash 9600 bps (V34)14 ndash 14400 bps(V34)16 ndash 28800 bps(V34)17 ndash 33600 bps(V34)39 ndash 9600 bps(V120)43 ndash 14400 bps(V120)48 ndash 28800 bps(V120)51 ndash 56000 bps(V120)71 ndash 9600 bps(V110)75 ndash 14400 bps(V110)80 ndash 28800 bps(V110 or X31 flag stuffing)81 ndash 38400 bps(V110 or X31 flag stuffing)83 ndash 56000 bps(V110 or X31 flag stuffing)84 ndash 64000 bps(X31 flag stuffing)116 ndash 64000 bps(bit transparent)134 ndash 64000 bps(multimedia)

ltnamegt 0 Asynchronous modem1 Synchronous modem4 data circuit asynchronous (RDI)

ltcegt 0 transparent

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 119451

1 non-transparentNOTE If ltspeedgt is set to 116 or 134 it is necessary that ltnamegt is equal to 1 and ltcegt is equal to 0

Example

AT+CBST=001OKAT+CBST

+CBST 001

OK

524 AT+CRLP Radio link protocol

Radio Link Protocol(RLP) parameters used when non-transparent data calls are originated may be alteredwith write command

Read command returns current settings for each supported RLP version ltverXgt Only RLP parametersapplicable to the corresponding ltverXgt are returned

Test command returns values supported by the TA as a compound value If META supports several RLPversions ltverXgt the RLP parameter value ranges for each ltverXgt are returned in a separate line

AT+CRLP Radio link protocol

Test CommandAT+CRLP=

Response+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver1gt[(list of supportedltT4gts)]][ltCRgtltLFgt+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver2gt[(list of supportedltT4gts)]][]]

OK

Read CommandAT+CRLP

Response+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver1gt[ltT4gt]][ltCRgtltLFgt+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver2gt[ltT4gt]][]]

OKWrite CommandAT+CRLP=ltiwsgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 120451

[ltmwsgt[ltT1gt[ltN2gt[ltvergt[ltT4gt]]]]]

orERROR

Execution CommandAT+CRLP

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvergtltverXgt RLP version number in integer format and it can be 0 1 or 2 whenversion indication is not present it shall equal 1

ltiwsgt IWF to MS window sizeltmwsgt MS to IWF window sizeltT1gt Acknowledgement timerltN2gt Retransmission attemptsltT4gt Re-sequencing period in integer formatNOTEltT1gt and ltT4gt are in units of 10 ms

Example

AT+CRLP+CRLP 61614860+CRLP 61614861+CRLP 2402405262

OK

525 AT+CR Service reporting control

Write command controls whether or not intermediate result code +CR ltservgt is returned from the TA tothe TE If enabled the intermediate result code is transmitted at the point during connect negotiation atwhich the TA has determined which speed and quality of service will be used before any error control ordata compression reports are transmitted and before the intermediate result code CONNECT istransmitted

AT+CR Service reporting control

Test CommandAT+CR=

Response+CR (list of supported ltmodegts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 121451

Read CommandAT+CR

Response+CR ltmodegt

OK

Write CommandAT+CR=ltmodegt

ResponseOKorERROR

Execution CommandAT+CR

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 disables reporting1 enables reporting

ltservgt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL sync synchronous non-transparentGPRS [ltL2Pgt] GPRSThe optional ltL2Pgt proposes a layer 2 protocol to use between theMT and the TEs

Example

AT+CR=1OK

AT+CR+CR 1

OK

526 AT+CRC Cellular result codes

Write command controls whether or not the extended format of incoming call indication or GPRS networkrequest for PDP context activation is used When enabled an incoming call is indicated to the TE withunsolicited result code +CRING lttypegt instead of the normal RINGTest command returns values supported by the TA as a compound value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 122451

AT+CRC Cellular result codes

Test CommandAT+CRC=

Response+CRC (list of supported ltmodegts)

OK

Read CommandAT+CRC

Response+CRC ltmodegt

OK

Write CommandAT+CRC=ltmodegt

ResponseOKorERROR

Execution CommandAT+CRC

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash disable extended format1 ndash enable extended format

lttypegt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL SYNC synchronous non-transparentFAX facsimileVOICE normal voiceVOICEXXX voice followed by data(XXX is ASYNC SYNC RELASYNC or REL SYNC)ALT VOICEXXX alternating voicedata voice firstALT XXXVOICE alternating voicedata data firstALT FAXVOICE alternating voicefax fax firstGPRS GPRS network request for PDP context activation

Example

AT+CRC=1OK

AT+CRC+CRC 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 123451

OK

527 AT+CLCC List current calls

This command issued to return list of current calls of ME If command succeeds but no calls are availableno information response is sent to TE

AT+CLCC List current calls

Test CommandAT+CLCC=

Response+CLCC (range of supported ltngts)

OK

Read CommandAT+CLCC

Response+CLCC ltngt

OK

Write CommandAT+CLCC=ltngt

ResponseOKorERROR

Execution CommandAT+CLCC

Response+CLCCltid1gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][ltCRgtltLFgt+CLCCltid2gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][]]

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Donrsquot report a list of current calls of ME automatically when thecurrent call status changes1 Report a list of current calls of ME automatically when the currentcall status changes

ltidXgt Integer type call identification number this number can be used in+CHLD command operations

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 124451

ltdirgt 0 mobile originated (MO) call1 mobile terminated (MT) call

ltstatgt State of the call0 active1 held2 dialing (MO call)3 alerting (MO call)4 incoming (MT call)5 waiting (MT call)6 disconnect

ltmodegt bearerteleservice0 voice1 data2 fax9 unknown

ltmptygt 0 call is not one of multiparty (conference) call parties1 call is one of multiparty (conference) call parties

ltnumbergt String type phone number in format specified by lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is

optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phonebook used character set should be the oneselected with command Select TE Character Set AT+CSCS

Example

ATD10011OK

AT+CLCC+CLCC 1000010011129sm

OK

RING (with incoming call)

AT+CLCC+CLCC 1140002152063113128gongsi

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 125451

528 AT+CEER Extended error report

Execution command causes the TA to return the information text ltreportgt which should offer the user of theTA an extended report of the reason for

1 The failure in the last unsuccessful call setup(originating or answering) or in-call modification

2 The last call release

3 The last unsuccessful GPRS attach or unsuccessful PDP context activation

The last GPRS detach or PDP context deactivation

AT+CEER Extended error reportTest CommandAT+CEER=

ResponseOK

Execution CommandAT+CEER

Response+CEER ltreportgt

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreportgt Wrong information which is possibly occurred

Example

AT+CEER+CEER Invalidincomplete number

OK

529 AT+CCWA Call waiting

This command allows control of the Call Waiting supplementary service Activation deactivation and statusquery are supported When querying the status of a network service (ltmodegt=2) the response line for notactive case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt Parameter ltngt isused to disableenable the presentation of an unsolicited result code +CCWA ltnumbergtlttypegtltclassgt to

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 126451

the TE when call waiting service is enabled Command should be abortable when network is interrogated

AT+CCWA Call waiting

Test CommandAT+CCWA=

Response+CCWA (range of supported ltngts)

OK

Read CommandAT+CCWA

Response+CCWA ltngt

OK

Write CommandAT+CCWA=ltngt[ltmodegt[ltclassgt]]

ResponseWhen ltmodegt=2 and command successful+CCWA ltstatusgtltclassgt[ltCRgtltLFgt+CCWA ltstatusgtltclassgt[]]

OKorERROR

Execution CommandAT+CCWA

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Setsshows the result code presentation status in the TA0 disable1 enable

ltmodegt When ltmodegt parameter is not given network is not interrogated0 disable1 enable2 query status

ltclassgt It is a sum of integers each representing a class of information (default7)

1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)7 voicedata and fax(1+2+4)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 127451

255 The value 255 covers all classesltstatusgt 0 not active

1 activeltnumbergt String type phone number of calling address in format specified by

lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type129 Otherwise

Example

AT+CCWA=+CCWA (0-1)

OK

AT+CCWA+CCWA 0

OK

5210 AT+CHLD Call related supplementary services

This command allows the control the following call related services1 A call can be temporarily disconnected from the ME but the connection is retained by the network2 Multiparty conversation (conference calls)3 The served subscriber who has two calls (one held and the other either active or alerting) can connectthe other parties and release the served subscribers own connectionCalls can be put on hold recovered released added to conversation and transferred This is based on theGSMUMTS supplementary services

AT+CHLD Call related supplementary servicesTest CommandAT+CHLD=

Response+CHLD (list of supported ltngts)

OKWrite CommandAT+CHLD=ltngt

ResponseOKorERROR

Execution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 128451

AT+CHLDDefault to ltngt=2

OKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Terminate all held calls or set User Determined User Busy for awaiting call1 Terminate all active calls and accept the other call (waiting call orheld call)1X Terminate a specific call X2 Place all active calls on hold and accept the other call (waiting callor held call) as the active call2X Place all active calls except call X on hold3 Add the held call to the active calls4 Connect two calls and cut off the connection between users andthem simultaneously

Example

AT+CHLD=+CHLD (011x22x34)

OK

5211 AT+CCFC Call forwarding number and conditions

This command allows control of the call forwarding supplementary service Registration erasure activationdeactivation and status query are supported

AT+CCFC Call forwarding number and conditionsTest CommandAT+CCFC=

Response+CCFC (list of supported ltreasongts)

OKWrite Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 129451

AT+CCFC=ltreasongtltmodegt[ltnumbergt[lttypegt[ltclassgt[ltsubaddrgt[ltsatypegt[lttimegt ]]]]]]

When ltmodegt=2 and command successful+CCFC ltstatusgtltclass1gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][ltCRgtltLFgt+CCFC ltstatusgtltclass2gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][]]

OK

When ltmodegt=2 and command successfulOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreasongt 0 unconditional1 mobile busy2 no reply3 not reachable4 all call forwarding5 all conditional call forwarding

ltmodegt 0 disable1 enable2 query status3 registration4 erasure

ltnumbergt String type phone number of forwarding address in format specified bylttypegt

lttypegt Type of address octet in integer format145 dialing string ltnumbergt includes international access codecharacter lsquo+rsquo129 otherwise

ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128ltclassXgt It is a sum of integers each representing a class of information (default

7)1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 130451

16 data circuit sync32 ndash data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

lttimegt 130 when no reply is enabled or queried this gives the time inseconds to wait before call is forwarded default value 20

ltstatusgt 0 not active1 active

Example

AT+CCFC=+CCFC (012345)

OKAT+CCFC=02+CCFC 0255

OK

5212 AT+CLIP Calling line identification presentation

This command refers to the GSMUMTS supplementary service CLIP (Calling Line IdentificationPresentation) that enables a called subscriber to get the calling line identity (CLI) of the calling party whenreceiving a mobile terminated callWrite command enables or disables the presentation of the CLI at the TE It has no effect on the executionof the supplementary service CLIP in the networkWhen the presentation of the CLI at the TE is enabled (and calling subscriber allows) +CLIPltnumbergtlttypegt[[ltalphagt][ltCLI validitygt]] response is returned after every RING (or +CRING lttypegtrefer sub clause Cellular result codes +CRC) result code sent from TA to TE It is manufacturer specific ifthis response is used when normal voice call is answered

AT+CLIP Calling line identification presentationTest CommandAT+CLIP=

Response+CLIP (range of supported ltngts)

OKRead CommandAT+CLIP

Response+CLIP ltngtltmgt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 131451

orERRORor+CME ERROR lterrgt

Write CommandAT+CLIP=ltngt

ResponseOKorERROR

Execution CommandAT+CLIP

ResponseSet default value(ltngt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 CLIP not provisioned1 CLIP provisioned2 unknown (eg no network etc)

ltnumbergt String type phone number of calling address in format specified bylttypegt

lttypegt Type of address octet in integer format128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phone book

ltCLI validitygt 0 CLI valid1 CLI has been withheld by the originator2 CLI is not available due to interworking problems or limitations oforiginating network

Example

AT+CLIP=1OKRING (with incoming call)+CLIP 02152063113128gongsi0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 132451

5213 AT+CLIR Calling line identification restriction

This command refers to CLIR service that allows a calling subscriber to enable or disable the presentationof the CLI to the called party when originating a callWrite command overrides the CLIR subscription (default is restricted or allowed) when temporary mode isprovisioned as a default adjustment for all following outgoing calls This adjustment can be revoked byusing the opposite command If this command is used by a subscriber without provision of CLIR inpermanent mode the network will actRead command gives the default adjustment for all outgoing calls (given in ltngt) and also triggers aninterrogation of the provision status of the CLIR service (given in ltmgt)Test command returns values supported as a compound value

AT+CLIR Calling line identification restrictionTest CommandAT+CLIR=

Response+CLIR (range of supported ltngts)

OKRead CommandAT+CLIR

Response+CLIR ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CLIR=ltngt

ResponseOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 presentation indicator is used according to the subscription of theCLIR service1 CLIR invocation2 CLIR suppression

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 133451

ltmgt 0 CLIR not provisioned1 CLIR provisioned in permanent mode2 unknown (eg no network etc)3 CLIR temporary mode presentation restricted4 CLIR temporary mode presentation allowed

Example

AT+CLIR=+CLIR (0-2)

OK

5214 AT+COLP Connected line identification presentation

This command refers to the GSMUMTS supplementary service COLP(Connected Line IdentificationPresentation) that enables a calling subscriber to get the connected line identity (COL) of the called partyafter setting up a mobile originated call The command enables or disables the presentation of the COL atthe TE It has no effect on the execution of the supplementary service COLR in the networkWhen enabled (and called subscriber allows) +COLPltnumbergtlttypegt [ltsubaddrgtltsatypegt [ltalphagt]]intermediate result code is returned from TA to TE before any +CR ResponseIt is manufacturer specific ifthis response is used when normal voice call is establishedWhen the AT+COLP=1 is set any data input immediately after the launching of ATDXXX will stop theexecution of the ATD command which may cancel the establishing of the call

AT+COLP Connected line identification presentationTest CommandAT+COLP=

Response+COLP (range of supported ltngts)

OKRead CommandAT+COLP

Response+COLP ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+COLP=ltngt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 134451

or+CME ERROR lterrgt

Execution CommandAT+COLP

ResponseSet default value(ltngt=0 ltmgt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 COLP not provisioned1 COLP provisioned2 unknown (eg no network etc)

Example

AT+COLP+COLP 10

OKATD10086VOICE CALL BEGIN

+COLP 10086129

OK

5215 AT+VTS DTMF and tone generation

This command allows the transmission of DTMF tones and arbitrary tones which cause the MobileSwitching Center (MSC) to transmit tones to a remote subscriber The command can only be used in voicemode of operation (active voice call)NOTE The END event of voice call will terminate the transmission of tones and as an operator option thetone may be ceased after a pre-determined time whether or not tone duration has been reached

AT+VTS DTMF and tone generationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 135451

AT+VTS= +VTS (list of supportedltdtmfgts)

OKWrite CommandAT+VTS=ltdtmfgt[ltdurationgt]

AT+VTS=ltdtmf-stringgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltdtmfgt A single ASCII character in the set 0-9 A B C Dltdurationgt Tone duration in 110 seconds from 0 to 255 This is interpreted as a

DTMF tone of different duration from that mandated by the AT+VTDcommand otherwise the duration which be set the AT+VTDcommand will be used for the tone (ltdurationgt is omitted)

ltdtmf-stringgt A sequence of ASCII character in the set 0-9 A B C D andmaximal length of the string is 29 The string must be enclosed indouble quotes () and separated by commas between the ASCIIcharacters (eg 13579) Each of the tones with a duration whichis set by the AT+VTD command

Example

AT+VTS=1OKAT+VTS=120OKAT+VTS=135OKAT+VTS=+VTS (0-9ABCD)

OK

5216 AT+VTD Tone duration

This refers to an integer ltngt that defines the length of tones emitted as a result of the AT+VTS command A

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 136451

value different than zero causes a tone of duration ltngt10 seconds

AT+VTD Tone durationTest CommandAT+VTD=

Response+VTD (list of supported ltngts)

OKRead CommandAT+VTD

Response+VTD ltngt

OKWrite CommandAT+VTD=ltngt

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Tone duration in integer format from 0 to 255 and 0 is factory value0 Tone duration of every single tone is dependent on thenetwork1hellip255 one duration of every single tone in 110 seconds

Example

AT+VTD=+VTD (0-255)

OKAT+VTD+VTD 0

OKAT+VTD=5OK

5217 AT+CSTA Select type of address

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of number

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 137451

Test command returns values supported by the Module as a compound value

AT+CSTA Select type of addressTest CommandAT+CSTA=

Response+CSTA (list of supported lttypegts)

OKRead CommandAT+CSTA

Response+CSTA lttypegt

OKWrite CommandAT+CSTA=lttypegt

ResponseOKorERROR

Execution CommandAT+CSTA

ResponseOK

Parameter Saving Mode NO_SAVE

Maximum Response Time -Reference

Defined Values

lttypegt Type of address octet in integer format145 ndash when dialing string includes international access codecharacter ldquo+rdquo161 ndash national numberThe network support for this type is optional177 ndash network specific numberISDN format129 ndash otherwise

Because the type of address is automatically detected on the dial string of dialing command commandAT+CSTA has really no effect

Example

AT+CSTA+CSTA 129

OKAT+CSTA=145OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 138451

5218 AT+CMOD Call mode

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of numberTest command returns values supported by the Module as a compound value

AT+CMOD Call modeTest CommandAT+CMOD=

Response+CMOD (list of supported ltmodegts)

OKRead CommandAT+CMOD

Response+CMOD ltmodegt

OKWrite CommandAT+CMOD=ltmodegt

ResponseOKorERROR

Execution CommandAT+CMOD

ResponseSet default valueOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 single mode(only supported)

Example

AT+CMOD+CMOD 0

OKAT+CMOD=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 139451

The value of ltmodegt shall be set to zero after a successfully completed alternating mode call It shallbe set to zero also after a failed answering The power-on factory and user resets shall also set thevalue to zero This reduces the possibility that alternating mode calls are originated or answeredaccidentally

5219 AT+VMUTE Speaker mute control

This command is used to control the loudspeaker to mute and unmute during a voice call which isconnected If there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+VMUTE Speaker mute controlTest CommandAT+VMUTE=

Response+VMUTE (range of supported ltmodegts)

OKRead CommandAT+VMUTE

Response+VMUTE ltmodegt

OKWrite CommandAT+VMUTE=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+VMUTE+VMUTE 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 140451

AT+VMUTE=1OK

5220 AT+CMUT Microphone mute control

This command is used to enable and disable the uplink voice muting during a voice call which is connectedIf there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+CMUT Microphone mute controlTest CommandAT+CMUT=

Response+CMUT (range of supported ltmodegts)

OKRead CommandAT+CMUT

Response+CMUT ltmodegt

OKWrite CommandAT+CMUT=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+CMUT+CMUT 0

OKAT+CMUT=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 141451

5221 AT+MORING Enable or disable report MO ring URC

This command is used to enable or disable report MO ring URC

AT+MORING Enable or disable report MO ring URCTest CommandAT+MORING=

Response+MORING (0-1)

OKRead CommandAT+MORING

Response+MORING ltmodegt

OKWrite CommandAT+MORING=ltmodegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt Enable or disable report MO ring report0 disable1 enable

Example

AT+MORING+CMORING 0

OKAT+MORING=1OK

5222 AT+CLVL Loudspeaker volume level

Write command is used to select the volume of the internal loudspeaker audio output of the deviceRead command returns the volume of the internal loudspeaker audio output of the device

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 142451

Test command returns supported values as compound value

AT+CLVL Loudspeaker volume levelTest CommandAT+CLVL=

Response+CLVL (range of supported ltlevelgts)

OKRead CommandAT+CLVL

Response+CLVL ltlevelgt

OKWrite CommandAT+CLVL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltlevelgt 05 Integer type value which represents loudspeaker volume levelThe range is from 0 to 5 and 0 represents the lowest loudspeakervolume level 5 is default factory value

Example

AT+CLVL+CLVL 5

OKAT+CLVL=1OK

ltlevelgt is not saved and it resets default value when restart

5223 AT+CRXVOL Adjust RX voice output speaker volume

This command is used to adjust digital Volume of output signal after speech decoder before summation of

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 143451

sidetone and DAC It modify the RX_VOICE_SPK_GAIN in DSP This command only be used during calland donrsquot save the parameter after call

AT+CRXVOL Adjust RX voice output speaker volumeTest CommandAT+CRXVOL=

Response+CRXVOL (range of supported ltvaluegts)

OKRead CommandAT+CRXVOL

Response+CRXVOL ltvaluegt

OKWrite CommandAT+CRXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CRXVOL+CRXVOL 0x3fd9

OKAT+CRXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5224 AT+CTXVOL Adjust TX voice mic volume

This command is used to adjust mic gain It modify the TX_VOICE_VOL in DSP This command only be

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 144451

used during call and donrsquot save the parameter after call

AT+ CTXVOL Adjust TX voice mic volumeTest CommandAT+CTXVOL=

Response+CTXVOL (range of supported ltvaluegts)

OKRead CommandAT+CTXVOL

Response+CTXVOL ltvaluegt

OKWrite CommandAT+CTXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXVOL+CTXVOL 0x2d33

OKAT+CTXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5225 AT+CTXMICGAIN Adjust TX voice mic gain

This command is used to adjust mic gain It modify the TX_VOICE_MIC_GAIN in DSP This command onlybe used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 145451

AT+ CTXMICGAIN Adjust TX voice mic gainTest CommandAT+CTXMICGAIN=

Response+CTXMICGAIN (list of supported ltmodegts)(list ofsupportedltvaluegts)

OKRead CommandAT+CTXMICGAIN

Response+CTXMICGAIN ltmodegtltvaluegt

OKWrite CommandAT+CTXMICGAIN=ltmodegtltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt mode value from 0-1 default value is not a fixed value It varies withdifferent versions

ltvaluegt gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXMICGAIN+CTXMICGAIN 10x2000

OKAT+CTXMICGAIN=10x1234OK

This command only be used during call and donrsquot save the parameter after call

5226 AT+CECH Inhibit far-end echo

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 146451

This command is used to adjust additional muting gain applied in DES during far-end only It modify thepp_gamma_e_high of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECH Inhibit far-end echoTest CommandAT+CECH=

Response+CECH (rang of supported ltvaluegts)

OKRead CommandAT+CECH

Response+CECH ltvaluegt

OKWrite CommandAT+CECH=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECH+CECH 0x0200

OKAT+CECH=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5227 AT+CECDT Inhibit echo during doubletalk

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 147451

This command is used to adjust additional muting gain applied in DES during doubletalk It modify thepp_gamma_e_dt of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECDT Inhibit echo during doubletalkTest CommandAT+CECDT=

Response+CECDT (rang of supported ltvaluegts)

OKRead CommandAT+CECDT

Response+CECDT ltvaluegt

OKWrite CommandAT+CECDT=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECDT+CECDT 0x0100

OKAT+CECDT=0x1234OK

This command only be used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 148451

6 AT Commands for Phonebook

61 Overview of AT Commands for Phonebook

Command DescriptionAT+CPBS Select Phonebook memory storageAT+CPBR Read Phonebook entriesAT+CPBF Find Phonebook entriesAT+CPBW Write Phonebook entryAT+CNUM Subscriber number

62 Detailed Description of AT Commands for Phonebook

621 AT+CPBS Select Phonebook memory storage

AT+CPBS Select Phonebook memory storageTest CommandAT+CPBS=

Response+CPBS (list of supported ltstoragegts)

OKRead CommandAT+CPBS

Response+CPBS ltstoragegt[ltusedgtlttotalgt]

OKWrite CommandAT+CPBS=ltstoragegt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CPBS

Response (Set default value SM)OK

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 149451

ltstoragegt Values reserved by the present documentDC ME dialed calls list

Capacity max 20 entriesAT+CPBW command is not applicable to this storage

MC ME missed (unanswered received) calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

RC ME received calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

SM SIM phonebookCapacity depending on SIM card

ME Mobile Equipment phonebookCapacity max 25 entries

FD SIM fixdialling-phonebookCapacitydepending on SIM card

ON MSISDN listCapacitydepending on SIM card

LD Last number dialed phonebookCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

EN Emergency numbersCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

ltusedgt Integer type value indicating the number of used locations in selectedmemory

lttotalgt Integer type value indicating the total number of locations in selectedmemory

Example

AT+CPBS=+CPBS (SMDCFDLDMCMERCENON)

OKAT+CPBS=SMOKAT+CPBS+CPBS SM1200

OK

NOTE

Select the active phonebook storageiethe phonebook storage that all subsequent phonebook

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 150451

commands will be operating on

622 AT+CPBR Read Phonebook entries

AT+CPBR Read Phonebook entriesTest CommandAT+CPBR=

Response+CPBR (ltminIndexgt-ltmaxIndexgt)[ltnlengthgt][lttlengthgt]

OKIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBR=ltindex1gt[ltindex2gt]

Response[+CPBR ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBR ltindex2gtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindex1gt Integer type value in the range of location numbers of phonebookmemory

ltindex2gt Integer type value in the range of location numbers of phonebookmemory

ltindexgt Integer typethe current position number of the Phonebook indexltminIndexgt Integer type the minimum ltindexgt numberltmaxIndexgt Integer type the maximum ltindexgt numberltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 forrestricted number type including unknown type and format otherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 151451

AT+CPBS+CPBS SM2200

OKAT+CPBR=110+CPBR 11234567890129James+CPBR 20987654321129Kevin

OK

If the storage is selected as SM then the command will return the record in SIM phonebook the sameto others

623 AT+CPBF Find Phonebook entries

AT+CPBF Find Phonebook entriesTest CommandAT+CPBF=

Response+CPBF [ltnlengthgt][lttlengthgt]

OKWrite CommandAT+CPBF=[ltfindtextgt]

Response[+CPBF ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBF ltindexNgtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfindtextgt String type this value is used to find the record Character set shouldbe the one selected with command AT+CSCS

ltindexgt Integer typethe current position number of the Phonebook indexltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 for

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 152451

restricted number type including unknown type and formatotherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBF=James+CPBF 11234567890129James

OK

If ltfindtextgt is null it will lists all the entries

624 AT+CPBW Write Phonebook entry

AT+CPBW Write Phonebook entryTest CommandAT+CPBW=

Response+CPBW (list of supported ltindexgts)[ltnlengthgt](list of supported lttypegts)[lttlengthgt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBW=[ltindexgt][ltnumbergt[lttypegt[lttextgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type values in the range of location numbers of phonebookmemoryIf ltindexgt is not giventhe first free entry will be used If

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 153451

ltindexgt is given as the only parameter the phonebook entry specifiedby ltindexgt is deletedIf record number ltindexgt already exists it willbe overwritten

ltnumbergt String type phone number of format lttypegt the maximum length isltnlengthgtIt must be an non-empty string

lttypegt Type of address octet in integer format The range of value is from 129to 255 If ltnumbergt contains a leading + lttypegt = 145 (international)is usedSupported value are145 when dialling string includes international access code character+161 national numberThe network support for this type is optional177 network specific numberISDN format129 otherwise

NOTE Other value refer TS 24008 [8] subclause 10547lttextgt String type field of maximum length lttlengthgt character set as

specified by command Select TE Character Set AT+CSCSltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBW=388888888129JohnOKAT+CPBW=6666666129maryOKAT+CPBW=1OK

If the parameters of lttypegt and lttextgt are omitted and the first character of ltnumbergt is lsquo+rsquoit willspecify lttypegt as 145(129 if the first character isnrsquot lsquo+rsquo) and lttextgt as NULL

625 AT+CNUM Subscriber number

AT+CNUM Subscriber numberTest CommandAT+CNUM=

ResponseOK

Execution CommandAT+CNUM

Response[+CNUM ltalphagtltnumbergtlttypegt[ltCRgtltLFgt+CNUM ltalphagt ltnumbergtlttypegt []]]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 154451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltalphagt Optional alphanumeric string associated with ltnumbergt usedcharacter set should be the one selected with command Select TECharacter Set AT+CSCS

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CNUM+CNUM 13697252277129

OK

If the subscriber has different MSISDN for different services each MSISDN is returned in a separateline

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 155451

7 AT Commands for SIM ApplicationToolkit

71 Overview of AT Commands for SIM Application Toolkit

Command DescriptionAT+STIN SAT IndicationAT+STGI Get SAT informationAT+STGR SAT respondAT+STK STK switchAT+STKFMT Set STK pdu formatAT+STENV Original STK PDU Envelope CommandAT+STSM Get STK Setup Menu List with PDU Mode

72 Detailed Description of AT Commands for SIM Application Toolkit

721 AT+STIN SAT Indication

AT+STIN SAT IndicationTest CommandAT+STIN=

ResponseOK

Read CommandAT+STIN

+STIN ltcmd_idgt

OK

Unsolicited Result Codes

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 156451

24 Select item+STIN 25 Notification that SIM Application has returned to main menu If user

doesnrsquot do any action in 2 minutes application will return to mainmenu automatically

Defined Values

ltcmd_idgt 21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end (pdu mode only)0 None command

lttimegt Service time

Example

AT+STIN+STIN 24

OK

Every time the SIM Application issues a Proactive Command via the ME the TA will receive anindication This indicates the type of Proactive Command issued

722 AT+STGI Get SAT information

AT+STGI Get SAT informationTest CommandAT+STGI=

ResponseOK

Write CommandAT+STGI=ltcmd_idgt

Response (PDU format)+STGI ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOK

AT+STGI=ltcmd_idgt Response (NOT PDU format listed below)If ltcmd_idgt=10OKIf ltcmd_idgt=21+STGI 21ltpriogtltclear_modegtlttext_lengtlttextgtOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 157451

If ltcmd_idgt=22+STGI 22lt rsp_formatgtlt helpgtlttext_lengtlttextgtOKIf ltcmd_idgt=23+STGI23ltrsp_formatgtltmax_lengtltmin_lengtlthelpgtltshowgtlttext_lengtlttextgtOKIf ltcmd_idgt=24+STGI24lthelpgtltsoftkeygtltpresentgtlttitle_lengtlttitlegtltitem_numgt+STGI 24ltitem_idgtltitem_lengtltitem_datagt[hellip]OKIf ltcmd_idgt=25+STGI 25lthelpgtltsoftkeygtlttitle_lengtlttitlegtltitem_numgt+STGI 25ltitem_idgtltitem_lengtltitem_datagt[]OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu

ltpriogt Priority of display text0 Normal priority1 High priority

ltclear_modegt 0 Clear after a delay1 Clear by user

lttext_lengt Length of textltrsp_formatgt 0 SMS default alphabet

1 YES or NO2 numerical only3 UCS2

lthelpgt 0 Help unavailable1 Help available

ltmax_lengt Maximum length of inputltmin_lengt Minimum length of inputltshowgt 0 Hide input text

1 Display input textltsoftkeygt 0 No softkey preferred

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 158451

1 Softkey preferredltpresentgt Menu presentation format available for select item

0 Presentation not specified1 Data value presentation2 Navigation presentation

lttitle_lengt Length of titleltitem_numgt Number of items in the menultitem_idgt Identifier of itemltitem_lengt Length of itemlttitlegt Title in ucs2 formatltitem_datagt Content of the item in ucs2 formatlttextgt Text in ucs2 formatlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valgt String type the pdu string

Example

AT+STGI=25 (NOT PDU format)+STGI 250010795E5DDE884C5929573015+STGI 25188F7B677E95EE5019+STGI 252877ED4FE17FA453D1+STGI 25384F1860E05FEB8BAF+STGI 25484E1A52A17CBE9009+STGI 25588D448D3963A88350+STGI 256881EA52A9670D52A1+STGI 25788F7B677E5F6994C3+STGI 25888BED97F367425FD7+STGI 2591097F34E506392884C699C+STGI 2510865B095FB59296C14+STGI 2511894C358F056FE7247+STGI 25128804A59294EA453CB+STGI 251385F005FC34F1195F2+STGI 25148751F6D3B5E388BC6+STGI 25211200530049004D53614FE1606F

OK

AT+STGI=24 (PDU format)+STGI24048D02E81030124008202818285098070ED70B963A883508F0A018053057F574E078C618F0C02809177917777ED6D88606F

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 159451

723 AT+STGR SAT respond

AT+STGR SAT respondTest CommandAT+STGR=

ResponseOK

Write CommandAT+STGR=ltcmd_idgt[ltdatagt]

Response (NOT PDU format)OK

AT+STGR=ltpdu_lengtltpdu_valuegt

Response (PDU format)OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end83 Session end by user84 Go backward

ltdatagt If ltcmd_idgt=22Input a characterIf ltcmd_idgt=23Input a stringIf ltrsp_formatgt is YES or NO input of a character in case of ANSIcharacter set requests one byte eg YIf ltrsp_formatgt is numerical only input the characters in decimalnumber eg 123If ltrsp_ formatgt is UCS2 requests a 4 byte string eg 0031ltrsp_ formatgt refer to the response by AT+STGI=23If ltcmd_idgt=24Input the identifier of the item selected by userIf ltcmd_idgt=25Input the identifier of the item selected by userIf ltcmd_idgt=83ltdatagt ignoreNote It could return main menu during Proactive Command id is not22 or 23If ltcmd_idgt= 84

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 160451

ltdatagt ignoreltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STGR=251OK+STIN 24

AT+STGR=30810301240002028281830100900101OK

After selected an item different SIMUSIM cards will report different +STIN command

724 AT+STK STK switch

AT+STK STK switchTest CommandAT+STK=

Response+STK (list of supported ltvaluegts)

OKRead CommandAT+STK

Response+STK ltvaluegt

OKWrite CommandAT+STK=ltvaluegt

ResponseOKorERROR

Execution CommandAT+STK

ResponseOK

Defined Values

ltvaluegt 0 Disable STK1 Enable STK

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 161451

AT+STK=1OK

Module should reboot to take effective

725 AT+STKFMT Set STK pdu format

AT+STKFMT Set STK pdu formatRead CommandAT+STKFMT

Response+STKFMT ltvaluegt

OK

Write CommandAT+STKFMT=ltvaluegt

ResponseOKorERROR

Defined Values

ltvaluegt 0 Disable STK pdu format decoded command mode1 Enable STK pdu format

Example

AT+STKFMT=1OK

Module should reboot to take effective

726 AT+STENV Original STK PDU Envelope Command

AT+STENV Original STK PDU Envelope CommandTest CommandAT+STENV=

ResponseOK

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 162451

Write CommandAT+STENV=ltlengtltpdugt

ResponseOKorERROR

Defined Values

ltlengt Integer type pdu string lengthltpdugt String type pdu value

Example

AT+STENV=18D30782020181900101OK

Module should reboot to take effective

727 AT+STSM Get STK Setup Menu List with PDU Mode

AT+STSM Get STK Setup Menu List with PDU ModeTest CommandAT+STSM=

ResponseOK

Read CommandAT+STSM

Response+STSM ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOKorERROR

Defined Values

ltcmd_idgt Integer type please refer to AT+STINlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STSM+STSM

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 163451

250120D07681030125008202818285078065B052BF529B8F0A018070ED70B963A883508F06028070AB94C38F0A03806D41884C77ED4FE18F0A048081EA52A9670D52A18F0A0580624B673A97F34E508F0606808D854FE18F0A07805A314E50753162118F0A0880767E53D8751F6D3B8F0A09806D596C5F98919053

OK

Setup main menu info got first before envelope command sent

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 164451

8 AT Commands for GPRS

81 Overview of AT Commands for GPRS

Command DescriptionAT+CGREG GPRS network registration statusAT+CGATT Packet domain attach or detachAT+CGACT PDP context activate or deactivateAT+CGDCONT Define PDP contextAT+CGDSCONT Define Secondary PDP ContextAT+CGTFT Traffic Flow TemplateAT+CGQREQ Quality of service profile (requested)AT+CGEQREQ 3G quality of service profile (requested)AT+CGQMIN Quality of service profile (minimum acceptable)AT+CGEQMIN 3G quality of service profile (minimum acceptable)AT+CGDATA Enter data stateAT+CGPADDR Show PDP addressAT+CGCLASS GPRS mobile station classAT+CGEREP GPRS event reportingAT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

82 Detailed Description of AT Commands for GPRS

821 AT+CGREG GPRS network registration status

This command controls the presentation of an unsolicited result code +CGREG ltstatgt when ltngt=1 andthere is a change in the MTs GPRS network registration status

The read command returns the status of result code presentation and an integer ltstatgt which showsWhether the network has currently indicated the registration of the MT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 165451

AT+CGREG GPRS network registration statusTest CommandAT+CGREG=

Response+CGREG (list of supported ltngts)

OKRead CommandAT+CGREG

Response+CGREG ltngtltstatgt[ltlacgtltcigt]

OKWrite CommandAT+CGREG=ltngt

ResponseOK

Execution CommandSet default valueAT+CGREG

ResponseOK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CGREGltstatgt2 there is a change in the ME network registration status or achange of the network cell

+CGREG ltstatgt[ltlacgtltcigt]ltstatgt 0 not registered ME is not currently searching an operator to

register to1 registered home network2 not registered but ME is currently trying to attach or searching anoperator to register to3 registration denied4 unknown5 registered roaming

ltlacgt Two bytes location area code in hexadecimal format (eg00C3equals 193 in decimal)

ltcigt Cell ID in hexadecimal formatGSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

The ltlacgt not supported in CDMAHDR modeThe ltcigt not supported in CDMAHDR mode

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 166451

Example

AT+CGREG=+CGREG (0-2)

OKAT+CGREG+CGREG 00

OK

822 AT+CGATT Packet domain attach or detach

The write command is used to attach the MT to or detach the MT from the Packet Domain serviceThe read command returns the current Packet Domain service state

AT+CGATT Packet domain attach or detachTest CommandAT+CGATT=

Response+CGATT (list of supported ltstategts)

OKRead CommandAT+CGATT

Response+CGATT ltstategt

OKWrite CommandAT+CGATT=ltstategt

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of Packet Domain attachment0 detached1 attached

Example

AT+CGATT+CGATT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 167451

OKAT+CGATT=1OK

823 AT+CGACT PDP context activate or deactivate

The write command is used to activate or deactivate the specified PDP context(s)

AT+CGACT PDP context activate or deactivateTest CommandAT+CGACT=

Response+CGACT (list of supported ltstategts)

OKRead CommandAT+CGACT

Response+CGACT [ltcidgtltstategt [ltCRgtltLFgt+CGACT ltcidgtltstategt[]]]

OKWrite CommandAT+CGACT=ltstategt[ltcidgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of PDP context activation0 deactivated1 activated

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGACT=+CGACT (01)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 168451

AT+CGACT+CGACT 11

OKAT+CGACT=01OK

824 AT+CGDCONT Define PDP context

The set command specifies PDP context parameter values for a PDP context identified by the (local)context identification parameter ltcidgt The number of PDP contexts that may be in a defined state at thesame time is given by the range returned by the test command A special form of the write command(AT+CGDCONT=ltcidgt) causes the values for context ltcidgt to become undefined

AT+CGDCONT Define PDP contextTest CommandAT+CGDCONT=

Response+CGDCONT (range of supportedltcidgts)ltPDP_typegt(list ofsupported ltd_compgts)(list of supported lth_compgts) (list ofltipv4_ctrlgts)(list of ltemergency_flaggts) ( ltssc_mode gts)(lt s_nssaigt)(pref_access_type)(ltalways_on_reqgt)

OKorERROR

Read CommandAT+CGDCONT

Response+CGDCONT[ltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt[ltCRgtltLFgt+CGDCONTltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt lt ssc_modegtlts_nssaigtltpref_access_typegtlt always_on_reqgt []]]

OKorERROR

Write CommandAT+CGDCONT=ltcidgt[ltPDP_typegt[ltAPNgt[ltPDP_addrgt[ltd_compgt[lth_compgt[ltip

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 169451

v4_ctrlgt[ltemergency_flaggt[ltssc_modegt[lts_nssaigt[ltpref_access_typegt[ltalways_on_reqgt]]]]]]]]]]]Execution CommandSet default valueAT+CGDCONT

ResponseOKorERROR

Defined Values

ltcidgt (PDP Context Identifier) a numeric parameter which specifies aparticular PDP context definition The parameter is local to the TE-MTinterface and is used in other PDP context-related commands Therange of permitted values (minimum value = 1) is returned by the testform of the command1hellip42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPPPoint to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltAPNgt (Access Point Name) a string parameter which is a logical name that isused to select the GGSN or the external packet data network

ltPDP_addrgt A string parameter that identifies the MT in the address spaceapplicable to the PDPRead command will continue to return the null string even if anaddress has been allocated during the PDP startup procedure Theallocated address may be read using command AT+CGPADDR

ltd_compgt A numeric parameter that controls PDP data compression this valuemay depend on platform0 off (default if value is omitted)1 on2 V42bis

lth_compgt A numeric parameter that controls PDP header compression thisvalue may depend on platform0 off (default if value is omitted)1 on2 RFC11443 RFC25074 RFC3095

ltipv4_ctrlgt Parameter that controls how the MTTA requests to get the IPv4address information0 Address Allocation through NAS Signaling

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 170451

1 on

ltemergency_flaggt emergency_flag0 off (default if value is omitted)1 on

ltssc_modegt Ssc mode0 ssc mode 1(default if value is omitted)1 ssc mode 2

lts_nssaigt String type of hexadecimal formatltpref_access_typegt prefer access type

0 access unspecified(default if value is omitted)1 access 3gpp

ltalways_on_reqgt alway on req0 off (default if value is omitted)1 on

Example

AT+CGDCONT=+CGDCONT (1-42)IP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)PPP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV4V6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)

OKAT+CGDCONT+CGDCONT 1IPV4V6000000000000000000000+CGDCONT 2IPV4V6ims000000000000000000000+CGDCONT 3IPV4V6sos000000000000000000010

OK

825 AT+CGDSCONT Define Secondary PDP Context

The set command specifies PDP context parameter values for a Secondary PDP context identified by the(local) context identification parameter ltcidgt The number of PDP contexts that may be in a defined stateat the same time is given by the range returned by the test command A special form of the set commandAT+CGDSCONT=ltcidgt causes the values for context number ltcidgt to become undefined

AT+CGDSCONT Define Secondary PDP ContextTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 171451

AT+CGDSCONT= +CGDSCONT (range of supported ltcidgts)(list of ltp_cidgts foractive primary contexts) ltPDP_typegt(list of supportedltd_compgts)(list of supported lth_compgts)

OKorERROR

Read CommandAT+CGDSCONT

Response+CGDSCONT [ltcidgtltp_cidgtltd_compgtlth_compgt[ltCRgtltLFgt+CGDSCONT ltcidgtltp_cidgtltd_compgtlth_compgt[]]]

OKorERROR

Write CommandAT+CGDSCONT=ltcidgt[ltp_cidgt[ltd_compgt[lth_compgt]]]

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP context definition Theparameter is local to the TE-MT interface and is used in other PDPcontext-related commands The range of permitted values (minimum value =1) is returned by the test form of the command

ltp_cidgt a numeric parameter which specifies a particular PDP context definitionwhich has been specified by use of the +CGDCONT command Theparameter is local to the TE-MT interface The list of permitted values isreturned by the test form of the command

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies the type ofpacket data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltd_compgt a numeric parameter that controls PDP data compression (applicable forSNDCPonly) (refer 3GPP TS 44065 [61])0 off1 on (manufacturer preferred compression)2 V42bis data compression3 V44bis data compressionOther values are reserved

lth_compgt a numeric parameter that controls PDP header compression (refer 3GPP TS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 172451

44065 [61] and 3GPP TS 25323 [62])0 off1 on (manufacturer preferred compression)2 RFC1144 (applicable for SNDCP only)3 RFC25074 RFC3095 (applicable for PDCP only)Other values are reserved

The ltcidgts for network-initiated PDP contexts will have values outside the ranges indicated for theltcidgt in the test form of the commands +CGDCONT and +CGDSCONT

Example

AT+CGDSCONT=+CGDSCONT (1-42)(123)IP(0-3)(0-4)+CGDSCONT (1-42)(123)PPP(0-3)(0-4)+CGDSCONT (1-42)(123)IPV6(0-3)(0-4)+CGDSCONT (1-42)(123)IPV4V6(0-3)(0-4)

OKAT+CGDSCONT+CGDSCONT 2100

OKAT+CGDSCONT=21OK

826 AT+CGTFT Traffic Flow Template

This command allows the TE to specify a Packet Filter - PF for a Traffic Flow Template - TFT that is used inthe GGSN in UMTSGPRS and Packet GW in EPS for routing of packets onto different QoS flows towardsthe TE The concept is further described in the 3GPP TS 23060 [47] A TFT consists of from one and up to16 Packet Filters each identified by a unique ltpacket filter identifiergt A Packet Filter also has anltevaluation precedence indexgt that is unique within all TFTs associated with all PDP contexts that areassociated with the same PDP address

AT+CGTFT Traffic Flow TemplateTest CommandAT+CGTFT=

Response+CGTFT ltPDP_typegt(list of supported ltpacket filter

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 173451

identifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[ltCRgtltLFgt+CGTFT ltPDP_typegt(list of supported ltpacket filteridentifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[]]

OKorERROR

Read CommandAT+CGTFT

Response+CGTFT [ltcidgtltpacket filter identifiergtltevaluation precedenceindexgtltsource address and subnet maskgtltprotocol number(ipv4) next header (ipv6)gtltdestination port rangegtltsource portrangegtltipsec security parameter index (spi)gtlttype of service(tos) (ipv4) and mask traffic class (ipv6) and maskgtltflow label(ipv6)gt[ltCRgtltLFgt+CGTFT ltcidgtltpacket filter identifiergtltevaluationprecedence indexgtltsource address and subnetmaskgtltprotocol number (ipv4) next header (ipv6)gtltdestinationport rangegtltsource port rangegtltipsec security parameter index(spi)gtlttype of service (tos) (ipv4) and mask traffic class (ipv6)and maskgtltflow label (ipv6)gt[]]]

OKorERROR

Write CommandAT+CGTFT=ltcidgt[[ltpacketfilter identifiergtltevaluationprecedenceindexgt[ltsource address

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 174451

and subnetmaskgt[ltprotocol number(ipv4) next header(ipv6)gt[ltdestination portrangegt[ltsource portrangegt[ltipsec securityparameter index(spi)gt[lttype of service (tos)(ipv4) and mask trafficclass (ipv6) andmaskgt[ltflow label(ipv6)gt]]]]]]]]]

Execution CommandAT+CGTFT

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP contextdefinition (see theAT+CGDCONT and AT+CGDSCONT commands)

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltpacket filter identifiergt a numeric parameter value range from 1 to 16ltevaluation precedenceindexgt

a numeric parameter The value range is from 0 to 255

ltsource address andsubnet maskgt

string type The string is given as dot-separated numeric (0-255)parameters on the forma1a2a3a4m1m2m3m4 for IPv4 ora1a2a3a4a5a6a7a8a9a10a11a12a13a14a15a16m1m2m3m4m5m6m7m8m9m10m11m12m13m14m15m16 for IPv6

ltprotocol number (ipv4) next header (ipv6)gt

a numeric parameter value range from 0 to 255

ltdestination port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltsource port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltipsec security parameterindex (spi)gt

numeric value in hexadecimal format The value range is from00000000 to FFFFFFFF

lttype of service (tos) (ipv4) string type The string is given as dot-separated numeric (0-255)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 175451

and mask traffic class(ipv6) and maskgt

parameters on the form tm

ltflow label (ipv6)gt numeric value in hexadecimal format The value range is from 00000to FFFFF Valid for IPv6 only

Example

AT+CGTFT=+CGTFTIP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTPPP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV4V6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)

OKAT+CGTFT+CGTFT 210741257199255255255255000000000

OKAT+CGTFT=210741257199255255255255OK

827 AT+CGQREQ Quality of service profile (requested)

This command allows the TE to specify a Quality of Service Profile that is used when the MT sends anActivate PDP Context Request message to the network A special form of the set command(AT+CGQREQ=ltcidgt) causes the requested profile for context number ltcidgt to become undefined

AT+CGQREQ Quality of service profile (requested)Test CommandAT+CGQREQ=

Response+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 176451

supported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQREQ

Response+CGQREQ[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQREQltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]OKorERROR

Write CommandAT+CGQREQ=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt[ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQREQ

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 3

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 177451

4 delay class 4ltreliabilitygt A numeric parameter which specifies the reliability class

0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMMSMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 178451

Example

AT+CGQREQ=+CGQREQ IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQ PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQREQ+CGQREQ

OK

828 AT+CGEQREQ 3G quality of service profile (requested)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

The write command allows the TE to specify a Quality of Service Profile for the context identified by thecontext identification parameter ltcidgt which is used when the MT sends an Activate PDP Context Requestmessage to the network

A special form of the write command AT+CGEQREQ=ltcidgt causes the requested profile for contextnumber ltcidgt to become undefined

AT+CGEQREQ 3G quality of service profile (requested)Test CommandAT+CGEQREQ=

Response+CGEQREQ ltPDP_typegt(list of supported ltTraffic classgts)(listof supported ltMaximum bitrate ULgts)(list of supported ltMaximum bitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(listof supported ltGuaranteed bitrate DLgts)(list of supported ltDelivery ordergts)(list of supported ltMaximum SDU sizegts)(list ofsupported ltSDU error ratiogts)(list of supported ltResidual biterrorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(listof

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 179451

Supported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts) (list of supported ltSource statisticsdescriptorgts)(list of supported ltSignaling indication flaggts)

OKorERROR

Read CommandAT+CGEQREQ

Response+CGEQREQ [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygt][ltCRgtltLFgt+CGEQREQ ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygtltSource statistics descriptorgtltSignaling indication flaggt [hellip]]

OKorERROR

Write CommandAT+CGEQREQ=ltcidgt[ltTraffic classgt[ltMaximumbitrate ULgt[ltMaximumbitrate DLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt[ltSource statisticsdescriptorgt[ltSignalingindication flaggt]]]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQREQ

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 180451

orERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAP As an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size in octetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only for

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 181451

conforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQREQ=5E3hellip)0E0 subscribed value1E27E31E31E41E51E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQREQ=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 and 100 to 4000 The default value is 0 If theparameter is set to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltSource statisticsdescriptor gt

This parameter indicates profile parameter that Source statisticsdescriptor for requested UMTS QoSThe range is from 0 to 1 The default value is 0 If the parameter is set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 182451

to 0 the subscribed value will be requestedltSignaling indication flaggt This parameter indicates Signaling flag

The range is from 0 to 1 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQREQ=+CGEQREQIP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)

OKAT+CGEQREQ+CGEQREQ

OK

829 AT+CGQMIN Quality of service profile (minimum acceptable)

This command allows the TE to specify a minimum acceptable profile which is checked by the MT againstthe negotiated profile returned in the Activate PDP Context Accept messageA special form of the setcommandAT+CGQMIN=ltcidgt causes the minimum acceptable profile for context number ltcidgt tobecome undefined

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 183451

AT+CGQMIN Quality of service profile (minimum acceptable)Test CommandAT+CGQMIN=

Response+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQMIN

Response+CGQMIN[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQMINltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]

OKorERROR

Write CommandAT+CGQMIN=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt [ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQMIN

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 184451

2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 34 delay class 4

ltreliabilitygt A numeric parameter which specifies the reliability class0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMM-SMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 185451

12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

Example

AT+CGQMIN=+CGQMIN IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN IPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMINIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQMIN+CGQMIN

OK

8210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

AT+CGEQMIN 3G quality of service profile (minimum acceptable)Test CommandAT+CGEQMIN=

Response+CGEQMIN ltPDP_typegt(list of supported ltTraffic classgts)(list ofsupported ltMaximum bitrate ULgts)(list of supported ltMaxim umbitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(list ofsupported ltGuaranteed bitrate DLgts)(list of supported ltDeliv eryordergts)(list of supported ltMaximum SDU sizegts)(list of supportedltSDU error ratiogts)(list of supported ltResidual bit errorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(list ofsupported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 186451

OKorERROR

Read CommandAT+CGEQMIN

Response+CGEQMIN [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransfer DelaygtltTraffic handlingprioritygt][ltCRgtltLFgt+CGEQMIN ltcidgtltTraffic classgtltMaximumbitrate ULgtltMa ximum bitrate DLgtltGuaranteed bitrateULgtltGuaranteed bitrate DLgtltDelivery ordergtltMaximum SDUsizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery oferroneous SDUsgtltTransfer DelaygtltTraffic handlingprioritygt[hellip]]

OKorERROR

Write CommandAT+CGEQMIN=ltcidgt[ltTraffic classgt[ltMaximum bitrateULgt[ltMaximum bitrateDLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQMIN

ResponseOKorERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 187451

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size inoctetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only forconforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQMIN=5E3hellip)0E0 subscribed value1E27E31E31E41E5

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 188451

1E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQMIN=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 to 4000 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQMIN=+CGEQMIN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 189451

IP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)

OKAT+CGEQMIN+CGEQMIN

OK

8211 AT+CGDATA Enter data state

The command causes the MT to perform whatever actions are necessary to establish communicationbetween the TE and the network using one or more Packet Domain PDP types This may includeperforming a PS attach and one or more PDP context activations

AT+CGDATA Enter data stateTest CommandAT+CGDATA=

Response+CGDATA (list of supported ltL2Pgts)

OKorERROR

Write CommandAT+CGDATA=[ltL2Pgt[ltcidgt]]

ResponseNO CARRIERorOKorERRORor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 190451

+CME ERROR lterrgt

Defined Values

ltL2Pgt A string parameter that indicates the layer 2 protocol to be usedbetween the TE and MTPPP Point-to-point protocol for a PDP such as IP

lttextgt CONNECT result code string the string formats please referATXATVATampE command

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGDATA=+CGDATA (PPP)

OKAT+CGDATA=PPP1CONNECT 115200

8212 AT+CGPADDR Show PDP address

The write command returns a list of PDP addresses for the specified context identifiers

AT+CGPADDR Show PDP addressTest CommandAT+CGPADDR=

Response[+CGPADDR (list of defined ltcidgts)]

OKorERROR

Write CommandAT+CGPADDR=ltcidgt[ltcidgt[hellip]]

Response+CGPADDR ltcidgtltPDP_addrgt

OKorOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 191451

or+CME ERROR lterrgt

Execution CommandAT+CGPADDR

Response[+CGPADDR ltcidgtltPDP_addrgt]+CGPADDR ltcidgtltPDP_addrgt[]]]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) If no ltcidgt is specified theaddresses for all defined contexts are returned1hellip42

ltPDP_addrgt A string that identifies the MT in the address space applicable to thePDP The address may be static or dynamic For a static address itwill be the one set by the AT+CGDCONT command when the contextwas defined For a dynamic address it will be the one assigned duringthe last PDP context activation that used the context definition referredto by ltcidgt ltPDP_addrgt is omitted if none is available

Example

AT+CGPADDR=+CGPADDR (1)

OKAT+CGPADDR=1+CGPADDR 11023748122

OK

8213 AT+CGCLASS GPRS mobile station class

This command is used to set the MT to operate according to the specified GPRS mobile class

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 192451

AT+CGCLASS GPRS mobile station classTest CommandAT+CGCLASS=

Response+CGCLASS (list of supported ltclassgts)

OKorERROR

Read CommandAT+CGCLASS

Response+CGCLASS ltclassgt

OKorERROR

Write CommandAT+CGCLASS=ltclassgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandSet default valueAT+CGCLASS

ResponseOKorERROR

Defined Values

ltclassgt A string parameter which indicates the GPRS mobile class (indescending order of functionality)A class A (highest)

Example

AT+CGCLASS=+CGCLASS (A)

OKAT+CGCLASS+CGCLASS A

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 193451

8214 AT+CGEREP GPRS event reporting

The write command enables or disables sending of unsolicited result codes +CGEV from MT to TE in thecase of certain events occurring in the Packet Domain MT or the network ltmodegt controls the processingof unsolicited result codes specified within this command ltbfrgt controls the effect on buffered codeswhen ltmodegt 1 or 2 is entered If a setting is not supported by the MT ERRORor +CME ERROR isreturned

Read command returns the current ltmodegt and buffer settings

Test command returns the modes and buffer settings supported by the MT as compound values

AT+CGEREP GPRS event reportingTest CommandAT+CGEREP=

Response+CGEREP (list of supported ltmodegts)(list of supported ltbfrgts)

OKorERROR

Read CommandAT+CGEREP

Response+CGEREP ltmodegtltbfrgt

OKorERROR

Write CommandAT+CGEREP=ltmodegt[ltbfrgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEREP

ResponseOKorERROR

Defined Values

ltmodegt 0 ndash buffer unsolicited result codes in the MT if MT result code buffer isfull the oldest ones can be discarded No codes are forwarded tothe TE

1 ndash discard unsolicited result codes when MT-TE link is reserved (egin on- line data mode) otherwise forward them directly to the TE

2 ndash buffer unsolicited result codes in the MT when MT-TE link is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 194451

reserved (eg in on- line data mode) and flush them to the TEwhen MT-TE link becomes available otherwise forward themdirectly to the TE

ltbfrgt 0 ndash MT buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 or 2 is entered1 ndash MT buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 or 2 is entered (OK responseshall be given before flushing the codes)

Example

AT+CGEREP=+CGEREP (0-2)

OKAT+CGEREP+CGEREP 00

OK

8215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

This command is used to set type of authentication for PDP-IP connections of GPRS

AT+CGAUTH Set type of authentication for PDP-IP connections of GPRSTest CommandAT+CGAUTH=

Response+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (range of supportedltcidgts)(list of supported ltauth_typegts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CGAUTH

Response+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt

hellip

OKor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 195451

ERRORor+CME ERROR lterrgt

Write CommandAT+CGAUTH=ltcidgt[ltauth_typegt[ltpasswdgt[ltusergt]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGAUTH

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt Parameter specifies a particular PDP context definition This is alsoused in other PDP context-related commands1hellip42

ltauth_typegt Indicate the type of authentication to be used for the specified contextIf CHAP is selected another parameter ltpasswdgt needs to bespecified If PAP is selected two additional parameters ltpasswdgt andltusergt need to specified0 none1 PAP2 CHAP3 PAP or CHAP

ltpasswdgt Parameter specifies the password used for authenticationltusergt Parameter specifies the user name used for authentication

Example

AT+CGAUTH=+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (1-42)(0-3)127127

OKAT+CGAUTH=11123SIMCOMOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 196451

83 Summary of Unsolicited Result Codes

Unsolicited codes Description+CGEV PDN ACTltcidgt When the PDP in ltcidgt channel is

activated this unsolicited result codewill be reported

+CGEV REJECT ltPDP_typegtltPDP_addrgt A network request for PDP contextactivation occurred when the MT wasunable to report it to the TE with a+CRING unsolicited result code and wasautomatically rejected

+CGEV NW REACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has requested a contextreactivation The ltcidgt that was used toreactivate the context is provided ifknown to the MT

+CGEV NW DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has forced a contextdeactivation The ltcidgt that was used toactivate the context is provided if knownto the MT

+CGEV ME DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The mobile equipment has forced acontext deactivation The ltcidgt that wasused to activate the context is provided ifknown to the MT

+CGEV NW DETACH The network has forced a PacketDomain detach This implies that allactive contexts have been deactivatedThese are not reported separately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV NW CLASS ltclassgt The network has forced a change of MSclass The highest available class isreported (see AT+CGCLASS)

+CGEV ME CLASS ltclassgt The mobile equipment has forced achange of MS class The highestavailable class is reported (see

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 197451

AT+CGCLASS)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 198451

9 AT Commands for SMS

91 Overview of AT Commands for SMS

Command DescriptionAT+CSMS Select message serviceAT+CPMS Preferred message storageAT+CMGF Select SMS message formatAT+CSCA SMS service center addressAT+CSCB Select cell broadcast message indicationAT+CSMP Set text mode parametersAT+CSDH Show text mode parametersAT+CNMA New message acknowledgement to METAAT+CNMI New message indications to TEAT+CGSMS Select service for MO SMS messagesAT+CMGL List SMS messages from preferred storeAT+CMGR Read messageAT+CMGS Send messageAT+CMSS Send message from storageAT+CMGW Write message to memoryAT+CMGD Delete messageAT+CMGMT Change message statusAT+CMVP Set message valid periodAT+CMGRD Read and delete messageAT+CMGSEX Send messageAT+CMSSEX Send multi messages from storage

92 Detailed Description of AT Commands for SMS

921 AT+CSMS Select message service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 199451

This command is used to select messaging service ltservicegtNote This command not support in CDMAEVDO mode

AT+CSMS Select message service

Test CommandAT+CSMS=

Responsea)+CSMS (range of supported ltservicegts)

OKb)If failedERROR

Read CommandAT+CSMS

Response+CSMS ltservicegtltmtgtltmogtltbmgt

OK

Write CommandAT+CSMS=ltservicegt

Responsea)+CSMS ltmtgtltmogtltbmgt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt 0 SMS at command is compatible with GSM phase 21 SMS at command is compatible with GSM phase 2+

ltmtgt Mobile terminated messages0 type not supported1 type supported

ltmogt Mobile originated messages0 type not supported1 type supported1 SMS at command is compatible with GSMphase 2+

ltbmgt Broadcast type messages0 type not supported1 type supported

Example

AT+CSMS=0+CSMS 111

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 200451

922 AT+CPMS Preferred message storage

This command is used to select memory storages ltmem1gtltmem2gt and ltmem3gt to be used for readingwriting etc

AT+CPMS Preferred message storage

Test CommandAT+CPMS=

Responsea)+CPMS (list of supportedltmem1gts)(list ofsupportedltmem2gts)(list of supportedltmem3gts)

OKb)If failedERROR

Read CommandAT+CPMS

Response+CPMSltmem1gtltused1gtlttotal1gtltmem2gtltused2gtlttotal2gtltmem3gtltused3gtlttotal3gt

OK

Write CommandAT+CPMS=ltmem1gt[ltmem2gt[ltmem3gt]]

Responsea)+CPMS ltused1gtlttotal1gtltused2gtlttotal2gtltused3gtlttotal3gt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltmem1gt String type memory from which messages are read and deleted(commands List Messages AT+CMGL Read Message AT+CMGRand Delete Message AT+CMGD)ME and MT FLASH message storageSM SIM message storageSR Status report storage (not used in CDMAEVDOmode)

ltmem2gt String type memory to which writing and sending operations aremade (commands Send Message from Storage AT+CMSS and WriteMessage to Memory AT+CMGW)ME and MT FLASH message storageSM SIM message storage

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 201451

ltmem3gt String type memory to which received SMS is preferred to be stored(unless forwarded directly to TE refer command New MessageIndications AT+CNMI)ME FLASH message storageSM SIM message storage GSM phase 2+

ltusedXgt Integer type number of messages currently in ltmemXgtlttotalXgt Integer type total number of message locations in ltmemXgt

Example

AT+CPMS=+CPMS (MEMTSMSR)(MEMTSM)(SMME)

OKAT+CPMS+CPMS ME 023ME 023ME 023

OKAT+CPMS=SMSMSM+CPMS 350350350

OK

923 AT+CMGF Select SMS message format

This command is used to specify the input and output format of the short messages

AT+CMGF Select SMS message format

Test CommandAT+CMGF=

Responsea)+CMGF (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CMGF

Responsea)+CMGF ltmodegt

OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 202451

Write CommandAT+CMGF=ltmodegt

Responsea)OKb)If failedERROR

Execution CommandAT+CMGF

Responsea)Set default value (ltmodegt=0)OKb)If failedERROR

Defined Values

ltmodegt 0 PDU mode1 Text mode

Example

AT+CMGF=1OK

924 AT+CSCA SMS service center address

This command is used to update the SMSC address through which mobile originated SMS are transmittedNote This command not support in CDMAEVDO mode

AT+CSCA SMS service center addressTest CommandAT+CSCA=

ResponseOK

Read CommandAT+CSCA

Response+CSCA ltscagtlttoscagt

OKWrite CommandAT+CSCA=ltscagt[lttoscagt]

ResponseOK

Defined Values

ltscagt Service Center Address value field in string format BCD numbers (orGSM 7 bit default alphabet characters) are converted to characters ofthe currently selected TE character set (refer to command AT+CSCS)type of address given by lttoscagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 203451

lttoscagt SC address Type-of-Address octet in integer format when firstcharacter of ltscagt is + (IRA 43) default is 145 otherwise default is129

Example

AT+CSCA=+8613012345678OKAT+CSCA+CSCA +8613012345678145

OK

925 AT+CSCB Select cell broadcast message indication

The test command returns the supported ltmodegts as a compound valueThe read command displays the accepted message typesDepending on the ltmodegt parameter the write command adds or deletes the message types acceptedNote This command not support in CDMAEVDO mode

AT+CSCB Select cell broadcast message indication

Test CommandAT+CSCB=

Responsea)+CSCB (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CSCB

Responsea)+CSCB ltmodegtltmidsgtltdcssgt

OKb)If failedERROR

Write CommandAT+CSCB=ltmodegt[ltmidsgt[ltdcssgt]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 204451

Defined Values

ltmodegt 0 message types specified in ltmidsgt and ltdcssgt are accepted1 message types specified in ltmidsgt and ltdcssgt are not accepted

ltmidsgt String type all different possible combinations of CBM messageidentifiers

ltdcssgt String type all different possible combinations of CBM data codingschemes(default is empty string)

Example

AT+CSCB=+CSCB (0-1)

OK

926 AT+CSMP Set text mode parameters

This command is used to select values for additional parameters needed when SM is sent to the network orplaced in storage when text format message mode is selectedNote This command not support in CDMAEVDO mode

AT+CSMP Set text mode parametersTest CommandAT+CSMP=

ResponseOK

Read CommandAT+CSMP

Response+CSMP ltfogtltvpgtltpidgtltdcsgt

OK

Write CommandAT+CSMP=[ltfogt[ltvpgt[ltpidgt[ltdcsgt]]]]

Responsea)OKb)If failedERROR

Defined Values

ltfogt Depending on the Command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17) SMS-STATUS-REPORTor SMS-COMMAND (default 2) in integer format SMS status report issupported under text mode if ltfogt is set to 49

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 205451

ltvpgt Depending on SMS-SUBMIT ltfogt setting GSM0340TP-Validity-Period either in integer format (default 167) intime-string format or if is supported in enhanced format(hexadecimal coded string with quotes)(ltvpgt is in range 0 255)

ltpidgt GSM 0340 TP-Protocol-Identifier in integer format (default 0)ltdcsgt GSM 0338 SMS Data Coding Scheme (default 0) or Cell Broadcast

Data Coding Scheme in integer format depending on the command orresult code

Example

AT+CSMP=172364244OK

927 AT+CSDH Show text mode parameters

This command is used to control whether detailed header information is shown in text mode result codesNote This command not support in CDMAEVDO mode

AT+CSDH Show text mode parameters

Test CommandAT+CSDH=

Responsea)+CSDH (range of supported ltshowgts)

OKb)If failedERROR

Read CommandAT+CSDH

Response+CSDH ltshowgt

OK

Write CommandAT+CSDH=ltshowgt

Responsea)OKb)If failedERROR

Execution CommandAT+CSDH

Responsea)Set default value (ltshowgt=0)OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 206451

Defined Values

ltshowgt 0 do not show header values defined in commands AT+CSCA andAT+CSMP (ltscagtlttoscagtltfogtltvpgtltpidgt and ltdcsgt) norltlengthgtlttodagtorlttooagt in +CMT AT+CMGL AT+CMGR resultcodes for SMS-DELIVERs and SMS-SUBMITs in text mode forSMS-COMMANDs in AT+CMGR result code do not showltpidgtltmngtltdagtlttodagtltlengthgtorltdatagt1 show the values in result codes

Example

AT+CSDH=1OK

928 AT+CNMA New message acknowledgement to META

This command is used to confirm successful receipt of a new message (SMS-DELIVER orSMS-STATUSREPORT) routed directly to the TE If ME does not receive acknowledgement within requiredtime (network timeout) it will send RP-ERROR to the networkNOTE The execute write command shall only be used when AT+CSMS parameter ltservicegt equals 1 (=phase 2+) and appropriate URC has been issued by the module ielt+CMTgt for ltmtgt=2 incoming message classes 0 1 3 and nonelt+CMTgt for ltmtgt=3 incoming message classes 0 and 3lt+CDSgt for ltdsgt=1Note This command not support in CDMAEVDO mode

AT+CNMA New message acknowledgement to META

Test CommandAT+CNMA=

Responseif text mode(AT+CMGF=1)OKif PDU mode (AT+CMGF=0)+CNMA (list of supported ltngts)

OK

Write CommandAT+CNMA=ltngt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR ltERRgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 207451

Execution CommandAT+CNMA

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltngt Parameter required only for PDU mode0 Command operates similarly as execution command in textmode1 Send positive (RP-ACK) acknowledgement to the networkAccepted only in PDU mode2 Send negative (RP-ERROR) acknowledgement to the networkAccepted only in PDU mode

Example

AT+CNMI=12000OK+CMT 1380022xxxx020403110638+32ltCRgtltLFgtTesting(receive new short message)AT+CNMA(send ACK to the network)OKAT+CNMA+CMS ERROR 340(the second time return error it needs ACK only once)

929 AT+CNMI New message indications to TE

This command is used to select the procedure how receiving of new messages from the network isindicated to the TE when TE is active eg DTR signal is ON If TE is inactive (eg DTR signal is OFF) If set

ltmtgt=3 orltdsgt=1 make sure ltmodegt=1 If set ltmtgt=2 make sure ltmodegt=1 or 2 otherwise it will

return error

AT+CNMI New message indications to TE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 208451

Test CommandAT+CNMI=

Response+CNMI (list of supported ltmodegts)(list of supported ltmtgts)(list ofsupported ltbmgts)(list of supported ltdsgts)(list of supported ltbfrgts)

OK

Read CommandAT+CNMI

Response+CNMI ltmodegtltmtgtltbmgtltdsgtltbfrgt

OK

Write CommandAT+CNMI=ltmodegt[ltmtgt[ltbmgt[ltdsgt [ltbfrgt]]]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Execution CommandAT+CNMI

ResponseSet default valueOK

Defined Values

ltmodegt 0 Buffer unsolicited result codes in the TA If TA result code bufferis full indications can be buffered in some other place or the oldestindications may be discarded and replaced with the new receivedindications1 Discard indication and reject new received message unsolicitedresult codes when TA-TE link is reserved (eg in on-line data mode)Otherwise forward them directly to the TE2 Buffer unsolicited result codes in the TA when TA-TE link isreserved (eg in on-line data mode) and flush them to the TE afterreservation Otherwise forward them directly to the TE

ltmtgt The rules for storing received SMS depend on its data codingscheme preferred memory storage (AT+CPMS) setting and thisvalue0 No SMS-DELIVER indications are routed to the TE1 If SMS-DELIVER is stored into META indication of the memorylocation is routed to the TE using unsolicited result code +CMTIltmem3gtltindexgt2 SMS-DELIVERs (except class 2 messages and messages inthe message waiting indication group (store message)) are routeddirectly to the TE using unsolicited result code+CMT [ltalphagt]ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled)or

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 209451

+CMTltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt(text mode enabled about parameters in italics refer command ShowText Mode Parameters AT+CSDH)3 Class 3 SMS-DELIVERs are routed directly to TE usingunsolicited result codes defined in ltmtgt=2 Messages of other datacoding schemes result in indication as defined in ltmtgt=1

ltbmgt (not used in CDMAEVDO mode)The rules for storing received CBMs depend on its data codingscheme the setting of Select CBM Types (AT+CSCB) and this value0 No CBM indications are routed to the TE2 New CBMs are routed directly to the TE using unsolicited resultcode+CBM ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CBM ltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt(text mode enabled)

ltdsgt (not used in CDMAEVDO mode)0 No SMS-STATUS-REPORTs are routed to the TE1 SMS-STATUS-REPORTs are routed to the TE using unsolicitedresult code+CDS ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CDS ltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt(text mode enabled)2 If SMS-STATUS-REPORT is stored into META indication of thememory location is routed to the TE using unsolicited result code+CDSI ltmem3gtltindexgt

ltbfrgt 0 TA buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 to 2 is entered (OK responseshall be given before flushing the codes)1 TA buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 to 2 is entered

Example

AT+CNMI=21 (unsolicited result codes after received messages)OK

9210 AT+CGSMS Select service for MO SMS messages

The write command is used to specify the service or service preference that the MT will use to send MOSMS messages

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 210451

The test command is used for requesting information on which services and service preferences can be setby using the AT+CGSMS write commandThe read command returns the currently selected service or service preferenceNote This command not support in CDMAEVDO mode

AT+CGSMS Select service for MO SMS messages

Test CommandAT+CGSMS=

Response+CGSMS (range of supported ltservicegts)

OK

Read CommandAT+CGSMS

Response+CGSMS ltservicegt

OK

Write CommandAT+CGSMS=ltservicegt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt A numeric parameter which indicates the service or servicepreference to be used0 GPRS(value is not really supported and is internally mapped to 2)1 circuit switched(value is not really supported and is internallymapped to 3)2 GPRS preferred (use circuit switched if GPRS not available)3 circuit switched preferred (use GPRS if circuit switched notavailable)

Example

AT+CGSMS+CGSMS 3

OK

9211 AT+CMGL List SMS messages from preferred store

This command is used to return messages with status value ltstatgt from message storage ltmem1gt to the

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 211451

TEIf the status of the message is received unread the status in the storage changes to received read

AT+CMGL List SMS messages from preferred store

Test CommandAT+CMGL=

Response+CMGL (list of supported ltstatgts)

OK

Write CommandAT+CMGL=ltstatgt

Responsea)If text mode (AT+CMGF=1) command successful andSMS-SUBMITs andor SMS-DELIVERs+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[]]

OKb)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORTs+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[ltCRgtltLFgt+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[]]

OKc)If text mode (AT+CMGF=1) command successful and SMS-COMMANDs+CMGL ltindexgtltstatgtltfogtltctgt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltfogtltctgt[]]

OKd)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[]]

OKe)If PDU mode (AT+CMGF=0) and Command successful+CMGL

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 212451

ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt[ltCRgtltLFgt+CMGL ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

[hellip]]

OKf)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)lttooagt TP-Originating-Address Type-of-Address octet in integer format

(default refer lttodagt)lttodagt TP-Destination-Address Type-of-Address octet in integer format

(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 213451

(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt Status

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 214451

GSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGL=ALL+CMGL 9REC READ+861310jeck200520093100+32145000+86131452hi+CMGL 10REC READ+861310leo200520093225+32145000+86131454Fine

OK

9212 AT+CMGR Read message

This command is used to return message with location value ltindexgt from message storage ltmem1gt tothe TE

AT+CMGR Read messageTest CommandAT+CMGR=

ResponseOK

Write CommandAT+CMGR=ltindexgt

a)If text mode (AT+CMGF=1) command successful and SMS-DELIVER+CMGRltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 215451

OKb)If text mode (AT+CMGF=1) command successful and SMS-SUBMIT+CMGRltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORT+CMGR ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode (AT+CMGF=1) command successful and SMS-COMMAND+CMGRltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgt]ltCRgtltLFgtltdatagt

OKe)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGRltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode (AT+CMGF=0) and Command successful+CMGR ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 216451

3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltpidgt Protocol IdentifierGSM 0340 TP-Protocol-Identifier in integer format0hellip255

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltdcsgt Depending on the command or result code SMS Data CodingScheme (default 0) or Cell Broadcast Data Coding Scheme ininteger format

ltscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

lttoscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)ltdagt Destination-Address Address-Value field in string format BCD

numbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 217451

b If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltvpgt Depending on SMS-SUBMIT ltfogt setting TP-Validity-Period eitherin integer format (default 167) or in time-string format (refer ltdtgt)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt StatusGSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 218451

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmngt Message NumberGSM 0340 TP-Message-Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGR=1+CMGR STO UNSENT+100111451700167+861380010050014511Hello World

OK

9213 AT+CMGS Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)

AT+CMGS Send messageTest CommandAT+CMGS=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGS=ltdagt[lttodagt]ltCRgtText is enteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGS=ltlengthgtltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGS ltmrgt[lttime_stampgt]

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 219451

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMGS=13012832788ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGS 46

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9214 AT+CMSS Send message from storage

This command is used to send message with location value ltindexgt from preferred message storageltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)

AT+CMSS Send message from storageTest CommandAT+CMSS=

ResponseOK

Write CommandAT+CMSS=ltindexgt [ltdagt[lttodagt]]

Responsea)+CMSS ltmrgt[lttime_stampgt]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 220451

b)If failedERRORc)If sending fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

Example

AT+CMSS=3+CMSS 0

OKAT+CMSS=313012345678+CMSS 55

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9215 AT+CMGW Write message to memory

This command is used to store message (either SMS-DELIVER or SMS-SUBMIT) to memory storageltmem2gt

AT+CMGW Write message to memoryTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 221451

AT+CMGW= OK

Write CommandIf text mode (AT+CMGF=1)AT+CMGW=ltoagtltdagt[lttooagtlttodagt[ltstatgt]]ltCRgtText isenteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGW=ltlengthgt[ltstatgt]ltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If write successfully+CMGW ltindexgt

OKb)If cancel writeOKc)If write failsERRORd)If write fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltstatgt 1 Text ModeSTO UNSENT stored unsent messageSTO SENT stored sent message2 PDU Mode2 stored unsent message3 stored sent message

Example

AT+CMGW=13012832788 ltCRgt (TEXT MODE)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 222451

ABCDltctrl-ZESCgt+CMGW 1

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9216 AT+CMGD Delete message

This command is used to delete message from preferred message storage ltmem1gt location ltindexgt Ifltdelflaggt is present and not set to 0 then the ME shall ignore ltindexgt and follow the rules for ltdelflaggtshown below

AT+CMGD Delete message

Test CommandAT+CMGD=

Response+CMGD (list of supported ltindexgts)[(list of supportedltdelflaggts)]

OK

Write CommandAT+CMGD=ltindexgt[ltdelflaggt]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdelflaggt 0 (or omitted) Delete the message specified in ltindexgt1 Delete all read messages from preferred message storageleaving unread messages and stored mobile originated messages(whether sent or not) untouched2 Delete all read messages from preferred message storage andsent mobile originated messages leaving unread messages andunsent mobile originated messages untouched

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 223451

3 Delete all read messages from preferred message storage sentand unsent mobile originated messages leaving unread messagesuntouched4 Delete all messages from preferred message storage includingunread messages

Example

AT+CMGD=1OK

If set ltdelflaggt=1 2 3 or 4 ltindexgt is omitted such as AT+CMGD=1

9217 AT+CMGMT Change message status

This command is used to change the message status If the status is unread it will be changed read Other

statuses donrsquot change

Note This command not support in CDMAEVDO mode

AT+CMGMT Change message statusTest CommandAT+CMGMT=

ResponseOK

Write CommandAT+CMGMT=ltindexgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

Example

AT+CMGMT=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 224451

9218 AT+CMVP Set message valid period

This command is used to set valid period for sending short messageNote This command not support in CDMAEVDO mode

AT+CMVP Set message valid period

Test CommandAT+CMVP=

Response+CMVP (range of supported ltvpgts)

OK

Read CommandAT+CMVP

Response+CMVP ltvpgt

OK

Write CommandAT+CMVP=ltvpgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltvpgt Validity period value0 to 143 (ltvpgt+1) x 5 minutes (up to 12 hours)144 to 167 12 hours + (ltvpgt-143) x 30 minutes168 to 196 (ltvpgt-166) x 1 day197 to 255 (ltvpgt-192) x 1 week

Example

AT+CMVP=167OK

9219 AT+CMGRD Read and delete message

This command is used to read message and delete the message at the same time It integrate AT+CMGR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 225451

and AT+CMGD but it doesnrsquot change the message status

Note This command not support in CDMAEVDO mode

AT+CMGRD Read and delete messageTest CommandAT+CMGRD=

ResponseOK

Write CommandAT+CMGRD=ltindexgt

Responsea)If text mode(AT+CMGF=1)command successful andSMS-DE-LIVER+CMGRDltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKb)If text mode(AT+CMGF=1)command successful and SMS-SU-BMIT+CMGRDltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode(AT+CMGF=1)command successful and SMS-STA-TUS- REPORT+CMGRD ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode(AT+CMGF=1)command successful andSMS-CO-MMAND+CMGRDltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgtltCRgtltLFgtltdatagt]

OKe)If text mode(AT+CMGF=1)command successful and CBM sto-rage+CMGRDltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode(AT+CMGF=0) and command successful+CMGRD ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 226451

ERRORh)If failed+CMS ERROR lterrgt

Defined Values

Refer to command AT+CMGR

Example

AT+CMGRD=6+CMGRD REC READ+8613917787249060710120938+32145400+86138002105001455HELLO

OK

9220 AT+CMGSEX Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)Note This command not support in CDMAEVDO mode

AT+CMGSEX Send messageTest CommandAT+CMGSEX=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGSEX=ltdagt[lttodagt][ltmrgtltmsg_seggtltmsg_totalgt]ltCRgtText is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGSEX ltmrgt

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 227451

address given by lttodagtlttodagt TP-Destination-Address Type-of-Address octet in integer format

(When first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format Themaximum length is 255

ltmsg_seggt The segment number for long smsltmsg_totalgt The total number of the segments for long sms Its range is from 2 to

255

Example

AT+CMGSEX=13012832788 190 1 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 190

OKAT+CMGSEX=13012832788 190 2 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 191

OK

In text mode the maximum length of an SMS depends on the used coding scheme For single SMS itis 160 characters if the 7 bit GSM coding scheme is used For multiple long sms it is 153 characters ifthe 7 bit GSM coding scheme is used

9221 AT+CMSSEX Send multi messages from storage

This command is used to send messages with location value ltindex1gtltindex2gtltindex3gt hellip from

preferred message storage ltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)The max count ofindex is 13 one time Set AT+CNMI parameter ltdsgt equal to 0Note This command not support in CDMAEVDO mode

AT+CMSSEX Send multi messages from storageTest CommandAT+CMSSEX=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 228451

Write CommandAT+CMSSEX=ltindexgt[ltindex

gt[hellip ]]

Responsea)

+CMSSEX ltmrgt[ltmrgt[hellip]]

OKb)If failedERRORc)If sending fails

[+CMSSEX ltmrgt[ltmrgt[hellip]]]

+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMSSEX=01+CMSSEX 239240

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 229451

10AT Commands for SSL

101 Overview of AT Commands for SSL

Command DescriptionAT+CCHSTART Start SSL serviceAT+CCHSTOP Stop SSL serviceAT+CCHOPEN Connect to SSL serverAT+CCHCLOSE Disconnect from SSL serverAT+CCHSEND Send data to SSL serverAT+CCHRECV Read the cached data that received from the SSL serverAT+CCHCFG Configure the client contextAT+CCHSSLCFG Set the SSL contextAT+CCHSET Configure the report mode of sending and receiving dataAT+CCHMODE Configure the mode of sending and receiving dataAT+CCHADDR Get the IPV4 addressAT+CSSLCFG Configure the SSL contextAT+CCERTDOWN Download certificate into the moduleAT+CCERTLIST List certificatesAT+CCERTDELE Delete certificates

102 Detailed Description of AT Commands for SSL

1021 AT+CCHSTART Start SSL service

AT+CCHSTART Start SSL service

Execution CommandAT+CCHSTART

Responsea)If start SSL service successfullyOK

+CCHSTART 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 230451

b)If start SSL service successfully+CCHSTART 0

OKc)If failedERRORd)If failedOK

+CCHSTART lterrgtParameter Saving Mode -Max Response Time 120000msReference

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTARTOK

+CCHSTART 0

You must execute AT+CCHSTART before any other SSL related operations

1022 AT+CCHSTOP Stop SSL service

AT+CCHSTOP Stop SSL service

Execution CommandAT+CCHSTOP

Responsea)If stop SSL service successfully+CCHSTOP 0

OKb)If stop SSL service successfullyOK

+CCHSTOP 0c)If failed

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 231451

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTOPOK

+CCHSTOP 0

1023 AT+CCHOPEN Connect to SSL server

AT+CCHOPEN Connect to SSL serverTest CommandAT+CCHOPEN=

Response+CCHOPEN (01)ADDRESS(1-65535)[(1-2)[(1-65535)]]

OKRead CommandAT+CCHOPEN

ResponseIf connect to a server it will show the connected information Otherwisethe connected information is empty+CCHOPEN 0lthostgtltportgtltclient_typegt[ltbind_portgt]+CCHOPEN 1lthostgtltportgtltclient_typegt[ltbind_portgt]

OKWrite CommandAT+CCHOPEN=ltsession_idgthostltportgt[ltclient_typegt[ltbind_portgt]]

Responsea)If connect successfully+CCHOPEN ltsession_idgt0

OKb)If connect successfullyOK

+CCHOPEN ltsession_idgt0c)If connect successfully in transparent modeCONNECT [lttextgt]d)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 232451

OK

+CCHOPEN ltsession_idgtlterrgte)If failedERRORf)If failed in transparent modeCONNECT FAIL

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lthostgt The server address maximum length is 256 bytesltportgt The server port which to be connected the range is from 1 to 65535ltclient_typegt The type of client

1 ndash TCP client2 ndash SSLTLS clientDefault value is 2

ltbind_portgt The local port for channel the range is from 1 to 65535 Deault isassigned by internal protocol stack

lttextgt CONNECT result code string the string formats please referATXATVATampE command

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CCHOPEN=0wwwbaiducom4432OK

+CCHOPEN 00

If you donrsquot set the SSL context by AT+CCHSSLCFG before connecting a SSLTLS server byAT+CCHOPEN it will use the ltsession_idgt(the 1rsquost parameter of AT+CCHOPEN) SSL context whenconnecting to the server

1024 AT+CCHCLOSE Disconnect from SSL server

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 233451

AT+CCHCLOSE Disconnect from SSL serverWrite CommandAT+CCHCLOSE=ltsession_idgt

Responsea)If successfully+CCHCLOSE ltsession_idgt0

OKb)If successfullyOK

+CCHCLOSE ltsession_idgt0c)If successfully in transparent modeOK

CLOSEDd)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CCHCLOSE=0OK

+CCHCLOSE 00

1025 AT+CCHSEND Send data to SSL server

AT+CCHSEND Send data to SSL serverTest CommandAT+CCHSEND=

Response+CCHSEND (01)(1-2048)

OKRead CommandAT+CCHSEND

Response+CCHSEND 0ltunsent_len_0gt1ltunsent_len_1gt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 234451

OKWrite CommandAT+CCHSEND=ltsession_idgtltlengt

Responsea)if parameter is rightgtltinput data heregtWhen the total size of the inputted data reaches ltlengt TA will reportthe following code Otherwise the serial port will be blockedOKb)If parameter is wrong or other errors occurERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1ltlengt The length of data to send Its range is from 1 to 2048 bytesltunsent_len_0gt The data of connection 0 cached in sending buffer which is waiting to

be sentltunsent_len_1gt The data of connection 1 cached in sending buffer which is waiting to

be sent

Example

AT+CCHSEND=0125gtGET HTTP11Host wwwgooglecomhkUser-Agent MAUI htp User AgentProxy-Connection keep-aliveContent-Length 0

OK

1026 AT+CCHRECV Read the cached data that received from the SSL server

AT+CCHRECV Read the cached data that received from the SSL serverRead CommandAT+CCHRECV

Response+CCHRECV LENltcache_len_0gtltcache_len_1gt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 235451

Write CommandAT+CCHRECV=ltsession_idgt[ltmax_recv_lengt]

Responsea)if parameter is right and there are cached dataOK

[+CCHRECV DATAltsession_idgtltlengthellip+CCHRECV DATAltsession_idgtltlengthellip]+CCHRECV ltsession_idgtlterrgtb) if session is busy+CCHRECV ltsession_idgtlterrgt

ERRORc) if parameter is not right or any other error occursERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltmax_recv_lengt Maximum bytes of data to receive in the current AT+CCHRECV

calling It will read all the received data when the value is greater thanthe length of RX data cached for session ltsession_idgt0 means the maximum bytes to receive is 2048 bytes (But when2048 is greater than the length of RX data cached for sessionltsession_idgt 0 means the length of RX data cached for sessionltsession_idgt)The default value is the length of RX data cached for sessionltsession_idgtIt will be not allowed when there is no data in the cache

ltcache_len_0gt The length of RX data cached for connection 0ltcache_len_1gt The length of RX data cached for connection 1ltlengt The length of data followedlterrgt String type displays the cause of occurring error please refer to

Chapter 103 for details

Example

AT+CCHRECV=1OK

+CCHRECV DATA1249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 236451

HTTP11 200 OKContent-Type texthtmlContent-Language zh-CNContent-Length 57Date Tue 31 Mar 2009 015605 GMTConnection CloseProxy-Connection Close

lthtmlgtltheadergttestltheadergtltbodygtTest bodyltbodygt+CCHRECV 10

1027 AT+CCHADDR Get the IPV4 address

AT+CCHADDR Get the IPV4 address

Execution CommandAT+CCHADDR

Response+CCHADDR ltip_addressgt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt A string parameter that identifies the IPv4 address after PDPactivated

Example

AT+CCHADDR+CCHADDR 1071155118

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 237451

1028 AT+CCHCFG Configure the client context

AT+CCHCFG Configure the client contextTest CommandAT+CCHCFG=

Response+CCHCFG sendtimeout(0-1)(60-150)+CCHCFG sslctx(0-1)(0-9)

OKRead CommandAT+CCHCFG

Response+CCHCFG 0ltsendtimeout_valgtltsslctx_indexgt+CCHCFG 1ltsendtimeout_valgtltsslctx_indexgt

OKWrite Command

Configure the timeout valueof the specified client whensending data

AT+CCHCFG=sendtimeoutltsession_idgtltsendtimeout_valgt

ResponseIf successfullyOKIf failedERROR

Write Command

Configure the SSL contextindex itrsquos as same asAT+CSSLCFG

AT+CCHCFG=sslctxltsession_idgtltsslctx_indexgt

ResponseIf successfullyOKIf failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltsendtimeout_valgt The timeout value used in sending data stage The range is 60-150

seconds The default value is 150ltsslctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHCFG=sendtimeout060

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 238451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSE

1029 AT+CCHSSLCFG Set the SSL context

AT+CCHSSLCFG Set the SSL contextTest CommandAT+CCHSSLCFG=

Response+CCHSSLCFG (01)(0-9)

OKRead CommandAT+CCHSSLCFG

Response+CCHSSLCFG ltsession_idgt[ssl_ctx_index]+CCHSSLCFG ltsession_idgt[ssl_ctx_index]

OKWrite CommandAT+CCHSSLCFG=ltsession_idgtltssl_ctx_indexgt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHSSLCFG=+CCHSSLCFG (01)(0-9)

OKAT+CCHSSLCFG=11

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 239451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSEIf you donrsquot set the SSL context by this command before connecting to SSLTLS server byAT+CCHOPEN the CCHOPEN operation will use the SSL context as same as index ltsession_idgt (the1st parameter of AT+CCHOPEN) when connecting to the server

10210AT+CCHMODE Configure the mode of sending and receiving data

AT+CCHMODE Configure the mode of sending and receiving modeTest CommandAT+CCHMODE=

Response+CCHMODE (01)

OKRead CommandAT+CCHMODE

Response+CCHMODE ltmodegt

OKWrite CommandAT+CCHMODE=ltmodegt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt The mode value0ndashNormal1ndashTransparent modeThe default value is 0

Example

AT+CCHMODE=+CCHMODE (01)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 240451

OKAT+CCHMODE=1OK

NOTE

This command must be called before AT+CCHSTARTThere is only one session in the transparent mode itrsquos the first session

10211 AT+CCHSET Configure the report mode of sending and receiving data

AT+CCHSET Configure the report mode of sending and receiving dataTest CommandAT+CCHSET=

Response+CCHSET (01)(01)

OKRead CommandAT+CCHSET

Response+CCHSET ltreport_send_resultgtltrecv_modegt

OKWrite CommandAT+CCHSET=ltreport_send_resultgt[ltrecv_modegt]

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltreport_send_resultgt Whether to report result of CCHSEND the default value is 00 ndash No1 ndash Yes Module will report +CCHSEND ltsession_idgtlterrgt to MCUwhen complete sending data

ltrecv_modegt The receiving mode the default value is 00 ndash Output the data to MCU whenever received data1 ndash Module caches the received data and notifies MCU with+CCHEVENT ltsession_idgt RECV EVENTMCU can useAT+CCHRECV to receive the cached data (only in manual receivingmode)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 241451

Example

AT+CCHSET=+CCHSET (01)(01)

OKAT+CCHSET=11OK

This command must be called before AT+CCHSTART

10212AT+CSSLCFG Configure the SSL context

AT+CSSLCFG Configure the SSL contextTest CommandAT+CSSLCFG=

Response+CSSLCFG sslversion(0-9)(0-4)+CSSLCFG authmode(0-9)(0-3)+CSSLCFG ignorelocaltime(0-9)(01)+CSSLCFG negotiatetime(0-9)(10-300)+CSSLCFG cacert(0-9)(5-128)+CSSLCFG clientcert(0-9)(5-128)+CSSLCFG clientkey(0-9)(5-128)+CSSLCFG enableSNI(0-9)(01)+CSSLCFG keypwd(0-9)(0-128)+CSSLCFG ciphersuites(0-9)(0x002F0xFFFF)

OKRead CommandAT+CSSLCFG

Response+CSSLCFG0ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG1ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG2ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 242451

+CSSLCFG3ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG4ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG5ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG6ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG7ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG8ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG9ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Query the configuration of thespecified SSL context AT+CSSLCFG=ltssl_ctx_indexgt

Response+CSSLCFGltssl_ctx_indexgtltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Configure the version of thespecified SSL context

AT+CSSLCFG=sslversionltssl_ctx_indexgtltsslversiongt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the authentication

Responsea)If successfully

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 243451

of the specified SSL context

AT+CSSLCFG=authmodeltssl_ctx_indexgtltauthmodegt

OKb)If failedERROR

Write Command Configure the ignore localtime flag of the specified SSLcontext

AT+CSSLCFG=ignorelocaltimeltssl_ctx_indexgtltignoreltimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the negotiatetimeout value of the specifiedSSL context

AT+CSSLCFG=negotiatetimeltssl_ctx_indexgtltnegotiatetimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the server root CAof the specified SSL context

AT+CSSLCFG=cacertltssl_ctx_indexgtltca_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client certificateof the specified SSL context

AT+CSSLCFG=clientcertltssl_ctx_indexgtltclientcert_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client key of thespecified SSL context

AT+CSSLCFG=clientkeyltssl_ctx_indexgtltclientkey_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the enableSNI flagof the specified SSL context

AT+CSSLCFG=enableSNIlt

Responsea)If successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 244451

ssl_ctx_indexgtltenableSNI_FlaggtWrite Command Configure the password ofthe specified SSL context

AT+CSSLCFG=keypwdltssl_ctx_indexgtltkeypwdgt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the ciphersuite ofthe specified SSL context

AT+CSSLCFG=ciphersuitesltssl_ctx_indexgtltciphersuitesgt

Responsea)If successfullyOKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltssl_ctx_indexgt The SSL context ID The range is 0-9ltsslversiongt The SSL version the default value is 4

0 ndash SSL301 ndash TLS102 ndash TLS113 ndash TLS124 ndash All

The configured version should be support by server So you shoulduse the default value if you canrsquot confirm the version which the serversupported

ltauthmodegt The authentication mode the default value is 00 ndash no authentication1 ndashserver authentication It needs the root CA of the server2 ndashserver and client authentication It needs the root CA of the server

the cert and key of the client3ndashclient authentication and no server authentication It needs the certand key of the client

ltignoreltimegt The flag to indicate how to deal with expired certificate the defaultvalue is 10 ndash care about time check for certification1 ndash ignore time check for certification

When set the value to 0 it need to set the right current date and time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 245451

by AT+CCLK when need SSL certificationltnegotiatetimegt The timeout value which is used in SSL negotiating stage The range

is 10-300 seconds The default value is 300ltca_filegt The root CA file name of SSL context The file name must have type

like pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientcert_filegt The client cert file name of SSL context The file name must have typelike pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientkey_filegt The client key file name of SSL context The file name must have typelike pem or derThe length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltenableSNI_flaggt The flag to indicate that enable the SNI flag or not the default value is00 ndash not enable SNI1 ndash enable SNI

ltkeypwdgt The password of the client key file of SSL context When the clientneeds to be authorized client key file is needed Because the clientkey file may be encrypted we need theltkeypwdgt to decrypt it The length of ltkeypwdgt is from 0 to 128bytes

ltciphersuitesgt Numeric type SSL ciphersuites The default value is 0xFFFF

0x002F TLS_RSA_WITH_AES_128_CBC_SHA

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 246451

0xFFFF Support all

Example

AT+CSSLCFG=sslversion11OK

10213AT+CCERTDOWN Download certificate into the module

AT+CCERTDOWN Download certificate into the moduleTest CommandAT+CCERTDOWN=

Response+CCERTDOWN (5-128)(1-10240)

OKWrite CommandAT+CCERTDOWN=ltfilenamegtltlengt

Responsea)If it can be downloadgtltinput data heregt

OKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

ltlengt The length of the file data to send The range is from 1 to 10240 bytes

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 247451

AT+CCERTDOWN=client_keyder611gtfile contenthelliphellipOK

10214AT+CCERTLIST List certificates

AT+CCERTLIST List certificatesExecution CommandAT+CCERTLIST

Response[+CCERTLIST ltfile_namegt[+CCERTLIST ltfile_namegt]hellipltCRgtltLFgt]OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfile_namegt The certificatekey files which has been downloaded to the moduleIf the filename contains non-ASCII characters it will show thenon-ASCII characters as UTF8 code

Example

AT+CCERTLIST+CCERTLIST ca_certder+CCERTLIST client_keypem

OK

10215AT+CCERTDELE Delete certificates

AT+CCERTDELE Delete certificatesWrite CommandAT+CCERTDELE=ltfilenamegt

Responsea)If delete successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 248451

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

Example

AT+CCERTDELE=server_caderOK

103 Command result lterrgt codes

Result Code Meaning0 Operation succeeded

1 Alerting state(reserved)

2 Unknown error

3 Busy

4 Peer closed

5 Operation timeout

6 Transfer failed

7 Memory error

8 Invalid parameter

9 Network error

10 Open session error

11 State error

12 Create socket error

13 Get DNS error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 249451

14 Connect socket error

15 Handshake error

16 Close socket error

17 Nonet

18 Send data timeout

19 Not set certificates

104 Unsolicited result codes

Information Description+CCHEVENT ltsession_idgtRECVEVENT

In manual receiving mode when new data of a connectionarriving to the module this unsolicited result code will bereported to MCU

+CCH_RECV_CLOSEDltsession_idgtlterrgt

When receive data occurred any error this unsolicited resultcode will be reported to MCU

+CCH_PEER_CLOSEDltsession_idgt

The connection is closed by the server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 250451

11AT Commands for TCPIP

111 Overview of AT Commands for TCPIP

Command DescriptionAT+NETOPEN Start TCPIP serviceAT+NETCLOSE Stop TCPIP serviceAT+CIPOPEN Setup TCPUDP client socket connectionAT+CIPCLOSE Destroy TCPUDP client socket connectionAT+CIPSEND Send TCPUDP dataAT+CIPRXGET Retrieve TCPUDP buffered dataAT+IPADDR Get IP address of PDP contextAT+CIPHEAD Add an IP header when receiving dataAT+CIPSRIP Show remote IP address and portAT+CIPMODE Select TCPIP application modeAT+CIPSENDMODE Set sending modeAT+CIPTIMEOUT Set TCPIP timeout valueAT+CIPCCFG Configure parameters of socketAT+SERVERSTART Startup TCP serverAT+SERVERSTOP Stop TCP serverAT+CIPACK Query TCP connection data transmitting statusAT+CDNSGIP Query the IP address of given domain nameAT+CDNSGHNAME Query the domain name of given IP addressAT+CIPDNSSET Set DNS query parametersAT+CPING Ping destination addressAT+CPINGSTOP Stop an ongoing ping session

112 Detailed Description of AT Commands for TCPIP

1121 AT+NETOPEN Start TCPIP service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 251451

AT+NETOPEN Start TCPIP serviceRead CommandAT+NETOPEN

Response+NETOPEN ltnet_stategt

OK

Execution CommandAT+NETOPEN

ResponseIf the PDP context has not been activated or the network closedabnormally responseOK

+NETOPEN lterrgtwhen the PDP context has been activated successfully if you executeAT+NETOPEN again response+IP ERROR Network is already opened

ERROR

otherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltnet_stategt Integer type which indicates the state of PDP context activation0 network close (deactivated)1 network open(activated)

lterrgt Integer type the result of operation 0 is success other value is failure

Example

AT+NETOPENOK

+NETOPEN 0AT+NETOPEN+NETOPEN 1

OK

You must execute AT+NETOPEN before any other TCPUDP related operations

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 252451

1122 AT+NETCLOSE Stop TCPIP service

AT+NETCLOSE Stop TCPIP service

Execution CommandAT+NETCLOSE

ResponseIf the PDP context has been activated responseOK

+NETCLOSE lterrgtIf the PDP context has not been activated response+NETCLOSE lterrgt

ERROR

otherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+NETCLOSEOK

+NETCLOSE 0

AT+NETCLOSE can close all the opened socket connections when you didnrsquot close theseconnections by AT+CIPCLOSE

1123 AT+CIPOPEN Setup TCPUDP client socket connection

AT+CIPOPEN Setup TCPUDP client socket connection

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 253451

Test CommandAT+CIPOPEN=

Response+CIPOPEN (0-9)(TCPUDP)

OKRead CommandAT+CIPOPEN

Response+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt]+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt][hellip]

OKIf a connection identified by ltlink_numgthas not been establishedsuccessfully +CIPOPEN ltlink_numgt will be returned

Write CommandTCP connectionAT+CIPOPEN=ltlink_numgtTCPltserverIPgtltserverPortgt[ltlocalPortgt]

Responseif PDP context has been activated successfully responseOK

+CIPOPEN ltlink_numgtlterrgtwhen the ltlink_numgt is greater than 10 response+IP ERROR Invalid parameter

ERROR

If PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for TCP connectionWhen you want to use transparent mode to transmit data you should setAT+CIPMODE=1 before AT+NETOPEN And if AT+CIPMODE=1 is setthe ltlink_numgt is restricted to be only 0if successCONNECT [lttextgt]

if failureCONNECT FAIL

otherERROR

Write CommandUDP connectionAT+CIPOPEN=ltlink_numgtUDPltlocalPortgt

if PDP context has been activated successfully response+CIPOPEN ltlink_numgt0

OKwhen the ltlink_numgt is greater than 10 response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 254451

+IP ERROR Invalid parameter

ERRORIf PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for UDP connectionWhen you want to use transparent mode to transmit UDP data youshould set AT+CIPMODE=1 before AT+NETOPEN And ifAT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0ltserverIPgt and ltserverPortgt should be set if AT+CIPMODE=1

if successCONNECT [lttextgt]

if failureCONNECT FAIL

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9If AT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0

lttypegt String type identifies the type of transmission protocolTCP Transmission Control ProtocolUDP User Datagram Protocol

ltserverIPgt String type identifies the IP address of server The IP address formatconsists of 4 octets separated by decimal point likeAAABBBCCCDDD Also the domain name is supported hereNOTEIf the domain name is inputted here the timeout value for theAT+CIPOPEN shall be decided by AT+CIPDNSSET

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalid

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 255451

operationltlocalPortgt Integer type identifies the port of local socket range is 0-65535ltindexgt Integer type which indicates whether the module is used as a client or

serverWhen used as server the range is 0-3ltindexgt is the server index towhich the client is linked(-1) ndash TCPUDP client(0-3) ndash TCP server index

lttextgt String type which indicates CONNECT result code Please refer toATXATVATampE command for the string formats

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPOPEN=0TCP11622822151100OK

+CIPOPEN 00AT+CIPOPEN=1UDP8080+CIPOPEN 10

OKAT+CIPOPEN=+CIPOPEN (0-9)(TCPUDP)

OKAT+CIPOPEN+CIPOPEN 0TCP11622822151100-1+CIPOPEN 1+CIPOPEN 2+CIPOPEN 3+CIPOPEN 4+CIPOPEN 5+CIPOPEN 6+CIPOPEN 7+CIPOPEN 8+CIPOPEN 9

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 256451

1124 AT+CIPCLOSE Destroy TCPUDP client socket connection

AT+CIPCLOSE Destroy TCPUDP client socket connectionTest CommandAT+CIPCLOSE=

Response+CIPCLOSE (0-9)

OKRead CommandAT+CIPCLOSE

Response+CIPCLOSEltlink0_stategtltlink1_stategtltlink2_stategtltlink3_stategtltlink4_stategtltlink5_stategtltlink6_stategtltlink7_stategtltlink8_stategtltlink9_stategt

OKWrite CommandAT+CIPCLOSE=ltlink_numgt

ResponseIf service type is TCP and the connection identified by ltlink_numgthas been established responseOK

+CIPCLOSE ltlink_numgtlterrgtIf service type is TCP and the access mode is transparent moderesponseOK

CLOSED

+CIPCLOSE ltlink_numgtlterrgtIf service type is UDP and the connection identified by ltlink_numgthas been established response+CIPCLOSE ltlink_numgt0

OKIf service type is UDP and access mode is transparent moderesponseCLOSED

+CIPCLOSE ltlink_numgtlterrgt

OKIf the connection has not been established abnormally closed orparameter is incorrect response+CIPCLOSE ltlink_numgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 257451

OtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type which identifies a connection Range is 0-9ltlink_stategt Integer type which indicates the state ofconnection identified by

ltlink_numgt Range is 0-10 ndash disconnected1 ndash connected

lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CIPCLOSE+CIPCLOSE 1000000000

OKAT+CIPCLOSE=+CIPCLOSE (0-9)

OKAT+CIPCLOSE=0OK

+CIPCLOSE 00

1125 AT+CIPSEND Send TCPUDP data

AT+CIPSEND Send TCPUDP dataTest CommandAT+CIPSEND=

Response+CIPSEND (0-9)(1-1500)

OKWrite CommandIf service type is TCP senddata with changeable length

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 258451

AT+CIPSEND=ltlink_numgt

Response gt then type datato send tap CTRL+Z to senddata tap ESC to cancel theoperation

gtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is TCP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with changeable length

AT+CIPSEND=ltlink_numgtltserverIPgtltserverPortgt

Response gt then type datato send tap CTRL+Z to send

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 259451

data tap ESC to cancel theoperation

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgtltserverIPgtltserverPortgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengthgt Integer type indicates the length of sending data range is 1-1500ltserverIPgt String type which identifies the IP address of server

The IP address format consists of 4 octets separated by decimalpoint like AAABBBCCCDDD

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalidoperation

ltreqSendlengthgt Integer typethe length of the data requested to be sentltcnfSendLengthgt Integer type the length of the data confirmed to have been sent

-1 the connection is disconnected0 own send buffer or other sidersquos congestion window are full

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 260451

Note If the ltcnfSendLengthgt is not equal to the ltreqSendLengthgtthe socket then cannot be used further

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPSEND=01gtSOK

+CIPSEND 011AT+CIPSEND=11116236221756775gtSOK

+CIPSEND 111AT+CIPSEND=2gtHelloltCtrl+ZgtOK

+CIPSEND 255AT+CIPSEND=3116236221756775gtHello WorldltCtrl+ZgtOK

+CIPSEND 31111AT+CIPSEND=2gtHelloltESCgtERRORAT+CIPSEND=+CIPSEND (0-9)(1-1500)

OK

Each ltCtrl+Zgt character present in the data should be coded as ltETXgtltCtrl+Zgt Each ltESCgtcharacter present in the data should be coded as ltETXgtltESCgt Each ltETXgt character will be codedas ltETXgtltETXgt Single ltCtrl+Zgt means end of the input data Single ltESCgt is used to cancel thesendingltETXgt is 0x03 and ltCtrl+Zgt is 0x1AandltESCgt is 0x1B

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 261451

1126 AT+CIPRXGET Retrieve TCPUDP buffered data

AT+CIPRXGET Retrieve TCPUDP buffered dataTest CommandAT+CIPRXGET=

Response+CIPRXGET (0-4)(0-9)(1-1500)

OKRead CommandAT+CIPRXGET

Response+CIPRXGET ltmodegt

OKWrite CommandAT+CIPRXGET=ltmodegtIn this case ltmodegt can onlybe 0 or 1

ResponseIf the parameter is correct responseOKElse responseERROR

Write CommandAT+CIPRXGET=2ltlink_numgt[ltlengt]Retrieve data in ACSII form

ResponseIf ltlengthgt field is empty the default value to read is 1500If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagtACSII form

OKIf the buffer is empty response+IP ERROR No data

ERRORIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=3ltlink_numgt[ltlengt]Retrieve data in hex form

ResponseIf ltlengthgt field is empty the default value to read is 750If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagthex form

OKIf the buffer is empty response+IP ERROR No data

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 262451

If the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=4ltlink_numgt

ResponseIf the parameter is correct response+CIPRXGET 4ltlink_numgtltrest_lengt

OKIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets the mode to retrieve data Default value is 00 set the way to get the network data automatically1 set the way to get the network data manually2 read data the max read length is 15003 read data in HEX form the max read length is 7504 get the rest data length

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengt Integer type the data length to be read

Not required the default value is 1500 when ltmodegt=2 and 750when ltmodegt=3

ltread_lengt Integer type the length of data that has been readltrest_lengt Integer type the length of data which has not been read in the bufferlterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPRXGET=+CIPRXGET (0-4)(0-9)(1-1500)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 263451

AT+CIPRXGET+CIPRXGET 1

OKAT+CIPRXGET=1OKAT+CIPRXGET=20100+CIPRXGET 2010013000123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789

OKAT+CIPRXGET=30100+CIPRXGET 30100120030313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839

OKAT+CIPRXGET=40+CIPRXGET 401200

OK

If set ltmodegt to 1 after receiving data the module will buffer it and report a URC as +CIPRXGET 1ltlink_numgt to notify the host Then host can retrieve data by AT+CIPRXGETIf set ltmodegt to 0 the received data will be outputted to COM port directly by URC as RECV FROMltIP ADDRESSgtltPORTgtltCRgtltLFgt+IPD(data length)ltCRgtltLFgtltdatagtIf the buffer is not empty and the module receives data again then it will not report a new URC until allthe received data has been retrieved by AT+CIPRXGET from bufferThe default value of ltmodegt is 0When ltmodegt is set to 1 and the 2-4 mode will take effectIf initially set ltmodegt to 1 after doing some data transmitting set ltmodegt to 0 then the buffered dataof the previously established connection will be output to the serial port directly and the maximumlength of output data at a time is 1500

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 264451

1127 AT+IPADDR Get IP address of PDP context

AT+IPADDR Get IP address of PDP context

Execution CommandAT+IPADDR

ResponseIf PDP context has been activated successfully response+IPADDR ltip_addressgt

OKElse response+IP ERROR Network not opened

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt String type identifies the IP address of current active socket PDP

Example

AT+IPADDR+IPADDR 1071155118

OK

1128 AT+CIPHEAD Add an IP header when receiving data

AT+CIPHEAD Add an IP header when receiving dataTest CommandAT+CIPHEAD=

Response+CIPHEAD (0-1)

OKRead CommandAT+CIPHEAD

Response+CIPHEAD ltmodegt

OKWrite CommandAT+CIPHEAD=ltmodegt

ResponseIf the parameter is correct responseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 265451

Else responseERROR

Execution CommandAT+CIPHEAD

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether adding an IP header or not whilereceiving data Default value is 10ndash not add IP header1ndash add IP header the format is +IPD(data length)

Example

AT+CIPHEAD=+CIPHEAD (0-1)

OKAT+CIPHEAD=0OK

1129 AT+CIPSRIP Show remote IP address and port

AT+CIPSRIP Show remote IP address and portTest CommandAT+CIPSRIP=

Response+CIPSRIP (0-1)

OKRead CommandAT+CIPSRIP

Response+CIPSRIP ltmodegt

OKWrite CommandAT+CIPSRIP=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 266451

Execution CommandAT+CIPSRIP

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether to show IP address and port of serveror not when receiving data Default value is 10ndashnot show1ndashshowthe format is as follows

RECV FROMltIP ADDRESSgtltPORTgt

Example

AT+CIPSRIP=+CIPSRIP (0-1)

OKAT+CIPSRIP=1OK

11210 AT+CIPMODE Select TCPIP application mode

AT+CIPMODE Select TCPIP application modeTest CommandAT+CIPMODE=

Response+CIPMODE (0-1)

OKRead CommandAT+CIPMODE

Response+CIPMODE ltmodegt

OKWrite CommandAT+CIPMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPMODE

ResponseSet default value(ltmodegt=0)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 267451

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets TCPIP application mode Default value is 00 ndash Non transparent mode1 ndash Transparent mode

Example

AT+CIPMODE=+CIPMODE (0-1)

OKAT+CIPMODE=1OK

11211 AT+CIPSENDMODE Set sending mode

AT+CIPSENDMODE Set sending modeTest CommandAT+CIPSENDMODE=

Response+CIPSENDMODE (0-1)

OKRead CommandAT+CIPSENDMODE

Response+CIPSENDMODE ltmodegt

OKWrite CommandAT+CIPSENDMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 268451

ltmodegt Integer type sets sending mode Default value is 00ndash Sending without waiting peer TCP ACK mode1ndash Sending wait peer TCP ACK mode

Example

AT+CIPSENDMODE=+CIPSENDMODE (0-1)

OKAT+CIPSENDMODE=1OK

11212 AT+CIPTIMEOUT Set TCPIP timeout value

AT+CIPTIMEOUT Set TCPIP timeout valueRead CommandAT+CIPTIMEOUT

Response+CIPTIMEOUTltnetopen_timeoutgtltcipopen_timeoutgtltcipsend_timeoutgt

OKWrite CommandAT+CIPTIMEOUT=[ltnetopen_timeoutgt][[ltcipopen_timeoutgt][[ltcipsend_timeoutgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltnetopen_timeoutgt Integer type timeout value for AT+NETOPENDefault is120000ms Range is 3000ms-120000ms

ltcipopen_timeoutgt Integer type timeout value for AT+CIPOPENDefault is120000ms Range is 3000ms-120000ms

ltcipsend_timeoutgt Integer type timeout value for AT+CIPSENDDefault is120000ms Range is 3000ms-120000ms

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 269451

AT+CIPTIMEOUT+CIPTIMEOUT 300002000040000

OKAT+CIPTIMEOUT=300002000040000OK

11213 AT+CIPCCFG Configure parameters of socket

AT+CIPCCFG Configure parameters of socketTest CommandAT+CIPCCFG=

Response+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKRead CommandAT+CIPCCFG

Response+CIPCCFGltNmRetrygtltDelayTmgtltAckgtlterrModegtltHeaderTypegtltAsyncModegtltTimeoutValgt

OKWrite CommandAT+CIPCCFG=[ltNmRetrygt][[ltDelayTmgt][[ltAckgt][[lterrModegt][[ltHeaderTypegt][[ltAsyncModegt][[ltTimeoutValgt]]]]]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPCCFG

ResponseSet default valueOK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltNmRetrygt Integer type number of retransmission to be made for an IP packetRange is 0-10 The default value is 10

ltDelayTmgt Integer type number of milliseconds to delay to output data ofReceiving Range is 0-1000 The default value is 0

ltAckgt Integer type it can only be set to 0Itrsquos used to be compatible with old TCPIP command set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 270451

lterrModegt Integer type sets mode of reporting lterr_infogt default value is 10 error result code with numeric values1 error result code with string values

ltHeaderTypegt Integer type select which data header is used when receiving data itonly takes effect in multi-client mode Default value is 00 add data header the format is +IPDltdata lengthgt1 add data header the format is +RECEIVEltlink numgtltdatalengthgt

ltAsyncModegt Integer type range is 0-1 Default value is 0Itrsquos used to be compatible with old TCPIP command set

ltTimeoutValgt Integer type set the minimum retransmission timeout value for TCPconnection Range is 500ms-120000ms Default is 500ms

Example

AT+CIPCCFG=+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKAT+CIPCCFG=35000111500OK

11214 AT+SERVERSTART Startup TCP server

AT+SERVERSTART Startup TCP serverTest CommandAT+SERVERSTART=

Response+SERVERSTART (0-65535)(0-3)

OKRead CommandAT+SERVERSTART

ResponseIf the PDP context has not been activated successfully response+CIPERROR lterrgt

ERRORIf there exists opened server response[+SERVERSTART ltserver_indexgtlt portgthellip]

OKOtherERROR

Write Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 271451

AT+SERVERSTART=ltportgtltserver_indexgt

If there is no error responseOKIf the PDP context has not been activated or the server identified byltserver_indexgt has been opened or the parameter is not correct orother errors response+CIPERROR lterrgt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltportgt Integer type identifies the listening port of module when used as aTCP server Range is 0-65535

ltserver_indexgt Integer type the TCP server index range is 0-3

Example

AT+SERVERSTART=+SERVERSTART (0-65535)(0-3)

OKAT+SERVERSTART=80801OK

After the AT+SERVERSTART executes successfully an unsolicited result code is returned when aclient tries to connect with module and module accepts request The unsolicited result code is+CLIENTlt link_numgtltserver_indexgtltclient_IPgtltportgt

11215 AT+SERVERSTOP Stop TCP server

AT+SERVERSTOP Stop TCP serverWrite CommandAT+SERVERSTOP=ltserver_indexgt

ResponseIf there exists open connection with the server identified byltserver_indexgt or the server identified by ltserver_indexgt has not

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 272451

been opened or the parameter is incorrect response+SERVERSTOP ltserver_indexgtlterrgt

ERRORIf the server socket is closed immediately response+SERVERSTOP ltserver_indexgt0

OK(In general the result is shown as below)If the server socket starts to close responseOK

+SERVERSTOP ltserver_indexgtlterrgtOtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltserver_indexgt Integer type the TCP server index range is 0-3lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+SERVERSTOP=0+SERVERSTOP 00

OK

Before stopping a TCP server all sockets ltserver_indexgt of which equals to the closing TCP serverindex must be closed first

11216 AT+CIPACK QueryTCP connection data transmitting status

AT+CIPACK Query TCP connection data transmitting statusTest CommandAT+CIPACK=

Response+CIPACK (0-9)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 273451

OKWrite CommandAT+CIPACK=ltlink_numgt

ResponseIf the PDP context has not been activated or the connectionidentified by ltlink_numgt has not been established abnormallyclosed or the parameter is incorrect or other errors response+IP ERROR lterr_infogt

ERRORIf the connection has been established and the service type isTCP response+CIPACK ltsent_data_sizegtltack_data_sizegtltrecv_data_sizegt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltsent_data_sizegt Integer type the total length of sent dataltack_data_sizegt Integer type the total length of acknowledged dataltrecv_data_sizegt Integer type the total length of received datalterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPACK=+CIPACK (0-9)

OKAT+CIPACK=0+CIPACK 16165

OK

113 DNS amp PING

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 274451

1131 AT+CDNSGIP Query the IP address of given domain name

AT+CDNSGIP Query the IP address of given domain nameTest CommandAT+CDNSGIP=

ResponseOK

Write CommandAT+CDNSGIP=ltdomainnamegt

ResponseIf the given domain name has related IP response+CDNSGIP 1ltdomain namegtltIP addressgt

OKIf the given name has no related IP response+CDNSGIP 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type indicates the IP address corresponding to the domainname

ltdns error codegt Integer type indicates the error code10 DNS GENERAL ERROR

Example

AT+CDNSGIP=wwwbaiducom+CDNSGIP 1wwwbaiducom6113516921

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 275451

1132 AT+CDNSGHNAME Query the domain name of given IP address

AT+CDNSGHNAME Query the domain name of given IP addressTest CommandAT+CDNSGHNAME=

ResponseOK

Write CommandAT+CDNSGHNAME=ltIPaddressgt

ResponseIf the given IP address has related domain name response+CDNSGHNAME ltindexgtltdomain namegtltIP addressgt

OKIf the given IP address has no related domain name response+CDNSGHNAME 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type (string should be included in quotation marks) indicatesthe IP address corresponding to the domain name

ltdns error codegt Integer type which indicates the error code10 DNS GENERAL ERROR

ltindexgt Integer type which indicates DNS result indexThis value is always 1 if performing successfully Currently only thefirst record returned from the DNS server will be reported

Example

AT+CDNSGHNAME=5832231148+CDNSGHNAME 1mailsimcom5832231148

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 276451

1133 AT+CIPDNSSET Set DNS query parameters

AT+CIPDNSSET Set DNS query parametersRead CommandAT+CIPDNSSET

Response+CIPDNSSET 3300007

OKWrite CommandAT+CIPDNSSET=[ltmax_net_retriesgt][[ltnetopen_timeoutgt][[ltmax_query_retriesgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmax_net_retriesgt Integer type maximum retry times for opening PS network to performDNS query Range is 0-3 Default is 3

ltnetopen_timeoutgt Integer type timeout value for each opening PS network operationwhen performing DNS query Range is 3000ms-120000ms Defaultvalue is 30000ms

ltmax_query_retriesgt Integer type maximum retry times for performing DNS query usingUDP packet Range is 0-7 Default value is 7

Example

AT+CIPDNSSET+CIPDNSSET 1300003

OKAT+CIPDNSSET=1300001OK

1134 AT+CPING Ping destination address

AT+CPING Ping destination address

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 277451

Test CommandAT+CPING=

Response+CPING IP address (list of supportedltdest_addr_typegts)(1-100)(4-188)(1000-10000)(10000-100000)(16-255)

OKWrite CommandAT+CPING=ltdest_addrgtltdest_addr_typegt[ltnum_pingsgt[ltdata_packet_sizegt[ltinterval_timegt[ltwait_timegt[ltTTLgt]]]]]

ResponseOK

If pingrsquos result_type = 1+CPINGltresult_typegtltresolved_ip_addrgtltdata_packet_sizegtltrttgtltTTLgt

If pingrsquos result_type = 2+CPING ltresult_typegt

If pingrsquos result_type = 3+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

Parameter Saving Mode -Max Response Time -Reference -

Defined values

ltdest_addrgt The destination is to be pinged it can be an IP address or a domainname

ltdest_addr_typegt Integer type Address family type of the destination address1 ndash IPv42 ndash IPv6(reserved)

ltnum_pingsgt Integer type The num_pings specifies the number of times the pingrequest (1-100) is to be sent The default value is 4

ltdata_packet_sizegt Integer type Data byte size of the ping packet (4-188) The defaultvalue is 64 bytes

ltinterval_timegt Integer type Interval between each ping Value is specified inmilliseconds (1000ms-10000ms) The default value is 2000ms

ltwait_timegt Integer type Wait time for ping response A ping response receivedafter the timeout shall not be processed Value specified inmilliseconds (10000ms-100000ms) The default value is 10000ms

ltTTLgt Integer type TTL (Time-To-Live) value for the IP packet over which theping (ICMP ECHO Request message) is sent (16-255) the defaultvalue is 255

ltresult_typegt 1 ndash Ping success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 278451

2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTTltresolved_ip_addrgt Indicates the resolved ip addressltrttgt Round Trip Time

Example

AT+CPING=wwwbaiducom1464100010000255OK

+CPING 1119752175664410255

+CPING 1119752175664347255

+CPING 1119752175664346255

+CPING 1119752175664444255

+CPING 3440346444386

1135 AT+CPINGSTOP Stop an ongoing ping session

AT+CPINGSTOP Stop an ongoing ping sessionTest CommandAT+CPINGSTOP=

ResponseOK

Execution CommandAT+CPINGSTOP

Success response+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

OKElseERROR

Parameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 279451

Max Response Time -Reference -

Defined values

ltresult_typegt 1 ndash Ping success2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltresolved_ip_addrgt Indicates the resolved ip addressltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTT

Example

AT+CPINGSTOP+CPING 3220464947

OK

114 Information Elements related to TCPIP

Information Description+CIPEVENT NETWORK CLOSEDUNEXPECTEDLY

Network is closed for network error (Out of service etc)When this event happens userrsquos application needs to checkand close all opened sockets and then usesAT+NETCLOSE to release the network library ifAT+NETOPEN shows the network library is still opened

+IPCLOSEltclient_indexgtltclose_reasongt

Socket is closed passivelyltclient_indexgt is the link numberltclose_reasongt0 - Closed by local active1 - Closed by remote passive2 - Closed for sending timeout

+CLIENT ltlink_numgtltserver_indexgtltclient_IP

While TCP server accepted a new socket client the indexisltlink_numgt The TCP server index is ltserver_indexgt The

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 280451

gtltportgt peer IP address is ltclient_IPgt The peer port is ltportgt

115 Description of lterr_infogt

The fourth parameter lterrModegt of AT+CIPCCFG is used to determine how lterr_infogt is displayedIf lterrModegt is set to 0 the lterr_infogt is displayed with numeric valueIf lterrModegtis set to 1 the lterr_infogt is displayed with string valueThe default is displayed with string value

Numeric Value String Value21 Operation failed0 Connection time out1 Bind port failed2 Port overflow

3 Create socket failed

4 Network is already opened

5 Network is already closed

6 No clients connected

7 No active client

8 Network not opened

9 Client index overflow

10 Connection is already created

11 Connection is not created

12 Invalid parameter

13 Operation not supported

14 DNS query failed

15 TCP busy

16 Netclose failed for socket opened

17 Sending time out

18 Sending failure for network error

19 Open failure for network error

20 Server is already listening

22 No data

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 281451

116 Description of lterrgt

lterrgt Description of lterrgt0 Operation succeeded1 Network failure2 Network not opened3 Wrong parameter4 Operation not supported5 Failed to create socket6 Failed to bind socket7 TCP server is already listening8 Busy9 Sockets opened10 Timeout11 DNS parse failed for AT+CIPOPEN12 Unknown error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 282451

12AT Commands for FTP(S)

121 Overview of AT Commands for FTP(S)

Command DescriptionAT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTOP Stop FTP(S) ServiceAT+CFTPSLOGIN Login to a FTP(S) serverAT+CFTPSLOGOUT Logout FTP(S) serverAT+CFTPSMKD Create a new directory on FTP(S) serverAT+CFTPSRMD Delete a directory on FTP(S) serverAT+CFTPSDELE Delete a file on FTP(S) serverAT+CFTPSCWD Change the current directory on FTP(S) serverAT+CFTPSPWD Get the current directory on FTP(S) serverAT+CFTPSTYPE Set the transfer type on FTP(S) serverAT+CFTPSLIST List the items in the directory on FTP(S) serverAT+CFTPSGETFILE Get a file from FTP(S) server to moduleAT+CFTPSPUTFILE Put a file from module to FTP(S) serverAT+CFTPSGET Get a file from FTP(S) server to serial portAT+CFTPSPUT Put a file to FTP(S) server through serial portAT+CFTPSSINGLEIP Set FTP(S) data socket address typeAT+CFTPSCACHERD Output cached data to MCUAT+CFTPSABORT Abort FTP(S) operationsAT+CFTPSSIZE Get the File Size on FTP(S) server

122 Detailed Description of AT Commands for FTP(S)

1221 AT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTART Start FTP(S) serviceExecution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 283451

AT+CFTPSSTART OK

+CFTPSSTART lterrcodegtor+CFTPSSTART lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of start FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTARTOK

+CFTPSSTART 0

1222 AT+CFTPSSTOP Stop FTP(S) Service

AT+CFTPSSTOP Stop FTP(S) ServiceExecution CommandAT+CFTPSSTOP

ResponseOK

+CFTPSSTOP lterrcodegtor+CFTPSSTOP lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 284451

Defined Values

lterrcodegt The result of stop FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTOPOK

+CFTPSSTOP 0

1223 AT+CFTPSLOGIN Login to a FTP(S) server

AT+CFTPSLOGIN Login to a FTP(S) serverTest CommandAT+CFTPSLOGIN=

Response+CFTPSLOGINADDRESS(1-65535)[USERNAMEPASSWORD[(0-3)]]

OKWrite CommandAT+CFTPSLOGIN=lthostgtltportgtltusernamegtltpasswordgt[ltserver_typegt]

ResponseOK

+CFTPSLOGIN lterrcodegtor+CFTPSLOGIN lterrcodegt

OKor+CFTPSLOGIN lterrcodegt

ERRORorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lthostgt Host address string type maximum length is 256ltportgt The host listening port for FTP(S) the range is from 1 to 65535

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 285451

ltusernamegt FTP(S) user name string type maximum length is 256ltpasswordgt The user password string type maximum length is 256ltserver_typegt FTP(S)server typenumericfrom0-3default is 3

0 FTP server1 Explicit FTPS server with AUTH SSL2 Explicit FTPS server with AUTH TLS3 Implicit FTPS server

lterrcodegt The result code of the FTPFTPS login 0 is success Others arefailure please refer to chapter 1231

Example

AT+CFTPSLOGIN=112749316321tmftmf1230OK

+CFTPSLOGIN 0

1224 AT+CFTPSLOGOUT Logout FTP(S) server

AT+CFTPSLOGOUT Logout FTP(S) serverTest CommandAT+CFTPSLOGOUT=

ResponseOK

Execution CommandAT+CFTPSLOGOUT

ResponseOK

+CFTPSLOGOUT lterrcodegtor+CFTPSLOGOUT lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result code of the FTPFTPS logout 0 is success Others arefailure please refer to chapter 1231

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 286451

Example

AT+CFTPSLOGOUTOK

+CFTPSLOGOUT 0

1225 AT+CFTPSMKD Create a new directory on FTP(S) server

AT+CFTPSMKD Create a new directory on FTP(S) serverTest CommandAT+CFTPSMKD=

Response+CFTPSMKD DIR

OKWrite CommandAT+CFTPSMKD=ltdirgt

ResponseOK

+CFTPSMKD 0orOK

+CFTPSMKD lterrcodegt

orERRORor+CFTPSMKD lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgt The directory to be created string type maximum length is 256lterrcodegt The result of create directory 0 is success others are failure please

refer to chapter 1231

Example

AT+CFTPSMKD=TEST

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 287451

OK

+CFTPSMKD 0

1226 AT+CFTPSRMD Delete a directory on FTP(S) server

AT+CFTPSRMD Delete a directory on FTP(S) serverTest CommandAT+CFTPSRMD=

Response+CFTPSRMD DIR

OKWrite CommandAT+CFTPSRMD=ltdirgt

Response1)if delete the directory successfullyOK

+CFTPSRMD 02)if delete the directory failedOK

+CFTPSRMD lterrcodegt3) if parameter format or any errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be removed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type maximum length is 256

lterrcodegtThe result of remove directory 0 is success others are failure pleaserefer to chapter 1231

Example

AT+CFTPSRMD=testOK

+CFTPSRMD 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 288451

1227 AT+CFTPSDELE Delete a file on FTP(S) server

AT+CFTPSDELE Delete a file on FTP(S)serverTest CommandAT+CFTPSDELE=

Response+CFTPSDELE FILENAME

OKWrite CommandAT+CFTPSDELE=ltfilenamegt

Response1)if delete file successfullyOK

+CFTPSDELE 02)if failedOK

+CFTPSDELE lterrcodegt3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt The name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegt The result of delete a file 0 is success others are failureplease referto chapter 1231

Example

AT+CFTPSDELE=TESTtxtOK

+CFTPSDELE 0

1228 AT+CFTPSCWD Change the current directory on FTP(S) server

AT+CFTPSCWD Change the current directory on FTP(S) serverTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 289451

AT+CFTPSCWD= +CFTPSCWD DIR

OKWrite CommandAT+CFTPSCWD=ltdirgt

Response1)if delete file successfullyOK

+CFTPSCWD 02)if failedOK

+CFTPSCWD lterrcodegt2)if failed+CFTPSCWD lterrcodegt

ERROR3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be changed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change the current directory 0 is success others arefailure please refer to chapter 1231

Example

AT+CFTPSCWD=luliuTEST7600

OK

+CFTPSCWD 0

1229 AT+CFTPSPWD Get the current directory on FTP(S) server

AT+CFTPSPWD Get the current directory on FTP(S) serverExecution CommandAT+CFTPSPWD

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 290451

+CFTPSPWD ltdirgtor+CFTPSPWD ltdirgt

OKor+CFTPSPWD lterrcodegt

ERRORorOK

+CFTPSPWD lterrcodegtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change current directory 0 is success others are failureplease refer to chapter 1231

Example

AT+CFTPSPWDOK

+CFTPSPWD test12

12210 AT+CFTPSTYPE Set the transfer type on FTP(S) server

AT+CFTPSTYPE Set the transfer type on FTP(S) serverTest CommandAT+CFTPSTYPE=

Response+CFTPSTYPE (AI)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 291451

Read CommandAT+CFTPSTYPE

Response+CFTPSTYPE lttypegt

OKWrite CommandAT+CFTPSTYPE=lttypegt

Responsea)if set type successfullyOK

+CFTPSTYPE 0b)if set type failedOK

+CFTPSTYPE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

lttypegtThe type of transferringA ASCIII Binary

lterrcodegtThe result of set type 0 is success others are failure please refer tochapter 1231

Example

AT+CFTPTYPE=AOK

+CFTPSTYPE 0

12211 AT+CFTPSLIST List the items in the directory on FTP(S) server

AT+CFTPSLIST List the items in the directory on FTP(S) serverWrite CommandAT+CFTPSLIST[=ltdirgt]

Responsea)if set type successfullyOK

+CFTPSLIST DATAltlengthellip+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 292451

b)if set type failedOK

+CFTPSLIST lterrcodegtc)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be listed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type the maximum length is 256

lterrcodegtThe result code of the listing0 is success others are failurepleaserefer to chapter1231

Example

AT+CFTPSLIST=OK

+CFTPSLIST DATA1480-rw-r--r-- 1 ftp ftp 10 Mar 191351 111TXT-rw-r--r-- 1 ftp ftp 7 Mar 181039 1111txt-rw-r--r-- 1 ftp ftp 10240 Mar 231020 112txt-rw-r--r-- 1 ftp ftp 10 Mar 161526 11K4txt-rw-r--r-- 1 ftp ftp 1434 Mar 181047 1434Btxt-rw-r--r-- 1 ftp ftp 307200 Mar 181040 300Ktxt-rw-r--r-- 1 ftp ftp 9 Mar 181053 333txt-rw-r--r-- 1 ftp ftp 16 Mar 171411 36txt

+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 293451

12212AT+CFTPSGETFILE Get a file from FTP(S) server to module

AT+CFTPSGETFILE Get a file from FTP(S) server to moduleTest CommandAT+CFTPSGETFILE=

Response+CFTPSGETFILE [non-ascii]FILEPATH[(1-4)]

OKWrite CommandAT+CFTPSGETFILE=ltfilepathgt[ltdirgt[ltoffsetgt]]

Responsea) if download file successfully OK

+CFTPSGETFILE 0b) if failedOK

+CFTPSGETFILE lterrcodegtc) if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt

The remote file path When the file path doesnrsquot contain thiscommand transfers file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parametershould contain a prefix of non-asciiString type maximum length is256

ltdirgt

The directory to save the downloaded fileNumeric type range is1-4default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

ltoffsetgtInteger type the download start position used forresume-from-break-point

lterrcodegtThe result code of download file from FTP(s) server0 is successothers are failureplease refer to chapter 1231

Example

AT+CFTPSGETFILE=settingsdat3OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 294451

+CFTPSGETFILE 0

12213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server

AT+CFTPSPUTFILE Put a file from module to FTP(S) serverTest CommandAT+CFTPSPUTFILE=

Response+CFTPSPUTFILE[non-ascii]FILEPATH[(1-3)(0-2147483647)]

OKWrite CommandAT+CFTPSPUTFILE=ltfilepathgt[ltdirgt[ltrest_sizegt]]

Responsea)if upload file successfully OK

+CFTPSPUTFILE 0b)if failedOK

+CFTPSPUTFILE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Valuesltfilepathgt The remote file path When the file path doesnrsquot contain this

command transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdirgt The directory that contains the uploaded file Numeric type range is1-3 default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload file to FTP(S)server0 is success others arefailureplease refer to chapter1231

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 295451

AT+CFTPSPUTFILE=LKLMsim_ZXXTXTOK

+CFTPSPUTFILE 0

12214 AT+CFTPSGET Get a file from FTP(S) server to serial port

AT+CFTPSGET Get a file from FTP(S) server to serial portTest CommandAT+CFTPSGET=

Response+CFTPSGET [non-ascii]FILEPATH[ltrest_sizegt[(01)]]

OKWrite CommandAT+CFTPSGET=ltfilepathgt[ltrest_sizegt[ltusing_cachegt]]

Responsea)ifltusing_cachegt is 0(default)and get file successfully

OK

+CFTPSGET DATAltlengthellip+CFTPSGET DATA ltlengthelliphellip+CFTPSGET 0b) if ltusing_cachegt is 1 and get file successfullyOK

+CFTPS RECV EVENT

AT+CFTPSCACHERDyou can use this command to check the size of the received data+CFTPSCACHERD 102400

OK

output cached data nowAT+CFTPSCACHERD+CFTPSGET DATAltlengthellipOKhellip+CFTPSGET 0c)if failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 296451

OK

+CFTPSGET lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfer file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

ltusing_cachegt Numeric rang is 0-10ndashDo not use cache module will output the items data to serial portwhen list successfully1 ndash Use cache module will report +CFTPS RECV EVENT when listsuccessfully (Data will be output using AT+CFTPSCACHERDcommand)

lterrcodegt The result code of download file from FTP(s) server0 is successothers are failure please refer to chapter 1231

Example

AT+CFTPSGET=BBBTXTOK

+CFTPSGET DATA110FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH+CFTPSGET 0

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port

AT+CFTPSPUT Put a file to FTP(S) server through serial portTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 297451

AT+CFTPSPUT= +CFTPSPUT [non-ascii]FILEPATH[ltdata_lengt[ltrest_sizegt]]

OKWrite CommandAT+CFTPSPUT=ltfilepathgt[ltdata_lengt[ltrest_sizegt]]

Responsea)if upload file through serial port successfullyOK

+CFTPSPUT 0

b)if failed before input data+CFTPSPUT lterrcodegt

ERROR

c)if failed after input dataOK

+CFTPSPUT lterrcodegtd)if parameter format i or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdata_lengt Numeric typeThe length of the data to send the maximum length is2048if parameterltdata_lengt is omitted Each ltCtrl+Zgtcharacterpresent in the data flow of serial port when downloading FTP data willbe coded as ltETXgtltCtrl+Zgt Each ltETXgt character will be coded asltETXgtltETXgt Single ltCtrl+Zgt means end of the FTP dataltETXgt is0x03 and ltCtrl+Zgt is 0x1A

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload data to FTP(s) server0 is success othersare failure please refer to chapter 1231

Example

AT+CFTPSPUT=LKLMLOTXT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 298451

gt123457860OK

+CFTPSPUT 0

12216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type

AT+CFTPSSINGLEIP Set FTP(S) data socket address typeTest CommandAT+CFTPSSINGLEIP=

Response+CFTPSSINGLEIP (01)

OKRead CommandAT+CFTPSSINGLEIP

Response+CFTPSSINGLEIP ltsingleipgt

OKWrite CommandAT+CFTPSSINGLEIP=ltsingleipgt

ResponseIf parameter format is right and set successfullyOK

If parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsingleipgtThe FTPS data socket IP address type0 decided by PORT response from FTPS server1 the same as the control socket

Example

AT+CFTPSSINGLEIP=1OK

12217 AT+CFTPSCACHERD Output cached data to MCU

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 299451

AT+CFTPSCACHERD Output cached data to MCURead CommandAT+CFTPSCACHERD

Response+CFTPSCACHERD ltlengt

OKExecution CommandAT+CFTPSCACHERD

ResponseIf cache data is AT+CFTPSGET and everything goes well

+CFTPSGET DATAltout_lengtltCRgtltLFgthellip

OKorOK

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltlengt Numeric type The bytes of data cached in FTPS module

ltout_lengtThe bytes of data to output The maximum value is 1024 for eachAT+CFTPSCACHERD calling

Example

AT+CFTPSCACHERD+CFTPSCACHERD 21078

OK

12218 AT+CFTPSABORT Abort FTP(S) Operations

AT+CFTPSABORT Abort FTP(S) OperationsExecution CommandAT+CFTPSABORT

Responseif abort FTP(S) operation successfullyOK

+CFTPSABORT 0

sometimes abort successfully returns+CFTPSABORT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 300451

OK

if failedOK

+CFTPSABORT lterrcodegt

if any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of abort FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSABORTOK

+CFTPSABORT 0

12219 AT+CFTPSSIZE Get the File Size on FTP(S) server

AT+CFTPSSIZE Get the File Size on FTP(S) serverTest CommandAT+CFTPSSIZE=

Response+CFTPSSIZE ltfilepathgt

OKWrite CommandAT+CFTPSSIZE=ltfilepathgt

ResponseOK

+CFTPSSIZE ltfilesizegtorOK

+CFTPSSIZE lterrcodegtor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 301451

ERRORor+CFTPSSIZE lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote filepath on FTP(S) serverString typemax length is 256ltfilesizegt Numeric typesize of the remote file on FTP(S) serverlterrcodegt The result code of get file size Please refer to chapter 1231

Example

AT+CFTPSSIZE=TESTtxtOK

+CFTPSSIZE 1024

123 Summary of result codes for FTPS

1231 Summary of Command result lterrcodegt

Code of lterrcodegt Meaning0 Success1 SSL alert2 Unknown error3 Busy4 Connection closed by server5 Timeout6 Transfer failed7 File not exists or any other memory error8 Invalid parameter9 Operation rejected by server10 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 302451

11 State error12 Failed to parse server name13 Create socket error14 Connect socket failed15 Close socket failed16 SSL session closed17 File errorfile not exist or other error421 Server response connection time out while received error code

421you need do AT+CFTPSLOGOUT to logout server thenAT+CFTPSLOGIN again for further operations

1232 Summary of Unsolicited Result Codes

Unsolicited codes Description+CFTPSNOTIFY PEERCLOSED

When client disconnect passively URC +CFTPSNOTIFY PEERCLOSED will be reported then user need to executeAT+CFTPSLOGOUT andlog in again

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 303451

13AT Commands for HTTPS

131 Overview of AT Commands for HTTPS

Command DescriptionAT+HTTPINIT Start HTTP(S) serviceAT+HTTPTERM Stop HTTP(S) serviceAT+HTTPPARA Set HTTP(S) Parameters valueAT+HTTPACTION HTTP(S) Method ActionAT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseAT+HTTPREAD Read the response Information of HTTP(S) ServerAT+HTTPDATA Input HTTP(S) DataAT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileAT+HTTPREADFILE Receive HTTP(S) Response Content to a file

132 DetailedDescription of AT Commands for HTTPS

1321 AT+HTTPINIT Start HTTP(S) service

AT+HTTPINIT is used to start HTTP service by activating PDP context You must execute AT+HTTPINITbefore any other HTTP related operations

AT+HTTPINIT Start HTTP(S) serviceExecution CommandAT+HTTPINIT

Responsea)If start HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 304451

AT+HTTPINITOK

1322 AT+HTTPTERM Stop HTTP(S) Service

AT+HTTPTERM is used to stop HTTP service

AT+HTTPTERM Stop HTTP(S) serviceExecution CommandAT+HTTPTERM

Responsea)If stop HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

AT+HTTPTERMOK

1323 AT+HTTPPARA Set HTTP(S) Parameters value

AT+HTTPPARA is used to set HTTP parameters value When you want to access to a HTTP server youshould input ltvaluegt like httprsquoserverrsquorsquopathrsquorsquotcpPortrsquo In addition httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquo is used toaccess to a HTTPS server

AT+HTTPPARA Set HTTP(S) Parameters valueWrite CommandAT+HTTPPARA=URLlturlgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=CONNECTTOltconn_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=RECVTOltrecv_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occur

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 305451

ERRORWrite CommandAT+HTTPPARA=CONTENTltcontent_typegt

Responsea)If parameter format is rightOKb) If parameter format is not rightor other errors occurERROR

Write CommandAT+HTTPPARA=ACCEPTltaccept-typegt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=UAltuser_agentgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=SSLCFGltsslcfg_idgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=USERDATAltuser_datagt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKltbreakgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKENDltbreakendgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=VERSIONltversiongt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time 120000msReference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 306451

Defined Values

lturlgt URL of network resourceStringstart with http orhttpsa)httprsquoserverrsquorsquopathrsquorsquotcpPortrsquob)httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquoserver DNS domain name or IP addresspath path to a file or directory of a servertcpPort http default value is 80https default value is 443(can beomitted)

ltconn_timeoutgt Timeout for accessing server Numeric type range is 20-120s defaultis 120s

ltrecv_timeoutgt Timeout for receiving data from server Numeric type range is 2-120sdefault is 10s

ltcontent_typegt This is for HTTP Content-Type tag String type max length is256default is textplain

ltaccept-typegt This is for HTTP Accept-type tag String type max length is256default is

ltuser_agentgt Parameter for HTTP header User-Agent informationString typemax length is 256

ltsslcfg_idgt This is setting SSL context id Numeric type range is 0-9 Default is 0ltuser_datagt The customized HTTP header information String typemax length is

512ltbreakgt Parameter for HTTP method GET used for resuming broken

transfer The start of the broken transfer Default is 0ltbreakendgt Parameter for HTTP method GET used for resuming broken

transfer The end of the broken transfer Default is 0If both break and breakend are 0 the resume broken transferfunction is disabledIf breakend is bigger than break the transfer scope is from breakto breakendIf breakend is smaller than break the transfer scope is from breakto the end of the file

ltversiongt Parameter for HTTP version numeric type0 HTTP101 HTTP11

Example

AT+HTTPPARA=USERDATASOK

1324 AT+HTTPACTION HTTP(S) Method Action

AT+HTTPACTION is used to perform a HTTP Method You can use HTTPACTION to send a getpost

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 307451

request to a HTTPHTTPS server

AT+HTTPACTION HTTP(S) Method ActionTest CommandAT+HTTPACTION=

Response+HTTPACTION (0-3)

OKWrite CommandAT+HTTPACTION=ltmethodgt

Responsea)If parameter format is right OK

+HTTPACTION ltmethodgtltstatuscodegtltdatalengtb)If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltmethodgt HTTP method specification0 GET1 POST2 HEAD3 DELETE

ltstatuscodegt Please refer to chapter 1331ltdatalengt The length of data received

Example

AT+HTTPACTION=1OK

+HTTPACTION 12002800

1325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response

AT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseExecution CommandAT+HTTPHEAD

Responsea)If read the header information successfully+HTTPHEAD DATAltdata_lengtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 308451

OKb)If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdata_lengt The length of HTTP headerltdatagt The header information of HTTP response

Example

AT+HTTPHEAD+HTTPHEAD DATA750HTTP11 200 OKDate Thu 29 Mar 2018 092112 GMTContent-Type texthtmlContent-Length 14615Last-Modified Thu 15 Mar 2018 082300GMTConnection Keep-AliveVary Accept-EncodingSet-CookieBAIDUID=EF38663A5539EBEAE702321037D5491BFG=1 expires=Thu 31-Dec-37235555 GMT max-age=2147483647 path=domain=baiducomSet-CookieBIDUPSID=EF38663A5539EBEAE702321037D5491B expires=Thu 31-Dec-37 235555GMT max-age=2147483647 path=domain=baiducomSet-Cookie PSTM=1522315272expires=Thu 31-Dec-37 235555 GMTmax-age=2147483647 path=domain=baiducomP3P CP= OTI DSP COR IVA OUR IND COM Server BWS11X-UA-Compatible IE=Edgechrome=1Pragma no-cacheCache-control no-cacheAccept-Ranges bytes

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 309451

OK

1326 AT+HTTPREAD Read the Response Information of HTTP(S) Server

After sending HTTP(S) GETPOST requests you can retrieve HTTP(S) response information from HTTP(S)server via UARTUSB port by AT+HTTPREAD When the ltdata_lengt of +HTTPACTIONltmethodgtltstatuscodegtltdata_lengt is not equal to 0 you can read the response information from HTTP(S)server by AT+HTTPREAD You can execute AT+HTTPREAD to check the total data saved in buffer thenAT+HTTPREAD=ltbyte_sizegt to read out data to port If parameter ltbyte_sizegt is set greater than the sizeof data saved in buffer all data in buffer will output to port

AT+HTTPREAD Read the Response Information of HTTP(S) ServerRead CommandAT+HTTPREAD

Responsea)If check successfully+HTTPREAD LENltlengt

OKb)If failed(no more data other error)ERROR

Write CommandAT+HTTPREAD=ltstart_offsetgtltbyte_sizegt

Responsea)If read the response info successfullyOK

+HTTPREAD DATAltdata_lengtltdatagt[+HTTPREAD DATAltdata_lengtltdatagthellip]+HTTPREAD 0If ltbyte_sizegt is bigger than the data size received module will onlyreturn actual data sizeb) If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstart_offsetgt The start position of readingltbyte_sizegt The length of data to readltdata_lengt The actual length of read dataltdatagt Response content from HTTP server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 310451

ltlengt Total size of data saved in buffer

Example

AT+HTTPREAD=010OK

+HTTPREAD DATA10ltdoctyped+HTTPREAD 0

1327 AT+HTTPDATA Input HTTP(S) Data

You can use AT+HTTPDATA to input data to post when you send a HTTPHTTPS POST request

AT+HTTPDATA Input HTTP(S) DataWrite CommandAT+HTTPDATA=ltsizegtlttimegt

Response

a)if parameter format is right

DOWNLOAD

ltinput data heregt

When the total size of the inputted data reaches ltsizegt TA willreport the following code Otherwise the serial port will be blocked

OK

b)If parameter format is wrong or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsizegt Size in bytes of the data to post range is 1- 153600 (bytes)lttimegt Maximum time in seconds to input data range is 10-65535

Example

AT+HTTPDATA=1410000DOWNLOAD1234567890qwerOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 311451

1328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File

You can send HTTP request in a file via AT+HTTPPOSTFILE command The URL must be set byAT+HTTPPARA before executing AT+HTTPPOSTFILE command if set ltsend_headergt to 0 you cancustomize any HTTP request in the file module will send the file as HTTP header and body else if setltsend_headergt to 1 modlue will package a HTTP request itself the file will be sent as HTTP body Theparameter ltpathgt can be used to set the file directory When module has received response from HTTPserver it will report the following URC+HTTPPOSTFILE ltmethodgt[lthttpstatuscodegt[ltcontent_lengthgt]]Note 1The parameterltmethodgtltsend_headergtltpathgtcan be omitted the default value ofltsend_headergt is 0 the defaultltpathgtis 1 (cache)default method is 1 (POST)

AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileTest CommandAT+HTTPPOSTFILE=

Response+HTTPPOSTFILE ltfilenamegt[(1-3)[(0-3)[(0-1)]]]

OKWrite CommandAT+HTTPPOSTFILE=ltfilenamegt[ltpathgt][ltmethodgt][ltsend_headergt]

Responsea)if parameter format is right and server connected successfullya1 server response and content is not null

OK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegtltcontent_lengta2 server response but has no contentOK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegt0

b)if parameter format is right but server connected unsuccessfullyOK

+HTTPPOSTFILE ltmethodgtlterrcodegt0

c)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgtThe directory where the sent file saved Numeric type range is 1-31 ndash F (cache)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 312451

2 ndash D(sd card)3 ndash E (datamedia)

ltmethodgt

HTTP method specification0 ndash GET1ndash POST2ndash HEAD3ndash DELETE

lthttpstatuscodegt Please refer to chapter 1331lterrcodegt Please refer to chapter1332

ltsend_headergt

Send file as HTTP header and Body or Only as Body Numeric typethe range is 0-1 the default is 00 ndashSend file as HTTP header and body1 ndash Send file as Body

Example

AT+HTTPPOSTFILE=baidutxt3OK

+HTTPPOSTFILE 17140

1329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file

After execute AT+HTTPACTIONAT+HTTPOSTFILE command You can receive the HTTP server responsecontent to a file via AT+HTTPREADFILE Before AT+HTTPREADFILE executed+HTTPACTIONltmethodgtlthttpstatuscodegtltcontent_lengt or +HTTPPOSTFILElthttpsatuscodegtltcontent_lengt must be received The parameter ltpathgt can be used to set the directorywhere to save the file If omit parameter ltpathgt the file will be save to cacheNote by setting ltpathgt to 4 you can download CA files which is used for SSL verification details pleaserefer SIM7500_SIM7600_SIM7800 Series_SSL_AT_Commands_Manual

AT+HTTPREADFILE Receive HTTP(S) Response Content to a FileTest CommandAT+HTTPREADFILE=

Response+HTTPREADTFILE ltfilenamegt[(1-4)]

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 313451

Write CommandAT+HTTPREADFILE=ltfilenamegt[ltpathgt]

Responsea)if parameter format is right OK

+HTTPREADFILE ltresultgt

b)if parameter format is right+HTTPREADFILE ltresultgt

OK

c)if failed+HTTPREADFILE ltresultgt

ERROR

d)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgt

1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

Example

AT+HTTPREADFILE=baidutxt3OK

+HTTPREADFILE 0

133 Summary of result codes for HTTPS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 314451

1331 Summary of HTTP(S) Response Code

Code of lthttpstatuscodegt Meaning100 Continue101 Switching Protocols200 OK201 Created201 Accepted203 Non-Authoritative Information204 No Content205 Reset Content206 Partial Content300 Multiple Choices301 Moved Permanently302 Found303 See Other304 Not Modified305 Use Proxy307 Temporary Redirect400 Bad Request401 Unauthorized402 Payment Required403 Forbidden404 Not Found405 Method Not Allowed406 Not Acceptable407 Proxy Authentication Required408 Request Timeout409 Conflict410 Gone411 Length Required412 Precondition Failed413 Request Entity Too Large414 Request-URI Too Large415 Unsupported Media Type416 Requested range not satisfiable417 Expectation Failed500 Internal Server Error501 Not Implemented502 Bad Gateway

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 315451

503 Service Unavailable504 Gateway timeout505 HTTP Version not supported600 Not HTTP PDU601 Network Error602 No memory603 DNS Error604 Stack Busy

1332 Summary of HTTP(S) error Code

HTTP error code Meaning+HTTP_PEER_CLOSED Itrsquos a notification messagewhile receivedit means the connection

has been closed by server+HTTP_NONET_EVENT Itrsquos a notification messagewhile received it means now the

network is unavailable

Code of lterrcodegt Meaning0 Success701 Alert state702 Unknown error703 Busy704 Connection closed error705 Timeout706 Receivesend socket data failed707 File not exists or other memory error708 Invalid parameter709 Network error710 start a new ssl session failed711 Wrong state712 Failed to create socket713 Get DNS failed714 Connect socket failed715 Handshake failed716 Close socket failed717 No network error718 Send data timeout719 CA missed720 Server response timeout

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 316451

14AT Commands for MQTT(S)

141 Overview of AT Commands for MQTT(S)

Command DescriptionAT+CMQTTSTART Start MQTT serviceAT+CMQTTSTOP STOP MQTT serviceAT+CMQTTACCQ Acquire a clientAT+CMQTTREL Release a clientAT+CMQTTSSLCFG Set the SSL contextAT+CMQTTWILLTOPIC Input the will topicAT+CMQTTWILLMSG Input the will messageAT+CMQTTDISC Disconnect from serverAT+CMQTTCONNECT Connect to MQTT serverAT+CMQTTTOPIC Input the publish message topicAT+CMQTTPAYLOAD Input the publish message bodyAT+CMQTTPUB Publish a message to serverAT+CMQTTSUBTOPIC Input a subscribe message topicAT+CMQTTSUB Subscribe a message to serverAT+CMQTTUNSUBTOPIC Input a unsubscribe message topicAT+CMQTTUNSUB Unsubscribe a message to serverAT+CMQTTCFG Configure the MQTT Context

142 Detailed Description of AT Commands for MQTT(S)

1421 AT+CMQTTSTART Start MQTT service

AT+CMQTTSTART Start MQTT serviceExecution CommandAT+CMQTTSTART

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 317451

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

OKorERROR

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTARTOK

+CMQTTSTART 0

It must be executed before any other MQTT related operations

1422 AT+CMQTTSTOP STOP MQTT service

AT+CMQTTSTOP STOP MQTT serviceExecution CommandAT+CMQTTSTOP

ResponseOK

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 318451

orERROR

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTOPOK

+CMQTTSTOP 0

1423 AT+CMQTTACCQ Acquire a client

AT+CMQTTACCQ Acquire a clientTest CommandAT+CMQTTACCQ=

Response+CMQTTACCQ (0-1)(1-128)(0-1)(3-4)

OKRead CommandAT+CMQTTACCQ

Response+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt

OKWrite CommandAT+CMQTTACCQ=ltclient_indexgtltclientIDgt[ltserver_typegt[ltmqtt_versiongt]]

ResponseOKor+CMQTTACCQ ltclient_indexgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 319451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltclientIDgt The UTF-encoded string It specifies a unique identifier for the clientThe string length is from 1 to 128 bytes

ltserver_typegt A numeric parameter that identifies the server type The default valueis 00 - MQTT server with TCP1 - MQTT server with SSLTLS

ltmqtt_versiongt A numeric parameter that identifies the MQTT protocol version Thepermitted value is 3 or 43 - MQTT version 314 - MQTT version 311

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTACCQ=0client test004OK

It must be called before all commands about MQTT connect and after AT+CMQTTSTART

1424 AT+CMQTTREL Release a client

AT+CMQTTREL Release a clientTest CommandAT+CMQTTREL=

Response+CMQTTREL (0-1)

OKRead CommandAT+CMQTTREL

ResponseOK

Write CommandAT+CMQTTREL=ltclient_indexgt

ResponseOKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 320451

+CMQTTREL ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTREL=0OK

It can be called when client does not connect to server

1425 AT+CMQTTSSLCFG Set the SSL context

AT+CMQTTSSLCFG Set the SSL contextTest CommandAT+CMQTTSSLCFG=

Response+CMQTTSSLCFG (01)(0-9)

OKRead CommandAT+CMQTTSSLCFG

Response+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]

OKWrite CommandAT+CMQTTSSLCFG=ltsession_idgtltssl_ctx_indexgt

ResponseOKorERROR

Defined Values

ltsession_idgt A numeric parameter that identifies a client The range of permitted

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 321451

values is 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CMQTTSSLCFG=01OK

If you donrsquot set the SSL context by this command before connecting to server byAT+CMQTTCONNECT the CMQTTCONNECT operation will use the SSL context as same as indexltsession_idgt (the 1st parameter of AT+ CMQTTCONNECT) when connecting to the server

1426 AT+CMQTTWILLTOPIC Input the will topic

AT+CMQTTWILLTOPIC Input the will topicTest CommandAT+CMQTTWILLTOPIC=

Response+CMQTTWILLTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTWILLTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTWILLTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic The will topic should be UTF-encoded stringThe range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 322451

AT+CMQTTWILLTOPIC=015gtsimcomwilltopicOK

1427 AT+CMQTTWILLMSG Input the will message

AT+CMQTTWILLMSG Input the will messageTest CommandAT+CMQTTWILLMSG=

Response+CMQTTWILLMSG (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTWILLMSG=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTWILLMSG ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input data The will message should be UTF-encodedstring The range is from 1 to 1024 bytes

ltqosgt The qos value of the will message The range is from 0 to 2lterrgt The result code please refer to chapter1431

Example

AT+CMQTTWILLMSG=0170gtsimcomwillmessageOK

1428 AT+CMQTTDISC Disconnect from server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 323451

AT+CMQTTDISC Disconnect from serverTest CommandAT+CMQTTDISC=

Response+CMQTTDISC (0-1)(060-180)

OKRead CommandAT+CMQTTDISC

Response+CMQTTDISC 0ltdisc_stategt+CMQTTDISC 1ltdisc_stategt

OKWrite CommandAT+CMQTTDISC=ltclient_indexgtlttimeoutgt

ResponseOK

+CMQTTDISC ltclient_indexgtlterrgtor+CMQTTDISC ltclient_indexgtlterrgt

OKor+CMQTTDISC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lttimeoutgt The timeout value for disconnection The unit is second The range is60s to 180s The default value is 0s (not set the timeout value)

ltdisc_stategt 1 - disconnection0 - connection

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTDISC=0120OK

+CMQTTDISC 00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 324451

1429 AT+CMQTTCONNECT Connect to MQTT server

AT+CMQTTCONNECT Connect to MQTT serverTest CommandAT+CMQTTCONNECT=

Response+CMQTTCONNECT (0-1)(9-256)(1-64800)(0-1)

OKRead CommandAT+CMQTTCONNECT

Response+CMQTTCONNECT0[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]+CMQTTCONNECT1[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]

OKWrite CommandAT+CMQTTCONNECT=ltclient_indexgtltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]

ResponseOK

+CMQTTCONNECT ltclient_indexgtlterrgtor+CMQTTCONNECT ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltserver_addrgt The string that described the server address and port The range ofthe string length is 9 to 256 bytes The string should be like thistcp1162471191655141 must begin with tcp If theltserver_addrgt not include the port the default port is 1883

ltkeepalive_timegt The time interval between two messages received from a client Theclient will send a keep-alive packet when there is no message sent toserver after song long time The range is from 1s to 64800s (18 hours)

ltclean_sessiongt The clean session flag The value range is from 0 to 1 and defaultvalue is 00 - the server must store the subscriptions of the client after itdisconnected This includes continuing to store QoS 1 and QoS 2messages for the subscribed topics so that they can be deliveredwhen the client reconnects The server must also maintain the state of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 325451

in-flight messages being delivered at the point the connection is lostThis information must be kept until the client reconnects1 - the server must discard any previously maintained informationabout the client and treat the connection as clean The server mustalso discard any state when the client disconnects

ltuser_namegt The user name identifies the name of the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

ltpasswordgt The password corresponding to the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTCONNECT=0tcphooleepingcom8883601OK

+CMQTTCONNECT 00

If you donrsquot set the SSL context by AT+CMQTTSSLCFG before connecting a SSLTLS MQTT server byAT+CMQTTCONNECT it will use the ltclient_indexgt (the 1st parameter of AT+CMQTTCONNECT)SSL context when connecting to the server

14210AT+CMQTTTOPIC Input the publish message topic

AT+CMQTTTOPIC Input the publish message topicTest CommandAT+CMQTTTOPIC=

Response+CMQTTTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTTOPIC ltclient_indexgtlterrgt

ERROR

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 326451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTTOPIC=011gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTPUB

14211 AT+CMQTTPAYLOAD Input the publish message body

AT+CMQTTPAYLOAD Input the publish message bodyTest CommandAT+CMQTTPAYLOAD=

Response+CMQTTPAYLOAD (0-1)(1-10240)

OKWrite CommandAT+CMQTTPAYLOAD=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOK+CMQTTPAYLOAD ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 327451

ltreq_lengthgt The length of input message data The publish message should beUTF-encoded string The range is from 1 to 10240 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPAYLOAD=013gtsimcompayloadOK

The payload will be clean after execute AT+CMQTTPUB

14212AT+CMQTTPUB Publish a message to server

AT+CMQTTPUB Publish a message to serverTest CommandAT+CMQTTPUB=

Response+CMQTTPUB (0-1)(0-2)(60-180)(0-1)(0-1)

OKWrite CommandAT+CMQTTPUB=ltclient_indexgtltqosgtltpub_timeoutgt[ltretainedgt [ltdupgt]]

ResponseOK

+CMQTTPUB ltclient_indexgtlterrgtor+CMQTTPUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltpub_timeoutgt The publishing timeout interval value Since the client publish amessage to server it will report failed if the client receive no response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 328451

from server after the timeout value seconds The range is from 60s to180s

ltretainedgt The retain flag of the publish message The value is 0 or 1 The defaultvalue is 0When a client sends a PUBLISH to a server if the retain flag is set to1 the server should hold on to the message after it has been deliveredto the current subscribers

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPUB=00120OK

+CMQTTPUB 00

14213AT+CMQTTSUBTOPIC Input a subscribe message topic

AT+CMQTTSUBTOPIC Input a subscribe message topicTest CommandAT+CMQTTSUBTOPIC=

Response+CMQTTSUBTOPIC (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTSUBTOPIC=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTSUBTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 329451

UTF-encoded string The range is from 1 to 1024 bytes

NOTE The max length of the total cached topics is 5120ltqosgt The publish messagersquos qos The range is from 0 to 2

0 ndash at most once1 ndash at least once2 ndash exactly once

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUBTOPIC=0110gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTSUB

14214AT+CMQTTSUB Subscribe a message to server

AT+CMQTTSUB Subscribe a message to serverTest CommandAT+CMQTTSUB=

Response+CMQTTSUB (0-1)(1-1024)(0-2)(0-1)

OKWrite Commandsubscribe one or more topicswhich input byAT+CMQTTSUBTOPICAT+CMQTTSUB=ltclient_indexgt[ltdupgt]

ResponseOK

+CMQTTSUB ltclient_indexgtlterrgtor+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command subcribe one topicAT+CMQTTSUB=ltclient_indexgtltreqLengthgtltqosgt[ltdupgt]

Responsegtltinput data heregtOK

+CMQTTSUB ltclient_indexgtlterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 330451

or+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUB=0OK

+CMQTTSUB 00

14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic

AT+CMQTTUNSUBTOPIC Input a unsubscribe message topicTest CommandAT+CMQTTUNSUBTOPIC=

Response+CMQTTUNSUBTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTUNSUBTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTUNSUBTOPIC ltclient_indexgtlterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 331451

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUBTOPIC=011gtsimcomtopicOK

The max length of the total cached topics is 5120The topic will be clean after execute AT+CMQTTUNSUB

14216AT+CMQTTUNSUB Unsubscribe a message to server

AT+CMQTTUNSUB Unsubscribe a message to serverTest CommandAT+CMQTTUNSUB=

Response+CMQTTUNSUB (0-1)(1-1024)(0-1)

OKWrite Command unsubscribe one or moretopics which input byAT+CMQTTUNSUBTOPICAT+CMQTTUNSUB=ltclient_indexgtltdupgt

ResponseOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 332451

unsubscribe one topicAT+CMQTTUNSUB=ltclient_indexgtltreqLengthgtltdupgt

gtltinput data heregtOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUB =00OK

+CMQTTUNSUB 00

14217AT+CMQTTCFG Configure the MQTT Context

AT+CMQTTCFG Configure the MQTT ContextTest CommandAT+CMQTTCFG=

Response+CMQTTCFG checkUTF8(0-1)(0-1)+CMQTTCFG optimeout(0-1)(20-120)+CMQTTCFGaliauth(0-1)productkeydevicenamedevicesecret

OKRead CommandAT+CMQTTCFG

Response+CMQTTCFG 0ltcheckUTF8_flaggtltoptimeout_valgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 333451

+CMQTTCFG 1ltcheckUTF8_flaggtltoptimeout_valgt

OKWrite CommandConfigure the check UTF8flag of the specified MQTTclient contextAT+CMQTTCFG=checkUTF8ltclient_indexgtltcheckUTF8_flaggt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the max timeoutinterval of the send or receivedata operationAT+CMQTTCFG=optimeoutltclient_indexgtltoptimeout_valgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the deviceinformation for Alibaba cloudAT+CMQTTCFG=aliauthltclient_indexgtltproductkeygtltdevicenamegtltdevicesecretgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcheckUTF8_flaggt The flag to indicate whether to check the string is UTF8 coding or notthe default value is 10 ndash Not check UTF8 coding1 ndash Check UTF8 coding

ltoptimeout_valgt The max timeout interval of sending or receiving data operation Therange is from 20 seconds to 120 seconds the default value is 120seconds

ltproductkeygt String type Product key issued by Alibaba Cloudltdevicenamegt String type Device name issued by Alibaba Cloudltdevicesecretgt String type Device secret key issued by Alibaba Cloudlterrgt The result code please refer to chapter 1431

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 334451

AT+CMQTTCFG=checkUTF800OKAT+CMQTTCFG=optimeout0120OK

It must be called before AT+CMQTTCONNECT and after AT+CMQTTACCQ The setting will be clearedafter AT+CMQTTREL

143 Summary of result codes for MQTT(S)

1431 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 operation succeeded1 failed2 bad UTF-8 string3 sock connect fail4 sock create fail5 sock close fail6 message receive fail7 network open fail8 network close fail9 network not opened10 client index error11 no connection12 invalid parameter13 not supported operation14 client is busy15 require connection fail16 sock sending fail17 timeout18 topic is empty19 client is used20 client not acquired

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 335451

21 client not released22 length out of range23 network is opened24 packet fail25 DNS error26 socket is closed by server27 connection refused unaccepted protocol version28 connection refused identifier rejected29 connection refused server unavailable30 connection refused bad user name or password31 connection refused not authorized32 handshake fail33 not set certificate34 open SSL session failed

1432 Summary of Unsolicited Result Codes

Unsolicited codes Description+CMQTTCONNLOSTltclient_indexgtltcausegt

When client disconnect passively URC +CMQTTCONNLOSTwill be reported then user need to connect MQTT server again

+CMQTTPINGltclient_indexgtlterrgt

When send ping (which keep-alive to the server) to server failedthe module will report this URCIf received this message you should disconnect the connectionand re-connect

+CMQTTNONET When the network is become no network the module will reportthis URCIf received this message you should restart the MQTT service byAT+CMQTTSTART

+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt

for long topic split to multiplepackets to report[ltCRgtltLFgt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt]+CMQTTRXPAYLOAD

If a client subscribes to one or more topics any messagepublished to those topics are sent by the server to the client Thefollowing URC is used for transmitting the message publishedfrom server to client1)+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengtAt the beginning of receiving published message the module willreport this to user and indicate client index with ltclient_indexgtthe topic total length with lttopic_total_lengt and the payload totallength with ltpayload_total_lengt2)+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtrnltsub_topicgtAfter the command +CMQTTRXSTART received the module will

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 336451

ltclient_indexgtltsub_payload_lengtltsub_payloadgtfor long payload split to multiplepackets to report[+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtltsub_payloadgt]+CMQTTRXEND ltclient_indexgt

report the second message to user and indicate client index withltclient_indexgt the topic packet length with ltsub_topic_lengt andthe topic content with ltsub_topicgt after rnFor long topic it will be split to multiple packets to report and thecommand +CMQTTRXTOPIC will be send more than once withthe rest of topic content The sum of ltsub_topic_lengt is equal tolttopic_total_lengt3)+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtrnltsub_payloadgtAfter the command +CMQTTRXTOPIC received the module willsend third message to user and indicate client index withltclient_indexgt the payload packet length withltsub_payload_lengt and the payload content with ltsub_payloadgtafter rnFor long payload the same as +CMQTTRXTOPIC4) +CMQTTRXEND ltclient_indexgtAt last the module will send fourth message to user and indicatethe topic and payload have been transmitted completely

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcausegt The cause of disconnection1 ndash Socket is closed passively2 ndash Socket is reset3 ndash Network is closed

lttopic_total_lengt The length of message topic received from MQTT server The range isfrom 1 to 1024 bytes

ltpayload_total_lengt The length of message body received from MQTT server The range isfrom 1 to 10240 bytes

ltsub_topic_lengt The sub topic packet length The sum of ltsub_topic_lengt is equal tolttopic_total_lengt

ltsub_topicgt The sub topic contentltsub_payload_lengt Max length is 1500 The sub message body packet length The sum of

ltsub_payload_lengt is equal to ltpayload_total_lengtltsub_payloadgt The sub message body contentlterrgt The result code please refer to chapter 1431

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 337451

15AT Commands for NTP

151 Overview of AT Commands for NTP

Command DescriptionAT+CNTP Update system time

152 Detailed Description of AT Commands for NTP

1521 AT+CNTP Update system time

AT+CNTP Update system timeTest CommandAT+CNTP=

Response+CNTP 255(-96~96)

OKRead CommandAT+CNTP

Response+CNTP lthostgtlttimezonegt

OK

Write CommandAT+CNTP=lthostgt[lttimezonegt]

ResponseOKorERROR

Execution CommandAT+CNTP

ResponseOK

+CNTP lterrgtorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 338451

Reference -

Defined Values

lthostgt NTP server addresslength is 255lttimezonegt Local time zonethe range is(-96 to 96) default value is 0

Example

AT+CNTP=202120210132OKAT+CNTPOK

+CNTP 0

1522 Unsolicited NTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error5 Time zone error6 Time out error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 339451

16AT Commands for HTP

161 Overview of AT Commands for HTP

Command DescriptionAT+CHTPSERV Set HTP server infoAT+CHTPUPDATE Updating date time using HTP protocol

162 Detailed Description of AT Commands for HTP

1621 AT+CHTPSERV Set HTP server info

AT+CHTPSERV Set HTP server infoTest CommandAT+CHTPSERV=

Response+CHTPSERV ADDHOST(1-65535)(0-1)[PROXY(1-65535)]+CHTPSERV DEL(0-15)

OK

Read CommandAT+CHTPSERV

Response+CHTPSERVltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]hellip+CHTPSERV ltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]

OKorOK (if HTP server not setted)

Write CommandAT+CHTPSERV=ltcmdgtlthost_or_idxgt[ltportgtlthttp_versiongt[ltproxygtltprox

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 340451

y_portgt]]

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltcmdgt This command to operate the HTP server listADD add a HTP server item to the listDEL delete a HTP server item from the list

lthost_or_idxgt If the ltcmdgt is ADD this field is the same as lthostgt needsquotation marks If the ltcmdgt is DEL this field is the index of theHTP server item to be deleted from the list does not need quotationmarks

lthostgt The HTP server addressltportgt The HTP server portlthttp_versiongt The HTTP version of the HTP server

0-HTTP 101-HTTP 11

ltproxygt The proxy addressltproxy_portgt The port of the proxyltindexgt The HTP server index

Example

AT+CHTPSERV=ADDwwwgooglecom801OK

1622 AT+CHTPUPDATE Updating date time using HTP protocol

AT+CHTPUPDATE Updating date time using HTP protocolTest CommandAT+CHTPUPDATE=

ResponseOK

Read CommandAT+CHTPUPDATE

Response+CHTPUPDATE ltstatusgt

OK

Execution CommandAT+CHTPUPDATE

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 341451

+CHTPUPDATE lterrgtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstatusgt The status of HTP moduleUpdating HTP module is synchronizing date timeNULL HTP module is idle now

lterrgt The result of the HTP updating

Example

AT+CHTPUPDATEOK

+CHTPUPDATE 0

1623 Unsolicited HTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 342451

17AT Commands for GPS

171 Overview of AT Commands for GPS

Command DescriptionAT+CGPS StartStop GPS sessionAT+CGPSINFO Get GPS fixed position informationAT+CGPSCOLD Cold start GPSAT+CGPSHOT Hot start GPSAT+CGPSURL Set AGPS default server URLAT+CGPSSSL Set AGPS transport securityAT+CGPSAUTO Start GPS automaticAT+CGPSNMEA Configure NMEA sentence typeAT+CGPSNMEARATE Set NMEA output rateAT+CGPSMD Configure AGPS MO methodAT+CGPSFTM Start GPS test modeAT+CGPSDEL Delete the GPS informationAT+CGPSXE EnableDisable GPS XTRA functionAT+CGPSXD Download XTRA assistant fileAT+CGPSXDAUTO Download XTRA assistant file automaticallyAT+CGPSPMD Configure positioning modeAT+CGPSMSB Configure based mode switch to standaloneAT+CGPSHOR Configure positioning desired accuracyAT+CGNSSINFO Get GNSS fixed position informationAT+CGNSSMODE Configure GNSS support mode

172 Detailed Description of AT Commands for GPS

1721 AT+CGPS StartStop GPS session

AT+CGPS StartStop GPS session

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 343451

Test CommandAT+CGPS=

Response+CGPS (scope ofltonoffgt)(scope ofltmodegt)

OKRead CommandAT+CGPS

Response+CGPS ltonoffgtltmodegt

OKWrite CommandAT+CGPS=ltonoffgt[ltmodegt]

ResponseOKIf UE-assisted mode when fixed will report indication+CAGPSINFO ltlatgtltlongtltaltgtltdategtlttimegtIf ltoffgt it will report indication+CGPS 0

Defined Values

ltonoffgt 0 stop GPS session1 start GPS session

ltmodegt Ignore - standalone mode1 standalone mode2 UE-based mode3 UE-assisted mode

ltlatgt Latitude of current position Unit is in 10^8 degreeltlongt Longitude of current position Unit is in 10^8 degreeltdategt UTC Date Output format is ddmmyyyylttimegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is meters

Example

AT+CGPS+CGPS 01

OKAT+CGPS=0OK

+CGPS 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 344451

1722 AT+CGPSINFO Get GPS fixed position information

AT+CGPSINFO Get GPS fixed position informationTest CommandAT+CGPSINFO=

Response+CGPSINFO (scope oflttimegt)

OKRead CommandAT+CGPSINFO

Response+CGPSINFO lttimegt

OKWrite CommandAT+CGPSINFO=lttimegt

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

If ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGPSINFO

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

Defined Values

ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltlongt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course Degreeslttimegt The range is 0-255 unit is second after set lttimegt will report the GPS

information every the seconds

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 345451

AT+CGPSINFO=+CGPSINFO (0-255)

OKAT+CGPSINFO+CGPSINFO 0

OKAT+CGPSINFOOK

+CGPSINFO 3113343286N12121234064E2503110728093441000

1723 AT+CGPSCOLD Cold Start GPS

AT+CGPSCOLD Cold Start GPSTest CommandAT+CGPSCOLD=

ResponseOK

Execution CommandAT+CGPSCOLD

ResponseOK

Example

AT+CGPSCOLD=OKAT+CGPSCOLDOK

Before using this command ensure GPS is off

1724 AT+CGPSHOT Hot Start GPS

AT+CGPSHOT Hot Start GPSTest CommandAT+CGPSHOT=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 346451

Execution CommandAT+CGPSHOT

ResponseOK

Example

AT+CGPSHOT=OKAT+CGPSHOTOK

Before using this command ensure GPS is off

1725 AT+CGPSURL Set AGPS default server URL

AT+CGPSURL Set AGPS default server URLTest CommandAT+CGPSURL=

ResponseOK

Read CommandAT+CGPSURL

Response+CGPSURL ltURLgt

OKWrite CommandAT+CGPSURL=ltURLgt

ResponseOKOrERROR

Defined Values

ltURLgt AGPS default server URL It needs double quotation marksNOTE Max length of URL is 128

Example

AT+CGPSURL=1231231231238888OKAT+CGPSURL+CGPSURL 1231231231238888

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 347451

It will take effect only after restarting

1726 AT+CGPSSSL Set AGPS transport security

AT+CGPSSSL Set AGPS transport securityTest CommandAT+CGPSSSL=

Response+CGPSSSL (list of supported ltSSLgt)

OKRead CommandAT+CGPSSSL

Response+CGPSSSL ltSSLgt

OKWrite CommandAT+CGPSSSL=ltSSLgt

ResponseOKOrERROR

Defined Values

ltSSLgt 0 donrsquot use certificate1 use certificate

Example

AT+CGPSSSL=0OK

This command is used to select transport security used certificate or not The certificate gets from localcarrier If the AGPS server doesnrsquot need certificate execute AT+CGPSSSL=0

1727 AT+CGPSAUTO Start GPS automatic

AT+CGPSAUTO Start GPS automaticTest Command Response

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 348451

AT+CGPSAUTO= +CGPSAUTO (list of supportedltautogt)

OKRead CommandAT+CGPSAUTO

Response+CGPSAUTO ltautogt

OKWrite CommandAT+CGPSAUTO=ltautogt

ResponseOKOrERROR

Defined Values

ltautogt 0 Non-automatic1 automatic

Example

AT+CGPSAUTO=1OK

If GPS start automatically its operation mode is standalone mode

1728 AT+CGPSNMEA Configure NMEA sentence type

AT+CGPSNMEA Configure NMEA sentence typeTest CommandAT+CGPSNMEA=

Response+CGPSNMEA (scope of ltnmeagt)

OKRead CommandAT+CGPSNMEA

Response+CGPSNMEA ltnmeagt

OKWrite CommandAT+CGPSNMEA=ltnmeagt

ResponseOKOrERROR

Defined Values

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 349451

ltnmeagt Range ndash 0 to 2147483647Each bit enables an NMEA sentence output as followsBit 0 ndash GPGGA (Fix data)Bit 1 ndash GPRMC (recommended minimum data)Bit 2 ndash GPGSV (GPS SVs in view)Bit 3 ndash GPGSA (GPS SV dop and active SV info)Bit 4 ndash GPVTG (Speed and heading info)Bit 5 ndash PQXFIBit 6 ndash PSTIS (proprietary sentence at beginning of each sess)Bit 7 ndash GLGSV (Glonass SV in view info)Bit 8 ndash GNGSA (Dop and Active SV info iff Glonass SVs are used)Bit 9 ndash GNGNS (new GGA message for GNSS)Bit 10 ndash GARMC (GAL recommended minimum data)Bit 11 ndash GAGSV (GAL SVs in view)Bit 12 ndash GAGSA (GAL SV dop and active SV info)Bit 13 ndash GAVTG (GAL Speed and heading info)Bit 14 ndash GAGGA (GAL Fix data)Bit 15 ndash PQGSA (QZSS Enable PQGSA)Bit 16 ndash PQGSV (QZSS Enable PQGSV)Bit 17 ndash DEBUG (NMEA debugging enable)Bit 18 ndash GPDTM (new DTM message for GAL)Bit 19 ndash GNGGA (Fix data)Bit 20 ndash GNRMC (recommended minimum data)Bit 21 ndash GNVTG (GNSS Speed and heading info)Bit 22 ndash GAGNS (GNS message for GAL)Bit 23 ndash GBGGA (BDS Fix data)Bit 24 ndash GBGSA (BDS SV dop and active SV info)Bit 25 ndash GBGSV (BDS SV in view info)Bit 26 ndash GBRMC (BDS recommended minimum data)Bit 27 ndash GBVTG (BDS Speed and heading info)Bit 28 ndash GQGSV (QZSS SV in view info)Bit 29 ndash GIGSV (NAVIC SV in view info)Bit 30 ndash GNDTM (GNSS Datum Message)

Set the desired NMEA sentence bit(s) If multiple NMEA sentenceformats are desired OR the desired bits together

Example

AT+CGPSNMEA=200191OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 350451

take effect next fix

1729 AT+CGPSNMEARATE Set NMEA output rate

AT+CGPSNMEARATE Set NMEA output rateTest CommandAT+CGPSNMEARATE=

Response+CGPSNMEARATE (list of supportedltrategt)

OKRead CommandAT+CGPSNMEARATE

Response+CGPSNMEARATE ltrategt

OKWrite CommandAT+CGPSNMEARATE=ltrategt

ResponseOKOrERROR

Defined Values

ltrategt 0 output rate 1HZ1 output rate 10HZ

Example

AT+CGPSNMEARATE=1OK

the command will effect next open gps

17210AT+CGPSMD Configure AGPS MO method

AT+CGPSMD Configure AGPS MO methodTest CommandAT+CGPSMD=

Response+CGPSMD (scope ofltmethodgt)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 351451

OKRead CommandAT+CGPSMD

Response+CGPSMD ltmethodgt

OKWrite CommandAT+CGPSMD=ltmethodgt

ResponseOK

Defined Values

ltmethodgt 0 Control plane1 User plane

17211 AT+CGPSFTM Start GPS test mode

AT+CGPSFTM Start GPS test modeTest CommandAT+CGPSFTM=

ResponseOK

Read CommandAT+CGPSFTM

Response+CGPSFTM ltonoffgt

OKWrite CommandAT+CGPSFTM=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Close test mode1 Start test mode

ltSVgt Satellite ID numberltCNogt Satellite CNo value Floating valueURC format $GPGSV[ltSVgtltCNogt][]

$GLGSV[ltSVgtltCNogt][]$GBGSV[ltSVgtltCNogt][]$GAGSV[ltSVgtltCNogt][]$GQGSV[ltSVgtltCNogt][]$GIGSV[ltSVgtltCNogt][]

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 352451

AT+CGPSFTM=1OK

$GPGSV3171626191801725619239282242004005001200

$GBGSV230235229274220269

$GQGSV193228195247

URC sentence will report every 1 second

17212AT+CGPSDEL Delete the GPS information

AT+CGPSDEL Delete the GPS informationTest CommandAT+CGPSDEL=

ResponseOK

Execution CommandAT+CGPSDEL

ResponseOK

Example

AT+CGPSDEL=OKAT+CGPSDELOK

This command must be executed after GPS stopped

17213AT+CGPSXE EnableDisable GPS XTRA function

AT+CGPSXE EnableDisable GPS XTRA functionTest CommandAT+CGPSXE=

Response+CGPSXE (list of supportedltonoffgt)

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 353451

OKRead CommandAT+CGPSXE

Response+CGPSXE ltonoffgt

OKWrite CommandAT+CGPSXE=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Disable GPS XTRA1 Enable GPS XTRA

Example

AT+CGPSXE=+CGPSXE (01)

OKAT+CGPSXE=0OK

XTRA function must download the assistant file from network by HTTP so the APN must be set byAT+CGDCONT commandIt will take effect only after restarting

17214AT+CGPSXD Download XTRA assistant file

AT+CGPSXD Download XTRA assistant fileTest CommandAT+CGPSXD=

Response+CGPSXD (list of supportedltservergt)

OKRead CommandAT+CGPSXD

Response+CGPSXD ltservergt

OKWrite Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 354451

AT+CGPSXD=ltservergt OK

+CGPSXD ltrespgt

OrERROR

Defined Values

ltservergt 0 XTRA primary server (precedence)1 XTRA secondary server2 XTRA tertiary server

ltrespgt refer to Unsolicited XTRA download Codes

Example

AT+CGPSXD=+CGPSXD (0-2)

OKAT+CGPSXD=0OK

+CGPSXD 0

17215AT+CGPSXDAUTO Download XTRA assistant file automatically

AT+CGPSXDAUTO Download XTRA assistant file automaticallyTest CommandAT+CGPSXDAUTO=

Response+CGPSXDAUTO (list of supportedltonoffgt)

OKRead CommandAT+CGPSXDAUTO

Response+CGPSXDAUTO ltonoffgt

OKWrite CommandAT+CGPSXDAUTO=ltonoffgt

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 355451

Defined Values

ltonoffgt 0 disable download automatically1 enable download automatically

Example

AT+CGPSXDAUTO=+CGPSXDAUTO (01)

OKAT+CGPSXDAUTO=0OK

17216AT+CGPSPMD Configure positioning mode

AT+CGPSPMD Configure positioning modeTest CommandAT+CGPSPMD=

Response+CGPSPMD (scope of ltmodegt)

OKRead CommandAT+CGPSPMD

Response+CGPSPMD ltmodegt

OKWrite CommandAT+CGPSPMD=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt Default - 65407Range - 1 to 65407Each bit enables a supported positioning mode as followsBit 0 ndash StandaloneBit 1 ndash UP MS-basedBit 2 ndash UP MS-assistedBit 3 ndash CP MS-based (2G)Bit 4 ndash CP MS-assisted (2G)Bit 5 ndash CP UE-based (3G)Bit 6 ndash CP UE-assisted (3G)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 356451

Bit 7 ndash NOT USEDBit 8 ndash UP MS-based (4G)Bit 9 ndash UP MS-assisted(4G)Bit 10 ndash CP MS-based (4G)Bit 11 ndash CP MS-assisted (4G)Set the desired mode sentence bit(s) If multiple modes are desiredOR the desired bits togetherExample support standalone UP MS-based and UP MS-assisted setBinary value 0000 0111 is 7

Example

AT+CGPSPMD=127OK

Need to restart the module after setting the mode

17217AT+CGPSMSB Configure based mode switch to standalone

AT+CGPSMSB Configure based mode switch to standaloneTest CommandAT+CGPSMSB=

Response+CGPSMSB (scope of ltmodegt)

OKRead CommandAT+CGPSMSB

Response+CGPSMSB ltmodegt

OKWrite CommandAT+CGPSMSB=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt 0 Donrsquot switch to standalone mode automatically1 Switch to standalone mode automatically

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 357451

AT+CGPSMSB=0OK

This command take effect next start gps

17218AT+CGPSHOR Configure positioning desired accuracy

AT+CGPSHOR Configure positioning desired accuracyTest CommandAT+CGPSHOR=

Response+CGPSHOR (scope of ltaccgt)

OKRead CommandAT+CGPSHOR

Response+CGPSHOR ltaccgt

OKWrite CommandAT+CGPSHOR=ltaccgt

ResponseOKOrERROR

Defined Values

ltaccgt Range ndash 0 to 1800000Default value is 50

Example

AT+CGPSHOR=50OK

This command take effect next start gps

17219AT+CGNSSINFO Get GNSS fixed position information

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 358451

AT+CGNSSINFO Get GNSS fixed position informationTest CommandAT+CGNSSINFO=

Response+CGNSSINFO (scope of lttimegt)

OKRead CommandAT+CGNSSINFO

Response+CGNSSINFO lttimegt

OKWrite CommandAT+CGNSSINFO=lttimegt

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][HDOP][VDOP]OrIf ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGNSSINFO

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][ltHDOPgt][ltVDOPgt]

Defined Values

ltmodegt Fix mode 2=2D fix 3=3D fixltGPS-SVsgt GPS satellite valid numbers scope 00-12ltGLONASS-SVsgt GLONASS satellite valid numbers scope 00-12ltBEIDOU-SVsgt BEIDOU satellite valid numbers scope 00-12ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltloggt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC-timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course DegreesltPDOPgt Position Dilution Of Precision

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 359451

ltHDOPgt Horizontal Dilution Of PrecisionltVDOPgt Vertical Dilution Of Precisionlttimegt The range is 0-255 unit is second after set lttimegt will report the

GNSS information every the seconds

Example

AT+CGNSSINFO=+CGNSSINFO (0-255)

OKAT+CGNSSINFO+CGNSSINFO 0

OKAT+CGNSSINFOOK

+CGNSSINFO20905003113330650N12121262554E1311170919180329002550110807

AT+CGNSSINFO(if not fixwill report null)OK

+CGNSSINFO

17220AT+CGNSSMODE Configure GNSS support mode

AT+CGNSSMODE Configure GNSS support modeTest CommandAT+CGNSSMODE=

Response+CGNSSMODE (scope of ltgnss_modegt)(scope of ltdpo_modegt)

OKRead CommandAT+CGNSSMODE

Response+CGNSSMODE ltgnss_modegtltdpo_modegt

OKWrite CommandAT+CGNSSMODE=ltgnss_modegt[ltdpo_modegt]

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 360451

Defined Values

ltgnss_modegt Range ndash 0 to 63Bit0 GLONASSBit1 BEIDOUBit2 GALILEOBit3 QZSSBit4 GPSBit5 NAVIC

ltdpo_modegt 1 enable DPO0 disable DPO

Example

AT+CGNSSMODE=151OK

Module should reboot to take effective

17221Unsolicited XTRA download Codes

Code of lterrgt

Code of lterrgt Description0 Assistant file download successfully1 Assistant file doesnrsquot exist2 Assistant file check error225 Memory error227 Network error

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 361451

18AT Commands for LBS

181 Overview of AT Commands for LBS

Command DescriptionAT+CLBS Base station LocationAT+CLBSCFG Base station Location configure

182 Detailed Description of AT Commands for LBS

1821 AT+CLBS Base station location

AT+CLBS Base station LocationTest CommandAT+CLBS=

Response+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OKWrite CommandAT+CLBS=lttypegt[ltcidgt[[ltlongitudegtltlatitudegt][ltlon_typegt]]]

ResponseOK1)lttypegt=1get longitude and latitude+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgt]

2)type = 2get detail address+CLBS ltret_codegt[ltdetail_addrgt]

3)type = 3get access times+CLBS ltret_codegt[lttimesgt]

4)type = 4get longitude latitude and date time+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgtltdategtlttimegt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 362451

5)type = 9 report positioning error+CLBS ltret_codegt

If error is related to ME functionality+CLBS ltret_codegt

ERRORReference

Defined Values

lttypegt A numeric parameter which specifies the location type1 use 3 cellrsquos information2 get detail address3 get access times4 get longitude latitude and date time9 report positioning error

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)

1hellip42ltlongitudegt Current longitude in degrees

-180000000-180000000ltlatitudegt Current latitude in degrees

-90000000-90000000ltdetail_addrgt Current detail address It based the UCS2 coding Each 4 characters

in the URC is for one UCS2 characterltaccgt Positioning accuracyltlon_typegt The type of longitude and latitude

0 WGS841 GCJ02

lttimesgt Access service times(UTCthe format is YYYYMMDDHHMMSS)ltdategt Service date(UTC the format is YYYYMMDD)lttimegt Service time(UTC the format is HHMMSS)ltret_codegt The result code

0 Success1 Parameter error returned by server2 Service out of time returned by server3 Location failed returned by server4 Query timeout returned by server5 Certification failed returned by server6 Server LBS error success7 Server LBS error failed8 LBS is busy9 Open network error10 Close network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 363451

11 Operation timeout12 DNSerror13 Create socket error14 Connect socket error15 Close socket error16 Get cell info error17 Get IMEI error18 Send data error19 Receive data error20 NONET error21 Net not opened80 Report LBS to server success81 Report LBS to server parameter error82 Report LBS to server failed110 Other Error

Example

AT+CLBS=+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OK

AT+CLBS=1OK

+CLBS 031228525121380295500

AT+CLBS=2OK

+CLBS04e0a6d775e020020957f5b81533a002091d1949f8def002097608fd166688baf79d162805927697c

AT+CLBS=3OK

+CLBS 020200430094856

AT+CLBS=4OK

+CLBS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 364451

03122852512138029550020250607104908

If customers feel that the positioning error is too large lttypegt=9 can be used to report this informationThe error can be improved by this informationThe LBS is only support in GSMWCDMACDMALTE5G net modeBefore use LBS please execute AT+NETACT to check urc If return +NETACT 0 please excuteAT+NETACT=1 firstly If return +NETACT 1 excute LBS commands directly

1822 AT+CLBSCFG Base station Location configure

AT+CLBSCFG Base station Location configureTest CommandAT+CLBSCFG=

Response+CLBSCFG (0-1)3 Param Value

OK

Write CommandAT+CLBSCFG=ltoperategtltparagt[ltvaluegt]

Response+CLBSCFG 0ltparagtltvaluegt

OK

If error is related to ME functionality+CLBSCFG ltret_codegt

ERRORReference

Defined Values

ltoperategt 0 Read operator1 Set operator

ltparagt 3 Servers addressltvaluegt String type The value of parameter

Servers address of lbs-simcomcom3002 is freeltret_codegt Please refer to the ltret_codegt of AT+CLBS

Example

AT+CLBSCFG=

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 365451

+CLBSCFG (0-1)3Param Value

OK

AT+CLBSCFG=03+CLBSCFG 03lbs-simcomcom3002

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 366451

19AT Commands for Hardware

191 Overview of AT Commands for Hardware

Command DescriptionAT+IPREX Set UART local baud rate permanentlyAT+CFGRI Indicate RI when using URCAT+CSCLK Control UART sleepAT+CMUX Enable the multiplexer over the UARTAT+CGFUNC Enabledisable the function for the special GPIOAT+CGDRT Set the direction of specified GPIOAT+CGSETV Set the value of specified GPIOAT+CGGETV Get the value of specified GPIOAT+CPCIEMODE Get or set the mode of PCIE

192 Detailed Description of AT Commands for Hardware

1921 AT+IPREX Set UART local baud rate permanently

AT+IPREX Set UART local baud rate permanentlyTest CommandAT+IPREX=

Response+IPREX (list of supported ltspeedgts)

OKRead CommandAT+IPREX

Response+IPREX ltspeedgt

OKorERROR

Write CommandAT+IPREX=ltspeedgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 367451

orERROR

Execution CommandAT+IPREX

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltspeedgt 3006001200240048009600192003840057600115200230400460800921600300000032000003686400

Example

AT+IPREX+IPREX 115200

OKAT+IPREX=+IPREX(3006001200240048009600192003840057600115200230400460800921600300000032000003686400)

OKAT+IPREX=115200OK

1922 AT+CFGRI Indicate RI when using URC

AT+CFGRI Indicate RI when using URCTest CommandAT+CFGRI=

Response+CFGRI (range of supported ltstatusgts)(range of supported ltURCtimegts)(range of supported ltSMS timegts)

OKRead CommandAT+CFGRI

Response+CFGRI ltstatusgtltURC timegtltSMS timegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 368451

orERROR

Write CommandAT+CFGRI=ltstatusgt[ltURCtimegtltSMS timegt]

ResponseOKorERROR

Execution CommandAT+CFGRI

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (default)1 on

ltURC timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 10 to 600060 (Default)

ltSMS timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 20 to 6000120 (Default)

Example

AT+CFGRI+CFGRI 060120

OKAT+CFGRI=+CFGRI (0-1)(10-6000)(20-6000)

OKAT+CFGRI=1OKAT+CFGRIOK

1923 AT+CSCLK Control UART sleep

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 369451

AT+CSCLK Control UART sleepTest CommandAT+CSCLK=

Response+CSCLK (range of supported ltstatusgts)

OKRead CommandAT+CSCLK

Response+CSCLK ltstatusgt

OKorERROR

Write CommandAT+CSCLK=ltstatusgt

ResponseOKorERROR

Execution CommandAT+CSCLK

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (Default)1 on

Example

AT+CSCLK+CSCLK 0

OKAT+CSCLK=+CSCLK (0-1)

OKAT+CSCLK=1OKAT+CSCLKOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 370451

1924 AT+CMUX Enable the multiplexer over the UART

AT+CMUX Enable the multiplexer over the UARTTest CommandAT+CMUX=

Response+CMUX (range of supported ltmodegts)(range of supportedltsubsetgts)(range of supported ltport_speedgts)(range of supportedltN1gts)(range of supported ltT1gts)(range of supportedltN2gts)(range of supported ltT2gts)

OKorERROR

Read CommandAT+CMUX

Response+CMUX ltmodegtltsubsetgtltport_speedgtltN1gtltT1gtltN2gtltT2gt

OKorERROR

Write CommandAT+CMUX=ltmodegt[ltsubsetgt[ltport_speedgt[ltN1gt[ltT1gt[ltN2gt[ltT2gt]]]]]]

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltmodegt 0 basic mode (default)ltsubsetgt 0 UIH frame type (default)ltport_speedgt 1-8

CMUX always use current bitrate the value only use for compatible1 9600 bits

2 19200 bits

3 38400 bits

4 57600 bits

5 115200 bits

6 230400 bitss

The default value is 5(115200 bits)ltN1gt Integer type Max frame size in bytes in Information field

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 371451

The parameter range is 1 to 1500118 bytes (Default)

ltT1gt Time UE waits for an acknowledgement before resorting to otheraction (Donrsquot Support Setting Currently)

ltN2gt The max re-tries (Donrsquot Support Setting Currently)ltT2gt Integer type The time in ms mux control channel waits before

re-transmitting a commandThe parameter range is 2 to 1000The default value is 600the mean is 6000 ms (Default)

Example

AT+CMUX+CMUX 005150000600

OKAT+CMUX=+CMUX (0)(0)(1-8)(1-1500)(0)(0)(2-1000)

OK

1925 AT+CGFUNC Enabledisable the function for the special GPIO

AT+CGFUNC Enable disable the function for the special GPIOTest CommandAT+CGFUNC=

Response+CGFUNC (list of supported ltgpiogts)(rang of supportedltfunctiongts)

OKWrite CommandAT+CGFUNC=ltgpiogt

Response+CGFUNC ltgpiogtltfunctiongt

OKorERROR

Write CommandAT+CGFUNC=ltgpiogtltfunctiongt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 372451

Defined Values

ltgpiogt Different hardware versions have the different valuesltfunctiongt GPIO function

0 function 11 function 2

Example

AT+CGFUNC=+CGFUNC (383940)(0-1)

OKAT+CGFUNC=40+CGFUNC 400

OKAT+CGFUNC=401OK

1926 AT+CGDRT Set the direction of specified GPIO

AT+CGDRT Set the direction of specified GPIOTest CommandAT+CGDRT=

Response+CGDRT (list of supported ltgpiogts)(list of supported ltgpio_iogts)

OKWrite CommandAT+CGDRT=ltgpiogt

Response+CGDRT ltgpiogtltgpio_iogt

OKorERROR

Write CommandAT+CGDTR=ltgpiogtltgpio_iogt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 373451

Defined Values

ltgpiogt Different hardware versions have the different valuesltgpio_iogt 0 in

1 out

Example

AT+CGDRT=400OK

1927 AT+CGSETV Set the value of specified GPIO

AT+CGSETV Set the value of specified GPIOTest CommandAT+CGSETV=

Response+CGSETV (list of supported ltgpiogts)(rang of supported ltvaluegts)

OKWrite CommandAT+CGSETV=ltgpiogtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGSETV=+CGSETV (383940)(0-1)

OKAT+CGSETV=401OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 374451

1928 AT+CGGETV Get the value of specified GPIO

AT+CGGETV Get the value of specified GPIOTest CommandAT+CGGETV=

Response+CGGETV (list of supported ltgpiogts)

OKWrite CommandAT+CGGETV=ltgpiogt

Response+CGGETV ltgpiogtltvaluesgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGGETV=+CGGETV (383940)

OKAT+CGGETV=40+CGGETV 401

OK

1929 AT+CPCIEMODE Get or set the mode of PCIE

This command use to set or get PCIE modethe command only support on M2 board when the AT settingis successful the module will be restarted

AT+CPCIEMODE Get or set the mode of PCIETest CommandAT+CPCIEMODE=

Response+CPCIEMODE (list of supported ltmodegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 375451

OKRead CommandAT+CPCIEMODE

Response+CPCIEMODE ltmodegt

OKorERROR

Write CommandAT+CPCIEMODE=ltmodegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt EP EP modeHOST HOST mode

Example

AT+CPCIEMODE=+CPCIEMODE EPHOST

OKAT+CPCIEMODE=EPOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 376451

20 Hardware Related Commands

201 Overview of Hardware Related Commands

Command DescriptionAT+CVALARM Set overvoltage and undervoltage alarmAT+CADC Read the value of ADCAT+CADC2 Read the value of ADC2AT+CMTE Set the power action when over the critical temperatureAT+CPMVT Set the power action when overvoltage and undervoltageAT+CDELTA Set module reboot to recovery modeAT+CBC Read the voltage value of the power supplyAT+CPMUTEMP Read the temperature of the modulesAT+CUSBCFG Set usbidadb modeedl mode and bootloader modeAT+CCPUTEMP Read the temperature of CPU different zones

202 Detailed Description of AT Commands for Hardware

2021 AT+CVALARM Set overvoltage and undervoltage alarm

This command is used to open or close the low voltage alarm function

AT+CVALARM Set overvoltage and undervoltage alarmTest CommandAT+CVALARM=

Response+CVALARM (list of supported ltenablegts)(range of supportedltlow_voltagegts)(range of supported lthigh_voltagegts)

OKRead CommandAT+CVALARM

Response+CVALARM ltenablegtltlow_voltagegtlthigh_voltagegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 377451

orERROR

Write CommandAT+CVALARM=ltenablegt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablegt 0 close alarm(Default)1 open alarm

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3300mV to 4000mV depending on hardwaredesign3300mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CVALARM=+CVALARM (01)(3300-4000)(4001-4300)

OKAT+CVALARM+CVALARM 134004300

OKAT+CVALARM=134004300OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING every 10s If voltage lthighvoltagegt it will report OVER-VOLTAGE WARNNING every 10s

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 378451

2022 AT+CADC Read the value of ADC

This command is used to read the ADC value from modem ME supports 2 types of value which are rawtype and voltage type

AT+CADC Read the value of ADCTest CommandAT+CADC=

Response+CADC (list of supported lttypegts)

OKWrite CommandAT+CADC=lttypegt

Response+CADC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC=+CADC (02)

OKAT+CADC=0+CADC 187

OK

2023 AT+CADC2 Read the value of ADC2

This command is used to read the ADC2 value from modem ME supports 2 types of value which are rawtype and voltage type

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 379451

AT+CADC2 Read the value of ADC2Test CommandAT+CADC2=

Response+CADC2 (list of supported lttypegts)

OKWrite CommandAT+CADC2=lttypegt

Response+CADC2 ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC2=+CADC2 (02)

OKAT+CADC2=0+CADC2 187

OK

2024 AT+CMTE Set the power action when over the critical temperature

This command is used to control the module whether power off when temperature upon the criticaltemperature

AT+CMTE Set the power action when over the critical temperatureTest CommandAT+CMTE=

Response+CMTE (list of supported ltpower_offgts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 380451

OKRead CommandAT+CMTE

Response+CMTE ltpower_offgt

OKorERROR

Write CommandAT+CMTE=ltpower_offgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

Example

AT+CMTE=+CMTE (01)

OK

AT+CMTE+CMTE 1

OKAT+CMTE=0OK

2025 AT+CPMVT Set the power action when overvoltage and undervoltage

This command is used to open or close the power off action when undervoltage and overvoltage

AT+CPMVT Set the power action when overvoltage and undervoltageTest CommandAT+CPMVT=

Response+CPMVT (list of supported ltpower_offgts)(list of supportedltlow_voltagegts)(list of supported lthigh_voltagegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 381451

OKRead CommandAT+CPMVT

Response+CPMVT ltpower_offgtltlow_voltagegtlthigh_voltagegt

OKorERROR

Write CommandAT+CPMVT=ltpower_offgt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3200mV to 4000mV depending on hardwaredesign3200mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CPMVT=+CPMVT (01)(3200-4000)(4001-4300)

OKAT+CPMVT+CPMVT 134004300

OKAT+CPMVT=1OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING POWER DOWN and power off

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 382451

the module If voltage lthigh voltagegt it will report OVER-VOLTAGE WARNNING POWER DOWNand power off the module

2026 AT+CDELTA Set module reboot to recovery mode

AT+CDELTA Set module reboot to recovery modeExecution CommandAT+CDELTA

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Example

AT+CDELTAOK

This command will write a flag to the module and restart Check the flag during the next boot and enterrecovery mode to prepare for the firmware upgrade

2027 AT+CBC Read the voltage value of the power supply

AT+CBC Read the voltage value of the power supplyExecution CommandAT+CBC

Response+CBC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltvaluegt The voltage value such as 38V

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 383451

Example

AT+CBC+CBC 3657V

OK

2028 AT+CPMUTEMP Read the temperature of the modules

AT+CPMUTEMP Read the temperature of the moduleExecution CommandAT+CPMUTEMP

Response+CPMUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt Char type

Example

AT+CPMUTEMP+CPMUTEMP 28

OK

2029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode

AT+CUSBCFG Set usbidadb modeedl mode and bootloader modeTest CommandAT+CUSBCFG=

ResponseBOOTLDRBOOTEDLUSBADB (list of supportedltadb_stategts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 384451

USBID ltvendor_idgt(list of supportedltproduct_idgts)

OKRead CommandAT+CUSBCFG

ResponseUSBADB ltadb_stategtUSBID ltvendor_idgtltproduct_idgt

OKorERROR

Write CommandAT+CUSBCFG=bootldr

Response

AT+CUSBCFG=bootedlAT+CUSBCFG=usbadbltadb_stategt

OKorERROR

AT+CUSBCFG=usbidltvendor_idgtltproduct_idgt

OKorERROR

AT+CUSBCFG=USBMODE USBMODE ltusb_stategtParameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltvendor_idgt 1e0eltproduct_idgt 9001

9011ltadb_stategt 0

1ltusb_stategt USB30

USB20

Example

AT+CUSBCFG=BOOTLDRBOOTEDLUSBADB (01)USBID 1E0E(90019011)

OKAT+CUSBCFGUSBADB 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 385451

USBID 0X1E0E0x9001

OKAT+CUSBCFG=bootldrOKAT+CUSBCFG=bootedlOKAT+CUSBCFG=usbadb1OKAT+CUSBCFG=usbid1e0e9011OKAT+CUSBCFG=usbmodeUSBMODE USB30

OK

1When default composition is 9011 you may need to execute AT+NETACT=1 to turn on networkAfter AT+CUSBCFG=usbadb10 not need to excute AT+CRESET2AT+CUSBCFG=bootldr and AT+CUSBCFG=booted no responsewhen use those commandsthedevice directly enters the corresponding mode

20210AT+CCPUTEMP Read the temperature of CPU different zones

AT+CCPUTEMP Read the temperature of CPU different zonesTest CommandAT+CCPUTEMP=

Response+CCPUTEMP (0-6)

OKWrite CommandAT+CCPUTEMP=ltzonegt

Response+CCPUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt int type

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 386451

ltzonegt 0-6

Example

AT+CCPUTEMP=2+CCPUTEMP 28

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 387451

21AT Commands for UIM hot swap

211 Overview of AT Commands for UIM hot swap

Command DescriptionAT+UIMHOTSWAPON Set UIM hot swap function onAT+UIMHOTSWAPLEVEL Set UIM card detection level

212 Detailed Description of AT Commands for UIM hot swap

2121 AT+UIMHOTSWAPON Set UIM hot swap function on

AT+UIMHOTSWAPON Set UIM hot swap function onRead CommandAT+UIMHOTSWAPON

Response+UIMHOTSWAPON ltonoffgt

OK

Write CommandAT+UIMHOTSWAPON=ltonoffgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltonoffgt 0 The UIM hot swap function is disabled1 The UIM hot swap function is enabled

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 388451

AT+UIMHOTSWAPON+UIMHOTSWAPON 0

OKAT+UIMHOTSWAPON=1OK

Module reset to take effect

2122 AT+UIMHOTSWAPLEVEL Set UIM card detection level

AT+UIMHOTSWAPLEVEL Set UIM card detection levelRead CommandAT+UIMHOTSWAPLEVEL

Response+UIMHOTSWAPLEVEL ltlevelgt

OK

Write CommandAT+UIMHOTSWAPLEVEL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltlevelgt 0 ACTIVE LOW1 ACTIVE HIGH

Example

AT+UIMHOTSWAPLEVEL+UIMHOTSWAPLEVEL 0

OKAT+UIMHOTSWAPLEVEL=1OK

Module reset to take effect

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 389451

UIM card detection level depends on the SIM card holder usually itrsquos a normal open kind oneThe default value 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 390451

22AT Commands for File System

The file system is used to store files in a hierarchical (tree) structure and there are some definitions andconventions to use the Module

Local storage space is mapped to C D for TF card E for multimedia F for cache

General rules for naming (both directories and files)The length of actual fully qualified names of directories and files can not exceed 254Directory and file names can not include the following characters ltgt | Between directory name and filedirectory name use character as list separator so it can not appearin directory name or file nameThe first character of names must be a letter or a numeral or underline and the last character can notbe period and oblique

221 Overview of AT Commands for File System

Command DescriptionAT+FSCD Select directory as current directoryAT+FSMKDIR Make new directory in current directoryAT+FSRMDIR Delete directory in current directoryAT+FSLS List directoriesfiles in current directoryAT+FSDEL Delete file in current directoryAT+FSRENAME Rename file in current directoryAT+FSATTRI Request file attributesAT+FSMEM Check the size of available memoryAT+FSLOCA Select storage placeAT+FSCOPY Copy an appointed fileAT+CFTRANRX Transfer a file to EFSAT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 391451

222 Detailed Description of AT Commands for File System

2221 AT+FSCD Select directory as current directory

This command is used to select a directory The Module supports absolute path and relative pathRead Command will return current directory without double quotation marks Support C D E F

AT+FSCD Select directory as current directoryTest CommandAT+FSCD=

ResponseOK

Read CommandAT+FSCD

Response+FSCD ltcurr_pathgt

OK

Write CommandAT+FSCD=ltpathgt

Response+FSCD ltcurr_pathgt

OKorERROR

Defined Values

ltpathgt String without double quotes directory for selectionltcurr_pathgt String without double quotes current directory

If ltpathgt is it will go back to previous level of directory

Example

AT+FSCD=C+FSCD C

OKAT+FSCD=C+FSCD C

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 392451

AT+FSCD+FSCD C

OKAT+FSCD=+FSCD C

OKAT+FSCD=D+FSCD D

OKAT+FSCD+FSCD D

OK

2222 AT+FSMKDIR Make new directory in current directory

This command is used to create a new directory in current directory Support C D E F

AT+FSMKDIR Make new directory in current directoryTest CommandAT+FSMKDIR=

ResponseOK

Write CommandAT+FSMKDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes directory name which does not alreadyexist in current directory

Example

AT+FSMKDIR=SIMTechOKAT+FSCD+FSCD E

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 393451

AT+FSLS+FSLS SUBDIRECTORIESAudioSIMTech

OK

2223 AT+FSRMDIR Delete directory in current directory

This command is used to delete existing directory in current directory Support C D E F

AT+FSRMDIR Delete directory in current directoryTest CommandAT+FSRMDIR=

ResponseOK

Write CommandAT+FSRMDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes

Example

AT+FSRMDIR=SIMTechOKAT+FSCD+FSCD E

OKAT+FSLS+FSLS SUBDIRECTORIESAudio

OK

2224 AT+FSLS List directoriesfiles in current directory

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 394451

This command is used to list information of directories andor files in current directory Support C DE F

AT+FSLS List directoriesfiles in current directoryTest CommandAT+FSLS=

Response+FSLS (list of supported lttypegt)

OKRead CommandAT+FSLS

Response+FSLS SUBDIRECTORIESltdir_numgtFILESltfile_numgt

OK

Write CommandAT+FSLS=lttypegt

Response[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Execution CommandAT+FSLS

[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Defined Values

ltdir_numgt Integer type the number of subdirectories in current directoryltfile_numgt Integer type the number of files in current directorylttypegt 0 list both subdirectories and files

1 list subdirectories only2 list files only

Example

AT+FSLS+FSLS SUBDIRECTORIES2FILES2

OKAT+FSLS+FSLS SUBDIRECTORIESFirstDir

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 395451

SecondDir

+FSLS FILESimage_0jpgimage_1jpg

OKAT+FSLS=2+FSLS FILESimage_0jpgimage_1jpg

OK

2225 AT+FSDEL Delete file in current directory

This command is used to delete a file in current directory Before do that it needs to use AT+FSCD selectthe father directory as current directory Support C D E F

AT+FSDEL Delete file in current directoryTest CommandAT+FSDEL=

ResponseOK

Write CommandAT+FSDEL=ltfilenamegt

ResponseOKorERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is relative andalready existingIf ltfilenamegt is it means delete all files in current directoryIf the file path contains non-ASCII characters the filename parametershould contain a prefix of non-ascii and the quotation mark

Example

AT+FSDEL=image_0jpgOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 396451

2226 AT+FSRENAME Rename file in current directory

This command is used to rename a file in current directory Support C D E F

AT+FSRENAME Rename file in current directoryTest CommandAT+FSRENAME=

ResponseOK

Write CommandAT+FSRENAME=ltold_namegtltnew_namegt

ResponseOKorERROR

Defined Values

ltold_namegt String with or without double quotes file name which is existed incurrent directory If the file path contains non-ASCII characters the filepath parameter should contain a prefix of non-ascii and the quotationmark

ltnew_namegt New name of specified file string with or without double quotes If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-ascii and the quotation mark

Example

AT+FSRENAME=image_0jpgimage_1jpgOKAT+FSRENAME=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067OK

2227 AT+FSATTRI Request file attributes

This command is used to request the attributes of file which exists in current directory Support C DE F

AT+FSATTRI Request file attributesTest CommandAT+FSATTRI=

ResponseOK

Write CommandAT+FSATTRI=ltfilenamegt

Response+FSATTRI ltfile_sizegtltcreate_dategt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 397451

orERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is in currentdirectory If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltfile_sizegt The size of specified file and the unit is in Byteltcreate_dategt Create date and time of specified file the format is YYYYMMDD

HHMMSS WeekWeek Mon Tue Wed Thu Fri Sat Sun

Example

AT+FSATTRI=image_0jpg+FSATTRI 860420080428 102446 Tue

OKAT+FSATTRI=non-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSATTRI 629620120106 000000 Sun

OK

2228 AT+FSMEM Check the size of available memory

This command is used to check the size of available memory The response will list total size and used sizeof local storage space if present and mounted Support C D E F

AT+FSMEM Check the size of available memoryTest CommandAT+FSMEM=

ResponseOK

Execution CommandAT+FSMEM

Response+FSMEM ltloctypegt(lttotalgtltusedgt)

OK

Defined Values

ltloctypegt Support C D E Flttotalgt The total size of local storage spaceThe unit of storage space size is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 398451

in Byteltusedgt The used size of local storage spaceThe unit of storage space size is

in Byte

Example

AT+FSMEM+FSMEM C(113484802201600)

OK

2229 AT+FSLOCA Select storage place

This command is used to set the storage place for media files Support C

AT+FSLOCA Select storage placeTest CommandAT+FSLOCA=

Response+FSLOCA (list of supported ltlocagts)

OKRead CommandAT+FSLOCA

+FSLOCA ltlocagt

OK

Write CommandAT+FSLOCA=ltlocagt

ResponseOKorERROR

Defined Values

ltlocagt 0 store media files to local storage space (namely C)

Example

AT+FSLOCA=0OKAT+FSLOCA+FSLOCA 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 399451

22210AT+FSCOPY Copy an appointed file

This command is used to copy an appointed file on C to an appointed directory on C the new file nameshould give in parameter Support CD E F but copying from C to D E F or from DE F to C is not supported

AT+FSCOPY Copy an appointed fileTest CommandAT+FSCOPY=

ResponseOK

Write CommandAT+FSCOPY=ltfile1gtltfile2gt[ltsync_modegt]

ResponseSync mode+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]OK

Async modeOK+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]+FSCOPY ENDltCRgtltLFgtOrWhen error shows one of the following errors and ERRORSD CARD NOT PLUGGED INFILE IS EXISTINGFILE NOT EXISTINGDIRECTORY IS EXISTEDDIRECTORY NOT EXISTEDFORBID CREATE DIRECTORY UNDER CFORBID DELETE DIRECTORYINVALID PATH NAMEINVALID FILE NAMESD CARD HAVE NO ENOUGH MEMORYEFS HAVE NO ENOUGH MEMORYFILE CREATE ERRORREAD FILE ERRORWRITE FILE ERROR

ERROR

Defined Values

ltfile1gt The sources file name or the whole path name with sources file nameIf the file path contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 400451

ltfile2gt The destination file name or the whole path name with destination filename If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltpercentgt The percent of copy done The range is 00 to 1000ltsync_modegt The execution mode of the command

0 synchronous mode Default 01 asynchronous mode

1 The ltfile1gt and ltfile2gt should give the whole path and name if only given file name it will refer tocurrent path (AT+FSCD) and check the filersquos validity2 If ltfile2gt is a whole path and name make sure the directory exists make sure that the file namedoes not exist or the file name is not the same name as the sub folder name otherwise return error3 ltpercentgt report refer to the copy file size The big file maybe report many times and little file reportless4 If ltsync_modegt is 1 the command will return OK immediately and report final result with+FSCOPY END

Example

AT+FSCD+FSCD C

OKAT+FSCOPY=CTESTFILECOPYFILE (Copy file TESTFILE on C to CCOPYFILE)+FSCOPY 10

+FSCOPY 1000

OKAT+FSCOPY=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSCOPY 10

+FSCOPY 1000

OK

22211 AT+CFTRANRX Transfer a file to EFS

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 401451

This command is used to transfer a file to EFSSupport SDcard

AT+CFTRANRX Transfer a file to EFSTest CommandAT+CFTRANRX=

Response+CFTRANRX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANRX=ltfilepathgtltlengt

ResponsegtOKorgtERRORorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the file data to send The range is from 0 to 2147483647

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANRX=CMyDirt1txt10gtltinput data heregt

OKAT+CFTRANRX=DMyDirt1txt10gtltinput data heregt

OK

22212AT+CFTRANTX Transfer a file from EFS to host

This command is used to transfer a file from EFS to host Before using this command the AT+CATR mustbe used to set the correct port used Support SDcard

AT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 402451

Test CommandAT+CFTRANTX=

Response+CFTRANTX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANTX=ltfilepathgt[ltlocationgtltsizegt]

Response[+CFTRANTX DATAltlengthellip+CFTRANTX DATAltlengt]

+CFTRANTX 0

OKorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the following file data to outputltlocationgt The beginning of the file data to outputltsizegt The length of the file data to output

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANTX=CMyDirt1txt+CFTRANTX DATA11Testcontent

+CFTRANTX 0

OKAT+CFTRANTX=DMyDirt1txt14+CFTRANTX DATA4estc

+CFTRANTX 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 403451

23AT Commands for AUDIO

231 Overview of AT Commands for AUDIO

Command DescriptionAT+CREC Record wav audio fileAT+CRECAMR Record amr audio fileAT+CCMXPLAY Play audio fileAT+CCMXSTOP Stop playing audio file

232 Detailed Description of AT Commands for AUDIO

2321 AT+CREC Record wav audio file

AT+CREC Record wav audio fileRead CommandAT+CREC

Response+CREC ltstatusgt

OK

Write CommandAT+CREC=ltrecord_pathgtltfilenamegt

Response+CREC 1

OKorERROR

Write CommandAT+CREC=ltmodegt

Response+CREC 0

OK

+RECSTATE crec stopor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 404451

+CREC 0

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt Indicate whether the recording is going on0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path3 ndash local and remote sound mixing

ltfilenamegt The location and name of wav fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2 or 3

Example

AT+CREC=1erecwav+CREC 1

OK

AT+CREC=0+CREC 0

OK

+RECSTATE crec stop

2322 AT+CRECAMR Record amr audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 405451

AT+CRECAMR Record amr audio fileRead CommandAT+CRECAMR

Response+CRECAMR ltstatusgt

OK

Write CommandAT+CRECAMR=ltrecord_pathgtltfilenamegt

Response+CRECAMR ltstatusgt

OKorERROR

Write CommandAT+CRECAMR=ltmodegt

Response+CRECAMR ltstatusgt

OK

+RECSTATE crecamr stopor+CRECAMR ltstatusgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltstatusgt Indicate whether the recording is going on

0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path

ltfilenamegt The location and name of amr fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 406451

AT+CRECAMR=1erecamr+CRECAMR 1

OK

AT+CRECAMR=0+CRECAMR 0

OK

+RECSTATE crecamr stop

2323 AT+CCMXPLAY Play audio file

AT+CCMXPLAY Play audio fileTest CommandAT+CCMXPLAY=

Response+CCMXPLAY (0-1)(0-255)

OK

Read CommandAT+CCMXPLAY

Response+CCMXPLAY ltstatusgt

OK

Write CommandAT+CCMXPLAY=ltfilenamegt[ltplay_pathgt][ltrepeatgt]

Response+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stoporERRORor+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play errorParameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 407451

Max Response Time -Reference -

Defined Values

ltplay_pathgt Play to local or to remote Default 00 ndash local1 ndash remote

ltrepeatgt How much times can be played Default 0ltfilenamegt The location and name of wav fileltstatusgt Indicate playing thread status Default value is 0

0 ndash idle1 ndash busy playing

ltfilenamegtThe wav audio file should be located at E Maximum filename length is 240 bytes(including ) Support audio file format mp3 aac amr wavltplay_pathgtOnly during the call ltplay_pathgtcan be set to 1 successfullyOnly 8k 16bit wav audio andamr audio can be played to remote at presentltrepeatgtThis parameter is reservednot used at present you can input this parameter or not (0-255)

Example

AT+CCMXPLAY=+CCMXPLAY (0-1)(0-255)

OK

AT+CCMXPLAY=Erecmp300+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stop

2324 AT+CCMXSTOP Stop playing audio file

AT+CCMXSTOP Stop playing audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 408451

Test CommandAT+CCMXSTOP=

ResponseOK

Execution CommandAT+CCMXSTOP

Response+CCMXSTOP

OK

+AUDIOSTATE audio play stopParameter Saving Mode -

Max Response Time -Reference -

Defined Values

- -

Example

AT+CCMXSTOP+CCMXSTOP

OK

+AUDIOSTATE audio play stop

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 409451

24AT Commands for TTS

241 Overview of AT Commands for TTS

Command DescriptionAT+CDTAM TTS play path local or remoteAT+CTTS TTS operation play or stopAT+CTTSPARAM TTS parameters set or get

242 Detailed Description of AT Commands for TTS

2421 AT+CDTAM TTS play path local or remote

AT+CDTAM TTS play path local or remoteTest CommandAT+CDTAM=

Response+CDTAM (0-1)

OKRead CommandAT+CDTAM

Response+CDTAM ltstatusgt

OK

Write CommandAT+CDTAM=ltmodegt

Response+CDTAM

OKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 410451

Defined Values

ltstatusgt Indicate play path play TTS to local or play to remote0 ndash local path1 ndash remote path

ltmodegt Set TTS play path local or remote Default value is 00 ndash local path1 ndash remote path

Example

AT+CDTAM=1+CDTAM

OK

2422 AT+CTTS TTS operation play or stop

AT+CTTS TTS operation play or stopTest CommandAT+CTTS=

ResponseOK

Read CommandAT+CTTS

Response+CTTS ltstatusgt

OK

Write CommandAT+CTTS=ltmodegt[lttextgt]

ResponseIf ltmodegtis 0 thenlttextgt is not required When TTS is playingreturn+CTTS0

OK

If ltmodegtis 0 then lttextgt is not required When TTS is not playingreturnOK

If ltmodegtis 1 or 2 then lttextgt is must be required returnOK

+CTTS0orERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 411451

orOK

+CTTS1Write CommandAT+CTTS=ltmodegt[lttextgt][ltfilenamegt]

ResponseIf ltmodegtis 3 or 4 then lttextgt and ltfilenamegt are must be requiredreturnOK

+CTTS0orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltstatusgt Indicate playing thread status Default value is 00 ndash NO_WORKING1 ndash PLAY_WAV_WORKING2 ndash AMR_WORKING3 ndash MP3_WORKING4 ndash AAC_WORKING5 ndash WAV_WORKING6 ndash TTS_WORKING8 ndash CREC_WORKING

ltmodegt Stop or play TTS0 ndash stop TTS1 ndash lttextgt is in UCS2 coding format Start to synth and play2 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play3 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play and save pcm data as wav file4 ndash lttextgtis in UCS2 coding format Start to synth and play and savepcm data as wav file

ltfilenamegt Location and filename for wav file

lttextgt which is synthetized to speed to be playedmaximum data length is 512 bytes (including )ltfilenamegtThe file should be put into the Efilenamewav Maximum filename length is 240 bytes(including )

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 412451

AT+CTTS=16B228FCE4F7F75288BED97F3540862107CFB7EDFOK

+CTTS0

AT+CTTS=3欢迎使用语音合成系统EttswavOK

+CTTS0

AT+CTTS=0OK

2423 AT+CTTSPARAM TTS Parameters set or get

AT+CTTSPARAM TTS Parameters set or getTest CommandAT+CTTSPARAM=

Response+CTTSPARAM (0-2)(0-3)(0-3)(0-2)(0-2)

OKRead CommandAT+CTTSPARAM

Response+CTTSPARAMltvolumegtltsysvolumegtltdigitmodegtltpitchgtltspeedgt

OKWrite CommandAT+CTTSPARAM=ltvolumegt[ltsysvolumegt[ltdigitmodegt[ltpitchgt[ltspeedgt]]]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltvolumegt TTS Speech Volume default20 ndash the mix volume1 ndash the normal volume2 ndash the max volume

ltsysvolumegt The module system volumedefault30 ndash the mix system volume1 ndash the small system volume

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 413451

2 ndash the normal system volume3 ndash the max system volume

ltdigitmodegt The digit read mode default00 ndash auto read digit based on number rule first1 ndash auto read digit bases on telegram rule first2 ndash read digit based on telegram rule3 ndash read digit based on number rule

ltpitchgt The voice tone default10 ndash the mix voice tone1 ndash the normal voice tone2 ndash the max voice tone

ltspeedgt The voice speed default10 ndash the mix speed1 ndash the normal speed2 ndash the max speed

ltsysvolumegtIt takes no effect to setltsysvolumegtreserved at present

Example

AT+CTTSPARAM=23011OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 414451

25AT Commands for Bluetooth

251 Overview of AT Commands for Bluetooth

Command DescriptionAT+BTINIT Init Bluetooth serviceAT+BTTERM Stop Bluetooth serviceAT+BTPOWER OpenClose BluetoothAT+BTHOST Get or Set host nameAT+BTSCAN Scan BT devicesAT+BTPAIR Pair with other BT deviceAT+BTPAIRED Get Paired BT devicesAT+BTUNPAIR Unpair with the paired BT deviceAT+BTOPPREG OPP RegisterAT+BTOPPSEND OPP send file+BTOPPRECVING OPP receive file notificationAT+BTOPPACCEPT OPP accept or refuse received fileAT+BTGATTREG GATT registerAT+BTGATTCRESRV GATT create serviceAT+BTGATTCRECHAR GATT create service characteristicAT+BTGATTCRECHARDES GATT create service characteristic descriptionAT+BTGATTSTARTSRV GATT startstop serviceAT+BTGATTSTARTADV GATT start advertisementAT+BTGATTDELSRV GATT delete service+BTGATTCONN GATT client connect status+BTGATTWRIND GATT receive client write requestAT+BTGATTWRCFM GATT response to BTGATTWRIND+BTGATTREADIND GATT receive client read requestAT+BTGATTREADCFM GATT response to BTGATTREADINDAT+BTGATTNOTIFY GATT send notification to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 415451

252 Detailed Description of AT Commands for Bluetooth

2521 AT+BTINIT Init Bluetooth service

AT+BTINIT Init Bluetooth serviceExecution CommandAT+BTINIT

Response

a)If init Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

AT+BTINITOK

It must be the first of all the Bluetooth AT commands to be calledIf we want to power on BTwe shouldexecute this command before we execute AT+BTPOWER=1

2522 AT+BTTERM Stop Bluetooth service

AT+BTTERM Stop Bluetooth serviceExecution CommandAT+BTTERM

Response

a)If stop Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 416451

AT+BTTERMOK

It must be the last of all the Bluetooth AT commands to be calledIf we want to power off BTwe shouldexecute this command before we execute AT+BTPOWER=0

2523 AT+BTPOWER OpenClose Bluetooth

AT+ BTPOWER OpenClose BluetoothTest CommandAT+BTPOWER=

Response+BTPOWER (0-1)

OKRead CommandAT+BTPOWER

Response+BTPOWER ltflaggt

OKWrite CommandAT+BTPOWER=ltflaggt

ResponseOK

+BTPOWER ltflaggtorOKorERROR

Defined Values

ltflaggt 1 ndash Start BT Application0 ndash Stop BT Application

Example

AT+BTPOWER=+BTPOWER (0-1)

OKAT+BTPOWER+BTPOWER 0

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 417451

OKAT+BTPOWER=1OK

+BTPOWER 1

2524 AT+BTHOST Get or Set host name

AT+BTHOST Get or Set host nameRead CommandAT+BTHOST

ResponseOK

+BTHOST lthost namegtlthost mac addrgtWrite CommandAT+BTHOST=ltbtnamegt

ResponseOK

Defined Values

ltbtnamegt New Bluetooth name string Max length is 64lthost namegt Current Bluetooth host namelthost mac addrgt Bluetooth mac address format(xxxxxxxxxxxx) x(0-9A-F)

Example

AT+BTHOSTOK

+BTHOST MDM_Fluoride 2222AE4AA2E8AT+BTHOST=SIM8200_BTOK

2525 AT+BTSCAN Scan BT devices

AT+BTSCAN Scan BT devicesTest CommandAT+BTSCAN=

Response+BTSCAN (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 418451

Write CommandAT+BTSCAN=ltdoscangt

ResponseOK+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt[]]+BTSCAN 1 scan end flag

Defined Values

ltdoscangt 0stop scan1scan

ltscan statusgt 0scanning1scan ended

ltBT namegt The bluetooth name of remote deviceltMac Addrgt The bluetooth mac address of the remote deviceltRSSI levelgt The rssi level of the remote device

Example

AT+BTSCAN=+BTSCAN (0-1)

OKAT+BTSCAN=1OK+BTSCAN 0 MiKettle 7811DCC0E683 173+BTSCAN 0 LE-Bose wei 4C875DCA4D37 175

+BTSCAN 0小米手机 7CD661B868D0 179

+BTSCAN 0 ofo F7513B1FAFB5 163+BTSCAN 1

2526 AT+BTPAIR Pair with other BT device

AT+BTPAIR Pair with other BT deviceTest CommandAT+BTPAIR=

Response+BTPAIR 0(BT Address) Or +BTPAIR 1(0-1)

OKWrite CommandAT+BTPAIR=0ltMac Addrgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 419451

+BTPAIRING ltdevice namegtltdevice macgtltpasskeygtor+BTPAIR 0orERROR

Write CommandAT+BTPAIR=1ltacceptgt

ResponseOK+BTPAIR ltdevice namegtltdevice macgtor+BTPAIR 0orERROR

Defined Values

ltMac Addrgt The bluetooth mac address of the remote deviceltdevice namegt The bluetooth name of connected deviceltdevice macgt The bluetooth mac address of the connected deviceltpasskeygt Random generate numeric codeltacceptgt 0reject

1accept

Example

AT+BTPAIR=0123131231231OK

+BTPAIRING Acer E380 123131231231 412711AT+BTPAIR=11OK+BTPAIR Acer E380 123131231231

The URC +BTPAIR 0 indicates pairing failed

2527 AT+BTPAIRED Get Paired BT devices

AT+BTPAIRED Get Paired BT devicesRead CommandAT+BTPAIRED

ResponseOK+BTPAIRED ltindexgt[ltBT namegtltMAC addrgt]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 420451

Defined Values

ltindexgt The index of current bond deviceltBT namegt The bluetooth name of paired deviceltMAC addrgt The bluetooth mac address of the paired device

Example

AT+BTPAIREDOK+BTPAIRED 1 Acer E380 123131231231

2528 AT+BTUNPAIR Unpair with the paired BT device

AT+BTUNPAIR Unpair with the paired BT deviceTest CommandAT+BTUNPAIR=

Response+BTUNPAIR (BT Address)

OKWrite CommandAT+BTUNPAIR=ltMacAddrgt

Response+BTUNPAIR ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltstatusgt 0fail

1success

Example

AT+BTUNPAIR=123131231231+BTUNPAIR 1

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 421451

2529 AT+BTOPPREG OPP Register

AT+BTOPPREG OPP RegisterExecution CommandAT+BTOPPREG

Response+BTOPPREG ltstatusgt

OKParameter Saving Mode -

Max Response Time

Defined Values

ltstatusgt 0fail1success

Example

AT+BTOPPREG+BTOPPREG 1

OK

25210AT+BTOPPSEND OPP send file

AT+BTOPPSEND OPP send fileTest CommandAT+BTOPPSEND=

Response+BTOPPSEND (BT Address)(File Name)

OKWrite CommandAT+BTOPPSEND=ltMacAddrgtltfile namegt

Response+BTOPPSEND ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltfile namegt The file name which you want to sendltstatusgt 0fail

1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 422451

Example

AT+BTOPPSEND=123131231231IMG_20130110_004138jpg+BTOPPSEND 1

OK

25211 +BTOPPRECVING OPP receive file notification

+BTOPPRECVING OPP receive file notificationResponse+BTOPPRECVING ltfile namegt

Defined Values

ltfile namegt The received file name

Example

+BTOPPRECVING IMG_20130110_004138jpg

25212AT+BTOPPACCEPT OPP accept or refuse received file

AT+BTOPPACCEPT OPP accept or refuse received fileTest CommandAT+BTOPPACCEPT=

Response+BTOPPACCEPT (0-1)

OKWrite CommandAT+BTOPPACCEPT=ltflaggt

ResponseOK

+BTOPPRECEIVED ltresultgt

Defined Values

ltflaggt 1 ndash Accept the received file0 ndash Refuse the received file

ltresultgt 0fail1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 423451

Example

+BTOPPRECVING IMG_20130110_004138jpgAT+BTOPPACCEPT=1OK

+BTOPPRECEIVED 1

25213AT+BTGATTREG GATT register

AT+BTGATTREG GATT registerTest CommandAT+BTGATTREG=

Response+BTGATTREG (0-1)

OKRead CommandAT+BTGATTREG

Response+BTGATTREG ltstategt

OKWrite CommandAT+BTGATTREG=ltstategt

ResponseOK

+BTGATTREG ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the register action0 - unregister1 - register

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTREG=+BTGATTREG (0-1)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 424451

OK

AT+BTGATTREG=1OK

+BTGATTREG 1

AT+BTGATTREG+BTGATTREG 1

OK

It must be called before all commands about GATT connect and after AT+BTPOWER

25214AT+BTGATTCRESRV GATT create service

AT+BTGATTCRESRV GATT create serviceWrite CommandAT+BTGATTCRESRV=ltuuidgt

ResponseOK

+BTGATTCRESRV ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service A string with hex value The length can only be 4or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRESRV=1166

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 425451

OK

+BTGATTCRESRV10X00000000000000000000000000001166

AT+BTGATTCRESRV=31323334353637383930616263646566OK

+BTGATTCRESRV10X31323334353637383930616263646566

It must be called after AT+BTGATTREG

25215AT+BTGATTCRECHAR GATT create service characteristic

AT+BTGATTCRECHAR GATT create service characteristicWrite CommandAT+BTGATTCRECHAR=ltuuidgtltpropertygtltpermissiongt

ResponseOK

+BTGATTCRECHAR ltresultgt[lt0Xuuidgtlthandlegt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this characteristic A string with hex value The length can onlybe 4 or 32

ltpropertygt Properties of this characteristic Refer to the following Table 1ltpermissiongt Permission of this characteristic Refer to the following Table 1lthandlegt A numeric parameter characteristic handlelterrgt The error code please refer to chapter 2531

NoteThe before Properties and Permission represent not support now

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 426451

Table 1 Format Map of Properties and Permission

Properties Format MapDefault 0Broadcast 1(0x01)Read 2(0x02)Write without Response 4(0x04)

Write 8(0x08)Notify 16(0x10)Indicate 32(0x20)Signed Write 64(0x40)

Extended Properties 128(0x80)

Permission Format MapNone 0(0x0000)

Read 1(0x0001)ReadEncrypted 2(0x0002)ReadEncryptedMitm 4(0x0004)Write 16(0x0010)

WriteEncrypted 32(0x0020)WriteEncryptedMitm 64(0x0040)WriteSigned 128(0x0080)WriteSignedMitm 256(0x0100)

Example

AT+BTGATTCRECHAR=1166816OK

+BTGATTCRECHAR10X0000000000000000000000000000116658

AT+BTGATTCRECHAR=31323334353637383930616263646566816OK

+BTGATTCRECHAR10X3132333435363738393061626364656660

It must be called after AT+BTGATTREG

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 427451

25216AT+BTGATTCRECHARDES GATT create service characteristic description

AT+BTGATTCRECHARDES GATT create service characteristic descriptionWrite CommandAT+BTGATTCRECHARDES=ltuuidgt

ResponseOK

+BTGATTCRECHARDES ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service characteristic description A string with hex valueThe length can only be 4 or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRECHARDES=1166OK

+BTGATTCRECHARDES10X00000000000000000000000000001166

AT+BTGATTCRECHARDES=31323334353637383930616263646566OK

+BTGATTCRECHARDES10X31323334353637383930616263646566

This command usually follows +BTGATTCRECHAR command whose characteristicrsquos property is notify

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 428451

or indicate and the function of this command is to allow client to config whether accept thenotification(indication) or not

25217AT+BTGATTSTARTSRV GATT startstop service

AT+BTGATTSTARTSRV GATT startstop serviceTest CommandAT+BTGATTSTARTSRV=

Response+BTGATTSTARTSRV (0-1)

OKWrite CommandAT+BTGATTSTARTSRV=ltstategt

ResponseOK

+BTGATTSTARTSRV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop service action0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTSRV=+BTGATTSTARTSRV (0-1)

OK

AT+BTGATTSTARTSRV=1OK

+BTGATTSTARTSRV 1

AT+BTGATTSTARTSRV=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 429451

+BTGATTSTARTSRV 0

It must be called before all commands about GATT connect and after AT+BTGATTCRESRV

25218AT+BTGATTSTARTADV GATT start advertisement

AT+BTGATTSTARTADV GATT start advertisementTest CommandAT+BTGATTSTARTADV=

Response+BTGATTSTARTADV (0-1)

OKWrite CommandAT+BTGATTSTARTADV=ltstategt

ResponseOK

+BTGATTSTARTADV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop advertisementaction0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTADV=+BTGATTSTARTADV (0-1)

OK

AT+BTGATTSTARTADV=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 430451

+BTGATTSTARTADV 1

AT+BTGATTSTARTADV=0OK

+BTGATTSTARTADV 0

Note

25219AT+BTGATTDELSRV GATT delete service

AT+BTGATTDELSRV GATT delete serviceExecution CommandAT+BTGATTDELSRV

ResponseOK

+BTGATTDELSRV ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTDELSRVOK

+BTGATTDELSRV 1

It must be called after AT+BTGATTCRESRV

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 431451

25220+BTGATTCONN GATT client connect status

+BTGATTCONN GATT client connect statusResponse+BTGATTCONN ltstategtltaddressgt

Defined Values

ltstategt A numeric parameter that identifies the connect status0 disconnected1 connected

ltaddressgt A string with hex value the address of connected client

Example

+BTGATTCONN 165A26CE7E8BF

+BTGATTCONN 065A26CE7E8BF

25221+BTGATTWRIND GATT receive client write request

+BTGATTWRIND GATT receive client write requestResponse+BTGATTWRIND lthandlegtltdatagt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string with hex value data to be written

Example

+BTGATTWRIND 426162636465

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 432451

25222AT+BTGATTWRCFM GATT response to BTGATTWRIND

AT+BTGATTWRCFM GATT response to BTGATTWRINDWrite CommandAT+BTGATTWRCFM=ltstategt

ResponseOK

+BTGATTWRCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the write action0 - write successfullyOther - Not support

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

+BTGATTWRIND 426162636465

AT+BTGATTWRCFM=0OK

+BTGATTWRCFM 1

The command act as the response of +BTGATTWRIND if the module receives BTGATTWRINDwithout sending out this command after a while the connection will be disconnected

25223+BTGATTREADIND GATT receive client read request

+BTGATTREADIND GATT receive client read request

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 433451

Response+BTGATTREADIND lthandlegtltis_longgt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltis_longgt A numeric parameter that identifies if there is a following request0 - no following request1 - have following request

Example

+BTGATTREADIND 420

25224AT+BTGATTREADCFM GATT response to BTGATTREADIND

AT+BTGATTREADCFM GATT response to BTGATTREADINDWrite CommandAT+BTGATTREADCFM=ltstategtltdatagt

ResponseOK

+BTGATTREADCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the read action0 - read successfullyOther - Not support

ltdatagt A string value Data need to be read(max length is 512)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 434451

+BTGATTREADIND 420

AT+BTGATTREADCFM=023456OK

+BTGATTREADCFM 1

The command act as the response of +BTGATTREADIND if the module receives BTGATTREADINDwithout sending out this command after a while the connection will be disconnected

25225AT+BTGATTNOTIFY GATT send notification to client

AT+BTGATTNOTIFY GATT send notification to clientWrite CommandAT+BTGATTNOTIFY=lthandlegtltdatagt

ResponseOK

+BTGATTNOTIFY ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string value notify data to be send to client(max length is 20)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTNOTIFY=58456OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 435451

+BTGATTNOTIFY 1

253 Summary of result codes for GATT

2531 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 Unregistered1 Registered2 Service created3 Service characteristic created4 Service characteristic description created5 Service deleted6 Service stopped7 Service started8 Advertisement stopped9 Advertisement started10 Client disconnected11 Client connected12 Receive client read request13 Response to BTGATTREADIND14 Receive client write request15 Response to BTGATTWRIND16 Send notification to client17 Send indication to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 436451

26AT Commands for MiFi

261 Overview of AT Commands for MiFi

Command DescriptionAT+CWMAP OpenClose MiFiAT+CWSSID SSID settingAT+CWBCAST Broadcast settingAT+CWAUTH Authentication type encrypt mode and password settingAT+CWMOCH 80211 mode and channel settingAT+CWISO Client isolation settingAT+CWDHCP Get the current DHCP configurationAT+CWNAT NAT type settingAT+CWCLICNT Get client number connected to the MiFiAT+CWRSTD Restore to default settingAT+CWMAPCFG MiFi configuration settingAT+CWMACADDR Get MAC addressAT+CWNETCNCT Query the connection to the networkAT+CWSTASCAN Scan WIFI networkAT+CWSTACFG STAmode configuration settingAT+CWSTAIP Get STAmode IP address

262 Detailed Description of AT Commands for MiFi

2621 AT+CWMAP OpenClose MiFi

AT+CWMAP OpenClose MiFiTest CommandAT+CWMAP=

Response+CWMAP(0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 437451

Read CommandAT+CWMAP

Response+CWMAPltflaggt

OK

Write CommandAT+CWMAP=ltflaggt

Response

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltflaggt Indicate MiFi statedefault is 10 ndash close1 ndash open

ExampleAT+CWMAP+CWMAP 1

OK

AT+CWMAP=0OK

2622 AT+CWSSID SSID setting

AT+CWSSID SSID settingRead CommandAT+CWSSID

Response+CWSSIDltssidgt

OK

Write CommandAT+CWSSID=ltssidgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 438451

Reference -

Defined Values

ltssidgt Ssid string1 The max length of ltssidgt is 32 bytes when the ltssidgt include only

ASCII characters2 The max length of ltssidgt is 20 bytes when ltssidgt include only

Chinese (One Chinese characters is 2 bytes so the max Chinesecount is 10)

3 The max length of ltssidgt is 22 bytes when ltssidgt include ASCIIand Chinese characters (One Chinese character is 2 bytes oneASCII character is 1 byte)The default ssid is SIM8X00AP

Example

AT+CWSSID+CWSSID SIM8X00AP

OK

AT+CWSSID=SIM8200OK

2623 AT+CWBCAST Broadcast setting

AT+CWBCAST Broadcast settingTest CommandAT+CWBCAST=

Response+CWBCAST (0-1)

OKRead CommandAT+CWBCAST

Response+CWBCAST ltbroadcastgt

OK

Write CommandAT+CWBCAST=ltbroadcastgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 439451

Reference -

Defined Values

ltbroadcastgt Broadcast parameter default10 ndash disabled1 ndash enabled

Example

AT+CWBCAST+CWBCAST 1

OK

AT+CWBCAST=0OK

2624 AT+CWAUTH Authentication setting

AT+CWAUTH Authentication type encrypt mode and password settingRead CommandAT+CWAUTH

Response+CWAUTH ltauthgtltencryptgt[ltpasswordgt]

OK

Write CommandAT+CWAUTH=ltauthgtltencryptgt[ltpasswordgt]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltauthgt Authentication type parameter default40 - auto1 - open2 - share3 - wpa4 - wpa25 - wpawpa2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 440451

ltencryptgt Encrypt mode default30 - null1 - WEP2 - TKIP3 - AES4 - TKIP-AES

ltpasswordgt password string the length is 5 or between 8 to 64 The char in thepassword is only allow the ASCII lsquos decimal code between 32 to 126

The parameter need to meet the following conditions1 If (auth = 0 or auth = 1) then (encrypt = 0 or encrypt = 1)2 If (auth =2) then (encrypt = 1)3 If (auth gt=3) then (encrypt gt=2)4 If(encrypt = 0) then (password is null)5 If(encrypt = 1) then1) password canrsquot be set null2) password format (5 ASCII characters) or (10 hexadecimalnumbers) or(13 ASCII characters) or(26 hexadecimal numbers)6 if(encrypt gt= 2) then1) password canrsquot be set null2) password format ( 8~63 ASCII characters or 64 hexadecimalnumbers)

Example

AT+CWAUTH+CWAUTH 431234567890

OK

AT+CWAUTH=54abcd1234OK

2625 AT+CWMOCH 80211 mode and channel setting

AT+CWMOCH 80211 mode and channel settingRead CommandAT+CWMOCH

Response+CWMOCH ltmodegtltchannelgtltbandwidthgt

OK

Write CommandAT+CWMOCH=ltmodegtltch

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 441451

annelgtltbandwidthgt orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt 80211 mode parameter default41 an 5G mode2 b 24G mode3 bg 24G mode4 bgn 24G mode5 acn 5G mode6 ax WIFI6 mode

ltchannelgt Channel parameter default 00 auto select1~11 24G mode channel number36404448149153157161165 5G mode channel number

If ltmodegt is 1 (an) ltchannelgt can be set36404448149153157161165If ltmodegt is 5 (acn) ltchannelgt can be set149153157161165

If ltmodegt is 234 ltchannelgt range is 0~11If ltmodegt is 15 the client must be support 5G modeIf ltmodegt is 6 (ax) the client must be support WiFi6 mode ltchannelgtcan be set 0-11 or 149153157161165

ltbandwidthgt MiFi band width it is an optional paramter0 20MHz band widthvht_oper_chwidth is 0 and vht_capab is HT20

1 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40+

2 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40-

3 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40+

4 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40-

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 442451

Only when mode is set as 15or 6 bandwidth can be set

Example

AT+CWMOCH+CWMOCH 46

OK

AT+CWMOCH=40OK

2626 AT+CWISO Client isolation setting

AT+CWISO Client isolation settingTest CommandAT+CWISO=

Response+CWISO (0-1)

OKRead CommandAT+CWISO

Response+CWISO ltisolationgt

OK

Write CommandAT+CWISO=ltisolationgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltisolationgt Isolation parameter default 00 ndash close1 ndash open

Example

AT+CWISO+CWISO 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 443451

OK

AT+CWISO=1OK

2627 AT+CWDHCP Get the current DHCP configuration

AT+CWDHCP Get the current DHCP configurationRead CommandAT+CWDHCP

Response+CWDHCPlthost_ipgtltrange_start_ipgtltrange_end_ipgtltleasetimegt

OKParameter Saving Mode -

Max Response Time -Reference -

Defined Values

lthost_ipgt The AP IP addressltrange_start_ipgt The start IP of the IP range that assigned to the clientltrange_end_ipgt The end IP of the IP range that assigned to the clientltleasetimegt The lease time

Example

AT+CWDHCP+CWDHCP1921682251192168225201921682256012h

OK

2628 AT+CWNAT NAT type setting

AT+CWNAT NAT type settingTest CommandAT+CWNAT=

Response+CWNAT (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 444451

Read CommandAT+CWNAT

Response+CWNAT lttypegt

OK

Write CommandAT+CWNAT=lttypegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt NAT type parameter default00 Symmetric1 Cone

Example

AT+CWNAT+CWNAT 0

OKAT+CWNAT=1OK

2629 AT+CWCLICNT Get client number connected to the MiFi

AT+CWCLICNT Get client number connected to the MiFiRead CommandAT+CWCLICNT

Response+CWCLICNTltcntgt

OK

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltcntgt the connected client count range is from 0 to 32

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 445451

Example

AT+CWCLICNT+CWCLICNT 1

OK

26210AT+CWRSTD Restore to default setting

AT+CWRSTD Restore to default settingExecution CommandAT+CWRSTD

ResponseOK

Parameter Saving Mode -

Max Response Time -Reference -The module will reboot after restore

Defined Values

Example

AT+CWRSTDOK

26211 AT+CWMAPCFG MiFi configuration setting

AT+CWMAPCFG configuration settingTest CommandAT+CWMAPCFG=

Response+CWMAPCFG(enablessid2configselect)(0-2)

OK

Read CommandAT+CWMAPCFG

Response+CWMAPCFG ltenablessid2_valuegtltconfigselect_valuegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 446451

Write CommandAT+CWMAPCFG=ltoptiongtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablessid2_valuegt 0 ndash AP mode1 ndash AP-AP mode2 ndash STA-AP mode

ltconfigselect_valuegt Current AP ID 012ltoptiongt enablessid2rdquo set MiFi mode

configselectrdquo set the current AP IDltvaluegt The value of the options

If (option=rdquoenablessid2rdquo)0 AP mode1 AP-AP mode2 STA-AP mode

If (option=rdquoconfigselectrdquo)Current AP ID (0 or 1 or 2) to be set

When current AP ID is 0 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISOAT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thefirst APrsquos settings

When current AP ID is 1 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thesecond APrsquos settings

When current AP ID is 2 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thethird APrsquos settings theAT+CWSTAIPAT+CWSTASCANAT+CWSTACFGwill modify the STArsquos settings

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 447451

It canrsquot set the configselect value to 1 when enablessid2 is 0 The configselect value will be changed due to enablessid2enablessid2 configselect0 01 0 or 12 2

Example

AT+CWMAPCFG=+CWMAPCFG (enablessid2configselect)(0-2)

OKAT+CWMAPCFG+CWMAPCFG 00

OKAT+CWMAPCFG=enablessid21OKAT+CWMAPCFG=configselect1OKAT+CWMAPCFG=enablessid20OK

26212AT+CWMACADDR Get MAC address

AT+CWMACADDR Get MAC addressRead CommandAT+CWMACADDR

ResponseOK

+CWMACADDRltnumbergtltmac_addrgt[ ]orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltnumbergt 0 ndash host mac addr

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 448451

1ndash client mac addr client mac addr

ltmac_addrgt Device mac address

Example

AT+CWMACADDROK

+CWMACADDR002037F9362621cc29f5e0eff3

26213AT+CWNETCNCT Query the connection to the network

AT+CWNETCNCT Query the connection to the networkRead CommandAT+CWNETCNCT

Response+CWNETCNCT ltflaggt

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflaggt 0 disconnect1 connect

Example

AT+CWNETCNCT+CWNETCNCT 1

OK

26214AT+CWSTASCAN Scan WIFI network

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 449451

AT+CWSTASCAN Scan WIFI networkRead CommandAT+CWSTASCAN

Response+CWSTASCAN ltflag_show_signalgt

OK

Write CommandAT+CWSTASCAN=ltflag_show_signalgt

ResponseOKorERROR

Execute CommandAT+CWSTASCAN

OK

[+CWSTASCANltbssidgtltssidgt[ltsignalgt][hellip hellip]]orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflag_show_signalgt 0 ndashDonrsquot show the signal level Itrsquos the default value1 ndashShow the signal level

ltbssidgt The MAC address of external wireless networkltssidgt The SSID name of external wireless networkltsignalgt The signal level of external wireless network

Example

AT+CWSTASCANOK

+CWSTASCAN4ce676492a48simtest

AT+CWSTASCAN=1OKAT+CWSTASCAN+CWSTASCAN 1

OKAT+CWSTASCANOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 450451

+CWSTASCANf483cdd824c8TP-LINK_24C8-5280891710e623TP-LINK_SW2-58142d27249861Public-58bc469938e2caTP-LINK_E2CA-640c72d949258bnubia-WD670-258B-92502b73c0aad9Tenda_C0AAD9-68

26215AT+CWSTACFG STAmode configuration setting

AT+CWSTACFG STAmode configuration settingRead CommandAT+CWSTACFG

Response+CWSTACFGltssidgt[ltsecuritygtltprotogtltpskgt]

OK

Write CommandAT+CWSTACFG=ltssidgt[ltsecuritygtltprotogtltpskgt]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltssidgt The SSID name of external wireless networkltsecuritygt Reserved valueltprotogt Reserved valueltpskgt The password of external wireless network

Example

AT+CWSTACFG=simtest211234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 451451

AT+CWSTACFG=simtest1234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

26216AT+CWSTAIP Get STAmode IP address

AT+CWSTAIP Get STAmode IP addressRead CommandAT+CWSTAIP

Response[+CWSTAIP ltip addressgt]

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltip addressgt The station IP address

Example

AT+CWSTAIP+CWSTAIP 1921681127

OK

  • Version History
  • Contents
  • 1Introduction
    • 11Scope of the document
    • 12Related documents
    • 13Conventions and abbreviations
    • 14AT Command syntax
      • 141Basic syntax
      • 142S Parameter syntax
      • 143Extended Syntax
      • 144Combining AT commands on the same Command line
      • 145Entering successive AT commands on separate lines
        • 15Supported character sets
        • 16Flow control
          • 161Hardware flow control (RTSCTS flow control)
            • 17Definitions
              • 171Parameter Saving Mode
              • 172Max Response Time
                  • 2AT Commands According to V25TER
                    • 21Overview of AT Commands According to V25TER
                    • 22Detailed Description of AT Commands According to V
                      • 221A Re-issues the Last Command Given
                      • 222ATD Mobile Originated Call to Dial A Number
                      • 223ATDgtltmemgtltngt Originate call from specified memory
                      • 224ATDgtltngt Originate call from active memory(1)
                      • 225ATDgtltstrgt Originate call from active memory(2)
                      • 226ATA Call answer
                      • 227ATH Disconnect existing call
                      • 228ATS0 Automatic answer incoming call
                      • 229+++ Switch from data mode to command mode
                      • 2210ATO Switch from command mode to data mode
                      • 2211ATI Display product identification information
                      • 2212AT+IPR Set local baud rate temporarily
                      • 2213AT+ICF Set control character framing
                      • 2214AT+IFC Set local data flow control
                      • 2215ATampC Set DCD function mode
                      • 2216ATE Enable command echo
                      • 2217ATampV Display current configuration
                      • 2218ATampD Set DTR function mode
                      • 2219ATV Set result code format mode
                      • 2220ATampF Set all current parameters to manufacturer d
                      • 2221ATQ Set Result Code Presentation Mode
                      • 2222ATX Set CONNECT Result Code Format
                      • 2223ATV Set CONNECT Result Code Format About Protoco
                      • 2224ATampE Set CONNECT Result Code Format About Speed
                      • 2225ATampW Save the user setting to ME
                      • 2226ATZ Restore the user setting from ME
                      • 2227AT+CGMI Request manufacturer identification
                      • 2228AT+CGMM Request model identification
                      • 2229AT+CGMR Request revision identification
                      • 2230AT+CGSN Request product serial number identificat
                      • 2231AT+CSCS Select TE character set
                      • 2232AT+CIMI Request international mobile subscriber i
                      • 2233AT+GCAP Request overall capabilities
                          • 3AT Commands for Status Control
                            • 31Overview of AT Commands for Status Control
                            • 32Detailed Description of AT Commands for Status Con
                              • 321AT+CFUN Set phone functionality
                              • 322AT+CPIN Enter PIN
                              • 323AT+CICCID Read ICCID from SIM card
                              • 324AT+CSIM Generic SIM access
                              • 325AT+CRSM Restricted SIM access
                              • 326AT+SPIC Times remain to input SIM PINPUK
                              • 327AT+CSPN Get service provider name from SIM
                              • 328AT+CSQ Query signal quality
                              • 329AT+AUTOCSQ Set CSQ report
                              • 3210AT+CSQDELTA Set RSSI delta change threshold
                              • 3211AT+CATR Configure URC destination interface
                              • 3212AT+CPOF Power down the module
                              • 3213AT+CRESET Reset the module
                              • 3214AT+CACM Accumulated call meter
                              • 3215AT+CAMM Accumulated call meter maximum
                              • 3216AT+CPUC Price per unit and currency table
                              • 3217AT+CCLK Real time clock management
                              • 3218AT+CMEE Report mobile equipment error
                              • 3219AT+CPAS Phone activity status
                              • 3220AT+SIMEI Set IMEI for the module
                              • 3221AT+CSVM Voice Mail Subscriber number
                              • 3222Indication of Voice Mail
                                • 33Summary of CME ERROR codes
                                • 34Summary of CMS ERROR codes
                                  • 4AT Commands for Network
                                    • 41Overview of AT Commands for Network
                                    • 42Detailed Description of AT Commands for Network
                                      • 421AT+CREG Network registration
                                      • 422AT+COPS Operator selection
                                      • 423AT+CLCK Facility lock
                                      • 424AT+CPWD Change password
                                      • 425AT+CCUG Closed user group
                                      • 426AT+CUSD Unstructured supplementary service data
                                      • 427AT+CAOC Advice of Charge
                                      • 428AT+CSSN Supplementary service notifications
                                      • 429AT+CPOL Preferred operator list
                                      • 4210AT+COPN Read operator names
                                      • 4211AT+CNMP Preferred mode selection
                                      • 4212AT+CNAOP Acquisitions order preference
                                      • 4213AT+CPSI Inquiring UE system information
                                      • 4214AT+CNSMOD Show network system mode
                                      • 4215AT+CEREG EPS network registration status
                                      • 4216AT+CTZU Automatic time and time zone update
                                      • 4217AT+CTZR Time and time zone reporting
                                      • 4218AT+CNWINFO Inquiring extra network info
                                      • 4219AT+C5GREG NR5G network registration status
                                      • 4220AT+CSYSSEL Set system selection pref
                                      • 4221AT+CCELLCFG Set lte cell configuration
                                      • 4222AT+C5GCELLCFG Set NR5G cell configuration
                                          • 5AT Commands According to Call Control
                                            • 51Overview of AT Commands According to 3GPP Call Con
                                            • 52Detailed Description of AT Commands According to C
                                              • 521AT+CVHU Voice hang up control
                                              • 522AT+CHUP Hang up call
                                              • 523AT+CBST Select bearer service type
                                              • 524AT+CRLP Radio link protocol
                                              • 525AT+CR Service reporting control
                                              • 526AT+CRC Cellular result codes
                                              • 527AT+CLCC List current calls
                                              • 528AT+CEER Extended error report
                                              • 529AT+CCWA Call waiting
                                              • 5210AT+CHLD Call related supplementary services
                                              • 5211AT+CCFC Call forwarding number and conditions
                                              • 5212AT+CLIP Calling line identification presentation
                                              • 5213AT+CLIR Calling line identification restriction
                                              • 5214AT+COLP Connected line identification presentatio
                                              • 5215AT+VTS DTMF and tone generation
                                              • 5216AT+VTD Tone duration
                                              • 5217AT+CSTA Select type of address
                                              • 5218AT+CMOD Call mode
                                              • 5219AT+VMUTE Speaker mute control
                                              • 5220AT+CMUT Microphone mute control
                                              • 5221AT+MORING Enable or disable report MO ring URC
                                              • 5222AT+CLVL Loudspeaker volume level
                                              • 5223AT+CRXVOL Adjust RX voice output speaker volume
                                              • 5224AT+CTXVOL Adjust TX voice mic volume
                                              • 5225AT+CTXMICGAIN Adjust TX voice mic gain
                                              • 5226AT+CECH Inhibit far-end echo
                                              • 5227AT+CECDT Inhibit echo during doubletalk
                                                  • 6AT Commands for Phonebook
                                                    • 61Overview of AT Commands for Phonebook
                                                    • 62Detailed Description of AT Commands for Phonebook
                                                      • 621AT+CPBS Select Phonebook memory storage
                                                      • 622AT+CPBR Read Phonebook entries
                                                      • 623AT+CPBF Find Phonebook entries
                                                      • 624AT+CPBW Write Phonebook entry
                                                      • 625AT+CNUM Subscriber number
                                                          • 7AT Commands for SIM Application Toolkit
                                                            • 71Overview of AT Commands for SIM Application Toolki
                                                            • 72Detailed Description of AT Commands for SIM Applic
                                                              • 721AT+STIN SAT Indication
                                                              • 722AT+STGI Get SAT information
                                                              • 723AT+STGR SAT respond
                                                              • 724AT+STK STK switch
                                                              • 725AT+STKFMT Set STK pdu format
                                                              • 726AT+STENV Original STK PDU Envelope Command
                                                              • 727AT+STSM Get STK Setup Menu List with PDU Mode
                                                                  • 8AT Commands for GPRS
                                                                    • 81Overview of AT Commands for GPRS
                                                                    • 82Detailed Description of AT Commands for GPRS
                                                                      • 821AT+CGREG GPRS network registration status
                                                                      • 822AT+CGATT Packet domain attach or detach
                                                                      • 823AT+CGACT PDP context activate or deactivate
                                                                      • 824AT+CGDCONT Define PDP context
                                                                      • 825AT+CGDSCONT Define Secondary PDP Context
                                                                      • 826AT+CGTFT Traffic Flow Template
                                                                      • 827AT+CGQREQ Quality of service profile (requested)
                                                                      • 828AT+CGEQREQ 3G quality of service profile (request
                                                                      • 829AT+CGQMIN Quality of service profile (minimum acc
                                                                      • 8210AT+CGEQMIN 3G quality of service profile (minimum
                                                                      • 8211AT+CGDATA Enter data state
                                                                      • 8212AT+CGPADDR Show PDP address
                                                                      • 8213AT+CGCLASS GPRS mobile station class
                                                                      • 8214AT+CGEREP GPRS event reporting
                                                                      • 8215AT+CGAUTH Set type of authentication for PDP-IP c
                                                                        • 83Summary of Unsolicited Result Codes
                                                                          • 9AT Commands for SMS
                                                                            • 91Overview of AT Commands for SMS
                                                                            • 92Detailed Description of AT Commands for SMS
                                                                              • 921AT+CSMS Select message service
                                                                              • 922AT+CPMS Preferred message storage
                                                                              • 923AT+CMGF Select SMS message format
                                                                              • 924AT+CSCA SMS service center address
                                                                              • 925AT+CSCB Select cell broadcast message indication
                                                                              • 926AT+CSMP Set text mode parameters
                                                                              • 927AT+CSDH Show text mode parameters
                                                                              • 928AT+CNMA New message acknowledgement to META
                                                                              • 929AT+CNMI New message indications to TE
                                                                              • 9210AT+CGSMS Select service for MO SMS messages
                                                                              • 9211AT+CMGL List SMS messages from preferred store
                                                                              • 9212AT+CMGR Read message
                                                                              • 9213AT+CMGS Send message
                                                                              • 9214AT+CMSS Send message from storage
                                                                              • 9215AT+CMGW Write message to memory
                                                                              • 9216AT+CMGD Delete message
                                                                              • 9217AT+CMGMT Change message status
                                                                              • 9218AT+CMVP Set message valid period
                                                                              • 9219AT+CMGRD Read and delete message
                                                                              • 9220AT+CMGSEX Send message
                                                                              • 9221AT+CMSSEX Send multi messages from storage
                                                                                  • 10AT Commands for SSL
                                                                                    • 101Overview of AT Commands for SSL
                                                                                    • 102Detailed Description of AT Commands for SSL
                                                                                      • 1021AT+CCHSTART Start SSL service
                                                                                      • 1022AT+CCHSTOP Stop SSL service
                                                                                      • 1023AT+CCHOPEN Connect to SSL server
                                                                                      • 1024AT+CCHCLOSE Disconnect from SSL server
                                                                                      • 1025AT+CCHSEND Send data to SSL server
                                                                                      • 1026AT+CCHRECV Read the cached data that received fro
                                                                                      • 1027AT+CCHADDR Get the IPV4 address
                                                                                      • 1028AT+CCHCFG Configure the client context
                                                                                      • 1029AT+CCHSSLCFG Set the SSL context
                                                                                      • 10210AT+CCHMODE Configure the mode of sending and rece
                                                                                      • 10211AT+CCHSET Configure the report mode of sending an
                                                                                      • 10212AT+CSSLCFG Configure the SSL context
                                                                                      • 10213AT+CCERTDOWN Download certificate into the module
                                                                                      • 10214AT+CCERTLIST List certificates
                                                                                      • 10215AT+CCERTDELE Delete certificates
                                                                                        • 103Command result lterrgt codes
                                                                                        • 104Unsolicited result codes
                                                                                          • 11AT Commands for TCPIP
                                                                                            • 111Overview of AT Commands for TCPIP
                                                                                            • 112Detailed Description of AT Commands for TCPIP
                                                                                              • 1121AT+NETOPEN Start TCPIP service
                                                                                              • 1122AT+NETCLOSE Stop TCPIP service
                                                                                              • 1123AT+CIPOPEN Setup TCPUDP client socket connection
                                                                                              • 1124AT+CIPCLOSE Destroy TCPUDP client socket connect
                                                                                              • 1125AT+CIPSEND Send TCPUDP data
                                                                                              • 1126AT+CIPRXGET Retrieve TCPUDP buffered data
                                                                                              • 1127AT+IPADDR Get IP address of PDP context
                                                                                              • 1128AT+CIPHEAD Add an IP header when receiving data
                                                                                              • 1129AT+CIPSRIP Show remote IP address and port
                                                                                              • 11210AT+CIPMODE Select TCPIP application mode
                                                                                              • 11211AT+CIPSENDMODE Set sending mode
                                                                                              • 11212AT+CIPTIMEOUT Set TCPIP timeout value
                                                                                              • 11213AT+CIPCCFG Configure parameters of socket
                                                                                              • 11214AT+SERVERSTART Startup TCP server
                                                                                              • 11215AT+SERVERSTOP Stop TCP server
                                                                                              • 11216AT+CIPACK QueryTCP connection data transmitting s
                                                                                                • 113DNS amp PING
                                                                                                  • 1131AT+CDNSGIP Query the IP address of given domain n
                                                                                                  • 1132AT+CDNSGHNAME Query the domain name of given IP a
                                                                                                  • 1133AT+CIPDNSSET Set DNS query parameters
                                                                                                  • 1134AT+CPING Ping destination address
                                                                                                  • 1135AT+CPINGSTOP Stop an ongoing ping session
                                                                                                    • 114Information Elements related to TCPIP
                                                                                                    • 115Description of lterr_infogt
                                                                                                    • 116Description of lterrgt
                                                                                                      • 12AT Commands for FTP(S)
                                                                                                        • 121Overview of AT Commands for FTP(S)
                                                                                                        • 122Detailed Description of AT Commands for FTP(S)
                                                                                                          • 1221AT+CFTPSSTART Start FTP(S) service
                                                                                                          • 1222AT+CFTPSSTOP Stop FTP(S) Service
                                                                                                          • 1223AT+CFTPSLOGIN Login to a FTP(S) server
                                                                                                          • 1224AT+CFTPSLOGOUT Logout FTP(S) server
                                                                                                          • 1225AT+CFTPSMKD Create a new directory on FTP(S) serv
                                                                                                          • 1226AT+CFTPSRMD Delete a directory on FTP(S) server
                                                                                                          • 1227AT+CFTPSDELE Delete a file on FTP(S) server
                                                                                                          • 1228AT+CFTPSCWD Change the current directory on FTP(S
                                                                                                          • 1229AT+CFTPSPWD Get the current directory on FTP(S) s
                                                                                                          • 12210AT+CFTPSTYPE Set the transfer type on FTP(S) serv
                                                                                                          • 12211AT+CFTPSLIST List the items in the directory on F
                                                                                                          • 12212AT+CFTPSGETFILE Get a file from FTP(S) server to
                                                                                                          • 12213AT+CFTPSPUTFILE Put a file from module to FTP(S)
                                                                                                          • 12214AT+CFTPSGET Get a file from FTP(S) server to seri
                                                                                                          • 12215AT+CFTPSPUT Put a file to FTP(S) server through s
                                                                                                          • 12216AT+CFTPSSINGLEIP Set FTP(S) data socket address t
                                                                                                          • 12217AT+CFTPSCACHERD Output cached data to MCU
                                                                                                          • 12218AT+CFTPSABORT Abort FTP(S) Operations
                                                                                                          • 12219AT+CFTPSSIZE Get the File Size on FTP(S) server
                                                                                                            • 123Summary of result codes for FTPS
                                                                                                              • 1231Summary of Command result lterrcodegt
                                                                                                              • 1232Summary of Unsolicited Result Codes
                                                                                                                  • 13AT Commands for HTTPS
                                                                                                                    • 131Overview of AT Commands for HTTPS
                                                                                                                    • 132DetailedDescription of AT Commands for HTTPS
                                                                                                                      • 1321AT+HTTPINIT Start HTTP(S) service
                                                                                                                      • 1322AT+HTTPTERM Stop HTTP(S) Service
                                                                                                                      • 1323AT+HTTPPARA Set HTTP(S) Parameters value
                                                                                                                      • 1324AT+HTTPACTION HTTP(S) Method Action
                                                                                                                      • 1325AT+HTTPHEAD Read the HTTP(S) Header Information o
                                                                                                                      • 1326AT+HTTPREAD Read the Response Information of HTTP
                                                                                                                      • 1327AT+HTTPDATA Input HTTP(S) Data
                                                                                                                      • 1328AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) serv
                                                                                                                      • 1329AT+HTTPREADFILE Receive HTTP(S) Response Content
                                                                                                                        • 133Summary of result codes for HTTPS
                                                                                                                          • 1331Summary of HTTP(S) Response Code
                                                                                                                          • 1332Summary of HTTP(S) error Code
                                                                                                                              • 14AT Commands for MQTT(S)
                                                                                                                                • 141Overview of AT Commands for MQTT(S)
                                                                                                                                • 142Detailed Description of AT Commands for MQTT(S)
                                                                                                                                  • 1421AT+CMQTTSTART Start MQTT service
                                                                                                                                  • 1422AT+CMQTTSTOP STOP MQTT service
                                                                                                                                  • 1423AT+CMQTTACCQ Acquire a client
                                                                                                                                  • 1424AT+CMQTTREL Release a client
                                                                                                                                  • 1425AT+CMQTTSSLCFG Set the SSL context
                                                                                                                                  • 1426AT+CMQTTWILLTOPIC Input the will topic
                                                                                                                                  • 1427AT+CMQTTWILLMSG Input the will message
                                                                                                                                  • 1428AT+CMQTTDISC Disconnect from server
                                                                                                                                  • 1429AT+CMQTTCONNECT Connect to MQTT server
                                                                                                                                  • 14210AT+CMQTTTOPIC Input the publish message topic
                                                                                                                                  • 14211AT+CMQTTPAYLOAD Input the publish message body
                                                                                                                                  • 14212AT+CMQTTPUB Publish a message to server
                                                                                                                                  • 14213AT+CMQTTSUBTOPIC Input a subscribe message topic
                                                                                                                                  • 14214AT+CMQTTSUB Subscribe a message to server
                                                                                                                                  • 14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message to
                                                                                                                                  • 14216AT+CMQTTUNSUB Unsubscribe a message to server
                                                                                                                                  • 14217AT+CMQTTCFG Configure the MQTT Context
                                                                                                                                    • 143Summary of result codes for MQTT(S)
                                                                                                                                      • 1431Summary of Command result lterrgt codes
                                                                                                                                      • 1432Summary of Unsolicited Result Codes
                                                                                                                                          • 15AT Commands for NTP
                                                                                                                                            • 151Overview of AT Commands for NTP
                                                                                                                                            • 152Detailed Description of AT Commands for NTP
                                                                                                                                              • 1521AT+CNTP Update system time
                                                                                                                                              • 1522Unsolicited NTP Codes
                                                                                                                                                  • 16AT Commands for HTP
                                                                                                                                                    • 161Overview of AT Commands for HTP
                                                                                                                                                    • 162Detailed Description of AT Commands for HTP
                                                                                                                                                      • 1621AT+CHTPSERV Set HTP server info
                                                                                                                                                      • 1622AT+CHTPUPDATE Updating date time using HTP protoc
                                                                                                                                                      • 1623Unsolicited HTP Codes
                                                                                                                                                          • 17AT Commands for GPS
                                                                                                                                                            • 171Overview of AT Commands for GPS
                                                                                                                                                            • 172Detailed Description of AT Commands for GPS
                                                                                                                                                              • 1721AT+CGPS StartStop GPS session
                                                                                                                                                              • 1722AT+CGPSINFO Get GPS fixed position information
                                                                                                                                                              • 1723AT+CGPSCOLD Cold Start GPS
                                                                                                                                                              • 1724AT+CGPSHOT Hot Start GPS
                                                                                                                                                              • 1725AT+CGPSURL Set AGPS default server URL
                                                                                                                                                              • 1726AT+CGPSSSL Set AGPS transport security
                                                                                                                                                              • 1727AT+CGPSAUTO Start GPS automatic
                                                                                                                                                              • 1728AT+CGPSNMEA Configure NMEA sentence type
                                                                                                                                                              • 1729AT+CGPSNMEARATE Set NMEA output rate
                                                                                                                                                              • 17210AT+CGPSMD Configure AGPS MO method
                                                                                                                                                              • 17211AT+CGPSFTM Start GPS test mode
                                                                                                                                                              • 17212AT+CGPSDEL Delete the GPS information
                                                                                                                                                              • 17213AT+CGPSXE EnableDisable GPS XTRA function
                                                                                                                                                              • 17214AT+CGPSXD Download XTRA assistant file
                                                                                                                                                              • 17215AT+CGPSXDAUTO Download XTRA assistant file automa
                                                                                                                                                              • 17216AT+CGPSPMD Configure positioning mode
                                                                                                                                                              • 17217AT+CGPSMSB Configure based mode switch to standal
                                                                                                                                                              • 17218AT+CGPSHOR Configure positioning desired accuracy
                                                                                                                                                              • 17219AT+CGNSSINFO Get GNSS fixed position information
                                                                                                                                                              • 17220AT+CGNSSMODE Configure GNSS support mode
                                                                                                                                                              • 17221Unsolicited XTRA download Codes
                                                                                                                                                                  • 18AT Commands for LBS
                                                                                                                                                                    • 181 Overview of AT Commands for LBS
                                                                                                                                                                    • 182Detailed Description of AT Commands for LBS
                                                                                                                                                                      • 1821AT+CLBS Base station location
                                                                                                                                                                      • 1822AT+CLBSCFG Base station Location configure
                                                                                                                                                                          • 19AT Commands for Hardware
                                                                                                                                                                            • 191Overview of AT Commands for Hardware
                                                                                                                                                                            • 192Detailed Description of AT Commands for Hardware
                                                                                                                                                                              • 1921AT+IPREX Set UART local baud rate permanently
                                                                                                                                                                              • 1922AT+CFGRI Indicate RI when using URC
                                                                                                                                                                              • 1923AT+CSCLK Control UART sleep
                                                                                                                                                                              • 1924AT+CMUX Enable the multiplexer over the UART
                                                                                                                                                                              • 1925AT+CGFUNC Enabledisable the function for the spe
                                                                                                                                                                              • 1926AT+CGDRT Set the direction of specified GPIO
                                                                                                                                                                              • 1927AT+CGSETV Set the value of specified GPIO
                                                                                                                                                                              • 1928AT+CGGETV Get the value of specified GPIO
                                                                                                                                                                              • 1929AT+CPCIEMODE Get or set the mode of PCIE
                                                                                                                                                                                  • 20 Hardware Related Commands
                                                                                                                                                                                    • 201Overview of Hardware Related Commands
                                                                                                                                                                                    • 202Detailed Description of AT Commands for Hardware
                                                                                                                                                                                      • 2021AT+CVALARM Set overvoltage and undervoltage alarm
                                                                                                                                                                                      • 2022AT+CADC Read the value of ADC
                                                                                                                                                                                      • 2023AT+CADC2 Read the value of ADC2
                                                                                                                                                                                      • 2024AT+CMTE Set the power action when over the critic
                                                                                                                                                                                      • 2025AT+CPMVT Set the power action when overvoltage an
                                                                                                                                                                                      • 2026AT+CDELTA Set module reboot to recovery mode
                                                                                                                                                                                      • 2027AT+CBC Read the voltage value of the power supply
                                                                                                                                                                                      • 2028AT+CPMUTEMP Read the temperature of the modules
                                                                                                                                                                                      • 2029AT+CUSBCFG Set usbidadb modeedl mode and bootlo
                                                                                                                                                                                      • 20210AT+CCPUTEMP Read the temperature of CPU different
                                                                                                                                                                                          • 21AT Commands for UIM hot swap
                                                                                                                                                                                            • 211Overview of AT Commands for UIM hot swap
                                                                                                                                                                                            • 212Detailed Description of AT Commands for UIM hot sw
                                                                                                                                                                                              • 2121AT+UIMHOTSWAPON Set UIM hot swap function on
                                                                                                                                                                                              • 2122AT+UIMHOTSWAPLEVEL Set UIM card detection level
                                                                                                                                                                                                  • 22AT Commands for File System
                                                                                                                                                                                                    • 221Overview of AT Commands for File System
                                                                                                                                                                                                    • 222Detailed Description of AT Commands for File Syste
                                                                                                                                                                                                      • 2221AT+FSCD Select directory as current directory
                                                                                                                                                                                                      • 2222AT+FSMKDIR Make new directory in current director
                                                                                                                                                                                                      • 2223AT+FSRMDIR Delete directory in current directory
                                                                                                                                                                                                      • 2224AT+FSLS List directoriesfiles in current directo
                                                                                                                                                                                                      • 2225AT+FSDEL Delete file in current directory
                                                                                                                                                                                                      • 2226AT+FSRENAME Rename file in current directory
                                                                                                                                                                                                      • 2227AT+FSATTRI Request file attributes
                                                                                                                                                                                                      • 2228AT+FSMEM Check the size of available memory
                                                                                                                                                                                                      • 2229AT+FSLOCA Select storage place
                                                                                                                                                                                                      • 22210AT+FSCOPY Copy an appointed file
                                                                                                                                                                                                      • 22211AT+CFTRANRX Transfer a file to EFS
                                                                                                                                                                                                      • 22212AT+CFTRANTX Transfer a file from EFS to host
                                                                                                                                                                                                          • 23AT Commands for AUDIO
                                                                                                                                                                                                            • 231Overview of AT Commands for AUDIO
                                                                                                                                                                                                            • 232Detailed Description of AT Commands for AUDIO
                                                                                                                                                                                                              • 2321AT+CREC Record wav audio file
                                                                                                                                                                                                              • 2322AT+CRECAMR Record amr audio file
                                                                                                                                                                                                              • 2323AT+CCMXPLAY Play audio file
                                                                                                                                                                                                              • 2324AT+CCMXSTOP Stop playing audio file
                                                                                                                                                                                                                  • 24AT Commands for TTS
                                                                                                                                                                                                                    • 241Overview of AT Commands for TTS
                                                                                                                                                                                                                    • 242Detailed Description of AT Commands for TTS
                                                                                                                                                                                                                      • 2421AT+CDTAM TTS play path local or remote
                                                                                                                                                                                                                      • 2422AT+CTTS TTS operation play or stop
                                                                                                                                                                                                                      • 2423AT+CTTSPARAM TTS Parameters set or get
                                                                                                                                                                                                                          • 25AT Commands for Bluetooth
                                                                                                                                                                                                                            • 251Overview of AT Commands for Bluetooth
                                                                                                                                                                                                                            • 252Detailed Description of AT Commands for Bluetooth
                                                                                                                                                                                                                              • 2521AT+BTINIT Init Bluetooth service
                                                                                                                                                                                                                              • 2522AT+BTTERM Stop Bluetooth service
                                                                                                                                                                                                                              • 2523AT+BTPOWER OpenClose Bluetooth
                                                                                                                                                                                                                              • 2524AT+BTHOST Get or Set host name
                                                                                                                                                                                                                              • 2525AT+BTSCAN Scan BT devices
                                                                                                                                                                                                                              • 2526AT+BTPAIR Pair with other BT device
                                                                                                                                                                                                                              • 2527AT+BTPAIRED Get Paired BT devices
                                                                                                                                                                                                                              • 2528AT+BTUNPAIR Unpair with the paired BT device
                                                                                                                                                                                                                              • 2529AT+BTOPPREG OPP Register
                                                                                                                                                                                                                              • 25210AT+BTOPPSEND OPP send file
                                                                                                                                                                                                                              • 25211+BTOPPRECVING OPP receive file notification
                                                                                                                                                                                                                              • 25212AT+BTOPPACCEPT OPP accept or refuse received file
                                                                                                                                                                                                                              • 25213AT+BTGATTREG GATT register
                                                                                                                                                                                                                              • 25214AT+BTGATTCRESRV GATT create service
                                                                                                                                                                                                                              • 25215AT+BTGATTCRECHAR GATT create service characterist
                                                                                                                                                                                                                              • 25216AT+BTGATTCRECHARDES GATT create service character
                                                                                                                                                                                                                              • 25217AT+BTGATTSTARTSRV GATT startstop service
                                                                                                                                                                                                                              • 25218AT+BTGATTSTARTADV GATT start advertisement
                                                                                                                                                                                                                              • 25219AT+BTGATTDELSRV GATT delete service
                                                                                                                                                                                                                              • 25220+BTGATTCONN GATT client connect status
                                                                                                                                                                                                                              • 25221+BTGATTWRIND GATT receive client write request
                                                                                                                                                                                                                              • 25222AT+BTGATTWRCFM GATT response to BTGATTWRIND
                                                                                                                                                                                                                              • 25223+BTGATTREADIND GATT receive client read request
                                                                                                                                                                                                                              • 25224AT+BTGATTREADCFM GATT response to BTGATTREADIND
                                                                                                                                                                                                                              • 25225AT+BTGATTNOTIFY GATT send notification to client
                                                                                                                                                                                                                                • 253Summary of result codes for GATT
                                                                                                                                                                                                                                  • 2531Summary of Command result lterrgt codes
                                                                                                                                                                                                                                      • 26AT Commands for MiFi
                                                                                                                                                                                                                                        • 261Overview of AT Commands for MiFi
                                                                                                                                                                                                                                        • 262Detailed Description of AT Commands for MiFi
                                                                                                                                                                                                                                          • 2621AT+CWMAP OpenClose MiFi
                                                                                                                                                                                                                                          • 2622AT+CWSSID SSID setting
                                                                                                                                                                                                                                          • 2623AT+CWBCAST Broadcast setting
                                                                                                                                                                                                                                          • 2624AT+CWAUTH Authentication setting
                                                                                                                                                                                                                                          • 2625AT+CWMOCH 80211 mode and channel setting
                                                                                                                                                                                                                                          • 2626AT+CWISO Client isolation setting
                                                                                                                                                                                                                                          • 2627AT+CWDHCP Get the current DHCP configuration
                                                                                                                                                                                                                                          • 2628AT+CWNAT NAT type setting
                                                                                                                                                                                                                                          • 2629AT+CWCLICNT Get client number connected to the Mi
                                                                                                                                                                                                                                          • 26210AT+CWRSTD Restore to default setting
                                                                                                                                                                                                                                          • 26211AT+CWMAPCFG MiFi configuration setting
                                                                                                                                                                                                                                          • 26212AT+CWMACADDR Get MAC address
                                                                                                                                                                                                                                          • 26213AT+CWNETCNCT Query the connection to the network
                                                                                                                                                                                                                                          • 26214AT+CWSTASCAN Scan WIFI network
                                                                                                                                                                                                                                          • 26215AT+CWSTACFG STA mode configuration setting
                                                                                                                                                                                                                                          • 26216AT+CWSTAIP Get STA mode IP address
Page 2: SIM8200Series ATCommandManual

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 2451

Document Title SIM8200 Series_AT Command Manual

Version 101

Date 2020123

Status Released

GENERAL NOTES

SIMCOM OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS TO SUPPORTAPPLICATION AND ENGINEERING EFFORTS THAT USE THE PRODUCTS DESIGNED BY SIMCOMTHE INFORMATION PROVIDED IS BASED UPON REQUIREMENTS SPECIFICALLY PROVIDED TOSIMCOM BY THE CUSTOMERS SIMCOM HAS NOT UNDERTAKEN ANY INDEPENDENT SEARCHFOR ADDITIONAL RELEVANT INFORMATION INCLUDING ANY INFORMATION THAT MAY BE IN THECUSTOMERrsquoS POSSESSION FURTHERMORE SYSTEM VALIDATION OF THIS PRODUCTDESIGNED BY SIMCOM WITHIN A LARGER ELECTRONIC SYSTEM REMAINS THE RESPONSIBILITYOF THE CUSTOMER OR THE CUSTOMERrsquoS SYSTEM INTEGRATOR ALL SPECIFICATIONSSUPPLIED HEREIN ARE SUBJECT TO CHANGE

COPYRIGHT

THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTYOF SIMCOM WIRELESS SOLUTIONS LIMITED COPYING TO OTHERS AND USING THIS DOCUMENTARE FORBIDDEN WITHOUT EXPRESS AUTHORITY BY SIMCOM OFFENDERS ARE LIABLE TO THEPAYMENT OF INDEMNIFICATIONS ALL RIGHTS RESERVED BY SIMCOM IN THE PROPRIETARYTECHNICAL INFORMATION INCLUDING BUT NOT LIMITED TO REGISTRATION GRANTING OF APATENT A UTILITY MODEL OR DESIGN ALL SPECIFICATION SUPPLIED HEREIN ARE SUBJECT TOCHANGE WITHOUT NOTICE AT ANY TIME

SIMCom Wireless Solutions LimitedBuilding B SIM Technology Building No633 Jinzhong Road Changning District Shanghai PR ChinaTel +86 21 31575100Email simcomsimcomcom

For more information please visithttpswwwsimcomcomdownloadlist-863-enhtml

For technical support or to report documentation errors please visithttpswwwsimcomcomaskor email to supportsimcomcom

Copyright copy 2020 SIMCom Wireless Solutions Limited All Rights Reserved

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 3451

Version HistoryVersion Date Chapter What is newV100 2020424 New version

V10002 202051115 AT Commands for NTP16 AT Commands for HTP

Add these chapters

V10002 20205112023 AT+CVAUXS2024 AT+CVAUXV

Delete these commands

V10004 202064 3220 AT+SMEID Delete this command

V10005 20206191134 AT+CPING1135 AT+CPINGSTOP

Add these commands

V10005 202061933 Summary of CME ERRORcodes

Remove MMS related error codes

V10007 20207283 Summary of Unsolicited ResultCodes

Add this chapter

V10009 2020714 4219 AT+CNWINFO Add this command

V10011 2020727161 Software flow control(XONXOFF flow control)

Delete this command

V10012 20207314220 AT+CBANDCFG4221 AT+C5GREG

Add this command

V10013 20208104222 AT+CSYSSEL25 AT Commands for Bluetooth26 AT Commands for Wifi

Add these commands

V10014 2020821

4223 AT+CCELLCFGSet lte cellconfiguration4224 AT+C5GCELLCFG SetNR5G cell configuration

Add these commands

V10015 202099625 AT+CNUM Subscribernumber

Add these commands

V10016 20209232521 AT+BTINIT Init Bluetoothservice

Remove the command

V10016 2020923

5218 AT+MORING Enable ordisable report MO ring URC42221AT+CSYSSEL=nr5g_disable42222AT+CSYSSEL=nr5g_band42223AT+CSYSSEL=nsa_nr5g_band42224 AT+CSYSSEL=lte_band42225 AT+CSYSSEL=w_band

Add these commands

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 4451

V10017 2020930

5219 AT+CLVL Loudspeakervolume level5220 AT+VMUTE Speakermute control5221 AT+CMUT Microphonemute control

Add these commands

V10019 20201111

5222 AT+CRXVOL Adjust RXvoice output speaker volume5223 AT+CTXVOL Adjust TXvoice mic volume5224 AT+CTXMICGAIN AdjustTX voice mic gain5225 AT+CECH Inhibit far-endecho5226 AT+CECDT Inhibit echoduring doubletalk2521 AT+BTINIT Init Bluetoothservice2522 AT+BTTERM StopBluetooth service1929 AT+CPCIEMODE Get orset the mode of PCIE

Add these commands

V10020 202011235227 AT+CSTA Select type ofaddress

Add these commands

V101 20201234220 AT+CBANDCFG4212 AT+CNBP

Delete these commands

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 5451

Contents

Version History3

Contents 5

1 Introduction1611 Scope of the document1612 Related documents1613 Conventions and abbreviations1614 AT Command syntax16

141 Basic syntax17142 S Parameter syntax17143 Extended Syntax17144 Combining AT commands on the same Command line 18145 Entering successive AT commands on separate lines18

15 Supported character sets 1816 Flow control19

161 Hardware flow control (RTSCTS flow control)1917 Definitions19

171 Parameter Saving Mode19172 Max Response Time19

2 AT Commands According to V25TER2121 Overview of AT Commands According to V25TER2122 Detailed Description of AT Commands According to V25TER22

221 A Re-issues the Last Command Given22222 ATD Mobile Originated Call to Dial A Number 22223 ATDgtltmemgtltngt Originate call from specified memory24224 ATDgtltngt Originate call from active memory(1)25225 ATDgtltstrgt Originate call from active memory(2)26226 ATA Call answer27227 ATH Disconnect existing call28228 ATS0 Automatic answer incoming call 29229 +++ Switch from data mode to command mode 302210 ATO Switch from command mode to data mode302211 ATI Display product identification information312212 AT+IPR Set local baud rate temporarily322213 AT+ICF Set control character framing332214 AT+IFC Set local data flow control342215 ATampC Set DCD function mode 352216 ATE Enable command echo 362217 ATampV Display current configuration36

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 6451

2218 ATampD Set DTR function mode372219 ATV Set result code format mode372220 ATampF Set all current parameters to manufacturer defaults 382221 ATQ Set Result Code Presentation Mode392222 ATX Set CONNECT Result Code Format 402223 ATV Set CONNECT Result Code Format About Protocol402224 ATampE Set CONNECT Result Code Format About Speed 412225 ATampW Save the user setting to ME 422226 ATZ Restore the user setting from ME422227 AT+CGMI Request manufacturer identification432228 AT+CGMM Request model identification442229 AT+CGMR Request revision identification442230 AT+CGSN Request product serial number identification452231 AT+CSCS Select TE character set462232 AT+CIMI Request international mobile subscriber identity472233 AT+GCAP Request overall capabilities48

3 AT Commands for Status Control 4931 Overview of AT Commands for Status Control4932 Detailed Description of AT Commands for Status Control49

321 AT+CFUN Set phone functionality49322 AT+CPIN Enter PIN51323 AT+CICCID Read ICCID from SIM card52324 AT+CSIM Generic SIM access53325 AT+CRSM Restricted SIM access54326 AT+SPIC Times remain to input SIM PINPUK 58327 AT+CSPN Get service provider name from SIM59328 AT+CSQ Query signal quality60329 AT+AUTOCSQ Set CSQ report613210 AT+CSQDELTA Set RSSI delta change threshold623211 AT+CATR Configure URC destination interface633212 AT+CPOF Power down the module643213 AT+CRESET Reset the module653214 AT+CACM Accumulated call meter 653215 AT+CAMM Accumulated call meter maximum 673216 AT+CPUC Price per unit and currency table683217 AT+CCLK Real time clock management 693218 AT+CMEE Report mobile equipment error703219 AT+CPAS Phone activity status 713220 AT+SIMEI Set IMEI for the module723221 AT+CSVM Voice Mail Subscriber number733222 Indication of Voice Mail74

33 Summary of CME ERROR codes7534 Summary of CMS ERROR codes77

4 AT Commands for Network7941 Overview of AT Commands for Network79

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 7451

42 Detailed Description of AT Commands for Network79421 AT+CREG Network registration79422 AT+COPS Operator selection81423 AT+CLCK Facility lock 83424 AT+CPWD Change password85425 AT+CCUG Closed user group86426 AT+CUSD Unstructured supplementary service data87427 AT+CAOC Advice of Charge89428 AT+CSSN Supplementary service notifications 90429 AT+CPOL Preferred operator list 924210 AT+COPN Read operator names 934211 AT+CNMP Preferred mode selection944212 AT+CNAOP Acquisitions order preference954213 AT+CPSI Inquiring UE system information 964214 AT+CNSMOD Show network system mode 1004215 AT+CEREG EPS network registration status1014216 AT+CTZU Automatic time and time zone update1034217 AT+CTZR Time and time zone reporting1044218 AT+CNWINFO Inquiring extra network info1064219 AT+C5GREG NR5G network registration status 1074220 AT+CSYSSEL Set system selection pref 1094221 AT+CCELLCFG Set lte cell configuration1124222 AT+C5GCELLCFG Set NR5G cell configuration 113

5 AT Commands According to Call Control11551 Overview of AT Commands According to 3GPP Call Control 11552 Detailed Description of AT Commands According to Call Control116

521 AT+CVHU Voice hang up control116522 AT+CHUP Hang up call 117523 AT+CBST Select bearer service type117524 AT+CRLP Radio link protocol 119525 AT+CR Service reporting control 120526 AT+CRC Cellular result codes121527 AT+CLCC List current calls123528 AT+CEER Extended error report 125529 AT+CCWA Call waiting 1255210 AT+CHLD Call related supplementary services1275211 AT+CCFC Call forwarding number and conditions1285212 AT+CLIP Calling line identification presentation 1305213 AT+CLIR Calling line identification restriction1325214 AT+COLP Connected line identification presentation1335215 AT+VTS DTMF and tone generation1345216 AT+VTD Tone duration 1355217 AT+CSTA Select type of address1365218 AT+CMOD Call mode 1385219 AT+VMUTE Speaker mute control 139

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 8451

5220 AT+CMUT Microphone mute control1405221 AT+MORING Enable or disable report MO ring URC1415222 AT+CLVL Loudspeaker volume level 1415223 AT+CRXVOL Adjust RX voice output speaker volume1425224 AT+CTXVOL Adjust TX voice mic volume1435225 AT+CTXMICGAIN Adjust TX voice mic gain1445226 AT+CECH Inhibit far-end echo1455227 AT+CECDT Inhibit echo during doubletalk 146

6 AT Commands for Phonebook14861 Overview of AT Commands for Phonebook14862 Detailed Description of AT Commands for Phonebook148

621 AT+CPBS Select Phonebook memory storage148622 AT+CPBR Read Phonebook entries 150623 AT+CPBF Find Phonebook entries 151624 AT+CPBW Write Phonebook entry152625 AT+CNUM Subscriber number153

7 AT Commands for SIM Application Toolkit15571 Overview of AT Commands for SIM Application Toolkit15572 Detailed Description of AT Commands for SIM Application Toolkit155

721 AT+STIN SAT Indication155722 AT+STGI Get SAT information 156723 AT+STGR SAT respond 159724 AT+STK STK switch160725 AT+STKFMT Set STK pdu format 161726 AT+STENV Original STK PDU Envelope Command161727 AT+STSM Get STK Setup Menu List with PDU Mode162

8 AT Commands for GPRS 16481 Overview of AT Commands for GPRS16482 Detailed Description of AT Commands for GPRS164

821 AT+CGREG GPRS network registration status 164822 AT+CGATT Packet domain attach or detach166823 AT+CGACT PDP context activate or deactivate167824 AT+CGDCONT Define PDP context 168825 AT+CGDSCONT Define Secondary PDP Context 170826 AT+CGTFT Traffic Flow Template 172827 AT+CGQREQ Quality of service profile (requested)175828 AT+CGEQREQ 3G quality of service profile (requested)178829 AT+CGQMIN Quality of service profile (minimum acceptable) 1828210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)1858211 AT+CGDATA Enter data state 1898212 AT+CGPADDR Show PDP address1908213 AT+CGCLASS GPRS mobile station class1918214 AT+CGEREP GPRS event reporting 1938215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS194

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 9451

83 Summary of Unsolicited Result Codes196

9 AT Commands for SMS19891 Overview of AT Commands for SMS19892 Detailed Description of AT Commands for SMS 198

921 AT+CSMS Select message service198922 AT+CPMS Preferred message storage 200923 AT+CMGF Select SMS message format201924 AT+CSCA SMS service center address 202925 AT+CSCB Select cell broadcast message indication203926 AT+CSMP Set text mode parameters204927 AT+CSDH Show text mode parameters205928 AT+CNMA New message acknowledgement to META 206929 AT+CNMI New message indications to TE2079210 AT+CGSMS Select service for MO SMS messages2099211 AT+CMGL List SMS messages from preferred store2109212 AT+CMGR Read message 2149213 AT+CMGS Send message2189214 AT+CMSS Send message from storage 2199215 AT+CMGW Write message to memory2209216 AT+CMGD Delete message 2229217 AT+CMGMT Change message status2239218 AT+CMVP Set message valid period2249219 AT+CMGRD Read and delete message 2249220 AT+CMGSEX Send message 2269221 AT+CMSSEX Send multi messages from storage 227

10 AT Commands for SSL229101 Overview of AT Commands for SSL229102 Detailed Description of AT Commands for SSL229

1021 AT+CCHSTART Start SSL service 2291022 AT+CCHSTOP Stop SSL service 2301023 AT+CCHOPEN Connect to SSL server2311024 AT+CCHCLOSE Disconnect from SSL server 2321025 AT+CCHSEND Send data to SSL server2331026 AT+CCHRECV Read the cached data that received from the SSL server 2341027 AT+CCHADDR Get the IPV4 address2361028 AT+CCHCFG Configure the client context2371029 AT+CCHSSLCFG Set the SSL context 23810210 AT+CCHMODE Configure the mode of sending and receiving data23910211 AT+CCHSET Configure the report mode of sending and receiving data 24010212 AT+CSSLCFG Configure the SSL context24110213 AT+CCERTDOWN Download certificate into the module24610214 AT+CCERTLIST List certificates24710215 AT+CCERTDELE Delete certificates 247

103 Command result lterrgt codes248104 Unsolicited result codes249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 10451

11 AT Commands for TCPIP250111 Overview of AT Commands for TCPIP250112 Detailed Description of AT Commands for TCPIP 250

1121 AT+NETOPEN Start TCPIP service2501122 AT+NETCLOSE Stop TCPIP service2521123 AT+CIPOPEN Setup TCPUDP client socket connection 2521124 AT+CIPCLOSE Destroy TCPUDP client socket connection2561125 AT+CIPSEND Send TCPUDP data2571126 AT+CIPRXGET Retrieve TCPUDP buffered data2611127 AT+IPADDR Get IP address of PDP context2641128 AT+CIPHEAD Add an IP header when receiving data2641129 AT+CIPSRIP Show remote IP address and port26511210 AT+CIPMODE Select TCPIP application mode26611211 AT+CIPSENDMODE Set sending mode26711212 AT+CIPTIMEOUT Set TCPIP timeout value26811213 AT+CIPCCFG Configure parameters of socket 26911214 AT+SERVERSTART Startup TCP server27011215 AT+SERVERSTOP Stop TCP server27111216 AT+CIPACK QueryTCP connection data transmitting status272

113 DNS amp PING2731131 AT+CDNSGIP Query the IP address of given domain name2741132 AT+CDNSGHNAME Query the domain name of given IP address2751133 AT+CIPDNSSET Set DNS query parameters 2761134 AT+CPING Ping destination address2761135 AT+CPINGSTOP Stop an ongoing ping session 278

114 Information Elements related to TCPIP279115 Description of lterr_infogt280116 Description of lterrgt281

12 AT Commands for FTP(S)282121 Overview of AT Commands for FTP(S) 282122 Detailed Description of AT Commands for FTP(S)282

1221 AT+CFTPSSTART Start FTP(S) service 2821222 AT+CFTPSSTOP Stop FTP(S) Service2831223 AT+CFTPSLOGIN Login to a FTP(S) server2841224 AT+CFTPSLOGOUT Logout FTP(S) server2851225 AT+CFTPSMKD Create a new directory on FTP(S) server2861226 AT+CFTPSRMD Delete a directory on FTP(S) server2871227 AT+CFTPSDELE Delete a file on FTP(S) server2881228 AT+CFTPSCWD Change the current directory on FTP(S) server2881229 AT+CFTPSPWD Get the current directory on FTP(S) server28912210 AT+CFTPSTYPE Set the transfer type on FTP(S) server29012211 AT+CFTPSLIST List the items in the directory on FTP(S) server29112212 AT+CFTPSGETFILE Get a file from FTP(S) server to module29312213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server29412214 AT+CFTPSGET Get a file from FTP(S) server to serial port295

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 11451

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port 29612216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type29812217 AT+CFTPSCACHERD Output cached data to MCU29812218 AT+CFTPSABORT Abort FTP(S) Operations 29912219 AT+CFTPSSIZE Get the File Size on FTP(S) server300

123 Summary of result codes for FTPS 3011231 Summary of Command result lterrcodegt3011232 Summary of Unsolicited Result Codes302

13 AT Commands for HTTPS 303131 Overview of AT Commands for HTTPS 303132 DetailedDescription of AT Commands for HTTPS303

1321 AT+HTTPINIT Start HTTP(S) service 3031322 AT+HTTPTERM Stop HTTP(S) Service3041323 AT+HTTPPARA Set HTTP(S) Parameters value3041324 AT+HTTPACTION HTTP(S) Method Action3061325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response3071326 AT+HTTPREAD Read the Response Information of HTTP(S) Server3091327 AT+HTTPDATA Input HTTP(S) Data3101328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File3111329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file 312

133 Summary of result codes for HTTPS 3131331 Summary of HTTP(S) Response Code3141332 Summary of HTTP(S) error Code315

14 AT Commands for MQTT(S)316141 Overview of AT Commands for MQTT(S)316142 Detailed Description of AT Commands for MQTT(S) 316

1421 AT+CMQTTSTART Start MQTT service3161422 AT+CMQTTSTOP STOP MQTT service 3171423 AT+CMQTTACCQ Acquire a client3181424 AT+CMQTTREL Release a client3191425 AT+CMQTTSSLCFG Set the SSL context3201426 AT+CMQTTWILLTOPIC Input the will topic3211427 AT+CMQTTWILLMSG Input the will message3221428 AT+CMQTTDISC Disconnect from server 3221429 AT+CMQTTCONNECT Connect to MQTT server 32414210 AT+CMQTTTOPIC Input the publish message topic 32514211 AT+CMQTTPAYLOAD Input the publish message body32614212 AT+CMQTTPUB Publish a message to server32714213 AT+CMQTTSUBTOPIC Input a subscribe message topic32814214 AT+CMQTTSUB Subscribe a message to server 32914215 AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic33014216 AT+CMQTTUNSUB Unsubscribe a message to server33114217 AT+CMQTTCFG Configure the MQTT Context332

143 Summary of result codes for MQTT(S)3341431 Summary of Command result lterrgt codes334

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 12451

1432 Summary of Unsolicited Result Codes335

15 AT Commands for NTP337151 Overview of AT Commands for NTP 337152 Detailed Description of AT Commands for NTP337

1521 AT+CNTP Update system time 3371522 Unsolicited NTP Codes 338

16 AT Commands for HTP339161 Overview of AT Commands for HTP 339162 Detailed Description of AT Commands for HTP339

1621 AT+CHTPSERV Set HTP server info3391622 AT+CHTPUPDATE Updating date time using HTP protocol 3401623 Unsolicited HTP Codes 341

17 AT Commands for GPS342171 Overview of AT Commands for GPS342172 Detailed Description of AT Commands for GPS342

1721 AT+CGPS StartStop GPS session3421722 AT+CGPSINFO Get GPS fixed position information3441723 AT+CGPSCOLD Cold Start GPS3451724 AT+CGPSHOT Hot Start GPS 3451725 AT+CGPSURL Set AGPS default server URL3461726 AT+CGPSSSL Set AGPS transport security3471727 AT+CGPSAUTO Start GPS automatic 3471728 AT+CGPSNMEA Configure NMEA sentence type3481729 AT+CGPSNMEARATE Set NMEA output rate35017210 AT+CGPSMD Configure AGPS MO method 35017211 AT+CGPSFTM Start GPS test mode35117212 AT+CGPSDEL Delete the GPS information 35217213 AT+CGPSXE EnableDisable GPS XTRA function35217214 AT+CGPSXD Download XTRA assistant file35317215 AT+CGPSXDAUTO Download XTRA assistant file automatically35417216 AT+CGPSPMD Configure positioning mode35517217 AT+CGPSMSB Configure based mode switch to standalone35617218 AT+CGPSHOR Configure positioning desired accuracy35717219 AT+CGNSSINFO Get GNSS fixed position information35717220 AT+CGNSSMODE Configure GNSS support mode 35917221 Unsolicited XTRA download Codes 360

18 AT Commands for LBS361181 Overview of AT Commands for LBS361182 Detailed Description of AT Commands for LBS361

1821 AT+CLBS Base station location3611822 AT+CLBSCFG Base station Location configure 364

19 AT Commands for Hardware366191 Overview of AT Commands for Hardware366

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 13451

192 Detailed Description of AT Commands for Hardware3661921 AT+IPREX Set UART local baud rate permanently3661922 AT+CFGRI Indicate RI when using URC3671923 AT+CSCLK Control UART sleep3681924 AT+CMUX Enable the multiplexer over the UART 3701925 AT+CGFUNC Enabledisable the function for the special GPIO3711926 AT+CGDRT Set the direction of specified GPIO3721927 AT+CGSETV Set the value of specified GPIO3731928 AT+CGGETV Get the value of specified GPIO3741929 AT+CPCIEMODE Get or set the mode of PCIE374

20 Hardware Related Commands 376201 Overview of Hardware Related Commands 376202 Detailed Description of AT Commands for Hardware376

2021 AT+CVALARM Set overvoltage and undervoltage alarm3762022 AT+CADC Read the value of ADC 3782023 AT+CADC2 Read the value of ADC23782024 AT+CMTE Set the power action when over the critical temperature3792025 AT+CPMVT Set the power action when overvoltage and undervoltage3802026 AT+CDELTA Set module reboot to recovery mode 3822027 AT+CBC Read the voltage value of the power supply3822028 AT+CPMUTEMP Read the temperature of the modules3832029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode38320210 AT+CCPUTEMP Read the temperature of CPU different zones 385

21 AT Commands for UIM hot swap387211 Overview of AT Commands for UIM hot swap387212 Detailed Description of AT Commands for UIM hot swap 387

2121 AT+UIMHOTSWAPON Set UIM hot swap function on 3872122 AT+UIMHOTSWAPLEVEL Set UIM card detection level 388

22 AT Commands for File System 390221 Overview of AT Commands for File System 390222 Detailed Description of AT Commands for File System391

2221 AT+FSCD Select directory as current directory 3912222 AT+FSMKDIR Make new directory in current directory3922223 AT+FSRMDIR Delete directory in current directory3932224 AT+FSLS List directoriesfiles in current directory3932225 AT+FSDEL Delete file in current directory 3952226 AT+FSRENAME Rename file in current directory 3962227 AT+FSATTRI Request file attributes 3962228 AT+FSMEM Check the size of available memory3972229 AT+FSLOCA Select storage place 39822210 AT+FSCOPY Copy an appointed file39922211 AT+CFTRANRX Transfer a file to EFS40022212 AT+CFTRANTX Transfer a file from EFS to host 401

23 AT Commands for AUDIO403

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 14451

231 Overview of AT Commands for AUDIO403232 Detailed Description of AT Commands for AUDIO403

2321 AT+CREC Record wav audio file4032322 AT+CRECAMR Record amr audio file4042323 AT+CCMXPLAY Play audio file4062324 AT+CCMXSTOP Stop playing audio file407

24 AT Commands for TTS409241 Overview of AT Commands for TTS409242 Detailed Description of AT Commands for TTS409

2421 AT+CDTAM TTS play path local or remote4092422 AT+CTTS TTS operation play or stop4102423 AT+CTTSPARAM TTS Parameters set or get412

25 AT Commands for Bluetooth414251 Overview of AT Commands for Bluetooth 414252 Detailed Description of AT Commands for Bluetooth415

2521 AT+BTINIT Init Bluetooth service4152522 AT+BTTERM Stop Bluetooth service4152523 AT+BTPOWER OpenClose Bluetooth4162524 AT+BTHOST Get or Set host name4172525 AT+BTSCAN Scan BT devices 4172526 AT+BTPAIR Pair with other BT device4182527 AT+BTPAIRED Get Paired BT devices4192528 AT+BTUNPAIR Unpair with the paired BT device 4202529 AT+BTOPPREG OPP Register42125210 AT+BTOPPSEND OPP send file 42125211 +BTOPPRECVING OPP receive file notification 42225212 AT+BTOPPACCEPT OPP accept or refuse received file42225213 AT+BTGATTREG GATT register 42325214 AT+BTGATTCRESRV GATT create service42425215 AT+BTGATTCRECHAR GATT create service characteristic42525216 AT+BTGATTCRECHARDES GATT create service characteristic description42725217 AT+BTGATTSTARTSRV GATT startstop service42825218 AT+BTGATTSTARTADV GATT start advertisement 42925219 AT+BTGATTDELSRV GATT delete service43025220 +BTGATTCONN GATT client connect status43125221 +BTGATTWRIND GATT receive client write request43125222 AT+BTGATTWRCFM GATT response to BTGATTWRIND43225223 +BTGATTREADIND GATT receive client read request43225224 AT+BTGATTREADCFM GATT response to BTGATTREADIND43325225 AT+BTGATTNOTIFY GATT send notification to client434

253 Summary of result codes for GATT4352531 Summary of Command result lterrgt codes435

26 AT Commands for MiFi436261 Overview of AT Commands for MiFi436

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 15451

262 Detailed Description of AT Commands for MiFi4362621 AT+CWMAP OpenClose MiFi 4362622 AT+CWSSID SSID setting 4372623 AT+CWBCAST Broadcast setting4382624 AT+CWAUTH Authentication setting4392625 AT+CWMOCH 80211 mode and channel setting 4402626 AT+CWISO Client isolation setting4422627 AT+CWDHCP Get the current DHCP configuration4432628 AT+CWNAT NAT type setting4432629 AT+CWCLICNT Get client number connected to the MiFi44426210 AT+CWRSTD Restore to default setting44526211 AT+CWMAPCFG MiFi configuration setting44526212 AT+CWMACADDR Get MAC address44726213 AT+CWNETCNCT Query the connection to the network44826214 AT+CWSTASCAN Scan WIFI network44826215 AT+CWSTACFG STAmode configuration setting45026216 AT+CWSTAIP Get STAmode IP address451

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 16451

THIS DOCUMENT IS A REFERENCE GUIDE TO ALL THE AT COMMANDS

1 Introduction

11 Scope of the document

This document presents the AT Command Set for SIMCom SIM8200ampSIM8300 Series

12 Related documents

You can visit the SIMCom Website using the following linkhttpwwwsimcomcom

13 Conventions and abbreviations

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)

In application controlling device controls the GSM engine by sending AT Command via its serial interfaceThe 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

14 AT Command syntax

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 17451

The AT or at or aT or At prefix must be set at the beginning of each Command line To terminate aCommand line enter ltCRgtCommands are usually followed by a response that includes ltCRgtltLFgtltresponsegtltCRgtltLFgtThroughout this document only the responses are presented ltCRgtltLFgt are omitted intentionally

The AT Command set implemented by SIM8200 Series is a combination of 3GPP TS 27005 3GPP TS27007 and ITU-T recommendation V25ter and the AT commands developed by SIMCom

Only enter AT Command through serial port after SIM8200 Series is powered on and Unsolicited ResultCode RDY is received from serial port If auto-bauding is enabled the Unsolicited Result CodesRDY and so on are not indicated when you start up the ME and the AT prefix orat prefix must beset at the beginning of each command line

All these AT commands can be split into three categories syntactically basic S parameter andextended These are as follows

141 Basic syntax

These AT commands have the format of ATltxgtltngt orATampltxgtltngt where ltxgtis the Command andltngtisare the argument(s) for that Command An example of this is ATEltngt which tells the DCEwhether received characters should be echoed back to the DTE according to the value of ltngt ltngt isoptional and a default will be used if missing

142 S Parameter syntax

These AT commands have the format of ATSltngt=ltmgt where ltngt is the index of the S register to setand ltmgtis the value to assign to it ltmgt is optional if it is missing then a default value is assigned

143 Extended Syntax

These commands can operate in several modes as in the following table

Table 1 Types of AT commands and responsesTest CommandAT+ltxgt=

The mobile equipment returns the list of parameters and value ranges setwith the corresponding Write Command or by internal processes

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 18451

Read CommandAT+ltxgt

This command returns the currently set value of the parameter orparameters

Write CommandAT+ltxgt=lthellipgt

This command sets the user-definable parameter values

Execution CommandAT+ltxgt

The execution command reads non-variable parameters affected by internalprocesses in the GSM engine

144 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 AToratprefix before every command Instead you only need type ATorat the beginning of the command linePlease note to use a semicolon as the command delimiter after an extended command in basic syntax or Sparameter syntax the semicolon need not enter for exampleATE1Q0S0=1S3=13V1X4+IFC=00+IPR=115200

145 Entering successive AT commands on separate lines

When you need to enter a series of AT commands on separate lines please Note that you need to wait thefinal response (for example OK CME error CMS error) of last AT Command you entered before you enterthe next AT Command

15 Supported character sets

The SIM8200 Series AT Command interface defaults to the IRA character set The SIM8200 Seriessupports the following character sets GSM format UCS2 IRAThe character set can be set and interrogated using the AT+CSCS Command (3GPP TS 27007) Thecharacter set is defined in GSM specification 3GPP TS 27005

The character set affects transmission and reception of SMS and SMS Cell Broadcast messages the entryand display of phone book entries text field and SIM Application Toolkit alpha strings

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 19451

16 Flow control

Flow control is very important for correct communication between the GSM engine and DTE For in thecase such as a data or fax call the sending device is transferring data faster than the receiving side is readyto accept When the receiving buffer reaches its capacity the receiving device should be capable to causethe sending device to pause until it catches up

There are basically two approaches to achieve data flow control software flow control and hardware flowcontrol SIM8200 Series support both two kinds of flow controlIn Multiplex mode it is recommended to use the hardware flow control

161 Hardware flow control (RTSCTS flow control)

Hardware flow control achieves the data flow control by controlling the RTSCTS line When the datatransfer should be suspended the CTS line is set inactive until the transfer from the receiving buffer hascompleted When the receiving buffer is OK to receive more data CTS goes active once again

To achieve hardware flow control ensure that the RTSCTS lines are present on your application platform

17 Definitions

171 Parameter Saving Mode

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 doesnt have parameter AUTO_SAVE The parameter of the current AT command will be kept in NVRAM automatically and

take in effect immediately and it wont 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 wont be lost if module is rebooted

172 Max Response Time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 20451

Max response time is estimated maximum time to get response the unit is seconds

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 21451

2 AT Commands According toV25TER

21 Overview of AT Commands According to V25TER

Command DescriptionA Re-issues the last command given

ATD Mobile originated call to dial a numberATDgtltmemgtltngt Originate call from specified memoryATDgtltngt Originate call from active memoryATDgtltngt Originate call from active memoryATA Call answerATH Disconnect existing callATS0 Automatic answer incoming call+++ Switch from data mode to command modeATO Switch from command mode to data modeATI Display product identification information

AT+IPR Set local baud rate temporarilyAT+ICF Set control character framingAT+IFC Set local data flow controlATampC Set DCD function modeATE Enable command echoATampV Display current configurationATampD Set DTR function modeATV Set result code format modeATampF Set all current parameters to manufacturer defaultsATQ Set Result Code Presentation ModeATX Set CONNECT Result Code FormatATV Set CONNECT Result Code Format About ProtocolATampE Set CONNECT Result Code Format About SpeedATampW Save the user setting to MEATZ Restore the user setting from MEAT+CGMI Request manufacturer identificationAT+CGMM Request model identificationAT+CGMR Request revision identification

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 22451

AT+CGSN Request product serial number identificationAT+CSCS Select TE character setAT+CIMI Request international mobile subscriber identityAT+GCAP Request overall capabilities

22 Detailed Description of AT Commands According to V25TER

221 A Re-issues the Last Command Given

A Re-issues the Last Command GivenExecution CommandA

ResponseRe-issues the previous Command

Parameter Saving Mode NO_SAVE

Max Response Time 120000msReference

Example

A+GCAP +CGSM+FCLASS+DS

OK

222 ATD Mobile Originated Call to Dial A Number

This command can be used to set up outgoing data calls It also serves to control supplementary services

ATD Mobile Originated Call to Dial A NumberExecution CommandATDltngt[ltmgsm][]

ResponseIf originate a voice call successfullyOK

VOICE CALL BEGIN

If error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 23451

+CME ERROR lterrgt

If no dial tone and (parameter setting ATX2 or ATX4)NO DIALTONE

If busy and (parameter setting ATX3 or ATX4)BUSY

If a connection cannot be establishedNO CARRIER

If the remote station does not answerNO ANSWER

If connection successful and non-voice callCONNECTlttextgtTA switches to data modeNote lttextgt output only if ATXltvaluegt parameter setting with theltvaluegtgt0

When TA returns to command mode after call releaseOK

Parameter Saving Mode NO_SAVE

Max Response TimeReference

Defined Values

ltngt String of dialing digits and optionally V25ter modifiers dialing digits0-9 +ABCFollowing V25ter modifiers are ignored(comma)TPW

Emergency callltngt Standardized emergency number 112 (no SIM needed)ltmgsmgt String of GSM modifiers

I Actives CLIR (Disables presentation of own number to calledparty)i Deactivates CLIR (Enable presentation of own number to calledparty)G Activates Closed User Group invocation for this call onlyg Deactivates Closed User Group invocation for this call only

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 24451

ATD10086OKVOICE CALL BEGIN

This command may be aborted generally by receiving an ATH Command or a character duringexecution The aborting is not possible during some states of connection establishment such ashandshaking

223 ATDgtltmemgtltngt Originate call from specified memory

This command is used to originate a call using specified memory and index number

ATDgtltmemgtltngt Originate call from specified memoryExecution CommandATDgtltmemgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

Max Response TimeReferenceV25ter

Defined Values

ltmemgtPhonebook storage (For detailed description of storages seeAT+CPBS)

DC ME dialed calls list

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 25451

MC ME missed (unanswered received) calls listRC ME received calls listSM SIM phonebookME UE phonebookFD SIM fixed dialing phonebookON MSISDN listLD Last number dialed phonebookEN Emergency numbers

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtSM3 Specify the ltmemgtOK

VOICE CALL BEGIN

224 ATDgtltngt Originate call from active memory(1)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 26451

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgt2OK

VOICE CALL BEGIN

225 ATDgtltstrgt Originate call from active memory(2)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltstrgt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 27451

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltstrgt

String type value which should equal to an alphanumeric field in atleast one phone book entry in the searched memories ltstrgtformattedas current TE character set specified by AT+CSCSltstrgt must bedouble quoted

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtkobeOK

VOICE CALL BEGIN

226 ATA Call answer

This command is used to make remote station to go off-hook eg answer an incoming call If there is no anincoming call and entering this command to TA it will be return NO CARRIER to TA

ATA Call answerExecution CommandATA

Responsea)If originate a voice call successfullyOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 28451

VOICE CALL BEGIN

b)For data call and TA switches to data modeCONNECT

c)No connection or no incoming callNO CARRIER

ReferenceV25ter

Example

ATAVOICE CALL BEGIN

OK

227 ATH Disconnect existing call

This command is used to disconnect existing call Before using ATH command to hang up a voice call itmust set AT+CVHU=0 Otherwise ATH command will be ignored and OK response is given onlyThis command is also used to disconnect PS data call and in this case it doesnrsquot depend on the value ofAT+CVHU

ATH Disconnect existing callExecution CommandATH

Responsea) If AT+CVHU=0OK

VOICE CALL END lttimegtb) If ATD99OK

+PPPD DISCONNECTEDc) No any callOK

ReferenceV25ter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 29451

Defined Values

lttimegtVoice call connection time

Format HHMMSS (HH hour MM minute SS second)

Example

AT+CVHU=0OKATHOK

VOICE CALL END 000017

228 ATS0 Automatic answer incoming call

The S-parameter command controls the automatic answering feature of the Module If set to 000 automaticanswering is disabled otherwise it causes the Module to answer when the incoming call indication (RING)has occurred the number of times indicated by the specified value and the setting will not be stored uponpower-off ie the default value will be restored after restart

ATS0 Automatic answer incoming callRead CommandATS0

Responsea) If successltngt

OK

d) If failedERROR

Write commandATS0=ltngt

Responsea) If successOK

b) If failedERROR

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 30451

ltngt000 Automatic answering mode is disable (default value when

power-on)001ndash255 Enable automatic answering on the ring number specified

Example

ATS0000

OKATS0=003OK

1The S-parameter command is effective on voice call and data call2If ltngt is set too high the remote party may hang up before the call can be answered automatically

229 +++ Switch from data mode to command mode

This command is only available during a connecting PS data call The +++ character sequence causes theTA to cancel the data flow over the AT interface and switch to Command Mode This allows to enter ATcommands while maintaining the data connection to the remote device

+++ Switch from data mode to command modeExecution Command+++

ResponseOK

ReferenceV25ter

To prevent the +++ escape sequence from being misinterpreted as data it must be preceded andfollowed by a pause of at least 1000 milliseconds and the interval between two lsquo+rsquo character canrsquotexceed 900 milliseconds

2210 ATO Switch from command mode to data mode

ATO is the corresponding command to the +++ escape sequence When there is a PS data call connected

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 31451

and the TA is in Command Mode ATO causes the TA to resume the data and takes back to Data Mode

ATO Switch from command mode to data modeExecution CommandATO

Responsea) TADCE switches to Data Mode from Command ModeCONNECT[ltbaud rategt]

b) If connection is not successfully resumedNO CARRIERorERROR

ReferenceV25ter

Example

ATOCONNECT 115200

2211 ATI Display product identification information

This command is used to request the product information which consists of manufacturer identificationmodel identification revision identification International Mobile station Equipment Identity (IMEI) andoverall capabilities of the product

ATI Display product identification informationExecution CommandATI

ResponseManufacturer ltmanufacturergtModel ltmodelgtRevision ltrevisiongtIMEI [ltsngt]+GCAP list of ltnamegts

OKReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturerltmodelgt The identification of modelltrevisiongt The revision identification of firmware

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 32451

ltsngtSerial number identification which consists of a single line containingIMEI (International Mobile station Equipment Identity) number

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

ATIManufacturer SIMCOMINCORPORATEDModel SIMCOM_SIM8200GRevision SIM8200G _V10IMEI 351602000330570+GCAP +CGSM+FCLASS+DS

OK

2212 AT+IPR Set local baud rate temporarily

This command sets the baud rate of modulersquos serial interface temporarily after reboot the baud rate is set tovalue of IPREX

AT+IPR Set local baud rate temporarilyTest CommandAT+IPR=

Response+IPR (list of supportedltspeedgts)

OKRead CommandAT+IPR

Response+IPR ltspeedgt

OKWrite CommandAT+IPR=ltspeedgt

ResponseOKorERROR

Execution Command Set the value to boot value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 33451

AT+IPR OK

Defined Values

ltspeedgtBaud rate per second300 600 1200 2400 4800 9600 19200 38400 57600 115200230400 921600 3000000 3200000 3686400

2213 AT+ICF Set control character framing

This command sets character framing which contains data bit stop bit and parity bit

AT+ICF Set control character framingTest CommandAT+ICF=

Response+ICF (list of supportedltformatgts)(list of supportedltparitygts)

OKRead CommandAT+ICF

Response+ICF ltformatgtltparitygt

OKWrite CommandAT+ICF=ltformatgt[ltparitygt]

ResponseOKorERROR

Execution CommandAT+ICF

Set default valueOK

ReferenceV25ter

Defined Values

ltformatgt

1 data bit 8 stop bit 22 data bit 8 parity bit 1stop bit 13 data bit 8 stop bit 14 data bit 7 stop bit 25 data bit 7 parity bit 1stop bit 16 data bit 7 stop bit 1

ltparitygt

0 Odd1 Even2 Space3 none

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 34451

Example

AT+ICF+ICF 33

OKAT+ICF=+ICF (1-6)(0-3)

OKAT+ICF=33OK

2214 AT+IFC Set local data flow control

The command sets the flow control mode of the module

AT+IFC Set local data flow controlTest CommandAT+IFC=

Response+IFC (list of supportedltDCEgts)(list of supportedltDTEgts)

OKorERROR

Read CommandAT+IFC

Response+IFC ltDCEgtltDTEgt

OKorERROR

Write CommandAT+IFC=ltDCEgt[ltDTEgt]

ResponseOKorERROR

Execution CommandAT+IFC

Set default valueOK

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 35451

ltDCEgt0 none (default)2 RTS hardware flow control

ltDTEgt0 none (default)2 CTS hardware flow control

Example

AT+IFC+IFC 00

OKAT+IFC=+IFC (02)(02)

OKAT+IFC=22OK

2215 ATampC Set DCD function mode

This command determines how the state of DCD PIN relates to the detection of received line signal from thedistant end

ATampC Set DCD function modeExecution CommandATampC[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 DCD line shall always be on1 DCD line shall be on only when data carrier signal is present2 Setting winks(briefly transitions offthen back on)the DCD line when data calls end

Example

ATampC1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 36451

2216 ATE Enable command echo

This command sets whether or not the TA echoes characters

ATE Enable command echoExecution CommandATE[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Echo mode off1 Echo mode on

Example

ATE1OK

2217 ATampV Display current configuration

This command returns some of the base configuration parameters settings

ATampV Display current configurationExecution CommandATampV

Responselttextgt

OKorERROR

ReferenceV25ter

Defined Values

lttextgt All relative configuration information

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 37451

Example

ATampVampC 0 ampD 2 ampF 0 E 1 L 0 M 0 Q0 V 1 X 0 Z 0 S0 0S3 13 S4 10 S5 8 S6 2 S7 50 S82 S9 6 S10 14 S11 95+FCLASS 0 +ICF 33 +IFC 22+IPR 115200 +DR 0 +DS 0020486+WS46 12 +CBST 001helliphellipOK

2218 ATampD Set DTR function mode

This command determines how the TA responds when DTR PIN is changed from the ON to the OFFcondition during data mode

ATampD Set DTR function modeExecution CommandATampD[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 TA ignores status on DTR1 ON-gtOFF on DTR Change to Command mode with remaining the connected call2 ON-gtOFF on DTR Disconnect call change to Command modeDuring state DTR =OFF is auto-answer off

Example

ATampD1OK

2219 ATV Set result code format mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 38451

This parameter setting determines the contents of the header and trailer transmitted with result codes andinformation responses

ATV Set result code format modeExecution CommandATV[ltvaluegt]

ResponseIf ltvaluegt =00If ltvaluegt =1OK

ReferenceV25ter

Defined Values

ltvaluegt

0 Information response lttextgtltCRgtltLFgtShort result code format ltnumeric codegtltCRgt

1 Information response ltCRgtltLFgtlttextgtltCRgtltLFgtLong result code format ltCRgtltLFgtltverbose codegtltCRgtltLFgt

Example

ATV1OK

2220 ATampF Set all current parameters to manufacturer defaults

This command is used to set all current parameters to the manufacturer defined profile

ATampF Set all current parameters to manufacturer defaultsExecution CommandATampF[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Set some temporary TA parameters to manufacturer defaults The setting afterpower on or reset is same as value 0

Default Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 39451

TA Parameters VALUESAT+CNMP[1] 2AT+CNAOP[1] 7912532411AT+CTZU[2] 0AT+CGPSSSL[2] 0AT+CGPSURL[2] [1] takes effect immediately[2] takes effect after a modem reboot

Example

ATampFOK

2221 ATQ Set Result Code Presentation Mode

Specify whether the TA transmits any result code to the TE or not Text information transmitted in responseis not affected by this setting

ATQ Set Result Code Presentation ModeExecution CommandATQltngt

ResponseIf ltngt=0OK

If ltngt=1No Responses

Execution CommandATQ

Set default value 0OK

ReferenceV25ter

Defined Values

ltngt0 DCE transmits result code1 DCE not transmits result code

Example

ATQ0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 40451

2222 ATX Set CONNECT Result Code Format

This parameter setting determines whether the TA transmits unsolicited result codes or not The unsolicitedresult codes areltCONNECTgtltSPEEDgtltCOMMUNICATION PROTOCOLgt[ltTEXTgt]

ATX Set CONNECT Result Code FormatExecution CommandATXltngt

ResponseOKorERROR

Execution CommandATX

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltngt0 CONNECT result code returned1234 May be transmits extern result codes according to ATampE and ATV settingsRefer to ATampE

Example

ATX1OK

2223 ATV Set CONNECT Result Code Format About Protocol

This parameter setting determines whether report the communication protocol If PS call it also determineswhether report APN uplink rate downlink rate

ATV Set CONNECT Result Code Format About ProtocolExecution CommandATVltvaluegt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 41451

Execution CommandATV

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 Donrsquot report1 Report communication protocol And report APN uplink rate downlink rate if PS callRefer to ATampE The maybe communication protocol report includeNONEPPPoverUDAV32KAV64KPACKET And APN in string format whileuplink rate and downlink rate in integer format with kb unit

Example

ATV0OK

2224 ATampE Set CONNECT Result Code Format About Speed

This parameter setting determines to report Serial connection rate or Wireless connection speed It is validonly ATX above 0

ATampE Set CONNECT Result Code Format About SpeedExecution CommandATampEltvaluegt

ResponseOKorERROR

Execution CommandATampE

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Wireless connection speed in integer format1 Serial connection rate in integer format Such as 115200

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 42451

Example

ATampE0OK

2225 ATampW Save the user setting to ME

This command will save the user settings to ME which set by ATE ATQ ATV ATX ATampC ATampD ATVAT+IFC and ATS0

ATampW Save the user setting to MEExecution CommandATampWltvaluegt

ResponseOKorERROR

Execution CommandATampW

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Save

Example

ATampW0OK

2226 ATZ Restore the user setting from ME

This command will restore the user setting from ME which set by ATE ATQ ATV ATX ATampC ATampD ATampSATQ ATV and ATS0

ATZ Restore the user setting from MEExecution CommandATZltvaluegt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 43451

orERROR

Execution CommandATZ

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Restore

Example

ATZ0OK

2227 AT+CGMI Request manufacturer identification

This command is used to request the manufacturer identification text which is intended to permit the user ofthe Module to identify the manufacturer

AT+CGMI Request manufacturer identificationTest CommandAT+CGMI=

ResponseOK

Execution CommandAT+CGMI

Responseltmanufacturergt

OKorERROR

ReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturer

Example

AT+CGMI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 44451

SIMCOM INCORPORATED

OK

2228 AT+CGMM Request model identification

This command is used to requests model identification text which is intended to permit the user of theModule to identify the specific model

AT+CGMM Request model identificationTest CommandAT+CGMM=

ResponseOK

Execution CommandAT+CGMM

Responseltmodelgt

OKorERROR

ReferenceV25ter

Defined Values

ltmodelgt The identification of model

Example

AT+CGMMSIMCOM_SIM8200G

OK

2229 AT+CGMR Request revision identification

This command is used to request product firmware revision identification text which is intended to permitthe user of the Module to identify the version

AT+CGMR Request revision identificationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 45451

AT+CGMR= OKExecution CommandAT+CGMR

Response+CGMR ltrevisiongt

OKorERROR

ReferenceV25ter

Defined Values

ltrevisiongt The revision identification of firmware

Example

AT+CGMR+CGMR LE11B03SIM8200G

OK

2230 AT+CGSN Request product serial number identification

This command requests product serial number identification text which is intended to permit the user of theModule to identify the individual ME to which it is connected to

AT+CGSN Request product serial number identificationTest CommandAT+CGSN=

ResponseOK

Execution CommandAT+CGSN

Responseltsngt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltsngtSerial number identification which consists of a single line containingthe IMEI (International Mobile station Equipment Identity) number of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 46451

the MTIf in CDMAEVDO mode it will show ESN(Electronic Serial Number)

Example

AT+CGSN351602000330570

OK

2231 AT+CSCS Select TE character set

Write command informs TA which character set ltchestgt is used by the TE TA is then able to convertcharacter strings correctly between TE and MT character setsRead command shows current setting and test command displays conversion schemes implemented in theTA

AT+CSCS Select TE character setTest CommandAT+CSCS=

Response+CSCS (list of supported ltchsetgts)

OKRead CommandAT+CSCS

Response+CSCS ltchsetgt

OKWrite CommandAT+CSCS=ltchsetgt

ResponseOKorERROR

Execution CommandAT+CSCS

Set subparameters as default valueOK

ReferenceV25ter

Defined Values

ltchsetgt

Character set the definition as followingIRA International reference alphabetGSM GSM default alphabet this setting causes easily

software flow control (XON XOFF) problemsUCS2 16-bit universal multiple-octet coded character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 47451

UCS2 character strings are converted to hexadecimal numbers from0000 to FFFF

Example

AT+CSCS=IRAOK

2232 AT+CIMI Request international mobile subscriber identity

Execution command causes the TA to return ltIMSIgt which is intended to permit the TE to identify theindividual SIM card which is attached to MTNOTE If USIM card contains two apps like China Telecom 4G card one RUIMCSIM app and anotherUSIM app so there are two IMSI in it AT+CIMI will return the RUIMCSIM IMSI AT+CIMIM will return theUSIM IMSI

AT+CIMI Request international mobile subscriber identityTest CommandAT+CIMI=

ResponseOK

Execution CommandAT+CIMI

ResponseltIMSIgt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltIMSIgtInternational Mobile Subscriber Identity (string without doublequotes)

ExampleAT+CIMI460010222028133

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 48451

2233 AT+GCAP Request overall capabilities

Execution command causes the TA reports a list of additional capabilities

AT+GCAP Request overall capabilitiesTest CommandAT+GCAP=

ResponseOK

Execution CommandAT+GCAP

Response+GCAP (list of ltnamegts)

OKReferenceV25ter

Defined Values

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

AT+GCAP+GCAP +CGSM+FCLASS+DS

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 49451

3 AT Commands for Status Control

31 Overview of AT Commands for Status Control

Command DescriptionAT+CFUN Set phone functionality

AT+CPIN Enter PINAT+CICCID Read ICCID from SIM cardAT+CSIM Generic SIM accessAT+CRSM Restricted SIM accessAT+SPIC Times remain to input SIM PINPUKAT+CSPN Get service provider name from SIMAT+CSQ Query signal qualityAT+AUTOCSQ Set CSQ reportAT+CSQDELTA Set RSSI delta change thresholdAT+CATR Configure URC destination interfaceAT+CPOF Power down the moduleAT+CRESET Reset the moduleAT+CACM Accumulated call meterAT+CAMM Accumulated call meter maximumAT+CPUC Price per unit and currency tableAT+CCLK Real time clock managementAT+CMEE Report mobile equipment errorAT+CPAS Phone activity statusAT+SIMEI Set IMEI for the moduleAT+CSVM Voice Mail Subscriber number

32 Detailed Description of AT Commands for Status Control

321 AT+CFUN Set phone functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 50451

DescriptionThis command is used to select the level of functionality ltfungt in the ME Level fullfunctionality is where the highest level of power is drawn Minimum functionality is whereminimum power is drawn Level of functionality between these may also be specified bymanufacturers When supported by manufacturers ME resetting with ltrstgt parameter maybe utilized

NOTE AT+CFUN=6 must be used after setting AT+CFUN=7 If module in offline modemust execute AT+CFUN=6 or restart module to online mode

AT+CFUN Set phone functionalityTest CommandAT+CFUN=

Response+CFUN (list of supported ltfungts)(list of supported ltrstgts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CFUN

Response+CFUN ltfungt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CFUN=ltfungt[ltrstgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltfungt 0 minimum functionality1 full functionality online mode4 disable phone both transmit and receive RF circuits5 Factory Test Mode6 Reset7 Offline Mode

ltrstgt 0 do not reset the ME before setting it to ltfungt power level

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 51451

1 reset the ME before setting it to ltfungt power level This value only takeseffect when ltfungt equals 1

Example

AT+CFUN+CFUN 1

OKAT+CFUN=0OK

322 AT+CPIN Enter PIN

DescriptionThis command is used to send the ME a password which is necessary before it can beoperated (SIM PIN SIM PUK PH-SIM PIN etc) If the PIN is to be entered twice the TAshall automatically repeat the PIN If no PIN request is pending no action is taken towardsMT and an error message +CME ERROR is returned to TEIf the PIN required is SIM PUK or SIM PUK2 the second pin is required This second pinltnewpingt is used to replace the old pin in the SIM

AT+CPIN Enter PINTest CommandAT+CPIN=

ResponseOK

Read CommandAT+CPIN

Response+CPIN ltcodegt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPIN=ltpingt[ltnewpingt]

ResponseOKorERRORor+CME ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 52451

Defined Valuesltpingt String type valuesltnewpingt String type valuesltcodegt Values reserved by the present document

READY ndash ME is not pending for any passwordSIM PIN ndash ME is waiting SIM PIN to be givenSIM PUK ndash ME is waiting SIM PUK to be givenPH-SIM PIN ndash ME is waiting phone- to- SIM card password to be givenSIM PIN2 ndash ME is waiting SIM PIN2 to be givenSIM PUK2 ndash ME is waiting SIM PUK2 to be givenPH-NET PIN ndash ME is waiting network personalization password to be given

Example

AT+CPIN+CPIN SIM PUK2

OK

323 AT+CICCID Read ICCID from SIM card

DescriptionThis command is used to Read the ICCID from SIM card

AT+CICCID Read ICCID from SIM cardTest CommandAT+CICCID=

ResponseOK

Execution CommandAT+CICCID

Response+ICCID ltICCIDgt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 53451

ltICCIDgt Integrate circuit card identity a standard ICCID is a 20-digit serial number of theSIM card it presents the publish state network code publish area publish datepublish manufacture and press serial number of the SIM card

Example

AT+CICCID+ICCID 898600700907A6019125

OK

324 AT+CSIM Generic SIM access

Description

This command is used to control the SIM card directlyCompared to restricted SIM access command AT+CRSM AT+CSIM allows the ME to takemore control over the SIM interfaceFor SIMndashME interface please refer 3GPP TS 1111NOTEThe SIM Application Toolkit functionality is not supported by AT+CSIM Therefore

the following SIM commands can not be used TERMINAL PROFILEENVELOPE FETCH and TEMINAL RESPONSE

AT+CSIM Generic SIM accessTest CommandAT+CSIM=

ResponseOK

Write CommandAT+CSIM=ltlengthgtltcommandgt

Response+CSIM ltlengthgtltresponsegt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 54451

ltlengthgt Integer type length of characters that are sent to TE in ltcommandgtorltresponsegtltcommandgt Command passed from MT to SIM cardltresponsegt Response to the command passed from SIM card to MT

Example

AT+CSIM=OK

325 AT+CRSM Restricted SIM access

DescriptionBy using AT+CRSM instead of Generic SIM Access AT+CSIM TE application has easierbut more limited access to the SIM databaseWrite command transmits to the MT the SIM ltcommandgt and its required parameters MThandles internally all SIM-MT interface locking and file selection routines As response tothe command MT sends the actual SIM information parameters and response data MTerror result code +CME ERROR may be returned when the command cannot be passed tothe SIM but failure in the execution of the command in the SIM is reported in ltsw1gt andltsw2gt parameters

AT+CRSM Restricted SIM accessTest CommandAT+CRSM=

ResponseOK

Write CommandAT+CRSM=ltcommandgt[ltfileIDgt[ltp1gtltp2gtltp3gt[ltdatagt]]]

Response+CRSM ltsw1gtltsw2gt[ltresponsegt]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcommandgt Command passed on by the MT to the SIM176 READ BINARY178 READ RECORD

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 55451

192 GET RESPONSE214 UPDATE BINARY220 UPDATE RECORD242 STATUS203 RETRIEVE DATA219 SET DATA

ltfileIDgt Identifier for an elementary data file on SIM if used by ltcommandgtThe following list the fileID hex value user needs to convert them to decimalEFs under MF0x2FE2 ICCID0x2F05 Extended Language Preferences0x2F00 EF DIR0x2F06 Access Rule Reference

EFs under USIM ADF0x6F05 Language Indication0x6F07 IMSI0x6F08 Ciphering and Integrity keys0x6F09 C and I keys for pkt switched domain0x6F60 User controlled PLMN selector wAcc Tech0x6F30 User controlled PLMN selector0x6F31 HPLMN search period0x6F37 ACM maximum value0x6F38 USIM Service table0x6F39 Accumulated Call meter0x6F3E Group Identifier Level0x6F3F Group Identifier Level 20x6F46 Service Provider Name0x6F41 Price Per Unit and Currency table0x6F45 Cell Bcast Msg identifier selection0x6F78 Access control class0x6F7B Forbidden PLMNs0x6F7E Location information0x6FAD Administrative data0x6F48 Cell Bcast msg id for data download0x6FB7 Emergency call codes0x6F50 Cell bcast msg id range selection0x6F73 Packet switched location information0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F49 Service dialling numbers0x6F4B Extension 20x6F4C Extension 30x6F47 SMS reports

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 56451

0x6F80 Incoming call information0x6F81 Outgoing call information0x6F82 Incoming call timer0x6F83 Outgoing call timer0x6F4E Extension 50x6F4F Capability Config Parameters 20x6FB5 Enh Multi Level Precedence and Pri0x6FB6 Automatic answer for eMLPP service0x6FC2 Group identity0x6FC3 Key for hidden phonebook entries0x6F4D Barred dialling numbers0x6F55 Extension 40x6F58 Comparison Method information0x6F56 Enabled services table0x6F57 Access Point Name Control List0x6F2C De-personalization Control Keys0x6F32 Co-operative network list0x6F5B Hyperframe number0x6F5C Maximum value of Hyperframe number0x6F61 OPLMN selector with access tech0x6F5D OPLMN selector0x6F62 HPLMN selector with access technology0x6F06 Access Rule reference0x6F65 RPLMN last used access tech0x6FC4 Network Parameters0x6F11 CPHS Voice Mail Waiting Indicator0x6F12 CPHS Service String Table0x6F13 CPHS Call Forwarding Flag0x6F14 CPHS Operator Name String0x6F15 CPHS Customer Service Profile0x6F16 CPHS CPHS Information0x6F17 CPHS Mailbox Number0x6FC5 PLMN Network Name0x6FC6 Operator PLMN List0x6F9F Dynamic Flags Status0x6F92 Dynamic2 Flag Setting0x6F98 Customer Service Profile Line20x6F9B EF PARAMS - Welcome Message0x4F30 Phone book reference file0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier0x4F20 GSM ciphering key Kc0x4F52 GPRS ciphering key0x4F63 CPBCCH information0x4F64 Investigation scan

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 57451

0x4F40 MExE Service table0x4F41 Operator Root Public Key0x4F42 Administrator Root Public Key0x4F43 Third party Root public key0x6FC7 Mail Box Dialing Number0x6FC8 Extension 60x6FC9 Mailbox Identifier0x6FCA Message Waiting Indication Status0x6FCD Service Provider Display Information0x6FD2 UIM_USIM_SPT_TABLE0x6FD9 Equivalent HPLMN0x6FCB Call Forwarding Indicator Status0x6FD6 GBA Bootstrapping parameters0x6FDA GBA NAF List0x6FD7 MBMS Service Key0x6FD8 MBMS User Key0x6FCE MMS Notification0x6FD0 MMS Issuer connectivity parameters0x6FD1 MMS User Preferences0x6FD2 MMS User connectivity parameters0x6FCF Extension 80x5031 Object Directory File0x5032 Token Information File0x5033 Unused space Information File

EFs under Telecom DF0x6F3A Abbreviated Dialing Numbers0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F3D Capability Configuration Parameters0x6F4F Extended CCP0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F44 Last number dialled0x6F49 Service Dialling numbers0x6F4A Extension 10x6F4B Extension 20x6F4C Extension 30x6F4D Barred Dialing Numbers0x6F4E Extension 40x6F47 SMS reports0x6F58 Comparison Method Information0x6F54 Setup Menu elements0x6F06 Access Rule reference0x4F20 Image0x4F30 Phone book reference file

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 58451

0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier

ltp1gtltp2gtltp3gt Integer type parameters to be passed on by the Module to the SIMltdatagt Information which shall be written to the SIM (hexadecimal character format refer

AT+CSCS)ltsw1gtltsw2gt Status information from the SIM about the execution of the actual command It is

returned in both cases on successful or failed execution of the commandltresponsegt Response data in case of a successful completion of the previously issued

commandSTATUS and GET RESPONSE commands return data which gives informationabout the currently selected elementary data field This information includes thetype of file and its sizeAfter READ BINARY or READ RECORD commands the requested data will bereturnedltresponsegt is empty after UPDATE BINARY or UPDATE RECORD commands

Example

AT+CRSM=OK

326 AT+SPIC Times remain to input SIM PINPUK

DescriptionThis command is used to inquire times remain to input SIM PINPUK

AT+SPIC Times remain to input SIM PINPUKTest CommandAT+SPIC=

ResponseOK

Execution CommandAT+SPIC

Response+SPIC ltpin1gtltpuk1gtltpin2gtltpuk2gt

OK

Defined Values

ltpin1gt Times remain to input PIN1 code

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 59451

ltpuk1gt Times remain to input PUK1 codeltpin2gt Times remain to input PIN2 codeltpuk2gt Times remain to input PUK2 code

Example

AT+SPIC=OKAT+SPIC+SPIC 310010

OK

327 AT+CSPN Get service provider name from SIM

DescriptionThis command is used to get service provider name from SIM card

AT+CSPN Get service provider name from SIMTest CommandAT+CSPN=

ResponseOKorERROR

Read CommandAT+CSPN

Response+CSPN ltspngtltdisplay modegt

OKorERRORor+CME ERROR lterrgt

Defined Values

ltspngt String type service provider name on SIMltdisplay modegt 0 doesnrsquot display PLMN Already registered on PLMN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 60451

1 display PLMN

Example

AT+CSPN=OKAT+CSPN+CSPN CMCC0

OK

328 AT+CSQ Query signal quality

DescriptionThis command is used to return received signal strength indication ltrssigt and channel biterror rate ltbergt from the ME Test command returns values supported by the TA ascompound values

AT+CSQ Query signal qualityTest CommandAT+CSQ=

Response+CSQ (list of supported ltrssigts)(list of supported ltbergts)

OK

Execution CommandAT+CSQ

Response+CSQ ltrssigtltbergt

OKorERROR

Defined Values

ltrssigt 0 -113 dBm or less1 - 111 dBm230 - 109 - 53 dBm31 -51 dBm or greater99 not known or not detectable100 - 116 dBm or less

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 61451

101 -115 dBm102hellip191 -114 - 26dBm191 -25 dBm or greater199 not known or not detectable100hellip199 expand to TDSCDMA indicate RSCP received

ltbergt (in percent)0 lt0011 001 --- 012 01 --- 053 05 --- 104 10 --- 205 20 --- 406 40 --- 807 gt=8099 not known or not detectable

Example

AT+CSQ+CSQ 220

OK

329 AT+AUTOCSQ Set CSQ report

DescriptionThis command is used to enable or disable automatic report CSQ information whenautomatic report enabled the module reports CSQ information every five seconds or onlyafter ltrssigt or ltbergt is changed the format of automatic report is +CSQ ltrssigtltbergt

AT+AUTOCSQ Set CSQ reportTest CommandAT+AUTOCSQ=

Response+AUTOCSQ (list of supportedltautogts)(list of supportedltmodegts)

OK

Read CommandAT+AUTOCSQ

Response+AUTOCSQ ltautogtltmodegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 62451

Write CommandAT+AUTOCSQ=ltautogt[ltmodegt]

ResponseOKorERROR

Defined Values

ltautogt 0 disable automatic report1 enable automatic report

ltmodegt 0 CSQ automatic report every five seconds1 CSQ automatic report only after ltrssigt or ltbergt is changed

NOTEIf the parameter of ltmodegt is omitted when executing write command ltmodegtwill be set to default value

Example

AT+AUTOCSQ=+AUTOCSQ (0-1)(0-1)

OKAT+AUTOCSQ+AUTOCSQ 11

OKAT+AUTOCSQ=11OK

+CSQ 230 (when ltrssigt or ltbergt changing)

3210 AT+CSQDELTA Set RSSI delta change threshold

DescriptionThis command is used to set RSSI delta threshold for signal strength reporting

AT+CSQDELTA Set RSSI delta change threshold

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 63451

Test CommandAT+CSQDELTA=

Response+CSQDELTA (list of supported ltdeltagts)

OK

Read CommandAT+CSQDELTA

Response+CSQDELTA ltdeltagt

OKorERROR

Write CommandAT+CSQDELTA=ltdeltagt

ResponseOKorERROR

Execution CommandAT+CSQDELTA

ResponseSet default value(ltdeltagt=5)OK

Defined Values

ltdeltagt Range from 0 to 5

Example

AT+CSQDELTA+CSQDELTA 5

OK

3211 AT+CATR Configure URC destination interface

DescriptionThis command is used to configure the serial port which will be used to output URCs Werecommend configure a destination port for receiving URC in the system initializationphase in particular in the case that transmitting large amounts of data eg use TCPUDPand MT SMS related AT command

AT+CATR Configure URC destination interface

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 64451

Test CommandAT+CATR=

Response+CATR (list of supported ltportgts)

OK

Read CommandAT+CATR

Response+CATR ltportgt

OKWrite CommandAT+CATR=ltportgt

ResponseOKorERROR

Defined Values

ltportgt 0 all ports1 use UART port to output URCs2 use MODEM port to output URCs3 use ATCOM port to output URCs4 use cmux virtual port1 to output URCs5 use cmux virtual port2 to output URCs6 use cmux virtual port3 to output URCs7 use cmux virtual port4 to output URCs

Example

AT+CATR=1OKAT+CATR+CATR 1

OK

3212 AT+CPOF Power down the module

DescriptionThis command is used to power off the module Once the AT+CPOF command is executedThe module will store user data and deactivate from network and then shutdown

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 65451

AT+CPOF Power down the moduleTest CommandAT+CPOF=

ResponseOK

Execution CommandAT+CPOF

ResponseOK

Example

AT+CPOFOK

3213 AT+CRESET Reset the module

DescriptionThis command is used to reset the module

AT+CRESET Reset the moduleTest CommandAT+CRESET=

ResponseOK

Execution CommandAT+CRESET

ResponseOK

Example

AT+CRESET=OKAT+CRESETOK

3214 AT+CACM Accumulated call meter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 66451

DescriptionThis command is used to reset the Advice of Charge related accumulated call meter valuein SIM file EFACM

AT+CACM Accumulated call meterTest CommandAT+CACM=

ResponseOKorERROR

Read CommandAT+CACM

Response+CACM ltacmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CACM=ltpasswdgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CACM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltpasswdgt String type SIM PIN2ltacmgt String type accumulated call meter value similarly coded as ltccmgt under +CAOC

Example

AT+CACM+CACM 000000

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 67451

3215 AT+CAMM Accumulated call meter maximum

DescriptionThis command is used to set the Advice of Charge related accumulated call metermaximum value in SIM file EFACMmax

AT+CAMM Accumulated call meter maximumTest CommandAT+CAMM=

ResponseOKorERROR

Read CommandAT+CAMM

Response+CAMM ltacmmaxgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CAMM=ltacmmaxgt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CAMM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltacmmaxgt String type accumulated call meter maximum value similarly coded as ltccmgtunder AT+CAOC value zero disables ACMmax feature

ltpasswdgt String type SIM PIN2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 68451

Example

AT+CAMM+CAMM 000000

OK

3216 AT+CPUC Price per unit and currency table

DescriptionThis command is used to set the parameters of Advice of Charge related price per unit and currencytable in SIM file EFPUCT

AT+CPUC Price per unit and currency tableTest CommandAT+CPUC=

ResponseOKorERROR

Read CommandAT+CPUC

Response+CPUC [ltcurrencygtltppugt]

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPUC=ltcurrencygtltppugt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcurrencygt String type three-character currency code (eg GBP DEM) character setas specified by command Select TE Character Set AT+CSCS

ltppugt String type price per unit dot is used as a decimal separator (eg 266)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 69451

ltpasswdgt String type SIM PIN2

Example

AT+CPUC+CPUC GBP266

OK

3217 AT+CCLK Real time clock management

DescriptionThis command is used to manage Real Time Clock of the module

AT+CCLK Real time clock managementTest CommandAT+CCLK=

ResponseOK

Read CommandAT+CCLK

Response+CCLK lttimegt

OKWrite CommandAT+CCLK=lttimegt

ResponseOKorERROR

Defined Values

lttimegt String type value format is yyMMddhhmmssplusmnzz where characters indicate year(two last digits) month day hour minutes seconds and time zone (indicates thedifference expressed in quarters of an hour between the local time and GMT threelast digits are mandatory range -47hellip+48) Eg 6thof May 2008 142810 GMT+8equals to 080506142810+32NOTE 1 Time zone is nonvolatile and the factory value is invalid time zone2 Command +CCLK will return time zone when time zone is valid and if time zone is

00 command +CCLK will return +00 but not -00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 70451

Example

AT+CCLK=081128123033+32OKAT+CCLK+CCLK 081128123035+32

OKAT+CCLK=081126101500OKAT+CCLK+CCLK 081126101502+32

OK

3218 AT+CMEE Report mobile equipment error

DescriptionThis command is used to disable or enable the use of result code +CME ERROR lterrgtor +CMS ERROR lterrgt as an indication of an error relating to the functionality of MEwhen enabled the format of lterrgt can be set to numeric or verbose string

AT+CMEE Report mobile equipment errorTest CommandAT+CMEE=

Response+CMEE (list of supported ltngts)

OK

Read CommandAT+CMEE

Response+CMEE ltngt

OKWrite CommandAT+CMEE=ltngt

ResponseOKorERROR

Execution CommandAT+CMEE

ResponseSet default valueOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 71451

Defined Values

ltngt 0 ndash Disable result codeie only ERROR will be displayed1 ndash Enable error result code with numeric values2 ndash Enable error result code with string values

Example

AT+CMEE+CMEE 2

OKAT+CPIN=12341234+CME ERROR incorrect passwordAT+CMEE=0OKAT+CPIN=12341234ERRORAT+CMEE=1OKAT+CPIN=12341234+CME ERROR 16

3219 AT+CPAS Phone activity status

DescriptionThis command is used to return the activity status ltpasgt of the ME It can be used tointerrogate the ME before requesting action from the phoneNOTE This command is same as AT+CLCC but AT+CLCC is more commonly used SoAT+CLCC is recommended to use

AT+CPAS Phone activity statusTest CommandAT+CPAS=

Response+CPAS (list of supported ltpasgts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 72451

Execution CommandAT+CPAS

Response+CPAS ltpasgt

OK

Defined Values

ltpasgt 0 ready (ME allows commands from TATE)3 ringing (ME is ready for commands from TATE but the ringer is active)4 call in progress (ME is ready for commands from TATE but a call is in progress)

Example

RING (with incoming call)AT+CPAS+CPAS 3

OKAT+CPAS=+CPAS (034)

OK

3220 AT+SIMEI Set IMEI for the module

DescriptionThis command is used to set the modulersquos IMEI value

AT+SIMEI Set IMEI for the moduleTest CommandAT+SIMEI=

ResponseOK

Read CommandAT+SIMEI

Response+SIMEI ltimeigt

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 73451

Write CommandAT+SIMEI=ltimeigt

ResponseOKorERROR

Defined Values

ltimeigt The 15-digit IMEI value

Example

AT+SIMEI=357396012183170OKAT+SIMEI+SIMEI 357396012183170

OKAT+SIMEI=OK

3221 AT+CSVM Voice Mail Subscriber number

DescriptionExecute the following command returns the voice mail number related to the subscriber

AT+CSVM Voice Mail Subscriber numberTest CommandAT+CSVM=

Response+CSVM (0-1)(0-9+)(128-255)

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 74451

Read CommandAT+CSVM

Response

+CSVM ltvalidgtltnumbergtlttypegt

OK

orERROR

Write CommandAT+CSVM=ltvalidgtltnumbergtlttypegt

ResponseOKorERROR

Defined Values

ltvalidgt Whether voice mail number is valid0 Voice mail number is invalid1 Voice mail number is valid

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format see also AT+CPBR lttypegt

Example

AT+CSVM+CSVM 113697252277129

OK

3222 Indication of Voice Mail

This module supports voice mail function the subscriber number is configured by AT+CSVM commandthe following table shows the URC related Voice Mail

Indication of Voice MailBox Empty+VOICEMAIL EMPTY

DescriptionThis indication means the voice mail box is empty

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 75451

New Message+VOICEMAIL NEW MSG

DescriptionThis indication means there is a new voice mail message notificationreceived This is for CPHS

Voice Mail Status Updated+VOICEMAIL WAITINGltcountgt

DescriptionThis indication means that there are ltcountgt number of voice mailmessages that needs to be got

Defined Values

ltcountgt Count of voice mail message that waits to be got

Example

+VOICEMAIL WAITINGltcountgt+VOICEMAIL WAITING5

33 Summary of CME ERROR codes

This result code is similar to the regular ERROR result code The format of lterrgt can be ethier numeric orverbose string by setting AT+CMEE command

lterrgt of numeric format lterrgt of verbose format0 Phone failure1 no connection to phone2 phone adaptor link reserved3 operation not allowed4 operation not supported5 PH-SIM PIN required6 PH-FSIM PIN required7 PH-FSIM PUK required10 SIM not inserted11 SIM PIN required12 SIM PUK required13 SIM failure14 SIM busy15 SIM wrong

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 76451

16 incorrect password17 SIM PIN2 required18 SIM PUK2 required20 memory full21 invalid index22 not found23 memory failure24 text string too long25 invalid characters in text string26 dial string too long27 invalid characters in dial string30 no network service31 network timeout32 network not allowed ndash emergency calls only40 network personalization PIN required41 network personalization PUK required42 network subset personalization PIN required43 network subset personalization PUK required44 service provider personalization PIN required45 service provider personalization PUK required46 corporate personalization PIN required47 corporate personalization PUK required100 Unknown103 Illegal message106 Illegal ME107 GPRS services not allowed111 PLMN not allowed112 Location area not allowed113 Roaming not allowed in this location area132 service option not supported133 requested service option not subscribed134 service option temporarily out of order148 unspecified GPRS error149 PDP authentication failure150 invalid mobile class257 network rejected request258 retry operation259 invalid deflected to number260 deflected to own number261 unknown subscriber262 service not available

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 77451

263 unknown class specified264 unknown network message273 minimum TFTS per PDP address violated274 TFT precedence index not unique275 invalid parameter combinationCME ERROR codes of FTP201 Unknown error for FTP202 FTP task is busy203 Failed to resolve server address204 FTP timeout205 Failed to read file206 Failed to write file207 Itrsquos not allowed in current state208 Failed to login209 Failed to logout210 Failed to transfer data211 FTP command rejected by server212 Memory error213 Invalid parameter214 Network error

Example

AT+CPIN=12341234+CME ERROR incorrect password

34 Summary of CMS ERROR codes

Final result code +CMS ERROR lterrgt indicates an error related to mobile equipment or network Theoperation is similar to ERROR result code None of the following commands in the same command line isexecuted Neither ERROR nor OK result code shall be returned ERROR is returned normally when error isrelated to syntax or invalid parameters The format of lterrgt can be either numeric or verbose This is setwith command AT+CMEE

lterrgt of numeric format lterrgt of verbose format300 ME failure301 SMS service of ME reserved

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 78451

302 Operation not allowed303 Operation not supported304 Invalid PDU mode parameter305 Invalid text mode parameter310 SIM not inserted311 SIM PIN required312 PH-SIM PIN required313 SIM failure314 SIM busy315 SIM wrong316 SIM PUK required317 SIM PIN2 required318 SIM PUK2 required320 Memory failure321 Invalid memory index322 Memory full330 SMSC address unknown331 No network service332 Network timeout340 NO +CNMAACK EXPECTED341 Buffer overflow342 SMS size more than expected500 Unknown error

Example

AT+CMGS=02112345678+CMS ERROR 304

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 79451

4 AT Commands for Network

41 Overview of AT Commands for Network

Command DescriptionAT+CREG Network RegistrationAT+COPS Operator selectionAT+CLCK Facility lockAT+CPWD Change passwordAT+CCUG Closed User GroupAT+CUSD Unstructured supplementary service dataAT+CAOC Advice of ChargeAT+CSSN Supplementary service notificationsAT+CPOL Preferred operator listAT+COPN Read operator namesAT+CNMP Preferred mode selectionAT+CNAOP Acquisitions order preferenceAT+CPSI Inquiring UE system informationAT+CNSMOD Show network system modeAT+CEREG EPS network registration statusAT+CTZU Automatic time and time zone updateAT+CTZR Time and time zone reportingAT+CNWINFO Inquiring extra network infoAT+C5GREG NR5G network registration statusAT+CSYSSEL Set system selection pref

AT+CCELLCFG Set lte cell configurationAT+C5GCELLCFG Set NR5G cell configuration

42 Detailed Description of AT Commands for Network

421 AT+CREG Network registration

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 80451

This command is used to control the presentation of an unsolicited result code +CREG ltstatgt when ltngt=1and there is a change in the ME network registration status or code +CREG ltstatgt[ltlacgtltcigt] whenltngt=2 and there is a change of the network cellRead command returns the status of result code presentation and an integer ltstatgt which shows whetherthe network has currently indicated the registration of the ME Location information elements ltlacgt andltcigt are returned only when ltngt=2 and ME is registered in the network

AT+CREG Network registrationTest CommandAT+CREG=

Response+CREG (list of supported ltngts)

OKRead CommandAT+CREG

Response+CREG ltngtltstatgt[ltlacgtltcigt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CREG

Response (Set default value ltngt=0)OK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CREG ltstatgt2 enable network registration and location information unsolicitedresult code +CREG ltstatgt[ltlacgtltcigt]

ltstatgt 0 not registered ME is not currently searching a new operator toregister to1 registered home network2 not registered but ME is currently searching a new operator toregister to3 registration denied4 unknown5 registered roaming

ltlacgt Two byte location area code in hexadecimal format(eg00C3 equals193 in decimal)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 81451

NOTE The ltlacgt not supported in CDMAHDR modeltcigt Cell Identify in hexadecimal format

GSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

NOTE The ltcigt not supported in CDMAHDR mode

Example

AT+CREG+CREG 01

OK

Location information elements ltlacgt and ltcigt are returned only when ltngt=2 and ME is registered inthe network

422 AT+COPS Operator selection

Write command forces an attempt to select and register the GSMUMTS network operator ltmodegt is usedto select whether the selection is done automatically by the ME or is forced by this command to operatorltopergt (it shall be given in format ltformatgt) If the selected operator is not available no other operatorshall be selected (except ltmodegt=4) The selected operator name format shall apply to further readcommands (AT+COPS) also ltmodegt=2 forces an attempt to deregister from the network The selectedmode affects to all further network registration (eg after ltmodegt=2 ME shall be unregistered untilltmodegt=0or1 is selected)Read command returns the current mode and the currently selected operator If no operator is selectedltformatgt and ltopergt are omittedTest command returns a list of quadruplets each representing an operator present in the networkQuadruplet consists of an integer indicating the availability of the operator ltstatgt long and shortalphanumeric format of the name of the operator and numeric format representation of the operator Any ofthe formats may be unavailable and should then be an empty field The list of operators shall be in orderhome network networks referenced in SIM and other networksIt is recommended (although optional) that after the operator list TA returns lists of supported ltmodegts andltformatgts These lists shall be delimited from the operator list by two commas

AT+COPS Operator selectionTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 82451

AT+COPS= [+COPS [list of supported (ltstatgtlong alphanumeric ltopergtshort alphanumeric ltopergtnumeric ltopergt[lt AcTgt])s][(list of supportedltmodegts)(list of supportedltformatgts)]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Read CommandAT+COPS

Response+COPS ltmodegt[ltformatgtltopergt[lt AcTgt]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+COPS=ltmodegt[ltformatgt[ltopergt[ltAcTgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+COPS

ResponseOK

Defined Values

ltmodegt 0 automatic1 manual2 force deregister3 set only ltformatgt4 manualautomatic

NOTE if ltmodegt is set to 1 4 in write command the ltopergt isneeded

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt2 numeric ltopergt

ltopergt string type ltformatgt indicates if the format is alphanumeric ornumeric

ltstatgt 0 unknown1 available2 current3 forbidden

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 83451

ltAcTgt Access technology selected0 GSM1 GSM Compact2 UTRAN6 UTRAN_HSDPA_HSUPA7 EUTRAN8 EC_GSM_IOT9 EUTRAN_NB_S111 NR_5GCN (NR connected to 5G core Network)12 NGRAN (NG-RAN access technology)13 EUTRA_NR (Dual connectivity of LTE with NR)

NOTE the value 8 do not follow the 3gpp spec we add this value todistinguish cdmahdr

Example

AT+COPS+COPS 00China Mobile Com0

OK

AT+COPS=+COPS (2China UnicomUnicom460010)(3China Mobile ComDGTMPT460000)(01234)(012)

OK

When executing AT+COPS= any input from serial port will stop this command

423 AT+CLCK Facility lock

This command is used to lock unlock or interrogate a ME or a network facility ltfacgt Password is normallyneeded to do such actions When querying the status of a network service (ltmodegt=2) the response linefor not active case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt

AT+CLCK Facility lockTest CommandAT+CLCK=

Response+CLCK (list of supportedltfacgts)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 84451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CLCK=ltfacgtltmodegt[ltpasswdgt[ltclassgt]]

Response (When ltmodegt=2 and command successful)[+CLCK ltstatusgt[ltclass1gt[ltCRgtltLFgt+CLCK ltstatusgtltclass2gt[]]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfacgt PF lock Phone to the First inserted SIM card or USIM cardSC lock SIM card or USIM cardAO Barr All Outgoing CallsOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home CountryAI Barr All Incoming CallsIR Barr Incoming Calls when roaming outside the home countryAB All Barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AC All inComing barring services (only for ltmodegt=0)FD SIM fixed dialing memory featurePN Network PersonalizationPU network subset PersonalizationPP service Provider PersonalizationPC Corporate Personalization

ltmodegt 0 unlock1 lock2 query status

ltstatusgt 0 not active1 active

ltpasswdgt Passwordstring type shall be the same as password specified for the facilityfrom the ME user interface or with command Change Password+CPWD

ltclassXgt It is a sum of integers each representing a class of information1 voice (telephony)2 data (refers to all bearer services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 85451

4 fax (facsimile services)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

Example

AT+CLCK=SC2+CLCK 0

OK

When querying the status of a network service (ltmodegt=2) the response line for not active case(ltstatusgt=0) should be returned only if service is not active for any ltclassgt

424 AT+CPWD Change password

Write command sets a new password for the facility lock function defined by command Facility LockAT+CLCKTest command returns a list of pairs which present the available facilities and the maximum length of theirpassword

AT+CPWD Change passwordTest CommandAT+CPWD=

Response+CPWD (list of supported (ltfacgtltpwdlengthgt)s)

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPWD=ltfacgtltoldpwdgtltnewpwdgt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 86451

Defined Values

ltfacgt Refer Facility Lock +CLCK for other valuesSC SIM or USIM PIN1P2 SIM or USIM PIN2AB All Barring servicesAC All inComing barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AI Barr All Incoming CallsAO Barr All Outgoing CallsIR Barr Incoming Calls when roaming outside the home countryOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home Country

ltoldpwdgt String type it shall be the same as password specified for the facilityfrom the ME user interface or with command Change PasswordAT+CPWD

ltnewpwdgt String type it is the new password maximum length of password canbe determined with ltpwdlengthgt

ltpwdlengthgt Integer type max length of password

Example

AT+CPWD=+CPWD (AB4)(AC4)(AG4)(AI4)(AO4)(IR4)(OI4)(OX4)(SC8)(P28)

OK

425 AT+CCUG Closed user group

This command allows control of the Closed User Group supplementary service Set command enables theserved subscriber to select a CUG index to suppress the Outgoing Access (OA) and to suppress thepreferential CUG

AT+CCUG Closed user groupTest CommandAT+CCUG=

ResponseOKorERROR

Read CommandAT+CCUG

Response+CCUG ltngtltindexgtltinfogt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 87451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CCUG=ltngt[ltindexgt[ltinfogt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CCUG

Response (Set default value)OK

Defined Values

ltngt 0 disable CUG temporary mode1 enable CUG temporary mode

ltindexgt 09 CUG index10 no index (preferred CUG taken from subscriber data)

ltinfogt 0 no information1 suppress OA2 suppress preferential CUG3 suppress OA and preferential CUG

Example

AT+CCUG+CCUG 000

OK

This command not supported in CDMAHDR mode

426 AT+CUSD Unstructured supplementary service data

This command allows control of the Unstructured Supplementary Service Data (USSD) Both network andmobile initiated operations are supported Parameter ltngt is used to disableenable the presentation of anunsolicited result code (USSD response from the network or network initiated operation) +CUSDltmgt[ltstrgtltdcsgt] to the TE In addition value ltngt=2 is used to cancel an ongoing USSD session

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 88451

AT+CUSD Unstructured supplementary service dataTest CommandAT+CUSD=

Response+CUSD (list of supportedltngts)

OKRead CommandAT+CUSD

Response+CUSD ltngt

OKWrite CommandAT+CUSD=ltngt[ltstrgt[ltdcsgt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CUSD

Response (Set default value)OK

Defined Values

ltngt 0 disable the result code presentation in the TA1 enable the result code presentation in the TA2 cancel session (not applicable to read command response)

ltstrgt String type USSD stringltdcsgt Cell Broadcast Data Coding Scheme in integer format (default 0)ltmgt 0 no further user action required (network initiated USSD Notify or

no further information needed after mobile initiated operation)1 further user action required (network initiated USSD Request orfurther information needed after mobile initiated operation)2 USSD terminated by network4 operation not supported5 network time out

Example

AT+CUSD+CUSD 1

OK

AT+CUSD=0OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 89451

This command not supported in CDMAHDR mode

427 AT+CAOC Advice of Charge

This command refers to Advice of Charge supplementary service that enables subscriber to get informationabout the cost of calls With ltmodegt=0 the execute command returns the current call meter value from theMEThis command also includes the possibility to enable an unsolicited event reporting of the CCM informationThe unsolicited result code +CCCM ltccmgt is sent when the CCM value changes but not more that every10 seconds Deactivation of the unsolicited event reporting is made with the same command

AT+CAOC Advice of ChargeTest CommandAT+CAOC=

Response+CAOC (list of supportedltmodegts)

OKRead CommandAT+CAOC

Response+CAOC ltmodegt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CAOC=ltmodegt

Response+CAOC ltccmgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CAOC

Response (Set default value)OKorERROR

Defined Values

ltmodegt 0 query CCM value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 90451

1 deactivate the unsolicited reporting of CCM value2 activate the unsolicited reporting of CCM value

ltccmgt String type three bytes of the current call meter value in hexadecimalformat (eg 00001E indicates decimal value 30) value is in homeunits and bytes are similarly coded as ACMmax value in the SIM

Example

AT+CAOC=0+CAOC 000000

OK

This command not supported in CDMAHDR mode

428 AT+CSSN Supplementary service notifications

This command refers to supplementary service related network initiated notifications The set commandenablesdisables the presentation of notification result codes from TA to TEWhen ltngt=1 and a supplementary service notification is received after a mobile originated call setupintermediate result code +CSSI ltcode1gt[ltindexgt] is sent to TE before any other MO call setup resultcodes presented in the present document When several different ltcode1gts are received from the networkeach of them shall have its own +CSSI result codeWhenltmgt=1 and a supplementary service notification is received during a mobile terminated call setup orduring a call or when a forward check supplementary service notification is received unsolicited resultcode +CSSU ltcode2gt[ltindexgt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt]]] is sent to TE In case ofMT call setup result code is sent after every +CLIP result code (refer command Calling line identificationpresentation +CLIP) and when several different ltcode2gts are received from the network each of themshall have its own +CSSU result code

AT+CSSN Supplementary service notificationsTest CommandAT+CSSN=

Response+CSSN (list of supportedltngts)(list of supportedltmgts)

OK

Read CommandAT+CSSN

Response+CSSN ltngtltmgt

OKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 91451

ERROR

Write CommandAT+CSSN=ltngt[ltmgt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltngt Parameter setsshows the +CSSI result code presentation status inthe TA0 disable1 enable

ltmgt Parameter setsshows the +CSSU result code presentation status inthe TA0 disable1 enable

ltcode1gt 0 unconditional call forwarding is active1 some of the conditional call forwarding are active2 call has been forwarded3 call is waiting5 outgoing calls are barred

ltindexgt Refer Closed user group +CCUGltcode2gt 0 this is a forwarded call (MT call setup)

2 call has been put on hold (during a voice call)3 call has been retrieved (during a voice call)5 call on hold has been released (this is not a SS notification) (duringa voice call)

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format default 145 when dialing string

includes international access code character + otherwise 129ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128

Example

AT+CSSN=1OK

AT+CSSN+CSSN 11

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 92451

This command not supported in CDMAHDR mode

429 AT+CPOL Preferred operator list

This command is used to edit the SIM preferred list of networks

AT+CPOL Preferred operator listTest CommandAT+CPOL=

Response+CPOL (list of supportedltindexgts)(list of supportedltformatgts)

OK

Read CommandAT+CPOL

Response[+CPOLltindex1gtltformatgtltoper1gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][ltCRgtltLFgt+CPOLltindex2gtltformatgtltoper2gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][]]]

OKorERROR

Write CommandAT+CPOL=ltindexgt[ltformatgt[ltopergt][ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt ]]NOTE If using USIM card thelast four parameters must set

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type the order number of operator in the SIM preferredoperator listIf only input ltindexgt command will delete the value indicate byltindexgt

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 93451

2 numeric ltopergtltoperXgt String typeltGSM_AcTngt GSM access technology

0 access technology not selected1 access technology selected

ltGSM_Compact_AcTngt GSM access technology0 access technology not selected1 access technology selected

ltUTRA_AcTngt UTRA access technology0 access technology not selected1 access technology selected

ltLTE_AcTngt LTE access technology0 access technology not selected1 access technology selected

Example

AT+CPOL+CPOL 12460010010

OK

AT+CPOL=+CPOL (1-8)(0-2)

OK

4210 AT+COPN Read operator names

This command is used to return the list of operator names from the ME Each operator code ltnumericXgtthat has an alphanumeric equivalent ltalphaXgt in the ME memory shall be returned

AT+COPN Read operator namesTest CommandAT+COPN=

ResponseOK

ERROR

Execution CommandAT+COPN

Response[+COPN ltnumeric1gtltalpha1gt[ltCRgtltLFgt+COPN ltnumeric2gtltalpha2gt[]]]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 94451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltnumericXgt String type operator in numeric format (see AT+COPS)ltalphaXgt String type operator in long alphanumeric format (see AT+COPS)

Example

AT+COPN+COPN 46000China Mobile Com+COPN 46001China Unicom

helliphellip

OK

4211 AT+CNMP Preferred mode selection

This command is used to select or set the state of the mode preference

AT+CNMP Preferred mode selectionTest CommandAT+CNMP=

Response+CNMP (list of supportedltmodegts)

OK

Read CommandAT+CNMP

Response+CNMP ltmodegt

OK

Write CommandAT+CNMP=ltmodegt

ResponseOKor(If ltmodegt not supported by module this command will returnERROR)ERROR

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 95451

ltmodegt 2 Automatic13 GSM Only14 WCDMA Only38 LTE Only71 NR5G19 GSM+WCDMA Only48 Any modes but LTE39 GSM+WCDMA+LTE Only51 GSM+LTE Only54 WCDMA+LTE Only55 WCDMA+LTE+NR5G109 LTE+NR5G100 UNKNOW

Example

AT+CNMP=13OK

AT+CNMP+CNMP 13

OK

The set value in Write Command will take efficient immediately The set value will retain after moduleresetThe response will be returned immediately for Test Command and Read Command The MaxResponse Time for Write Command is 10 seconds

4212 AT+CNAOP Acquisitions order preference

This command is used to reset the state of acquisitions order preference

AT+CNAOP Acquisitions order preferenceRead CommandAT+CNAOP

Response+CNAOPltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 96451

Write CommandAT+CNAOP=ltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

ResponseOKorERROR

Defined Values

ltmodegt 7 Acquistion by priority order list ltsys_modengtsltsys_modegt sys_mode values

2 CDMA3 GSM4 HDR5 WCDMA9 LTE11 TDSCDMA12 NR5G

Example

AT+CNAOP=79531124OK

AT+CNAOP+CNAOP 79531124

OK

4213 AT+CPSI Inquiring UE system information

AT+CPSI Inquiring UE system informationTest CommandAT+CPSI=

Response+CPSI (scope oflttimegt)

OK

Read CommandAT+CPSI

ResponseIf camping on a cdmaevdo cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 97451

+CPSI EVDOltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on a gsm cell+CPSIltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltAbsolute RF ChNumgtltRxLevgtltTrack LO AdjustgtltC1-C2gt

OKIf camping on a wcdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltPSCgtltFreqgtltSSCgtltECIOgtltRSCPgtltQualgtltRxLevgtltTXPWRgt

OKIf camping on a tds-cdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltUarfcngtltCpidgt

OKIf camping on a lte cell+CPSI ltSystem ModegtltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OK

If camping on a cdmaehrpd cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI eHRPDltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on 1xlte cell

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 98451

+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OKIf no service+CPSI NO SERVICE ltOperation modegt

OKIf camping on EN-DC connected mode+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]+CPSI NR5G_NSA [ltPCellIDgtltFrequencyBandgtltearfcnssbgtltRSRPgtltRSRQgtltSNRgt]

OK

If camping on NR5G only mode+CPSI NR5G_SAltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltRSRPgtltRSRQgtltSNRgt]

OK

ERROR

Write CommandAT+CPSI=lttimegt

ResponseOKorERROR

Defined Values

lttimegt The range is 0-255 unit is second after set lttimegt will report thesystem information every the seconds

ltSystem modegt System mode values NO SERVICE GSM WCDMA LTE TDShellipIf module in LIMITED SERVICE state and +CNLSA command is set to1 the system mode will display as GSM-LIMITED

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 99451

WCDMA-LIMITEDhellipltOperation modegt UE operation mode values Unknown Online Offline Factory

Test Mode Reset Low Power ModeltMCCgt Mobile Country Code (first part of the PLMN code)ltMNCgt Mobile Network Code (second part of the PLMN code)ltLACgt Location Area Code (hexadecimal digits)ltCell IDgt Service-cell IdentifyltAbsolute RF Ch Numbergt AFRCN for service-cellltTrack LO Adjustgt Track LO AdjustltC1gt Coefficient for base station selectionltC2gt Coefficient for Cell re-selectionltFrequency Bandgt Frequency Band of active setltPSCgt Primary synchronization code of active setltFreqgt Downlink frequency of active setltSSCgt Secondary synchronization code of active setltECIOgt EcIo valueReceived Signal Code PowerltRSCPgt Received Signal Code PowerltQualgt Quality value for base station selectionltRxLevgt RX level value for base station selectionltTXPWRgt UE TX power in dBm If no TX the value is 500ltCpigt Cell Parameter IDltTACgt Tracing Area CodeltPCellIDgt Physical Cell IDltearfcngt E-UTRA absolute radio frequency channel number for searching LTE

cellsltdlbwgt Transmission bandwidth configuration of the serving cell on the

downlinkltulbwgt Transmission bandwidth configuration of the serving cell on the uplinkltRSRPgt Current reference signal receive power in dBm x10 as measured by

L1Range -44 to -140ltRSRQgt Current reference signal receive quality as measured by L1The

quantities are in dB x10 Range -200 to -30 dBltRSSIgt Current received signal strength indicator as measured by L1Values

are in dBm x10 Range -1200 to 0ltRSSNRgt SINR(Signal to Interference Noise Ratio) Range of values [0 30]

The higher the value the betterltSNRgt SIGNAL-NOISE RATIO Range of values [-230 400] which

represents -230 dB to 400 dB The higher the value the betterltBIDgt Base ID

Example

AT+CPSI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 100451

+CPSI GSMOnline460-000x182d1240127 EGSM 900-64211042-42

OK

AT+CPSI+CPSI WCDMAOnline460-010xA80911122855WCDMA IMT 200027910663015623352500

OK

AT+CPSI=+CPSI (0-255)

OKAT+CPSI+CPSI LTEOnline460-110x5A1E187214780257EUTRAN-BAND3185055-94-850-54515+CPSI NR5G_NSA644NR5G_BAND78627264-960-12095

OK

4214 AT+CNSMOD Show network system mode

This command is used to return the current network system mode

AT+CNSMOD Show network system modeTest CommandAT+CNSMOD=

Response+CNSMOD (list of supportedltngts)

OK

Read CommandAT+CNSMOD

Response+CNSMOD ltngtltstatgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CNSMOD=ltngt

ResponseOKorERRORIf error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 101451

+CME ERROR lterrgt

Defined Values

ltngt 0 disable auto report the network system mode information1 auto report the network system mode information command+CNSMOD ltstatgt

ltstatgt 0 no service1 GSM2 GPRS3 EGPRS (EDGE)4 WCDMA5 HSDPA only(WCDMA)6 HSUPA only(WCDMA)7 HSPA (HSDPA and HSUPA WCDMA)8 LTE9 TDS-CDMA10 TDS-HSDPA only11 TDS- HSUPA only12 TDS- HSPA (HSDPA and HSUPA)13 CDMA14 EVDO15 HYBRID (CDMA and EVDO)16 1XLTE(CDMA and LTE)23 eHRPD24 HYBRID(CDMA and eHRPD)36 NR5G

Example

AT+CNSMOD+CNSMOD 02

OK

4215 AT+CEREG EPS network registration status

The set command controls the presentation of an unsolicited result code +CEREG ltstatgt when ltngt=1and there is a change in the MTs EPS network registration status in E-UTRAN or unsolicited result code+CEREG ltstatgt[lttacgtltcigt[ltAcTgt]] when ltngt=2 and there is a change of the network cell in E-UTRANin this latest case ltAcTgtlttacgt and ltcigt are sent only if availableNOTE 1 If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and +CGREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 102451

result codes apply to the registration status and location information for those servicesThe read command returns the status of result code presentation and an integer ltstatgt which showswhether the network has currently indicated the registration of the MT Location information elementslttacgtltcigt and ltAcTgt if available are returned only when ltngt=2 and MT is registered in the network

AT+CEREG EPS network registration statusTest CommandAT+CEREG=

Response+CEREG (list of supportedltngts)

OKorERROR

Read CommandAT+CEREG

Response+CEREG ltngtltstatgt[lttacgtltcigt[ltAcTgt]]

OKorERROR

Write CommandAT+CEREG[=ltngt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CEREG

Response (Set default valueltngt=0)OKorERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CEREGltstatgt2 enable network registration and location information unsolicitedresult code +CEREG ltstatgt[lttacgtltcigt[ltAcTgt]]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of E-UTRAN coverage)5 registered roaming6 registered for SMS only home network (not applicable)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 103451

7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN

Example

AT+CEREG+CEREG 04

OK

If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and+CGREG result codes apply to the registration status and location information for those services

4216 AT+CTZU Automatic time and time zone update

This command is used to enable and disable automatic time and time zone update via NITZ

AT+CTZU Automatic time and time zone updateTest CommandAT+CTZU=

Response+CTZU (list of supportedltonoffgts)

OK

Read CommandAT+CTZU

Response+CTZU ltonoff gt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 104451

orIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CTZU=ltonoffgt

ResponseOKorERROR

Defined Values

ltonoffgt Integer type value indicating0 Disable automatic time zone update via NITZ1 Enable automatic time zone update via NITZNOTE 1 The value of lt onoff gt is nonvolatile and factory value is 02 For automatic time and time zone update is enabled (+CTZU=1)If time zone is only received from network and it isnrsquot equal to localtime zone (AT+CCLK) time zone is updated automatically and realtime clock is updated based on local time and the difference betweentime zone from network and local time zone (Local time zone must bevalid)If Universal Time and time zone are received from network both timezone and real time clock is updated automatically and real time clockis based on Universal Time and time zone from network

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CTZU+CTZU 0

OK

AT+CTZU=1OK

4217 AT+CTZR Time and time zone reporting

This command is used to enable and disable the time zone change event reporting If the AT+CTZR=1 theMT returns the unsolicited result code+CTZV lttzgt whenever time zone received from network isnrsquot equal tolocal time zone If AT+CTZR=2 report +CTZE lttzgtltdstgtlttimegt whenever the time zone and time ischanged

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 105451

AT+CTZR Time and time zone reportingTest CommandAT+CTZR=

Response+CTZR (list of supported ltonoffgts)

OK

Read CommandAT+CTZR

Response+CTZR ltonoffgt

OK

Write CommandAT+CTZR=ltonoffgt

ResponseOKorERROR

Execution CommandAT+CTZR

Response (Set default value)OK

Defined Values

ltonoffgt Integer type value indicating0 Disable time zone change event reporting (default)1 Enable time zone change event reporting2 Display ltdstgtlttimegt

lttzgt Local time zone received from network its a integer and the format is+tz

ltdstgt Network daylight saving time and if it is received from network itindicates the value that has been used to adjust the local time zoneThe values as following0 No adjustment for Daylight Saving Time1 +1 hour adjustment for Daylight Saving Time2 +2 hours adjustment for Daylight Saving Time

lttimegt Universal time received from network and the format isyyMMddhhmmss where characters indicate year (two last digits)month day hour minutes and secondsNOTEHere inlttimegt is Universal Time or NITZ time

Example

AT+CTZR+CTZR 0

OK

AT+CTZR=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 106451

+CTZV +32AT+CTZR=2OK

+CTZE +32020200319151946

The time zone reporting is not affected by the Automatic Time and Time Zone command AT+CTZU

4218 AT+CNWINFO Inquiring extra network info

AT+CNWINFO Inquiring extra network info

Read CommandAT+CNWINFO

Response+CNWINFOltSYS_MODEgtltEGCIgtlteNBIDgtltMCSgtltDL_MODgtltUL_MODgtltCQIgtltTX_POWERgt

OKorERROR

Write CommandAT+CNWINFO=ltongt

Response

OKorERROR

Defined Values

ltSYS_MODEgt System modeLTENR5G

ltEGCIgt A decimal value contain PLMN+cellIdentitylteNBIDgt eNodeB ID itrsquos a hex valueltMCSgt Modulation and Coding Scheme a decimal value(0-31)ltDL_MODgtltUL_MODgt DL modulation type

QPSK16QAM64QAM256QAM

ltCQIgt Channel quality indication a decimal value(0-15)ltTX_POWERgt UL Tx power a decimal value(-99-30)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 107451

ltongt On or Off ltDL_MODgtltUL_MODgt display0 Close1 Open

Example

AT+CNWINFO+CNWINFO NR5G4600190886410x123452264QAM16QAM115

OK

AT+CNWINFO+CNWINFO LTE46011953338900x5AEAE1QPSK16QAM159

OK

4219 AT+C5GREG NR5G network registration status

The set command controls the presentation of an unsolicited result code +C5GREG ltstatgt when ltngt=1or unsolicited result code +C5GREG ltstatgt[lttacgtltcigtltAcTgtltoctec_lengtltnssaigt] when ltngt=2

AT+C5GREG NR5G network registration statusTest CommandAT+C5GREG=

Response+C5GREG (list of supportedltngts)

OKorERROR

Read CommandAT+C5GREG

Response+C5GREG ltngtltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

OKorERROR

Write CommandAT+C5GREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+C5GREG

Response (Set default value(ltngt=0)OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 108451

orERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +C5GREGltstatgt2 enable network registration and location information unsolicitedresult code +C5GREGltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of 5GC coverage)5 registered roaming6 registered for SMS only home network (not applicable)7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN10 EUTRA_5GCN11 NR_5GCN12 NGRAN13 EUTRA_NR

ltoctet_lengt The length of ltnssaigtltnssaigt Network slice selection assistance information a string value

Example

AT+C5GREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 109451

+C5GREG 01

OK

AT+C5GREG=2OK

AT+C5GREG+C5GREG 00GeeflexNetwork11

OK

4220 AT+CSYSSEL Set system selection pref

AT+CSYSSEL Set system selection pref

Test CommandAT+CSYSSEL=

Response+CSYSSEL nr5g_disable(list of supportedltnr5g_disable_modegt)+CSYSSEL nr5g_band(list of supported ltsa_nr5gbandgt)+CSYSSEL nsa_nr5g_band(list of supported ltnsa_nr5gbandgt)+CSYSSEL lte_band(list of supported ltlte_bandgt)+CSYSSEL w_band(list of supported ltw_bandgt)

OKExecution CommandAT+CSYSSEL

Restore all band to default band capabilityOK

Write CommandAT+CSYSSEL=nr5g_disable[ltnr5g_disable_modegt]

ResponseIf the parameterltnr5g_disable_modegt is omitted return currentconfiguration+CSYSSEL nr5g_disableltnr5g_disable_modegt

OKThis command was applied to disable NSA or SA mode

Write CommandAT+CSYSSEL=nr5g_band[ltnr5g_bandgt]

ResponseIf the parameter ltnr5g_bandgt is omitted return current configuration+CSYSSEL nr5g_bandlt sa_nr5gband gt

OKIf the parameter ltnr5g_bandgt is specified configure the preferred SANR5G bands to be searchedOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 110451

Write CommandAT+CSYSSEL=nsa_nr5g_band[ltnsa_nr5gbandgt]

ResponseIf the parameter ltnsa_nr5gbandgt is omitted return currentconfiguration+CSYSSEL nsa_nr5g_bandltnsa_nr5gbandgt

OKIf the parameter ltnsa_nr5gbandgt is specified configure thepreferred NSA NR5G bands to be searchedOKorERROR

Write CommandAT+CSYSSEL=lte_band[ltlte_bandgt]

ResponseIf the parameter ltlte_bandgt is omitted return current configuration+CSYSSEL lte_bandltlte_bandgt

OKIf the parameter ltlte_bandgt is specified configure the preferred LTEbands to be searchedOKorERRORThis command was applied to configure LTE bands

Write CommandAT+CSYSSEL=w_band[ltwbandgt]

ResponseIf the parameter ltw_bandgt is omitted return current configuration+CSYSSEL w_bandltw_bandgt

OKIf the parameter ltw_bandgt is specified configure the preferredWCDMA bands to be searchedOKorERRORThis command was applied to configure WCDMA bands

Defined Values

ltnr5g_disable_modegt NR5G SANSA disable setting0 None is disabled1 Disable SA2 Disable NSA

lt sa_nr5gband gt String type Use the colon as a separator to list NR5G bands to beconfigured The parameter format is B1B2B3hellipBN

ltnsa_nr5gbandgt String type Use the colon as a separator to list NSA NR5G bands tobe configured The parameter format is B1B2B3hellipBN

ltlte_bandgt String type Use the colon as a separator to list LTE bands to be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 111451

configured The parameter format is B1B2B3hellipBNltw_bandgt String type Use the colon as a separator to list WCDMA bands to be

configured The parameter format is B1B2B3hellipBN

B1 WCDMA_I_IMT_2000B2 WCDMA_II_PCS_1900B3 WCDMA_III_1700B4 WCDMA_IV_1700B5 WCDMA_V_850B6 WCDMA_VI_800B7 WCDMA_VII_2600B8 WCDMA_VIII_900B9 WCDMA_IX_1700B11 WCDMA_XI_1500B19 WCDMA_XIX_850

Example

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable0

OK

AT+CSYSSEL=nr5g_disable2OK

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable2

OK

AT+CSYSSEL=nr5g_band+CSYSSEL nr5g_band1284178

OK

AT+CSYSSEL=nr5g_band4178OK

AT+CSYSSEL=lte_band+CSYSSELlte_band12345781213141718192025262829303234383940414243486671

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 112451

AT+CSYSSEL=lte_band123OK

AT+CSYSSEL=w_band+CSYSSEL w_band123456

OKAT+CSYSSEL=w_band1234568OK

4221 AT+CCELLCFG Set lte cell configuration

AT+CCELLCFG Set lte cell configuration

Write CommandAT+CCELLCFG=ltenablegt[ltpcigtltfreqgt]

ResponseOKorERROR

Read CommandAT+CCELLCFG

Response+CCELLCFG ltpcigtltfreqgt

OKorERROR

Defined Values

ltenablegt0 ndash Clean cell lock1 ndash Set cell lock with pci and freq

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

Example

AT+CCELLCFG =12551850OK

AT+CCELLCFG=0 Clean cell lock setOKAT+CCELLCFG+CCELLCFG 2551850

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 113451

4222 AT+C5GCELLCFG Set NR5G cell configuration

AT+C5GCELLCFG Set NR5G cell configurationWrite CommandAT+C5GCELLCFG=pciltpcigtltfreqgtltscsgtltbandgt

AT+C5GCELLCFG=arfcnltarfcn_list_lengtltscsfreqgt[hellip]]

AT+C5GCELLCFG=unlock

ResponseOKorERROR

Read CommandAT+C5GCELLCFG

ResponseIf lock cell id was set+C5GCELLCFG pciltpcigtltfreqgtltscsgtltbandgt

OK

If arfcn list was set+C5GCELLCFGarfcnltarfcn_list_lengtltfreqgtltscsfreqgt[hellip]]

OKorERROR

Defined Values

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

ltscsgt

0x00 ndashSUB_CARRIER_SPACING_SSB_15KHZ0x01 ndashSUB_CARRIER_SPACING_SSB_30KHZ0x02ndashSUB_CARRIER_SPACING_SSB_60KHZ0x03ndashSUB_CARRIER_SPACING_SSB_120KHZ0x04ndashSUB_CARRIER_SPACING_SSB_240KHZ0x05ndashSUB_CARRIER_SPACING_SSB_SPARE30x06ndashSUB_CARRIER_SPACING_SSB_SPARE20x07ndashSUB_CARRIER_SPACING_SSB_SPARE1

ltbandgt NR bandltarfcn_list_lengt A integer value 1-32

Example

AT+C5GCELLCFG=pci100 518670141

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 114451

OKAT+C5GCELLCFG+C5GCELLCFG pci100 5186701 41

AT+C5GCELLCFG=arfcn1100518670OK

AT+C5GCELLCFG+C5GCELLCFG arfcn1100518670

OK

AT+C5GCELLCFG=unlockOK

This command was not verified test so suggest customer not use it now until SIMCom test it ok

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 115451

5 AT Commands According to CallControl

51 Overview of AT Commands According to 3GPP Call Control

Command DescriptionAT+CVHU Voice hang up controlAT+CHUP Hang up callAT+CBST Select bearer service typeAT+CRLP Radio link protocolAT+CR Service reporting controlAT+CRC Cellular result codesAT+CLCC List current callsAT+CEER Extended error reportAT+CCWA Call waitingAT+CHLD Call related supplementary servicesAT+CCFC Call forwarding number and conditionsAT+CLIP Calling line identification presentationAT+CLIR Calling line identification restrictionAT+COLP Connected line identification presentationAT+VTS DTMF and tone generationAT+VTD Tone durationAT+CSTA Select type of addressAT+CMOD Call modeAT+VMUTE Speaker mute controlAT+CMUT Microphone mute controlAT+MORING Enable or disable report MO ring URCAT+CLVL Loudspeaker volume levelAT+CRXVOL Adjust RX voice output speaker volumeAT+ CTXVOL Adjust TX voice mic volumeAT+ CTXMICGAIN Adjust TX voice mic gainAT+CECH Inhibit far-end echoAT+CECDT Inhibit echo during doubletalk

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 116451

52 Detailed Description of AT Commands According to Call Control

521 AT+CVHU Voice hang up control

Write command selects whether ATH or drop DTR shall cause a voice connection to be disconnected ornot By voice connection is also meant alternating mode calls that are currently in voice mode

AT+CVHU Voice hang up control

Test CommandAT+CVHU=

Response+CVHU (range of supported ltmodegts)

OK

Read CommandAT+CVHU

Response+CVHU ltmodegt

OK

Write CommandAT+CVHU=ltmodegt

ResponseOKorERROR

Execution CommandAT+CVHU

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 Drop DTR ignored but OK response given ATH disconnects1 Drop DTR and ATH ignored but OK response given

Example

AT+CVHU=0OKAT+CVHU+CVHU 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 117451

522 AT+CHUP Hang up call

This command is used to cancel voice calls If there is no call it will do nothing but OK response is givenAfter running AT+CHUP multiple VOICE CALL END may be reported which relies on how many callsexist before calling this command

AT+CHUP Hang up callTest CommandAT+CHUP=

ResponseOK

Execution CommandAT+CHUP

ResponseOK

VOICE CALL END lttimegt[hellipVOICE CALL END lttimegt]

No callOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

lttimegt Voice call connection timeFormat HHMMSS (HH hour MM minute SS second)

Example

AT+CHUPOK

VOICE CALL END 000017

523 AT+CBST Select bearer service type

Write command selects the bearer service ltnamegt with data rate ltspeedgt and the connection elementltcegt to be used when data calls are originated Values may also be used during mobile terminated data callsetup especially in case of single numbering scheme calls

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 118451

AT+CBST Select bearer service type

Test CommandAT+CBST=

Response+CBST (list of supported ltspeedgts)(list of supported ltnamegts)(listof supported ltcegts)

OK

Read CommandAT+CBST

Response+CBST ltspeedgtltnamegtltcegt

OK

Write CommandAT+CBST=ltspeedgt[ltnamegt[ltcegt]]

ResponseOKorERROR

Execution CommandAT+CBST

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltspeedgt 0 autobauding(automatic selection of the speed this setting ispossible in case of 31 kHz modem and non-transparent service)7 ndash 9600 bps (V32)12 ndash 9600 bps (V34)14 ndash 14400 bps(V34)16 ndash 28800 bps(V34)17 ndash 33600 bps(V34)39 ndash 9600 bps(V120)43 ndash 14400 bps(V120)48 ndash 28800 bps(V120)51 ndash 56000 bps(V120)71 ndash 9600 bps(V110)75 ndash 14400 bps(V110)80 ndash 28800 bps(V110 or X31 flag stuffing)81 ndash 38400 bps(V110 or X31 flag stuffing)83 ndash 56000 bps(V110 or X31 flag stuffing)84 ndash 64000 bps(X31 flag stuffing)116 ndash 64000 bps(bit transparent)134 ndash 64000 bps(multimedia)

ltnamegt 0 Asynchronous modem1 Synchronous modem4 data circuit asynchronous (RDI)

ltcegt 0 transparent

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 119451

1 non-transparentNOTE If ltspeedgt is set to 116 or 134 it is necessary that ltnamegt is equal to 1 and ltcegt is equal to 0

Example

AT+CBST=001OKAT+CBST

+CBST 001

OK

524 AT+CRLP Radio link protocol

Radio Link Protocol(RLP) parameters used when non-transparent data calls are originated may be alteredwith write command

Read command returns current settings for each supported RLP version ltverXgt Only RLP parametersapplicable to the corresponding ltverXgt are returned

Test command returns values supported by the TA as a compound value If META supports several RLPversions ltverXgt the RLP parameter value ranges for each ltverXgt are returned in a separate line

AT+CRLP Radio link protocol

Test CommandAT+CRLP=

Response+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver1gt[(list of supportedltT4gts)]][ltCRgtltLFgt+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver2gt[(list of supportedltT4gts)]][]]

OK

Read CommandAT+CRLP

Response+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver1gt[ltT4gt]][ltCRgtltLFgt+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver2gt[ltT4gt]][]]

OKWrite CommandAT+CRLP=ltiwsgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 120451

[ltmwsgt[ltT1gt[ltN2gt[ltvergt[ltT4gt]]]]]

orERROR

Execution CommandAT+CRLP

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvergtltverXgt RLP version number in integer format and it can be 0 1 or 2 whenversion indication is not present it shall equal 1

ltiwsgt IWF to MS window sizeltmwsgt MS to IWF window sizeltT1gt Acknowledgement timerltN2gt Retransmission attemptsltT4gt Re-sequencing period in integer formatNOTEltT1gt and ltT4gt are in units of 10 ms

Example

AT+CRLP+CRLP 61614860+CRLP 61614861+CRLP 2402405262

OK

525 AT+CR Service reporting control

Write command controls whether or not intermediate result code +CR ltservgt is returned from the TA tothe TE If enabled the intermediate result code is transmitted at the point during connect negotiation atwhich the TA has determined which speed and quality of service will be used before any error control ordata compression reports are transmitted and before the intermediate result code CONNECT istransmitted

AT+CR Service reporting control

Test CommandAT+CR=

Response+CR (list of supported ltmodegts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 121451

Read CommandAT+CR

Response+CR ltmodegt

OK

Write CommandAT+CR=ltmodegt

ResponseOKorERROR

Execution CommandAT+CR

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 disables reporting1 enables reporting

ltservgt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL sync synchronous non-transparentGPRS [ltL2Pgt] GPRSThe optional ltL2Pgt proposes a layer 2 protocol to use between theMT and the TEs

Example

AT+CR=1OK

AT+CR+CR 1

OK

526 AT+CRC Cellular result codes

Write command controls whether or not the extended format of incoming call indication or GPRS networkrequest for PDP context activation is used When enabled an incoming call is indicated to the TE withunsolicited result code +CRING lttypegt instead of the normal RINGTest command returns values supported by the TA as a compound value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 122451

AT+CRC Cellular result codes

Test CommandAT+CRC=

Response+CRC (list of supported ltmodegts)

OK

Read CommandAT+CRC

Response+CRC ltmodegt

OK

Write CommandAT+CRC=ltmodegt

ResponseOKorERROR

Execution CommandAT+CRC

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash disable extended format1 ndash enable extended format

lttypegt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL SYNC synchronous non-transparentFAX facsimileVOICE normal voiceVOICEXXX voice followed by data(XXX is ASYNC SYNC RELASYNC or REL SYNC)ALT VOICEXXX alternating voicedata voice firstALT XXXVOICE alternating voicedata data firstALT FAXVOICE alternating voicefax fax firstGPRS GPRS network request for PDP context activation

Example

AT+CRC=1OK

AT+CRC+CRC 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 123451

OK

527 AT+CLCC List current calls

This command issued to return list of current calls of ME If command succeeds but no calls are availableno information response is sent to TE

AT+CLCC List current calls

Test CommandAT+CLCC=

Response+CLCC (range of supported ltngts)

OK

Read CommandAT+CLCC

Response+CLCC ltngt

OK

Write CommandAT+CLCC=ltngt

ResponseOKorERROR

Execution CommandAT+CLCC

Response+CLCCltid1gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][ltCRgtltLFgt+CLCCltid2gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][]]

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Donrsquot report a list of current calls of ME automatically when thecurrent call status changes1 Report a list of current calls of ME automatically when the currentcall status changes

ltidXgt Integer type call identification number this number can be used in+CHLD command operations

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 124451

ltdirgt 0 mobile originated (MO) call1 mobile terminated (MT) call

ltstatgt State of the call0 active1 held2 dialing (MO call)3 alerting (MO call)4 incoming (MT call)5 waiting (MT call)6 disconnect

ltmodegt bearerteleservice0 voice1 data2 fax9 unknown

ltmptygt 0 call is not one of multiparty (conference) call parties1 call is one of multiparty (conference) call parties

ltnumbergt String type phone number in format specified by lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is

optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phonebook used character set should be the oneselected with command Select TE Character Set AT+CSCS

Example

ATD10011OK

AT+CLCC+CLCC 1000010011129sm

OK

RING (with incoming call)

AT+CLCC+CLCC 1140002152063113128gongsi

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 125451

528 AT+CEER Extended error report

Execution command causes the TA to return the information text ltreportgt which should offer the user of theTA an extended report of the reason for

1 The failure in the last unsuccessful call setup(originating or answering) or in-call modification

2 The last call release

3 The last unsuccessful GPRS attach or unsuccessful PDP context activation

The last GPRS detach or PDP context deactivation

AT+CEER Extended error reportTest CommandAT+CEER=

ResponseOK

Execution CommandAT+CEER

Response+CEER ltreportgt

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreportgt Wrong information which is possibly occurred

Example

AT+CEER+CEER Invalidincomplete number

OK

529 AT+CCWA Call waiting

This command allows control of the Call Waiting supplementary service Activation deactivation and statusquery are supported When querying the status of a network service (ltmodegt=2) the response line for notactive case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt Parameter ltngt isused to disableenable the presentation of an unsolicited result code +CCWA ltnumbergtlttypegtltclassgt to

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 126451

the TE when call waiting service is enabled Command should be abortable when network is interrogated

AT+CCWA Call waiting

Test CommandAT+CCWA=

Response+CCWA (range of supported ltngts)

OK

Read CommandAT+CCWA

Response+CCWA ltngt

OK

Write CommandAT+CCWA=ltngt[ltmodegt[ltclassgt]]

ResponseWhen ltmodegt=2 and command successful+CCWA ltstatusgtltclassgt[ltCRgtltLFgt+CCWA ltstatusgtltclassgt[]]

OKorERROR

Execution CommandAT+CCWA

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Setsshows the result code presentation status in the TA0 disable1 enable

ltmodegt When ltmodegt parameter is not given network is not interrogated0 disable1 enable2 query status

ltclassgt It is a sum of integers each representing a class of information (default7)

1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)7 voicedata and fax(1+2+4)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 127451

255 The value 255 covers all classesltstatusgt 0 not active

1 activeltnumbergt String type phone number of calling address in format specified by

lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type129 Otherwise

Example

AT+CCWA=+CCWA (0-1)

OK

AT+CCWA+CCWA 0

OK

5210 AT+CHLD Call related supplementary services

This command allows the control the following call related services1 A call can be temporarily disconnected from the ME but the connection is retained by the network2 Multiparty conversation (conference calls)3 The served subscriber who has two calls (one held and the other either active or alerting) can connectthe other parties and release the served subscribers own connectionCalls can be put on hold recovered released added to conversation and transferred This is based on theGSMUMTS supplementary services

AT+CHLD Call related supplementary servicesTest CommandAT+CHLD=

Response+CHLD (list of supported ltngts)

OKWrite CommandAT+CHLD=ltngt

ResponseOKorERROR

Execution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 128451

AT+CHLDDefault to ltngt=2

OKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Terminate all held calls or set User Determined User Busy for awaiting call1 Terminate all active calls and accept the other call (waiting call orheld call)1X Terminate a specific call X2 Place all active calls on hold and accept the other call (waiting callor held call) as the active call2X Place all active calls except call X on hold3 Add the held call to the active calls4 Connect two calls and cut off the connection between users andthem simultaneously

Example

AT+CHLD=+CHLD (011x22x34)

OK

5211 AT+CCFC Call forwarding number and conditions

This command allows control of the call forwarding supplementary service Registration erasure activationdeactivation and status query are supported

AT+CCFC Call forwarding number and conditionsTest CommandAT+CCFC=

Response+CCFC (list of supported ltreasongts)

OKWrite Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 129451

AT+CCFC=ltreasongtltmodegt[ltnumbergt[lttypegt[ltclassgt[ltsubaddrgt[ltsatypegt[lttimegt ]]]]]]

When ltmodegt=2 and command successful+CCFC ltstatusgtltclass1gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][ltCRgtltLFgt+CCFC ltstatusgtltclass2gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][]]

OK

When ltmodegt=2 and command successfulOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreasongt 0 unconditional1 mobile busy2 no reply3 not reachable4 all call forwarding5 all conditional call forwarding

ltmodegt 0 disable1 enable2 query status3 registration4 erasure

ltnumbergt String type phone number of forwarding address in format specified bylttypegt

lttypegt Type of address octet in integer format145 dialing string ltnumbergt includes international access codecharacter lsquo+rsquo129 otherwise

ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128ltclassXgt It is a sum of integers each representing a class of information (default

7)1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 130451

16 data circuit sync32 ndash data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

lttimegt 130 when no reply is enabled or queried this gives the time inseconds to wait before call is forwarded default value 20

ltstatusgt 0 not active1 active

Example

AT+CCFC=+CCFC (012345)

OKAT+CCFC=02+CCFC 0255

OK

5212 AT+CLIP Calling line identification presentation

This command refers to the GSMUMTS supplementary service CLIP (Calling Line IdentificationPresentation) that enables a called subscriber to get the calling line identity (CLI) of the calling party whenreceiving a mobile terminated callWrite command enables or disables the presentation of the CLI at the TE It has no effect on the executionof the supplementary service CLIP in the networkWhen the presentation of the CLI at the TE is enabled (and calling subscriber allows) +CLIPltnumbergtlttypegt[[ltalphagt][ltCLI validitygt]] response is returned after every RING (or +CRING lttypegtrefer sub clause Cellular result codes +CRC) result code sent from TA to TE It is manufacturer specific ifthis response is used when normal voice call is answered

AT+CLIP Calling line identification presentationTest CommandAT+CLIP=

Response+CLIP (range of supported ltngts)

OKRead CommandAT+CLIP

Response+CLIP ltngtltmgt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 131451

orERRORor+CME ERROR lterrgt

Write CommandAT+CLIP=ltngt

ResponseOKorERROR

Execution CommandAT+CLIP

ResponseSet default value(ltngt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 CLIP not provisioned1 CLIP provisioned2 unknown (eg no network etc)

ltnumbergt String type phone number of calling address in format specified bylttypegt

lttypegt Type of address octet in integer format128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phone book

ltCLI validitygt 0 CLI valid1 CLI has been withheld by the originator2 CLI is not available due to interworking problems or limitations oforiginating network

Example

AT+CLIP=1OKRING (with incoming call)+CLIP 02152063113128gongsi0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 132451

5213 AT+CLIR Calling line identification restriction

This command refers to CLIR service that allows a calling subscriber to enable or disable the presentationof the CLI to the called party when originating a callWrite command overrides the CLIR subscription (default is restricted or allowed) when temporary mode isprovisioned as a default adjustment for all following outgoing calls This adjustment can be revoked byusing the opposite command If this command is used by a subscriber without provision of CLIR inpermanent mode the network will actRead command gives the default adjustment for all outgoing calls (given in ltngt) and also triggers aninterrogation of the provision status of the CLIR service (given in ltmgt)Test command returns values supported as a compound value

AT+CLIR Calling line identification restrictionTest CommandAT+CLIR=

Response+CLIR (range of supported ltngts)

OKRead CommandAT+CLIR

Response+CLIR ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CLIR=ltngt

ResponseOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 presentation indicator is used according to the subscription of theCLIR service1 CLIR invocation2 CLIR suppression

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 133451

ltmgt 0 CLIR not provisioned1 CLIR provisioned in permanent mode2 unknown (eg no network etc)3 CLIR temporary mode presentation restricted4 CLIR temporary mode presentation allowed

Example

AT+CLIR=+CLIR (0-2)

OK

5214 AT+COLP Connected line identification presentation

This command refers to the GSMUMTS supplementary service COLP(Connected Line IdentificationPresentation) that enables a calling subscriber to get the connected line identity (COL) of the called partyafter setting up a mobile originated call The command enables or disables the presentation of the COL atthe TE It has no effect on the execution of the supplementary service COLR in the networkWhen enabled (and called subscriber allows) +COLPltnumbergtlttypegt [ltsubaddrgtltsatypegt [ltalphagt]]intermediate result code is returned from TA to TE before any +CR ResponseIt is manufacturer specific ifthis response is used when normal voice call is establishedWhen the AT+COLP=1 is set any data input immediately after the launching of ATDXXX will stop theexecution of the ATD command which may cancel the establishing of the call

AT+COLP Connected line identification presentationTest CommandAT+COLP=

Response+COLP (range of supported ltngts)

OKRead CommandAT+COLP

Response+COLP ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+COLP=ltngt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 134451

or+CME ERROR lterrgt

Execution CommandAT+COLP

ResponseSet default value(ltngt=0 ltmgt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 COLP not provisioned1 COLP provisioned2 unknown (eg no network etc)

Example

AT+COLP+COLP 10

OKATD10086VOICE CALL BEGIN

+COLP 10086129

OK

5215 AT+VTS DTMF and tone generation

This command allows the transmission of DTMF tones and arbitrary tones which cause the MobileSwitching Center (MSC) to transmit tones to a remote subscriber The command can only be used in voicemode of operation (active voice call)NOTE The END event of voice call will terminate the transmission of tones and as an operator option thetone may be ceased after a pre-determined time whether or not tone duration has been reached

AT+VTS DTMF and tone generationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 135451

AT+VTS= +VTS (list of supportedltdtmfgts)

OKWrite CommandAT+VTS=ltdtmfgt[ltdurationgt]

AT+VTS=ltdtmf-stringgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltdtmfgt A single ASCII character in the set 0-9 A B C Dltdurationgt Tone duration in 110 seconds from 0 to 255 This is interpreted as a

DTMF tone of different duration from that mandated by the AT+VTDcommand otherwise the duration which be set the AT+VTDcommand will be used for the tone (ltdurationgt is omitted)

ltdtmf-stringgt A sequence of ASCII character in the set 0-9 A B C D andmaximal length of the string is 29 The string must be enclosed indouble quotes () and separated by commas between the ASCIIcharacters (eg 13579) Each of the tones with a duration whichis set by the AT+VTD command

Example

AT+VTS=1OKAT+VTS=120OKAT+VTS=135OKAT+VTS=+VTS (0-9ABCD)

OK

5216 AT+VTD Tone duration

This refers to an integer ltngt that defines the length of tones emitted as a result of the AT+VTS command A

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 136451

value different than zero causes a tone of duration ltngt10 seconds

AT+VTD Tone durationTest CommandAT+VTD=

Response+VTD (list of supported ltngts)

OKRead CommandAT+VTD

Response+VTD ltngt

OKWrite CommandAT+VTD=ltngt

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Tone duration in integer format from 0 to 255 and 0 is factory value0 Tone duration of every single tone is dependent on thenetwork1hellip255 one duration of every single tone in 110 seconds

Example

AT+VTD=+VTD (0-255)

OKAT+VTD+VTD 0

OKAT+VTD=5OK

5217 AT+CSTA Select type of address

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of number

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 137451

Test command returns values supported by the Module as a compound value

AT+CSTA Select type of addressTest CommandAT+CSTA=

Response+CSTA (list of supported lttypegts)

OKRead CommandAT+CSTA

Response+CSTA lttypegt

OKWrite CommandAT+CSTA=lttypegt

ResponseOKorERROR

Execution CommandAT+CSTA

ResponseOK

Parameter Saving Mode NO_SAVE

Maximum Response Time -Reference

Defined Values

lttypegt Type of address octet in integer format145 ndash when dialing string includes international access codecharacter ldquo+rdquo161 ndash national numberThe network support for this type is optional177 ndash network specific numberISDN format129 ndash otherwise

Because the type of address is automatically detected on the dial string of dialing command commandAT+CSTA has really no effect

Example

AT+CSTA+CSTA 129

OKAT+CSTA=145OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 138451

5218 AT+CMOD Call mode

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of numberTest command returns values supported by the Module as a compound value

AT+CMOD Call modeTest CommandAT+CMOD=

Response+CMOD (list of supported ltmodegts)

OKRead CommandAT+CMOD

Response+CMOD ltmodegt

OKWrite CommandAT+CMOD=ltmodegt

ResponseOKorERROR

Execution CommandAT+CMOD

ResponseSet default valueOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 single mode(only supported)

Example

AT+CMOD+CMOD 0

OKAT+CMOD=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 139451

The value of ltmodegt shall be set to zero after a successfully completed alternating mode call It shallbe set to zero also after a failed answering The power-on factory and user resets shall also set thevalue to zero This reduces the possibility that alternating mode calls are originated or answeredaccidentally

5219 AT+VMUTE Speaker mute control

This command is used to control the loudspeaker to mute and unmute during a voice call which isconnected If there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+VMUTE Speaker mute controlTest CommandAT+VMUTE=

Response+VMUTE (range of supported ltmodegts)

OKRead CommandAT+VMUTE

Response+VMUTE ltmodegt

OKWrite CommandAT+VMUTE=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+VMUTE+VMUTE 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 140451

AT+VMUTE=1OK

5220 AT+CMUT Microphone mute control

This command is used to enable and disable the uplink voice muting during a voice call which is connectedIf there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+CMUT Microphone mute controlTest CommandAT+CMUT=

Response+CMUT (range of supported ltmodegts)

OKRead CommandAT+CMUT

Response+CMUT ltmodegt

OKWrite CommandAT+CMUT=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+CMUT+CMUT 0

OKAT+CMUT=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 141451

5221 AT+MORING Enable or disable report MO ring URC

This command is used to enable or disable report MO ring URC

AT+MORING Enable or disable report MO ring URCTest CommandAT+MORING=

Response+MORING (0-1)

OKRead CommandAT+MORING

Response+MORING ltmodegt

OKWrite CommandAT+MORING=ltmodegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt Enable or disable report MO ring report0 disable1 enable

Example

AT+MORING+CMORING 0

OKAT+MORING=1OK

5222 AT+CLVL Loudspeaker volume level

Write command is used to select the volume of the internal loudspeaker audio output of the deviceRead command returns the volume of the internal loudspeaker audio output of the device

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 142451

Test command returns supported values as compound value

AT+CLVL Loudspeaker volume levelTest CommandAT+CLVL=

Response+CLVL (range of supported ltlevelgts)

OKRead CommandAT+CLVL

Response+CLVL ltlevelgt

OKWrite CommandAT+CLVL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltlevelgt 05 Integer type value which represents loudspeaker volume levelThe range is from 0 to 5 and 0 represents the lowest loudspeakervolume level 5 is default factory value

Example

AT+CLVL+CLVL 5

OKAT+CLVL=1OK

ltlevelgt is not saved and it resets default value when restart

5223 AT+CRXVOL Adjust RX voice output speaker volume

This command is used to adjust digital Volume of output signal after speech decoder before summation of

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 143451

sidetone and DAC It modify the RX_VOICE_SPK_GAIN in DSP This command only be used during calland donrsquot save the parameter after call

AT+CRXVOL Adjust RX voice output speaker volumeTest CommandAT+CRXVOL=

Response+CRXVOL (range of supported ltvaluegts)

OKRead CommandAT+CRXVOL

Response+CRXVOL ltvaluegt

OKWrite CommandAT+CRXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CRXVOL+CRXVOL 0x3fd9

OKAT+CRXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5224 AT+CTXVOL Adjust TX voice mic volume

This command is used to adjust mic gain It modify the TX_VOICE_VOL in DSP This command only be

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 144451

used during call and donrsquot save the parameter after call

AT+ CTXVOL Adjust TX voice mic volumeTest CommandAT+CTXVOL=

Response+CTXVOL (range of supported ltvaluegts)

OKRead CommandAT+CTXVOL

Response+CTXVOL ltvaluegt

OKWrite CommandAT+CTXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXVOL+CTXVOL 0x2d33

OKAT+CTXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5225 AT+CTXMICGAIN Adjust TX voice mic gain

This command is used to adjust mic gain It modify the TX_VOICE_MIC_GAIN in DSP This command onlybe used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 145451

AT+ CTXMICGAIN Adjust TX voice mic gainTest CommandAT+CTXMICGAIN=

Response+CTXMICGAIN (list of supported ltmodegts)(list ofsupportedltvaluegts)

OKRead CommandAT+CTXMICGAIN

Response+CTXMICGAIN ltmodegtltvaluegt

OKWrite CommandAT+CTXMICGAIN=ltmodegtltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt mode value from 0-1 default value is not a fixed value It varies withdifferent versions

ltvaluegt gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXMICGAIN+CTXMICGAIN 10x2000

OKAT+CTXMICGAIN=10x1234OK

This command only be used during call and donrsquot save the parameter after call

5226 AT+CECH Inhibit far-end echo

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 146451

This command is used to adjust additional muting gain applied in DES during far-end only It modify thepp_gamma_e_high of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECH Inhibit far-end echoTest CommandAT+CECH=

Response+CECH (rang of supported ltvaluegts)

OKRead CommandAT+CECH

Response+CECH ltvaluegt

OKWrite CommandAT+CECH=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECH+CECH 0x0200

OKAT+CECH=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5227 AT+CECDT Inhibit echo during doubletalk

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 147451

This command is used to adjust additional muting gain applied in DES during doubletalk It modify thepp_gamma_e_dt of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECDT Inhibit echo during doubletalkTest CommandAT+CECDT=

Response+CECDT (rang of supported ltvaluegts)

OKRead CommandAT+CECDT

Response+CECDT ltvaluegt

OKWrite CommandAT+CECDT=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECDT+CECDT 0x0100

OKAT+CECDT=0x1234OK

This command only be used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 148451

6 AT Commands for Phonebook

61 Overview of AT Commands for Phonebook

Command DescriptionAT+CPBS Select Phonebook memory storageAT+CPBR Read Phonebook entriesAT+CPBF Find Phonebook entriesAT+CPBW Write Phonebook entryAT+CNUM Subscriber number

62 Detailed Description of AT Commands for Phonebook

621 AT+CPBS Select Phonebook memory storage

AT+CPBS Select Phonebook memory storageTest CommandAT+CPBS=

Response+CPBS (list of supported ltstoragegts)

OKRead CommandAT+CPBS

Response+CPBS ltstoragegt[ltusedgtlttotalgt]

OKWrite CommandAT+CPBS=ltstoragegt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CPBS

Response (Set default value SM)OK

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 149451

ltstoragegt Values reserved by the present documentDC ME dialed calls list

Capacity max 20 entriesAT+CPBW command is not applicable to this storage

MC ME missed (unanswered received) calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

RC ME received calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

SM SIM phonebookCapacity depending on SIM card

ME Mobile Equipment phonebookCapacity max 25 entries

FD SIM fixdialling-phonebookCapacitydepending on SIM card

ON MSISDN listCapacitydepending on SIM card

LD Last number dialed phonebookCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

EN Emergency numbersCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

ltusedgt Integer type value indicating the number of used locations in selectedmemory

lttotalgt Integer type value indicating the total number of locations in selectedmemory

Example

AT+CPBS=+CPBS (SMDCFDLDMCMERCENON)

OKAT+CPBS=SMOKAT+CPBS+CPBS SM1200

OK

NOTE

Select the active phonebook storageiethe phonebook storage that all subsequent phonebook

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 150451

commands will be operating on

622 AT+CPBR Read Phonebook entries

AT+CPBR Read Phonebook entriesTest CommandAT+CPBR=

Response+CPBR (ltminIndexgt-ltmaxIndexgt)[ltnlengthgt][lttlengthgt]

OKIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBR=ltindex1gt[ltindex2gt]

Response[+CPBR ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBR ltindex2gtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindex1gt Integer type value in the range of location numbers of phonebookmemory

ltindex2gt Integer type value in the range of location numbers of phonebookmemory

ltindexgt Integer typethe current position number of the Phonebook indexltminIndexgt Integer type the minimum ltindexgt numberltmaxIndexgt Integer type the maximum ltindexgt numberltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 forrestricted number type including unknown type and format otherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 151451

AT+CPBS+CPBS SM2200

OKAT+CPBR=110+CPBR 11234567890129James+CPBR 20987654321129Kevin

OK

If the storage is selected as SM then the command will return the record in SIM phonebook the sameto others

623 AT+CPBF Find Phonebook entries

AT+CPBF Find Phonebook entriesTest CommandAT+CPBF=

Response+CPBF [ltnlengthgt][lttlengthgt]

OKWrite CommandAT+CPBF=[ltfindtextgt]

Response[+CPBF ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBF ltindexNgtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfindtextgt String type this value is used to find the record Character set shouldbe the one selected with command AT+CSCS

ltindexgt Integer typethe current position number of the Phonebook indexltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 for

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 152451

restricted number type including unknown type and formatotherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBF=James+CPBF 11234567890129James

OK

If ltfindtextgt is null it will lists all the entries

624 AT+CPBW Write Phonebook entry

AT+CPBW Write Phonebook entryTest CommandAT+CPBW=

Response+CPBW (list of supported ltindexgts)[ltnlengthgt](list of supported lttypegts)[lttlengthgt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBW=[ltindexgt][ltnumbergt[lttypegt[lttextgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type values in the range of location numbers of phonebookmemoryIf ltindexgt is not giventhe first free entry will be used If

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 153451

ltindexgt is given as the only parameter the phonebook entry specifiedby ltindexgt is deletedIf record number ltindexgt already exists it willbe overwritten

ltnumbergt String type phone number of format lttypegt the maximum length isltnlengthgtIt must be an non-empty string

lttypegt Type of address octet in integer format The range of value is from 129to 255 If ltnumbergt contains a leading + lttypegt = 145 (international)is usedSupported value are145 when dialling string includes international access code character+161 national numberThe network support for this type is optional177 network specific numberISDN format129 otherwise

NOTE Other value refer TS 24008 [8] subclause 10547lttextgt String type field of maximum length lttlengthgt character set as

specified by command Select TE Character Set AT+CSCSltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBW=388888888129JohnOKAT+CPBW=6666666129maryOKAT+CPBW=1OK

If the parameters of lttypegt and lttextgt are omitted and the first character of ltnumbergt is lsquo+rsquoit willspecify lttypegt as 145(129 if the first character isnrsquot lsquo+rsquo) and lttextgt as NULL

625 AT+CNUM Subscriber number

AT+CNUM Subscriber numberTest CommandAT+CNUM=

ResponseOK

Execution CommandAT+CNUM

Response[+CNUM ltalphagtltnumbergtlttypegt[ltCRgtltLFgt+CNUM ltalphagt ltnumbergtlttypegt []]]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 154451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltalphagt Optional alphanumeric string associated with ltnumbergt usedcharacter set should be the one selected with command Select TECharacter Set AT+CSCS

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CNUM+CNUM 13697252277129

OK

If the subscriber has different MSISDN for different services each MSISDN is returned in a separateline

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 155451

7 AT Commands for SIM ApplicationToolkit

71 Overview of AT Commands for SIM Application Toolkit

Command DescriptionAT+STIN SAT IndicationAT+STGI Get SAT informationAT+STGR SAT respondAT+STK STK switchAT+STKFMT Set STK pdu formatAT+STENV Original STK PDU Envelope CommandAT+STSM Get STK Setup Menu List with PDU Mode

72 Detailed Description of AT Commands for SIM Application Toolkit

721 AT+STIN SAT Indication

AT+STIN SAT IndicationTest CommandAT+STIN=

ResponseOK

Read CommandAT+STIN

+STIN ltcmd_idgt

OK

Unsolicited Result Codes

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 156451

24 Select item+STIN 25 Notification that SIM Application has returned to main menu If user

doesnrsquot do any action in 2 minutes application will return to mainmenu automatically

Defined Values

ltcmd_idgt 21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end (pdu mode only)0 None command

lttimegt Service time

Example

AT+STIN+STIN 24

OK

Every time the SIM Application issues a Proactive Command via the ME the TA will receive anindication This indicates the type of Proactive Command issued

722 AT+STGI Get SAT information

AT+STGI Get SAT informationTest CommandAT+STGI=

ResponseOK

Write CommandAT+STGI=ltcmd_idgt

Response (PDU format)+STGI ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOK

AT+STGI=ltcmd_idgt Response (NOT PDU format listed below)If ltcmd_idgt=10OKIf ltcmd_idgt=21+STGI 21ltpriogtltclear_modegtlttext_lengtlttextgtOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 157451

If ltcmd_idgt=22+STGI 22lt rsp_formatgtlt helpgtlttext_lengtlttextgtOKIf ltcmd_idgt=23+STGI23ltrsp_formatgtltmax_lengtltmin_lengtlthelpgtltshowgtlttext_lengtlttextgtOKIf ltcmd_idgt=24+STGI24lthelpgtltsoftkeygtltpresentgtlttitle_lengtlttitlegtltitem_numgt+STGI 24ltitem_idgtltitem_lengtltitem_datagt[hellip]OKIf ltcmd_idgt=25+STGI 25lthelpgtltsoftkeygtlttitle_lengtlttitlegtltitem_numgt+STGI 25ltitem_idgtltitem_lengtltitem_datagt[]OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu

ltpriogt Priority of display text0 Normal priority1 High priority

ltclear_modegt 0 Clear after a delay1 Clear by user

lttext_lengt Length of textltrsp_formatgt 0 SMS default alphabet

1 YES or NO2 numerical only3 UCS2

lthelpgt 0 Help unavailable1 Help available

ltmax_lengt Maximum length of inputltmin_lengt Minimum length of inputltshowgt 0 Hide input text

1 Display input textltsoftkeygt 0 No softkey preferred

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 158451

1 Softkey preferredltpresentgt Menu presentation format available for select item

0 Presentation not specified1 Data value presentation2 Navigation presentation

lttitle_lengt Length of titleltitem_numgt Number of items in the menultitem_idgt Identifier of itemltitem_lengt Length of itemlttitlegt Title in ucs2 formatltitem_datagt Content of the item in ucs2 formatlttextgt Text in ucs2 formatlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valgt String type the pdu string

Example

AT+STGI=25 (NOT PDU format)+STGI 250010795E5DDE884C5929573015+STGI 25188F7B677E95EE5019+STGI 252877ED4FE17FA453D1+STGI 25384F1860E05FEB8BAF+STGI 25484E1A52A17CBE9009+STGI 25588D448D3963A88350+STGI 256881EA52A9670D52A1+STGI 25788F7B677E5F6994C3+STGI 25888BED97F367425FD7+STGI 2591097F34E506392884C699C+STGI 2510865B095FB59296C14+STGI 2511894C358F056FE7247+STGI 25128804A59294EA453CB+STGI 251385F005FC34F1195F2+STGI 25148751F6D3B5E388BC6+STGI 25211200530049004D53614FE1606F

OK

AT+STGI=24 (PDU format)+STGI24048D02E81030124008202818285098070ED70B963A883508F0A018053057F574E078C618F0C02809177917777ED6D88606F

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 159451

723 AT+STGR SAT respond

AT+STGR SAT respondTest CommandAT+STGR=

ResponseOK

Write CommandAT+STGR=ltcmd_idgt[ltdatagt]

Response (NOT PDU format)OK

AT+STGR=ltpdu_lengtltpdu_valuegt

Response (PDU format)OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end83 Session end by user84 Go backward

ltdatagt If ltcmd_idgt=22Input a characterIf ltcmd_idgt=23Input a stringIf ltrsp_formatgt is YES or NO input of a character in case of ANSIcharacter set requests one byte eg YIf ltrsp_formatgt is numerical only input the characters in decimalnumber eg 123If ltrsp_ formatgt is UCS2 requests a 4 byte string eg 0031ltrsp_ formatgt refer to the response by AT+STGI=23If ltcmd_idgt=24Input the identifier of the item selected by userIf ltcmd_idgt=25Input the identifier of the item selected by userIf ltcmd_idgt=83ltdatagt ignoreNote It could return main menu during Proactive Command id is not22 or 23If ltcmd_idgt= 84

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 160451

ltdatagt ignoreltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STGR=251OK+STIN 24

AT+STGR=30810301240002028281830100900101OK

After selected an item different SIMUSIM cards will report different +STIN command

724 AT+STK STK switch

AT+STK STK switchTest CommandAT+STK=

Response+STK (list of supported ltvaluegts)

OKRead CommandAT+STK

Response+STK ltvaluegt

OKWrite CommandAT+STK=ltvaluegt

ResponseOKorERROR

Execution CommandAT+STK

ResponseOK

Defined Values

ltvaluegt 0 Disable STK1 Enable STK

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 161451

AT+STK=1OK

Module should reboot to take effective

725 AT+STKFMT Set STK pdu format

AT+STKFMT Set STK pdu formatRead CommandAT+STKFMT

Response+STKFMT ltvaluegt

OK

Write CommandAT+STKFMT=ltvaluegt

ResponseOKorERROR

Defined Values

ltvaluegt 0 Disable STK pdu format decoded command mode1 Enable STK pdu format

Example

AT+STKFMT=1OK

Module should reboot to take effective

726 AT+STENV Original STK PDU Envelope Command

AT+STENV Original STK PDU Envelope CommandTest CommandAT+STENV=

ResponseOK

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 162451

Write CommandAT+STENV=ltlengtltpdugt

ResponseOKorERROR

Defined Values

ltlengt Integer type pdu string lengthltpdugt String type pdu value

Example

AT+STENV=18D30782020181900101OK

Module should reboot to take effective

727 AT+STSM Get STK Setup Menu List with PDU Mode

AT+STSM Get STK Setup Menu List with PDU ModeTest CommandAT+STSM=

ResponseOK

Read CommandAT+STSM

Response+STSM ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOKorERROR

Defined Values

ltcmd_idgt Integer type please refer to AT+STINlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STSM+STSM

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 163451

250120D07681030125008202818285078065B052BF529B8F0A018070ED70B963A883508F06028070AB94C38F0A03806D41884C77ED4FE18F0A048081EA52A9670D52A18F0A0580624B673A97F34E508F0606808D854FE18F0A07805A314E50753162118F0A0880767E53D8751F6D3B8F0A09806D596C5F98919053

OK

Setup main menu info got first before envelope command sent

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 164451

8 AT Commands for GPRS

81 Overview of AT Commands for GPRS

Command DescriptionAT+CGREG GPRS network registration statusAT+CGATT Packet domain attach or detachAT+CGACT PDP context activate or deactivateAT+CGDCONT Define PDP contextAT+CGDSCONT Define Secondary PDP ContextAT+CGTFT Traffic Flow TemplateAT+CGQREQ Quality of service profile (requested)AT+CGEQREQ 3G quality of service profile (requested)AT+CGQMIN Quality of service profile (minimum acceptable)AT+CGEQMIN 3G quality of service profile (minimum acceptable)AT+CGDATA Enter data stateAT+CGPADDR Show PDP addressAT+CGCLASS GPRS mobile station classAT+CGEREP GPRS event reportingAT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

82 Detailed Description of AT Commands for GPRS

821 AT+CGREG GPRS network registration status

This command controls the presentation of an unsolicited result code +CGREG ltstatgt when ltngt=1 andthere is a change in the MTs GPRS network registration status

The read command returns the status of result code presentation and an integer ltstatgt which showsWhether the network has currently indicated the registration of the MT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 165451

AT+CGREG GPRS network registration statusTest CommandAT+CGREG=

Response+CGREG (list of supported ltngts)

OKRead CommandAT+CGREG

Response+CGREG ltngtltstatgt[ltlacgtltcigt]

OKWrite CommandAT+CGREG=ltngt

ResponseOK

Execution CommandSet default valueAT+CGREG

ResponseOK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CGREGltstatgt2 there is a change in the ME network registration status or achange of the network cell

+CGREG ltstatgt[ltlacgtltcigt]ltstatgt 0 not registered ME is not currently searching an operator to

register to1 registered home network2 not registered but ME is currently trying to attach or searching anoperator to register to3 registration denied4 unknown5 registered roaming

ltlacgt Two bytes location area code in hexadecimal format (eg00C3equals 193 in decimal)

ltcigt Cell ID in hexadecimal formatGSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

The ltlacgt not supported in CDMAHDR modeThe ltcigt not supported in CDMAHDR mode

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 166451

Example

AT+CGREG=+CGREG (0-2)

OKAT+CGREG+CGREG 00

OK

822 AT+CGATT Packet domain attach or detach

The write command is used to attach the MT to or detach the MT from the Packet Domain serviceThe read command returns the current Packet Domain service state

AT+CGATT Packet domain attach or detachTest CommandAT+CGATT=

Response+CGATT (list of supported ltstategts)

OKRead CommandAT+CGATT

Response+CGATT ltstategt

OKWrite CommandAT+CGATT=ltstategt

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of Packet Domain attachment0 detached1 attached

Example

AT+CGATT+CGATT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 167451

OKAT+CGATT=1OK

823 AT+CGACT PDP context activate or deactivate

The write command is used to activate or deactivate the specified PDP context(s)

AT+CGACT PDP context activate or deactivateTest CommandAT+CGACT=

Response+CGACT (list of supported ltstategts)

OKRead CommandAT+CGACT

Response+CGACT [ltcidgtltstategt [ltCRgtltLFgt+CGACT ltcidgtltstategt[]]]

OKWrite CommandAT+CGACT=ltstategt[ltcidgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of PDP context activation0 deactivated1 activated

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGACT=+CGACT (01)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 168451

AT+CGACT+CGACT 11

OKAT+CGACT=01OK

824 AT+CGDCONT Define PDP context

The set command specifies PDP context parameter values for a PDP context identified by the (local)context identification parameter ltcidgt The number of PDP contexts that may be in a defined state at thesame time is given by the range returned by the test command A special form of the write command(AT+CGDCONT=ltcidgt) causes the values for context ltcidgt to become undefined

AT+CGDCONT Define PDP contextTest CommandAT+CGDCONT=

Response+CGDCONT (range of supportedltcidgts)ltPDP_typegt(list ofsupported ltd_compgts)(list of supported lth_compgts) (list ofltipv4_ctrlgts)(list of ltemergency_flaggts) ( ltssc_mode gts)(lt s_nssaigt)(pref_access_type)(ltalways_on_reqgt)

OKorERROR

Read CommandAT+CGDCONT

Response+CGDCONT[ltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt[ltCRgtltLFgt+CGDCONTltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt lt ssc_modegtlts_nssaigtltpref_access_typegtlt always_on_reqgt []]]

OKorERROR

Write CommandAT+CGDCONT=ltcidgt[ltPDP_typegt[ltAPNgt[ltPDP_addrgt[ltd_compgt[lth_compgt[ltip

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 169451

v4_ctrlgt[ltemergency_flaggt[ltssc_modegt[lts_nssaigt[ltpref_access_typegt[ltalways_on_reqgt]]]]]]]]]]]Execution CommandSet default valueAT+CGDCONT

ResponseOKorERROR

Defined Values

ltcidgt (PDP Context Identifier) a numeric parameter which specifies aparticular PDP context definition The parameter is local to the TE-MTinterface and is used in other PDP context-related commands Therange of permitted values (minimum value = 1) is returned by the testform of the command1hellip42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPPPoint to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltAPNgt (Access Point Name) a string parameter which is a logical name that isused to select the GGSN or the external packet data network

ltPDP_addrgt A string parameter that identifies the MT in the address spaceapplicable to the PDPRead command will continue to return the null string even if anaddress has been allocated during the PDP startup procedure Theallocated address may be read using command AT+CGPADDR

ltd_compgt A numeric parameter that controls PDP data compression this valuemay depend on platform0 off (default if value is omitted)1 on2 V42bis

lth_compgt A numeric parameter that controls PDP header compression thisvalue may depend on platform0 off (default if value is omitted)1 on2 RFC11443 RFC25074 RFC3095

ltipv4_ctrlgt Parameter that controls how the MTTA requests to get the IPv4address information0 Address Allocation through NAS Signaling

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 170451

1 on

ltemergency_flaggt emergency_flag0 off (default if value is omitted)1 on

ltssc_modegt Ssc mode0 ssc mode 1(default if value is omitted)1 ssc mode 2

lts_nssaigt String type of hexadecimal formatltpref_access_typegt prefer access type

0 access unspecified(default if value is omitted)1 access 3gpp

ltalways_on_reqgt alway on req0 off (default if value is omitted)1 on

Example

AT+CGDCONT=+CGDCONT (1-42)IP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)PPP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV4V6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)

OKAT+CGDCONT+CGDCONT 1IPV4V6000000000000000000000+CGDCONT 2IPV4V6ims000000000000000000000+CGDCONT 3IPV4V6sos000000000000000000010

OK

825 AT+CGDSCONT Define Secondary PDP Context

The set command specifies PDP context parameter values for a Secondary PDP context identified by the(local) context identification parameter ltcidgt The number of PDP contexts that may be in a defined stateat the same time is given by the range returned by the test command A special form of the set commandAT+CGDSCONT=ltcidgt causes the values for context number ltcidgt to become undefined

AT+CGDSCONT Define Secondary PDP ContextTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 171451

AT+CGDSCONT= +CGDSCONT (range of supported ltcidgts)(list of ltp_cidgts foractive primary contexts) ltPDP_typegt(list of supportedltd_compgts)(list of supported lth_compgts)

OKorERROR

Read CommandAT+CGDSCONT

Response+CGDSCONT [ltcidgtltp_cidgtltd_compgtlth_compgt[ltCRgtltLFgt+CGDSCONT ltcidgtltp_cidgtltd_compgtlth_compgt[]]]

OKorERROR

Write CommandAT+CGDSCONT=ltcidgt[ltp_cidgt[ltd_compgt[lth_compgt]]]

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP context definition Theparameter is local to the TE-MT interface and is used in other PDPcontext-related commands The range of permitted values (minimum value =1) is returned by the test form of the command

ltp_cidgt a numeric parameter which specifies a particular PDP context definitionwhich has been specified by use of the +CGDCONT command Theparameter is local to the TE-MT interface The list of permitted values isreturned by the test form of the command

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies the type ofpacket data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltd_compgt a numeric parameter that controls PDP data compression (applicable forSNDCPonly) (refer 3GPP TS 44065 [61])0 off1 on (manufacturer preferred compression)2 V42bis data compression3 V44bis data compressionOther values are reserved

lth_compgt a numeric parameter that controls PDP header compression (refer 3GPP TS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 172451

44065 [61] and 3GPP TS 25323 [62])0 off1 on (manufacturer preferred compression)2 RFC1144 (applicable for SNDCP only)3 RFC25074 RFC3095 (applicable for PDCP only)Other values are reserved

The ltcidgts for network-initiated PDP contexts will have values outside the ranges indicated for theltcidgt in the test form of the commands +CGDCONT and +CGDSCONT

Example

AT+CGDSCONT=+CGDSCONT (1-42)(123)IP(0-3)(0-4)+CGDSCONT (1-42)(123)PPP(0-3)(0-4)+CGDSCONT (1-42)(123)IPV6(0-3)(0-4)+CGDSCONT (1-42)(123)IPV4V6(0-3)(0-4)

OKAT+CGDSCONT+CGDSCONT 2100

OKAT+CGDSCONT=21OK

826 AT+CGTFT Traffic Flow Template

This command allows the TE to specify a Packet Filter - PF for a Traffic Flow Template - TFT that is used inthe GGSN in UMTSGPRS and Packet GW in EPS for routing of packets onto different QoS flows towardsthe TE The concept is further described in the 3GPP TS 23060 [47] A TFT consists of from one and up to16 Packet Filters each identified by a unique ltpacket filter identifiergt A Packet Filter also has anltevaluation precedence indexgt that is unique within all TFTs associated with all PDP contexts that areassociated with the same PDP address

AT+CGTFT Traffic Flow TemplateTest CommandAT+CGTFT=

Response+CGTFT ltPDP_typegt(list of supported ltpacket filter

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 173451

identifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[ltCRgtltLFgt+CGTFT ltPDP_typegt(list of supported ltpacket filteridentifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[]]

OKorERROR

Read CommandAT+CGTFT

Response+CGTFT [ltcidgtltpacket filter identifiergtltevaluation precedenceindexgtltsource address and subnet maskgtltprotocol number(ipv4) next header (ipv6)gtltdestination port rangegtltsource portrangegtltipsec security parameter index (spi)gtlttype of service(tos) (ipv4) and mask traffic class (ipv6) and maskgtltflow label(ipv6)gt[ltCRgtltLFgt+CGTFT ltcidgtltpacket filter identifiergtltevaluationprecedence indexgtltsource address and subnetmaskgtltprotocol number (ipv4) next header (ipv6)gtltdestinationport rangegtltsource port rangegtltipsec security parameter index(spi)gtlttype of service (tos) (ipv4) and mask traffic class (ipv6)and maskgtltflow label (ipv6)gt[]]]

OKorERROR

Write CommandAT+CGTFT=ltcidgt[[ltpacketfilter identifiergtltevaluationprecedenceindexgt[ltsource address

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 174451

and subnetmaskgt[ltprotocol number(ipv4) next header(ipv6)gt[ltdestination portrangegt[ltsource portrangegt[ltipsec securityparameter index(spi)gt[lttype of service (tos)(ipv4) and mask trafficclass (ipv6) andmaskgt[ltflow label(ipv6)gt]]]]]]]]]

Execution CommandAT+CGTFT

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP contextdefinition (see theAT+CGDCONT and AT+CGDSCONT commands)

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltpacket filter identifiergt a numeric parameter value range from 1 to 16ltevaluation precedenceindexgt

a numeric parameter The value range is from 0 to 255

ltsource address andsubnet maskgt

string type The string is given as dot-separated numeric (0-255)parameters on the forma1a2a3a4m1m2m3m4 for IPv4 ora1a2a3a4a5a6a7a8a9a10a11a12a13a14a15a16m1m2m3m4m5m6m7m8m9m10m11m12m13m14m15m16 for IPv6

ltprotocol number (ipv4) next header (ipv6)gt

a numeric parameter value range from 0 to 255

ltdestination port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltsource port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltipsec security parameterindex (spi)gt

numeric value in hexadecimal format The value range is from00000000 to FFFFFFFF

lttype of service (tos) (ipv4) string type The string is given as dot-separated numeric (0-255)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 175451

and mask traffic class(ipv6) and maskgt

parameters on the form tm

ltflow label (ipv6)gt numeric value in hexadecimal format The value range is from 00000to FFFFF Valid for IPv6 only

Example

AT+CGTFT=+CGTFTIP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTPPP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV4V6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)

OKAT+CGTFT+CGTFT 210741257199255255255255000000000

OKAT+CGTFT=210741257199255255255255OK

827 AT+CGQREQ Quality of service profile (requested)

This command allows the TE to specify a Quality of Service Profile that is used when the MT sends anActivate PDP Context Request message to the network A special form of the set command(AT+CGQREQ=ltcidgt) causes the requested profile for context number ltcidgt to become undefined

AT+CGQREQ Quality of service profile (requested)Test CommandAT+CGQREQ=

Response+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 176451

supported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQREQ

Response+CGQREQ[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQREQltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]OKorERROR

Write CommandAT+CGQREQ=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt[ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQREQ

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 3

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 177451

4 delay class 4ltreliabilitygt A numeric parameter which specifies the reliability class

0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMMSMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 178451

Example

AT+CGQREQ=+CGQREQ IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQ PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQREQ+CGQREQ

OK

828 AT+CGEQREQ 3G quality of service profile (requested)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

The write command allows the TE to specify a Quality of Service Profile for the context identified by thecontext identification parameter ltcidgt which is used when the MT sends an Activate PDP Context Requestmessage to the network

A special form of the write command AT+CGEQREQ=ltcidgt causes the requested profile for contextnumber ltcidgt to become undefined

AT+CGEQREQ 3G quality of service profile (requested)Test CommandAT+CGEQREQ=

Response+CGEQREQ ltPDP_typegt(list of supported ltTraffic classgts)(listof supported ltMaximum bitrate ULgts)(list of supported ltMaximum bitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(listof supported ltGuaranteed bitrate DLgts)(list of supported ltDelivery ordergts)(list of supported ltMaximum SDU sizegts)(list ofsupported ltSDU error ratiogts)(list of supported ltResidual biterrorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(listof

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 179451

Supported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts) (list of supported ltSource statisticsdescriptorgts)(list of supported ltSignaling indication flaggts)

OKorERROR

Read CommandAT+CGEQREQ

Response+CGEQREQ [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygt][ltCRgtltLFgt+CGEQREQ ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygtltSource statistics descriptorgtltSignaling indication flaggt [hellip]]

OKorERROR

Write CommandAT+CGEQREQ=ltcidgt[ltTraffic classgt[ltMaximumbitrate ULgt[ltMaximumbitrate DLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt[ltSource statisticsdescriptorgt[ltSignalingindication flaggt]]]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQREQ

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 180451

orERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAP As an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size in octetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only for

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 181451

conforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQREQ=5E3hellip)0E0 subscribed value1E27E31E31E41E51E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQREQ=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 and 100 to 4000 The default value is 0 If theparameter is set to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltSource statisticsdescriptor gt

This parameter indicates profile parameter that Source statisticsdescriptor for requested UMTS QoSThe range is from 0 to 1 The default value is 0 If the parameter is set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 182451

to 0 the subscribed value will be requestedltSignaling indication flaggt This parameter indicates Signaling flag

The range is from 0 to 1 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQREQ=+CGEQREQIP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)

OKAT+CGEQREQ+CGEQREQ

OK

829 AT+CGQMIN Quality of service profile (minimum acceptable)

This command allows the TE to specify a minimum acceptable profile which is checked by the MT againstthe negotiated profile returned in the Activate PDP Context Accept messageA special form of the setcommandAT+CGQMIN=ltcidgt causes the minimum acceptable profile for context number ltcidgt tobecome undefined

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 183451

AT+CGQMIN Quality of service profile (minimum acceptable)Test CommandAT+CGQMIN=

Response+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQMIN

Response+CGQMIN[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQMINltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]

OKorERROR

Write CommandAT+CGQMIN=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt [ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQMIN

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 184451

2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 34 delay class 4

ltreliabilitygt A numeric parameter which specifies the reliability class0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMM-SMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 185451

12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

Example

AT+CGQMIN=+CGQMIN IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN IPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMINIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQMIN+CGQMIN

OK

8210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

AT+CGEQMIN 3G quality of service profile (minimum acceptable)Test CommandAT+CGEQMIN=

Response+CGEQMIN ltPDP_typegt(list of supported ltTraffic classgts)(list ofsupported ltMaximum bitrate ULgts)(list of supported ltMaxim umbitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(list ofsupported ltGuaranteed bitrate DLgts)(list of supported ltDeliv eryordergts)(list of supported ltMaximum SDU sizegts)(list of supportedltSDU error ratiogts)(list of supported ltResidual bit errorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(list ofsupported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 186451

OKorERROR

Read CommandAT+CGEQMIN

Response+CGEQMIN [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransfer DelaygtltTraffic handlingprioritygt][ltCRgtltLFgt+CGEQMIN ltcidgtltTraffic classgtltMaximumbitrate ULgtltMa ximum bitrate DLgtltGuaranteed bitrateULgtltGuaranteed bitrate DLgtltDelivery ordergtltMaximum SDUsizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery oferroneous SDUsgtltTransfer DelaygtltTraffic handlingprioritygt[hellip]]

OKorERROR

Write CommandAT+CGEQMIN=ltcidgt[ltTraffic classgt[ltMaximum bitrateULgt[ltMaximum bitrateDLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQMIN

ResponseOKorERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 187451

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size inoctetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only forconforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQMIN=5E3hellip)0E0 subscribed value1E27E31E31E41E5

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 188451

1E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQMIN=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 to 4000 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQMIN=+CGEQMIN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 189451

IP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)

OKAT+CGEQMIN+CGEQMIN

OK

8211 AT+CGDATA Enter data state

The command causes the MT to perform whatever actions are necessary to establish communicationbetween the TE and the network using one or more Packet Domain PDP types This may includeperforming a PS attach and one or more PDP context activations

AT+CGDATA Enter data stateTest CommandAT+CGDATA=

Response+CGDATA (list of supported ltL2Pgts)

OKorERROR

Write CommandAT+CGDATA=[ltL2Pgt[ltcidgt]]

ResponseNO CARRIERorOKorERRORor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 190451

+CME ERROR lterrgt

Defined Values

ltL2Pgt A string parameter that indicates the layer 2 protocol to be usedbetween the TE and MTPPP Point-to-point protocol for a PDP such as IP

lttextgt CONNECT result code string the string formats please referATXATVATampE command

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGDATA=+CGDATA (PPP)

OKAT+CGDATA=PPP1CONNECT 115200

8212 AT+CGPADDR Show PDP address

The write command returns a list of PDP addresses for the specified context identifiers

AT+CGPADDR Show PDP addressTest CommandAT+CGPADDR=

Response[+CGPADDR (list of defined ltcidgts)]

OKorERROR

Write CommandAT+CGPADDR=ltcidgt[ltcidgt[hellip]]

Response+CGPADDR ltcidgtltPDP_addrgt

OKorOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 191451

or+CME ERROR lterrgt

Execution CommandAT+CGPADDR

Response[+CGPADDR ltcidgtltPDP_addrgt]+CGPADDR ltcidgtltPDP_addrgt[]]]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) If no ltcidgt is specified theaddresses for all defined contexts are returned1hellip42

ltPDP_addrgt A string that identifies the MT in the address space applicable to thePDP The address may be static or dynamic For a static address itwill be the one set by the AT+CGDCONT command when the contextwas defined For a dynamic address it will be the one assigned duringthe last PDP context activation that used the context definition referredto by ltcidgt ltPDP_addrgt is omitted if none is available

Example

AT+CGPADDR=+CGPADDR (1)

OKAT+CGPADDR=1+CGPADDR 11023748122

OK

8213 AT+CGCLASS GPRS mobile station class

This command is used to set the MT to operate according to the specified GPRS mobile class

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 192451

AT+CGCLASS GPRS mobile station classTest CommandAT+CGCLASS=

Response+CGCLASS (list of supported ltclassgts)

OKorERROR

Read CommandAT+CGCLASS

Response+CGCLASS ltclassgt

OKorERROR

Write CommandAT+CGCLASS=ltclassgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandSet default valueAT+CGCLASS

ResponseOKorERROR

Defined Values

ltclassgt A string parameter which indicates the GPRS mobile class (indescending order of functionality)A class A (highest)

Example

AT+CGCLASS=+CGCLASS (A)

OKAT+CGCLASS+CGCLASS A

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 193451

8214 AT+CGEREP GPRS event reporting

The write command enables or disables sending of unsolicited result codes +CGEV from MT to TE in thecase of certain events occurring in the Packet Domain MT or the network ltmodegt controls the processingof unsolicited result codes specified within this command ltbfrgt controls the effect on buffered codeswhen ltmodegt 1 or 2 is entered If a setting is not supported by the MT ERRORor +CME ERROR isreturned

Read command returns the current ltmodegt and buffer settings

Test command returns the modes and buffer settings supported by the MT as compound values

AT+CGEREP GPRS event reportingTest CommandAT+CGEREP=

Response+CGEREP (list of supported ltmodegts)(list of supported ltbfrgts)

OKorERROR

Read CommandAT+CGEREP

Response+CGEREP ltmodegtltbfrgt

OKorERROR

Write CommandAT+CGEREP=ltmodegt[ltbfrgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEREP

ResponseOKorERROR

Defined Values

ltmodegt 0 ndash buffer unsolicited result codes in the MT if MT result code buffer isfull the oldest ones can be discarded No codes are forwarded tothe TE

1 ndash discard unsolicited result codes when MT-TE link is reserved (egin on- line data mode) otherwise forward them directly to the TE

2 ndash buffer unsolicited result codes in the MT when MT-TE link is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 194451

reserved (eg in on- line data mode) and flush them to the TEwhen MT-TE link becomes available otherwise forward themdirectly to the TE

ltbfrgt 0 ndash MT buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 or 2 is entered1 ndash MT buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 or 2 is entered (OK responseshall be given before flushing the codes)

Example

AT+CGEREP=+CGEREP (0-2)

OKAT+CGEREP+CGEREP 00

OK

8215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

This command is used to set type of authentication for PDP-IP connections of GPRS

AT+CGAUTH Set type of authentication for PDP-IP connections of GPRSTest CommandAT+CGAUTH=

Response+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (range of supportedltcidgts)(list of supported ltauth_typegts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CGAUTH

Response+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt

hellip

OKor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 195451

ERRORor+CME ERROR lterrgt

Write CommandAT+CGAUTH=ltcidgt[ltauth_typegt[ltpasswdgt[ltusergt]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGAUTH

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt Parameter specifies a particular PDP context definition This is alsoused in other PDP context-related commands1hellip42

ltauth_typegt Indicate the type of authentication to be used for the specified contextIf CHAP is selected another parameter ltpasswdgt needs to bespecified If PAP is selected two additional parameters ltpasswdgt andltusergt need to specified0 none1 PAP2 CHAP3 PAP or CHAP

ltpasswdgt Parameter specifies the password used for authenticationltusergt Parameter specifies the user name used for authentication

Example

AT+CGAUTH=+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (1-42)(0-3)127127

OKAT+CGAUTH=11123SIMCOMOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 196451

83 Summary of Unsolicited Result Codes

Unsolicited codes Description+CGEV PDN ACTltcidgt When the PDP in ltcidgt channel is

activated this unsolicited result codewill be reported

+CGEV REJECT ltPDP_typegtltPDP_addrgt A network request for PDP contextactivation occurred when the MT wasunable to report it to the TE with a+CRING unsolicited result code and wasautomatically rejected

+CGEV NW REACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has requested a contextreactivation The ltcidgt that was used toreactivate the context is provided ifknown to the MT

+CGEV NW DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has forced a contextdeactivation The ltcidgt that was used toactivate the context is provided if knownto the MT

+CGEV ME DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The mobile equipment has forced acontext deactivation The ltcidgt that wasused to activate the context is provided ifknown to the MT

+CGEV NW DETACH The network has forced a PacketDomain detach This implies that allactive contexts have been deactivatedThese are not reported separately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV NW CLASS ltclassgt The network has forced a change of MSclass The highest available class isreported (see AT+CGCLASS)

+CGEV ME CLASS ltclassgt The mobile equipment has forced achange of MS class The highestavailable class is reported (see

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 197451

AT+CGCLASS)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 198451

9 AT Commands for SMS

91 Overview of AT Commands for SMS

Command DescriptionAT+CSMS Select message serviceAT+CPMS Preferred message storageAT+CMGF Select SMS message formatAT+CSCA SMS service center addressAT+CSCB Select cell broadcast message indicationAT+CSMP Set text mode parametersAT+CSDH Show text mode parametersAT+CNMA New message acknowledgement to METAAT+CNMI New message indications to TEAT+CGSMS Select service for MO SMS messagesAT+CMGL List SMS messages from preferred storeAT+CMGR Read messageAT+CMGS Send messageAT+CMSS Send message from storageAT+CMGW Write message to memoryAT+CMGD Delete messageAT+CMGMT Change message statusAT+CMVP Set message valid periodAT+CMGRD Read and delete messageAT+CMGSEX Send messageAT+CMSSEX Send multi messages from storage

92 Detailed Description of AT Commands for SMS

921 AT+CSMS Select message service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 199451

This command is used to select messaging service ltservicegtNote This command not support in CDMAEVDO mode

AT+CSMS Select message service

Test CommandAT+CSMS=

Responsea)+CSMS (range of supported ltservicegts)

OKb)If failedERROR

Read CommandAT+CSMS

Response+CSMS ltservicegtltmtgtltmogtltbmgt

OK

Write CommandAT+CSMS=ltservicegt

Responsea)+CSMS ltmtgtltmogtltbmgt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt 0 SMS at command is compatible with GSM phase 21 SMS at command is compatible with GSM phase 2+

ltmtgt Mobile terminated messages0 type not supported1 type supported

ltmogt Mobile originated messages0 type not supported1 type supported1 SMS at command is compatible with GSMphase 2+

ltbmgt Broadcast type messages0 type not supported1 type supported

Example

AT+CSMS=0+CSMS 111

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 200451

922 AT+CPMS Preferred message storage

This command is used to select memory storages ltmem1gtltmem2gt and ltmem3gt to be used for readingwriting etc

AT+CPMS Preferred message storage

Test CommandAT+CPMS=

Responsea)+CPMS (list of supportedltmem1gts)(list ofsupportedltmem2gts)(list of supportedltmem3gts)

OKb)If failedERROR

Read CommandAT+CPMS

Response+CPMSltmem1gtltused1gtlttotal1gtltmem2gtltused2gtlttotal2gtltmem3gtltused3gtlttotal3gt

OK

Write CommandAT+CPMS=ltmem1gt[ltmem2gt[ltmem3gt]]

Responsea)+CPMS ltused1gtlttotal1gtltused2gtlttotal2gtltused3gtlttotal3gt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltmem1gt String type memory from which messages are read and deleted(commands List Messages AT+CMGL Read Message AT+CMGRand Delete Message AT+CMGD)ME and MT FLASH message storageSM SIM message storageSR Status report storage (not used in CDMAEVDOmode)

ltmem2gt String type memory to which writing and sending operations aremade (commands Send Message from Storage AT+CMSS and WriteMessage to Memory AT+CMGW)ME and MT FLASH message storageSM SIM message storage

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 201451

ltmem3gt String type memory to which received SMS is preferred to be stored(unless forwarded directly to TE refer command New MessageIndications AT+CNMI)ME FLASH message storageSM SIM message storage GSM phase 2+

ltusedXgt Integer type number of messages currently in ltmemXgtlttotalXgt Integer type total number of message locations in ltmemXgt

Example

AT+CPMS=+CPMS (MEMTSMSR)(MEMTSM)(SMME)

OKAT+CPMS+CPMS ME 023ME 023ME 023

OKAT+CPMS=SMSMSM+CPMS 350350350

OK

923 AT+CMGF Select SMS message format

This command is used to specify the input and output format of the short messages

AT+CMGF Select SMS message format

Test CommandAT+CMGF=

Responsea)+CMGF (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CMGF

Responsea)+CMGF ltmodegt

OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 202451

Write CommandAT+CMGF=ltmodegt

Responsea)OKb)If failedERROR

Execution CommandAT+CMGF

Responsea)Set default value (ltmodegt=0)OKb)If failedERROR

Defined Values

ltmodegt 0 PDU mode1 Text mode

Example

AT+CMGF=1OK

924 AT+CSCA SMS service center address

This command is used to update the SMSC address through which mobile originated SMS are transmittedNote This command not support in CDMAEVDO mode

AT+CSCA SMS service center addressTest CommandAT+CSCA=

ResponseOK

Read CommandAT+CSCA

Response+CSCA ltscagtlttoscagt

OKWrite CommandAT+CSCA=ltscagt[lttoscagt]

ResponseOK

Defined Values

ltscagt Service Center Address value field in string format BCD numbers (orGSM 7 bit default alphabet characters) are converted to characters ofthe currently selected TE character set (refer to command AT+CSCS)type of address given by lttoscagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 203451

lttoscagt SC address Type-of-Address octet in integer format when firstcharacter of ltscagt is + (IRA 43) default is 145 otherwise default is129

Example

AT+CSCA=+8613012345678OKAT+CSCA+CSCA +8613012345678145

OK

925 AT+CSCB Select cell broadcast message indication

The test command returns the supported ltmodegts as a compound valueThe read command displays the accepted message typesDepending on the ltmodegt parameter the write command adds or deletes the message types acceptedNote This command not support in CDMAEVDO mode

AT+CSCB Select cell broadcast message indication

Test CommandAT+CSCB=

Responsea)+CSCB (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CSCB

Responsea)+CSCB ltmodegtltmidsgtltdcssgt

OKb)If failedERROR

Write CommandAT+CSCB=ltmodegt[ltmidsgt[ltdcssgt]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 204451

Defined Values

ltmodegt 0 message types specified in ltmidsgt and ltdcssgt are accepted1 message types specified in ltmidsgt and ltdcssgt are not accepted

ltmidsgt String type all different possible combinations of CBM messageidentifiers

ltdcssgt String type all different possible combinations of CBM data codingschemes(default is empty string)

Example

AT+CSCB=+CSCB (0-1)

OK

926 AT+CSMP Set text mode parameters

This command is used to select values for additional parameters needed when SM is sent to the network orplaced in storage when text format message mode is selectedNote This command not support in CDMAEVDO mode

AT+CSMP Set text mode parametersTest CommandAT+CSMP=

ResponseOK

Read CommandAT+CSMP

Response+CSMP ltfogtltvpgtltpidgtltdcsgt

OK

Write CommandAT+CSMP=[ltfogt[ltvpgt[ltpidgt[ltdcsgt]]]]

Responsea)OKb)If failedERROR

Defined Values

ltfogt Depending on the Command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17) SMS-STATUS-REPORTor SMS-COMMAND (default 2) in integer format SMS status report issupported under text mode if ltfogt is set to 49

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 205451

ltvpgt Depending on SMS-SUBMIT ltfogt setting GSM0340TP-Validity-Period either in integer format (default 167) intime-string format or if is supported in enhanced format(hexadecimal coded string with quotes)(ltvpgt is in range 0 255)

ltpidgt GSM 0340 TP-Protocol-Identifier in integer format (default 0)ltdcsgt GSM 0338 SMS Data Coding Scheme (default 0) or Cell Broadcast

Data Coding Scheme in integer format depending on the command orresult code

Example

AT+CSMP=172364244OK

927 AT+CSDH Show text mode parameters

This command is used to control whether detailed header information is shown in text mode result codesNote This command not support in CDMAEVDO mode

AT+CSDH Show text mode parameters

Test CommandAT+CSDH=

Responsea)+CSDH (range of supported ltshowgts)

OKb)If failedERROR

Read CommandAT+CSDH

Response+CSDH ltshowgt

OK

Write CommandAT+CSDH=ltshowgt

Responsea)OKb)If failedERROR

Execution CommandAT+CSDH

Responsea)Set default value (ltshowgt=0)OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 206451

Defined Values

ltshowgt 0 do not show header values defined in commands AT+CSCA andAT+CSMP (ltscagtlttoscagtltfogtltvpgtltpidgt and ltdcsgt) norltlengthgtlttodagtorlttooagt in +CMT AT+CMGL AT+CMGR resultcodes for SMS-DELIVERs and SMS-SUBMITs in text mode forSMS-COMMANDs in AT+CMGR result code do not showltpidgtltmngtltdagtlttodagtltlengthgtorltdatagt1 show the values in result codes

Example

AT+CSDH=1OK

928 AT+CNMA New message acknowledgement to META

This command is used to confirm successful receipt of a new message (SMS-DELIVER orSMS-STATUSREPORT) routed directly to the TE If ME does not receive acknowledgement within requiredtime (network timeout) it will send RP-ERROR to the networkNOTE The execute write command shall only be used when AT+CSMS parameter ltservicegt equals 1 (=phase 2+) and appropriate URC has been issued by the module ielt+CMTgt for ltmtgt=2 incoming message classes 0 1 3 and nonelt+CMTgt for ltmtgt=3 incoming message classes 0 and 3lt+CDSgt for ltdsgt=1Note This command not support in CDMAEVDO mode

AT+CNMA New message acknowledgement to META

Test CommandAT+CNMA=

Responseif text mode(AT+CMGF=1)OKif PDU mode (AT+CMGF=0)+CNMA (list of supported ltngts)

OK

Write CommandAT+CNMA=ltngt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR ltERRgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 207451

Execution CommandAT+CNMA

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltngt Parameter required only for PDU mode0 Command operates similarly as execution command in textmode1 Send positive (RP-ACK) acknowledgement to the networkAccepted only in PDU mode2 Send negative (RP-ERROR) acknowledgement to the networkAccepted only in PDU mode

Example

AT+CNMI=12000OK+CMT 1380022xxxx020403110638+32ltCRgtltLFgtTesting(receive new short message)AT+CNMA(send ACK to the network)OKAT+CNMA+CMS ERROR 340(the second time return error it needs ACK only once)

929 AT+CNMI New message indications to TE

This command is used to select the procedure how receiving of new messages from the network isindicated to the TE when TE is active eg DTR signal is ON If TE is inactive (eg DTR signal is OFF) If set

ltmtgt=3 orltdsgt=1 make sure ltmodegt=1 If set ltmtgt=2 make sure ltmodegt=1 or 2 otherwise it will

return error

AT+CNMI New message indications to TE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 208451

Test CommandAT+CNMI=

Response+CNMI (list of supported ltmodegts)(list of supported ltmtgts)(list ofsupported ltbmgts)(list of supported ltdsgts)(list of supported ltbfrgts)

OK

Read CommandAT+CNMI

Response+CNMI ltmodegtltmtgtltbmgtltdsgtltbfrgt

OK

Write CommandAT+CNMI=ltmodegt[ltmtgt[ltbmgt[ltdsgt [ltbfrgt]]]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Execution CommandAT+CNMI

ResponseSet default valueOK

Defined Values

ltmodegt 0 Buffer unsolicited result codes in the TA If TA result code bufferis full indications can be buffered in some other place or the oldestindications may be discarded and replaced with the new receivedindications1 Discard indication and reject new received message unsolicitedresult codes when TA-TE link is reserved (eg in on-line data mode)Otherwise forward them directly to the TE2 Buffer unsolicited result codes in the TA when TA-TE link isreserved (eg in on-line data mode) and flush them to the TE afterreservation Otherwise forward them directly to the TE

ltmtgt The rules for storing received SMS depend on its data codingscheme preferred memory storage (AT+CPMS) setting and thisvalue0 No SMS-DELIVER indications are routed to the TE1 If SMS-DELIVER is stored into META indication of the memorylocation is routed to the TE using unsolicited result code +CMTIltmem3gtltindexgt2 SMS-DELIVERs (except class 2 messages and messages inthe message waiting indication group (store message)) are routeddirectly to the TE using unsolicited result code+CMT [ltalphagt]ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled)or

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 209451

+CMTltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt(text mode enabled about parameters in italics refer command ShowText Mode Parameters AT+CSDH)3 Class 3 SMS-DELIVERs are routed directly to TE usingunsolicited result codes defined in ltmtgt=2 Messages of other datacoding schemes result in indication as defined in ltmtgt=1

ltbmgt (not used in CDMAEVDO mode)The rules for storing received CBMs depend on its data codingscheme the setting of Select CBM Types (AT+CSCB) and this value0 No CBM indications are routed to the TE2 New CBMs are routed directly to the TE using unsolicited resultcode+CBM ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CBM ltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt(text mode enabled)

ltdsgt (not used in CDMAEVDO mode)0 No SMS-STATUS-REPORTs are routed to the TE1 SMS-STATUS-REPORTs are routed to the TE using unsolicitedresult code+CDS ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CDS ltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt(text mode enabled)2 If SMS-STATUS-REPORT is stored into META indication of thememory location is routed to the TE using unsolicited result code+CDSI ltmem3gtltindexgt

ltbfrgt 0 TA buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 to 2 is entered (OK responseshall be given before flushing the codes)1 TA buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 to 2 is entered

Example

AT+CNMI=21 (unsolicited result codes after received messages)OK

9210 AT+CGSMS Select service for MO SMS messages

The write command is used to specify the service or service preference that the MT will use to send MOSMS messages

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 210451

The test command is used for requesting information on which services and service preferences can be setby using the AT+CGSMS write commandThe read command returns the currently selected service or service preferenceNote This command not support in CDMAEVDO mode

AT+CGSMS Select service for MO SMS messages

Test CommandAT+CGSMS=

Response+CGSMS (range of supported ltservicegts)

OK

Read CommandAT+CGSMS

Response+CGSMS ltservicegt

OK

Write CommandAT+CGSMS=ltservicegt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt A numeric parameter which indicates the service or servicepreference to be used0 GPRS(value is not really supported and is internally mapped to 2)1 circuit switched(value is not really supported and is internallymapped to 3)2 GPRS preferred (use circuit switched if GPRS not available)3 circuit switched preferred (use GPRS if circuit switched notavailable)

Example

AT+CGSMS+CGSMS 3

OK

9211 AT+CMGL List SMS messages from preferred store

This command is used to return messages with status value ltstatgt from message storage ltmem1gt to the

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 211451

TEIf the status of the message is received unread the status in the storage changes to received read

AT+CMGL List SMS messages from preferred store

Test CommandAT+CMGL=

Response+CMGL (list of supported ltstatgts)

OK

Write CommandAT+CMGL=ltstatgt

Responsea)If text mode (AT+CMGF=1) command successful andSMS-SUBMITs andor SMS-DELIVERs+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[]]

OKb)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORTs+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[ltCRgtltLFgt+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[]]

OKc)If text mode (AT+CMGF=1) command successful and SMS-COMMANDs+CMGL ltindexgtltstatgtltfogtltctgt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltfogtltctgt[]]

OKd)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[]]

OKe)If PDU mode (AT+CMGF=0) and Command successful+CMGL

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 212451

ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt[ltCRgtltLFgt+CMGL ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

[hellip]]

OKf)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)lttooagt TP-Originating-Address Type-of-Address octet in integer format

(default refer lttodagt)lttodagt TP-Destination-Address Type-of-Address octet in integer format

(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 213451

(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt Status

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 214451

GSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGL=ALL+CMGL 9REC READ+861310jeck200520093100+32145000+86131452hi+CMGL 10REC READ+861310leo200520093225+32145000+86131454Fine

OK

9212 AT+CMGR Read message

This command is used to return message with location value ltindexgt from message storage ltmem1gt tothe TE

AT+CMGR Read messageTest CommandAT+CMGR=

ResponseOK

Write CommandAT+CMGR=ltindexgt

a)If text mode (AT+CMGF=1) command successful and SMS-DELIVER+CMGRltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 215451

OKb)If text mode (AT+CMGF=1) command successful and SMS-SUBMIT+CMGRltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORT+CMGR ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode (AT+CMGF=1) command successful and SMS-COMMAND+CMGRltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgt]ltCRgtltLFgtltdatagt

OKe)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGRltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode (AT+CMGF=0) and Command successful+CMGR ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 216451

3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltpidgt Protocol IdentifierGSM 0340 TP-Protocol-Identifier in integer format0hellip255

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltdcsgt Depending on the command or result code SMS Data CodingScheme (default 0) or Cell Broadcast Data Coding Scheme ininteger format

ltscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

lttoscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)ltdagt Destination-Address Address-Value field in string format BCD

numbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 217451

b If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltvpgt Depending on SMS-SUBMIT ltfogt setting TP-Validity-Period eitherin integer format (default 167) or in time-string format (refer ltdtgt)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt StatusGSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 218451

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmngt Message NumberGSM 0340 TP-Message-Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGR=1+CMGR STO UNSENT+100111451700167+861380010050014511Hello World

OK

9213 AT+CMGS Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)

AT+CMGS Send messageTest CommandAT+CMGS=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGS=ltdagt[lttodagt]ltCRgtText is enteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGS=ltlengthgtltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGS ltmrgt[lttime_stampgt]

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 219451

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMGS=13012832788ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGS 46

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9214 AT+CMSS Send message from storage

This command is used to send message with location value ltindexgt from preferred message storageltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)

AT+CMSS Send message from storageTest CommandAT+CMSS=

ResponseOK

Write CommandAT+CMSS=ltindexgt [ltdagt[lttodagt]]

Responsea)+CMSS ltmrgt[lttime_stampgt]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 220451

b)If failedERRORc)If sending fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

Example

AT+CMSS=3+CMSS 0

OKAT+CMSS=313012345678+CMSS 55

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9215 AT+CMGW Write message to memory

This command is used to store message (either SMS-DELIVER or SMS-SUBMIT) to memory storageltmem2gt

AT+CMGW Write message to memoryTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 221451

AT+CMGW= OK

Write CommandIf text mode (AT+CMGF=1)AT+CMGW=ltoagtltdagt[lttooagtlttodagt[ltstatgt]]ltCRgtText isenteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGW=ltlengthgt[ltstatgt]ltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If write successfully+CMGW ltindexgt

OKb)If cancel writeOKc)If write failsERRORd)If write fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltstatgt 1 Text ModeSTO UNSENT stored unsent messageSTO SENT stored sent message2 PDU Mode2 stored unsent message3 stored sent message

Example

AT+CMGW=13012832788 ltCRgt (TEXT MODE)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 222451

ABCDltctrl-ZESCgt+CMGW 1

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9216 AT+CMGD Delete message

This command is used to delete message from preferred message storage ltmem1gt location ltindexgt Ifltdelflaggt is present and not set to 0 then the ME shall ignore ltindexgt and follow the rules for ltdelflaggtshown below

AT+CMGD Delete message

Test CommandAT+CMGD=

Response+CMGD (list of supported ltindexgts)[(list of supportedltdelflaggts)]

OK

Write CommandAT+CMGD=ltindexgt[ltdelflaggt]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdelflaggt 0 (or omitted) Delete the message specified in ltindexgt1 Delete all read messages from preferred message storageleaving unread messages and stored mobile originated messages(whether sent or not) untouched2 Delete all read messages from preferred message storage andsent mobile originated messages leaving unread messages andunsent mobile originated messages untouched

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 223451

3 Delete all read messages from preferred message storage sentand unsent mobile originated messages leaving unread messagesuntouched4 Delete all messages from preferred message storage includingunread messages

Example

AT+CMGD=1OK

If set ltdelflaggt=1 2 3 or 4 ltindexgt is omitted such as AT+CMGD=1

9217 AT+CMGMT Change message status

This command is used to change the message status If the status is unread it will be changed read Other

statuses donrsquot change

Note This command not support in CDMAEVDO mode

AT+CMGMT Change message statusTest CommandAT+CMGMT=

ResponseOK

Write CommandAT+CMGMT=ltindexgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

Example

AT+CMGMT=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 224451

9218 AT+CMVP Set message valid period

This command is used to set valid period for sending short messageNote This command not support in CDMAEVDO mode

AT+CMVP Set message valid period

Test CommandAT+CMVP=

Response+CMVP (range of supported ltvpgts)

OK

Read CommandAT+CMVP

Response+CMVP ltvpgt

OK

Write CommandAT+CMVP=ltvpgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltvpgt Validity period value0 to 143 (ltvpgt+1) x 5 minutes (up to 12 hours)144 to 167 12 hours + (ltvpgt-143) x 30 minutes168 to 196 (ltvpgt-166) x 1 day197 to 255 (ltvpgt-192) x 1 week

Example

AT+CMVP=167OK

9219 AT+CMGRD Read and delete message

This command is used to read message and delete the message at the same time It integrate AT+CMGR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 225451

and AT+CMGD but it doesnrsquot change the message status

Note This command not support in CDMAEVDO mode

AT+CMGRD Read and delete messageTest CommandAT+CMGRD=

ResponseOK

Write CommandAT+CMGRD=ltindexgt

Responsea)If text mode(AT+CMGF=1)command successful andSMS-DE-LIVER+CMGRDltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKb)If text mode(AT+CMGF=1)command successful and SMS-SU-BMIT+CMGRDltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode(AT+CMGF=1)command successful and SMS-STA-TUS- REPORT+CMGRD ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode(AT+CMGF=1)command successful andSMS-CO-MMAND+CMGRDltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgtltCRgtltLFgtltdatagt]

OKe)If text mode(AT+CMGF=1)command successful and CBM sto-rage+CMGRDltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode(AT+CMGF=0) and command successful+CMGRD ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 226451

ERRORh)If failed+CMS ERROR lterrgt

Defined Values

Refer to command AT+CMGR

Example

AT+CMGRD=6+CMGRD REC READ+8613917787249060710120938+32145400+86138002105001455HELLO

OK

9220 AT+CMGSEX Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)Note This command not support in CDMAEVDO mode

AT+CMGSEX Send messageTest CommandAT+CMGSEX=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGSEX=ltdagt[lttodagt][ltmrgtltmsg_seggtltmsg_totalgt]ltCRgtText is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGSEX ltmrgt

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 227451

address given by lttodagtlttodagt TP-Destination-Address Type-of-Address octet in integer format

(When first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format Themaximum length is 255

ltmsg_seggt The segment number for long smsltmsg_totalgt The total number of the segments for long sms Its range is from 2 to

255

Example

AT+CMGSEX=13012832788 190 1 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 190

OKAT+CMGSEX=13012832788 190 2 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 191

OK

In text mode the maximum length of an SMS depends on the used coding scheme For single SMS itis 160 characters if the 7 bit GSM coding scheme is used For multiple long sms it is 153 characters ifthe 7 bit GSM coding scheme is used

9221 AT+CMSSEX Send multi messages from storage

This command is used to send messages with location value ltindex1gtltindex2gtltindex3gt hellip from

preferred message storage ltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)The max count ofindex is 13 one time Set AT+CNMI parameter ltdsgt equal to 0Note This command not support in CDMAEVDO mode

AT+CMSSEX Send multi messages from storageTest CommandAT+CMSSEX=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 228451

Write CommandAT+CMSSEX=ltindexgt[ltindex

gt[hellip ]]

Responsea)

+CMSSEX ltmrgt[ltmrgt[hellip]]

OKb)If failedERRORc)If sending fails

[+CMSSEX ltmrgt[ltmrgt[hellip]]]

+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMSSEX=01+CMSSEX 239240

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 229451

10AT Commands for SSL

101 Overview of AT Commands for SSL

Command DescriptionAT+CCHSTART Start SSL serviceAT+CCHSTOP Stop SSL serviceAT+CCHOPEN Connect to SSL serverAT+CCHCLOSE Disconnect from SSL serverAT+CCHSEND Send data to SSL serverAT+CCHRECV Read the cached data that received from the SSL serverAT+CCHCFG Configure the client contextAT+CCHSSLCFG Set the SSL contextAT+CCHSET Configure the report mode of sending and receiving dataAT+CCHMODE Configure the mode of sending and receiving dataAT+CCHADDR Get the IPV4 addressAT+CSSLCFG Configure the SSL contextAT+CCERTDOWN Download certificate into the moduleAT+CCERTLIST List certificatesAT+CCERTDELE Delete certificates

102 Detailed Description of AT Commands for SSL

1021 AT+CCHSTART Start SSL service

AT+CCHSTART Start SSL service

Execution CommandAT+CCHSTART

Responsea)If start SSL service successfullyOK

+CCHSTART 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 230451

b)If start SSL service successfully+CCHSTART 0

OKc)If failedERRORd)If failedOK

+CCHSTART lterrgtParameter Saving Mode -Max Response Time 120000msReference

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTARTOK

+CCHSTART 0

You must execute AT+CCHSTART before any other SSL related operations

1022 AT+CCHSTOP Stop SSL service

AT+CCHSTOP Stop SSL service

Execution CommandAT+CCHSTOP

Responsea)If stop SSL service successfully+CCHSTOP 0

OKb)If stop SSL service successfullyOK

+CCHSTOP 0c)If failed

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 231451

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTOPOK

+CCHSTOP 0

1023 AT+CCHOPEN Connect to SSL server

AT+CCHOPEN Connect to SSL serverTest CommandAT+CCHOPEN=

Response+CCHOPEN (01)ADDRESS(1-65535)[(1-2)[(1-65535)]]

OKRead CommandAT+CCHOPEN

ResponseIf connect to a server it will show the connected information Otherwisethe connected information is empty+CCHOPEN 0lthostgtltportgtltclient_typegt[ltbind_portgt]+CCHOPEN 1lthostgtltportgtltclient_typegt[ltbind_portgt]

OKWrite CommandAT+CCHOPEN=ltsession_idgthostltportgt[ltclient_typegt[ltbind_portgt]]

Responsea)If connect successfully+CCHOPEN ltsession_idgt0

OKb)If connect successfullyOK

+CCHOPEN ltsession_idgt0c)If connect successfully in transparent modeCONNECT [lttextgt]d)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 232451

OK

+CCHOPEN ltsession_idgtlterrgte)If failedERRORf)If failed in transparent modeCONNECT FAIL

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lthostgt The server address maximum length is 256 bytesltportgt The server port which to be connected the range is from 1 to 65535ltclient_typegt The type of client

1 ndash TCP client2 ndash SSLTLS clientDefault value is 2

ltbind_portgt The local port for channel the range is from 1 to 65535 Deault isassigned by internal protocol stack

lttextgt CONNECT result code string the string formats please referATXATVATampE command

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CCHOPEN=0wwwbaiducom4432OK

+CCHOPEN 00

If you donrsquot set the SSL context by AT+CCHSSLCFG before connecting a SSLTLS server byAT+CCHOPEN it will use the ltsession_idgt(the 1rsquost parameter of AT+CCHOPEN) SSL context whenconnecting to the server

1024 AT+CCHCLOSE Disconnect from SSL server

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 233451

AT+CCHCLOSE Disconnect from SSL serverWrite CommandAT+CCHCLOSE=ltsession_idgt

Responsea)If successfully+CCHCLOSE ltsession_idgt0

OKb)If successfullyOK

+CCHCLOSE ltsession_idgt0c)If successfully in transparent modeOK

CLOSEDd)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CCHCLOSE=0OK

+CCHCLOSE 00

1025 AT+CCHSEND Send data to SSL server

AT+CCHSEND Send data to SSL serverTest CommandAT+CCHSEND=

Response+CCHSEND (01)(1-2048)

OKRead CommandAT+CCHSEND

Response+CCHSEND 0ltunsent_len_0gt1ltunsent_len_1gt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 234451

OKWrite CommandAT+CCHSEND=ltsession_idgtltlengt

Responsea)if parameter is rightgtltinput data heregtWhen the total size of the inputted data reaches ltlengt TA will reportthe following code Otherwise the serial port will be blockedOKb)If parameter is wrong or other errors occurERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1ltlengt The length of data to send Its range is from 1 to 2048 bytesltunsent_len_0gt The data of connection 0 cached in sending buffer which is waiting to

be sentltunsent_len_1gt The data of connection 1 cached in sending buffer which is waiting to

be sent

Example

AT+CCHSEND=0125gtGET HTTP11Host wwwgooglecomhkUser-Agent MAUI htp User AgentProxy-Connection keep-aliveContent-Length 0

OK

1026 AT+CCHRECV Read the cached data that received from the SSL server

AT+CCHRECV Read the cached data that received from the SSL serverRead CommandAT+CCHRECV

Response+CCHRECV LENltcache_len_0gtltcache_len_1gt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 235451

Write CommandAT+CCHRECV=ltsession_idgt[ltmax_recv_lengt]

Responsea)if parameter is right and there are cached dataOK

[+CCHRECV DATAltsession_idgtltlengthellip+CCHRECV DATAltsession_idgtltlengthellip]+CCHRECV ltsession_idgtlterrgtb) if session is busy+CCHRECV ltsession_idgtlterrgt

ERRORc) if parameter is not right or any other error occursERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltmax_recv_lengt Maximum bytes of data to receive in the current AT+CCHRECV

calling It will read all the received data when the value is greater thanthe length of RX data cached for session ltsession_idgt0 means the maximum bytes to receive is 2048 bytes (But when2048 is greater than the length of RX data cached for sessionltsession_idgt 0 means the length of RX data cached for sessionltsession_idgt)The default value is the length of RX data cached for sessionltsession_idgtIt will be not allowed when there is no data in the cache

ltcache_len_0gt The length of RX data cached for connection 0ltcache_len_1gt The length of RX data cached for connection 1ltlengt The length of data followedlterrgt String type displays the cause of occurring error please refer to

Chapter 103 for details

Example

AT+CCHRECV=1OK

+CCHRECV DATA1249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 236451

HTTP11 200 OKContent-Type texthtmlContent-Language zh-CNContent-Length 57Date Tue 31 Mar 2009 015605 GMTConnection CloseProxy-Connection Close

lthtmlgtltheadergttestltheadergtltbodygtTest bodyltbodygt+CCHRECV 10

1027 AT+CCHADDR Get the IPV4 address

AT+CCHADDR Get the IPV4 address

Execution CommandAT+CCHADDR

Response+CCHADDR ltip_addressgt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt A string parameter that identifies the IPv4 address after PDPactivated

Example

AT+CCHADDR+CCHADDR 1071155118

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 237451

1028 AT+CCHCFG Configure the client context

AT+CCHCFG Configure the client contextTest CommandAT+CCHCFG=

Response+CCHCFG sendtimeout(0-1)(60-150)+CCHCFG sslctx(0-1)(0-9)

OKRead CommandAT+CCHCFG

Response+CCHCFG 0ltsendtimeout_valgtltsslctx_indexgt+CCHCFG 1ltsendtimeout_valgtltsslctx_indexgt

OKWrite Command

Configure the timeout valueof the specified client whensending data

AT+CCHCFG=sendtimeoutltsession_idgtltsendtimeout_valgt

ResponseIf successfullyOKIf failedERROR

Write Command

Configure the SSL contextindex itrsquos as same asAT+CSSLCFG

AT+CCHCFG=sslctxltsession_idgtltsslctx_indexgt

ResponseIf successfullyOKIf failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltsendtimeout_valgt The timeout value used in sending data stage The range is 60-150

seconds The default value is 150ltsslctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHCFG=sendtimeout060

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 238451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSE

1029 AT+CCHSSLCFG Set the SSL context

AT+CCHSSLCFG Set the SSL contextTest CommandAT+CCHSSLCFG=

Response+CCHSSLCFG (01)(0-9)

OKRead CommandAT+CCHSSLCFG

Response+CCHSSLCFG ltsession_idgt[ssl_ctx_index]+CCHSSLCFG ltsession_idgt[ssl_ctx_index]

OKWrite CommandAT+CCHSSLCFG=ltsession_idgtltssl_ctx_indexgt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHSSLCFG=+CCHSSLCFG (01)(0-9)

OKAT+CCHSSLCFG=11

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 239451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSEIf you donrsquot set the SSL context by this command before connecting to SSLTLS server byAT+CCHOPEN the CCHOPEN operation will use the SSL context as same as index ltsession_idgt (the1st parameter of AT+CCHOPEN) when connecting to the server

10210AT+CCHMODE Configure the mode of sending and receiving data

AT+CCHMODE Configure the mode of sending and receiving modeTest CommandAT+CCHMODE=

Response+CCHMODE (01)

OKRead CommandAT+CCHMODE

Response+CCHMODE ltmodegt

OKWrite CommandAT+CCHMODE=ltmodegt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt The mode value0ndashNormal1ndashTransparent modeThe default value is 0

Example

AT+CCHMODE=+CCHMODE (01)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 240451

OKAT+CCHMODE=1OK

NOTE

This command must be called before AT+CCHSTARTThere is only one session in the transparent mode itrsquos the first session

10211 AT+CCHSET Configure the report mode of sending and receiving data

AT+CCHSET Configure the report mode of sending and receiving dataTest CommandAT+CCHSET=

Response+CCHSET (01)(01)

OKRead CommandAT+CCHSET

Response+CCHSET ltreport_send_resultgtltrecv_modegt

OKWrite CommandAT+CCHSET=ltreport_send_resultgt[ltrecv_modegt]

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltreport_send_resultgt Whether to report result of CCHSEND the default value is 00 ndash No1 ndash Yes Module will report +CCHSEND ltsession_idgtlterrgt to MCUwhen complete sending data

ltrecv_modegt The receiving mode the default value is 00 ndash Output the data to MCU whenever received data1 ndash Module caches the received data and notifies MCU with+CCHEVENT ltsession_idgt RECV EVENTMCU can useAT+CCHRECV to receive the cached data (only in manual receivingmode)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 241451

Example

AT+CCHSET=+CCHSET (01)(01)

OKAT+CCHSET=11OK

This command must be called before AT+CCHSTART

10212AT+CSSLCFG Configure the SSL context

AT+CSSLCFG Configure the SSL contextTest CommandAT+CSSLCFG=

Response+CSSLCFG sslversion(0-9)(0-4)+CSSLCFG authmode(0-9)(0-3)+CSSLCFG ignorelocaltime(0-9)(01)+CSSLCFG negotiatetime(0-9)(10-300)+CSSLCFG cacert(0-9)(5-128)+CSSLCFG clientcert(0-9)(5-128)+CSSLCFG clientkey(0-9)(5-128)+CSSLCFG enableSNI(0-9)(01)+CSSLCFG keypwd(0-9)(0-128)+CSSLCFG ciphersuites(0-9)(0x002F0xFFFF)

OKRead CommandAT+CSSLCFG

Response+CSSLCFG0ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG1ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG2ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 242451

+CSSLCFG3ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG4ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG5ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG6ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG7ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG8ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG9ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Query the configuration of thespecified SSL context AT+CSSLCFG=ltssl_ctx_indexgt

Response+CSSLCFGltssl_ctx_indexgtltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Configure the version of thespecified SSL context

AT+CSSLCFG=sslversionltssl_ctx_indexgtltsslversiongt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the authentication

Responsea)If successfully

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 243451

of the specified SSL context

AT+CSSLCFG=authmodeltssl_ctx_indexgtltauthmodegt

OKb)If failedERROR

Write Command Configure the ignore localtime flag of the specified SSLcontext

AT+CSSLCFG=ignorelocaltimeltssl_ctx_indexgtltignoreltimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the negotiatetimeout value of the specifiedSSL context

AT+CSSLCFG=negotiatetimeltssl_ctx_indexgtltnegotiatetimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the server root CAof the specified SSL context

AT+CSSLCFG=cacertltssl_ctx_indexgtltca_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client certificateof the specified SSL context

AT+CSSLCFG=clientcertltssl_ctx_indexgtltclientcert_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client key of thespecified SSL context

AT+CSSLCFG=clientkeyltssl_ctx_indexgtltclientkey_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the enableSNI flagof the specified SSL context

AT+CSSLCFG=enableSNIlt

Responsea)If successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 244451

ssl_ctx_indexgtltenableSNI_FlaggtWrite Command Configure the password ofthe specified SSL context

AT+CSSLCFG=keypwdltssl_ctx_indexgtltkeypwdgt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the ciphersuite ofthe specified SSL context

AT+CSSLCFG=ciphersuitesltssl_ctx_indexgtltciphersuitesgt

Responsea)If successfullyOKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltssl_ctx_indexgt The SSL context ID The range is 0-9ltsslversiongt The SSL version the default value is 4

0 ndash SSL301 ndash TLS102 ndash TLS113 ndash TLS124 ndash All

The configured version should be support by server So you shoulduse the default value if you canrsquot confirm the version which the serversupported

ltauthmodegt The authentication mode the default value is 00 ndash no authentication1 ndashserver authentication It needs the root CA of the server2 ndashserver and client authentication It needs the root CA of the server

the cert and key of the client3ndashclient authentication and no server authentication It needs the certand key of the client

ltignoreltimegt The flag to indicate how to deal with expired certificate the defaultvalue is 10 ndash care about time check for certification1 ndash ignore time check for certification

When set the value to 0 it need to set the right current date and time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 245451

by AT+CCLK when need SSL certificationltnegotiatetimegt The timeout value which is used in SSL negotiating stage The range

is 10-300 seconds The default value is 300ltca_filegt The root CA file name of SSL context The file name must have type

like pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientcert_filegt The client cert file name of SSL context The file name must have typelike pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientkey_filegt The client key file name of SSL context The file name must have typelike pem or derThe length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltenableSNI_flaggt The flag to indicate that enable the SNI flag or not the default value is00 ndash not enable SNI1 ndash enable SNI

ltkeypwdgt The password of the client key file of SSL context When the clientneeds to be authorized client key file is needed Because the clientkey file may be encrypted we need theltkeypwdgt to decrypt it The length of ltkeypwdgt is from 0 to 128bytes

ltciphersuitesgt Numeric type SSL ciphersuites The default value is 0xFFFF

0x002F TLS_RSA_WITH_AES_128_CBC_SHA

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 246451

0xFFFF Support all

Example

AT+CSSLCFG=sslversion11OK

10213AT+CCERTDOWN Download certificate into the module

AT+CCERTDOWN Download certificate into the moduleTest CommandAT+CCERTDOWN=

Response+CCERTDOWN (5-128)(1-10240)

OKWrite CommandAT+CCERTDOWN=ltfilenamegtltlengt

Responsea)If it can be downloadgtltinput data heregt

OKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

ltlengt The length of the file data to send The range is from 1 to 10240 bytes

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 247451

AT+CCERTDOWN=client_keyder611gtfile contenthelliphellipOK

10214AT+CCERTLIST List certificates

AT+CCERTLIST List certificatesExecution CommandAT+CCERTLIST

Response[+CCERTLIST ltfile_namegt[+CCERTLIST ltfile_namegt]hellipltCRgtltLFgt]OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfile_namegt The certificatekey files which has been downloaded to the moduleIf the filename contains non-ASCII characters it will show thenon-ASCII characters as UTF8 code

Example

AT+CCERTLIST+CCERTLIST ca_certder+CCERTLIST client_keypem

OK

10215AT+CCERTDELE Delete certificates

AT+CCERTDELE Delete certificatesWrite CommandAT+CCERTDELE=ltfilenamegt

Responsea)If delete successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 248451

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

Example

AT+CCERTDELE=server_caderOK

103 Command result lterrgt codes

Result Code Meaning0 Operation succeeded

1 Alerting state(reserved)

2 Unknown error

3 Busy

4 Peer closed

5 Operation timeout

6 Transfer failed

7 Memory error

8 Invalid parameter

9 Network error

10 Open session error

11 State error

12 Create socket error

13 Get DNS error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 249451

14 Connect socket error

15 Handshake error

16 Close socket error

17 Nonet

18 Send data timeout

19 Not set certificates

104 Unsolicited result codes

Information Description+CCHEVENT ltsession_idgtRECVEVENT

In manual receiving mode when new data of a connectionarriving to the module this unsolicited result code will bereported to MCU

+CCH_RECV_CLOSEDltsession_idgtlterrgt

When receive data occurred any error this unsolicited resultcode will be reported to MCU

+CCH_PEER_CLOSEDltsession_idgt

The connection is closed by the server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 250451

11AT Commands for TCPIP

111 Overview of AT Commands for TCPIP

Command DescriptionAT+NETOPEN Start TCPIP serviceAT+NETCLOSE Stop TCPIP serviceAT+CIPOPEN Setup TCPUDP client socket connectionAT+CIPCLOSE Destroy TCPUDP client socket connectionAT+CIPSEND Send TCPUDP dataAT+CIPRXGET Retrieve TCPUDP buffered dataAT+IPADDR Get IP address of PDP contextAT+CIPHEAD Add an IP header when receiving dataAT+CIPSRIP Show remote IP address and portAT+CIPMODE Select TCPIP application modeAT+CIPSENDMODE Set sending modeAT+CIPTIMEOUT Set TCPIP timeout valueAT+CIPCCFG Configure parameters of socketAT+SERVERSTART Startup TCP serverAT+SERVERSTOP Stop TCP serverAT+CIPACK Query TCP connection data transmitting statusAT+CDNSGIP Query the IP address of given domain nameAT+CDNSGHNAME Query the domain name of given IP addressAT+CIPDNSSET Set DNS query parametersAT+CPING Ping destination addressAT+CPINGSTOP Stop an ongoing ping session

112 Detailed Description of AT Commands for TCPIP

1121 AT+NETOPEN Start TCPIP service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 251451

AT+NETOPEN Start TCPIP serviceRead CommandAT+NETOPEN

Response+NETOPEN ltnet_stategt

OK

Execution CommandAT+NETOPEN

ResponseIf the PDP context has not been activated or the network closedabnormally responseOK

+NETOPEN lterrgtwhen the PDP context has been activated successfully if you executeAT+NETOPEN again response+IP ERROR Network is already opened

ERROR

otherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltnet_stategt Integer type which indicates the state of PDP context activation0 network close (deactivated)1 network open(activated)

lterrgt Integer type the result of operation 0 is success other value is failure

Example

AT+NETOPENOK

+NETOPEN 0AT+NETOPEN+NETOPEN 1

OK

You must execute AT+NETOPEN before any other TCPUDP related operations

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 252451

1122 AT+NETCLOSE Stop TCPIP service

AT+NETCLOSE Stop TCPIP service

Execution CommandAT+NETCLOSE

ResponseIf the PDP context has been activated responseOK

+NETCLOSE lterrgtIf the PDP context has not been activated response+NETCLOSE lterrgt

ERROR

otherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+NETCLOSEOK

+NETCLOSE 0

AT+NETCLOSE can close all the opened socket connections when you didnrsquot close theseconnections by AT+CIPCLOSE

1123 AT+CIPOPEN Setup TCPUDP client socket connection

AT+CIPOPEN Setup TCPUDP client socket connection

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 253451

Test CommandAT+CIPOPEN=

Response+CIPOPEN (0-9)(TCPUDP)

OKRead CommandAT+CIPOPEN

Response+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt]+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt][hellip]

OKIf a connection identified by ltlink_numgthas not been establishedsuccessfully +CIPOPEN ltlink_numgt will be returned

Write CommandTCP connectionAT+CIPOPEN=ltlink_numgtTCPltserverIPgtltserverPortgt[ltlocalPortgt]

Responseif PDP context has been activated successfully responseOK

+CIPOPEN ltlink_numgtlterrgtwhen the ltlink_numgt is greater than 10 response+IP ERROR Invalid parameter

ERROR

If PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for TCP connectionWhen you want to use transparent mode to transmit data you should setAT+CIPMODE=1 before AT+NETOPEN And if AT+CIPMODE=1 is setthe ltlink_numgt is restricted to be only 0if successCONNECT [lttextgt]

if failureCONNECT FAIL

otherERROR

Write CommandUDP connectionAT+CIPOPEN=ltlink_numgtUDPltlocalPortgt

if PDP context has been activated successfully response+CIPOPEN ltlink_numgt0

OKwhen the ltlink_numgt is greater than 10 response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 254451

+IP ERROR Invalid parameter

ERRORIf PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for UDP connectionWhen you want to use transparent mode to transmit UDP data youshould set AT+CIPMODE=1 before AT+NETOPEN And ifAT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0ltserverIPgt and ltserverPortgt should be set if AT+CIPMODE=1

if successCONNECT [lttextgt]

if failureCONNECT FAIL

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9If AT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0

lttypegt String type identifies the type of transmission protocolTCP Transmission Control ProtocolUDP User Datagram Protocol

ltserverIPgt String type identifies the IP address of server The IP address formatconsists of 4 octets separated by decimal point likeAAABBBCCCDDD Also the domain name is supported hereNOTEIf the domain name is inputted here the timeout value for theAT+CIPOPEN shall be decided by AT+CIPDNSSET

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalid

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 255451

operationltlocalPortgt Integer type identifies the port of local socket range is 0-65535ltindexgt Integer type which indicates whether the module is used as a client or

serverWhen used as server the range is 0-3ltindexgt is the server index towhich the client is linked(-1) ndash TCPUDP client(0-3) ndash TCP server index

lttextgt String type which indicates CONNECT result code Please refer toATXATVATampE command for the string formats

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPOPEN=0TCP11622822151100OK

+CIPOPEN 00AT+CIPOPEN=1UDP8080+CIPOPEN 10

OKAT+CIPOPEN=+CIPOPEN (0-9)(TCPUDP)

OKAT+CIPOPEN+CIPOPEN 0TCP11622822151100-1+CIPOPEN 1+CIPOPEN 2+CIPOPEN 3+CIPOPEN 4+CIPOPEN 5+CIPOPEN 6+CIPOPEN 7+CIPOPEN 8+CIPOPEN 9

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 256451

1124 AT+CIPCLOSE Destroy TCPUDP client socket connection

AT+CIPCLOSE Destroy TCPUDP client socket connectionTest CommandAT+CIPCLOSE=

Response+CIPCLOSE (0-9)

OKRead CommandAT+CIPCLOSE

Response+CIPCLOSEltlink0_stategtltlink1_stategtltlink2_stategtltlink3_stategtltlink4_stategtltlink5_stategtltlink6_stategtltlink7_stategtltlink8_stategtltlink9_stategt

OKWrite CommandAT+CIPCLOSE=ltlink_numgt

ResponseIf service type is TCP and the connection identified by ltlink_numgthas been established responseOK

+CIPCLOSE ltlink_numgtlterrgtIf service type is TCP and the access mode is transparent moderesponseOK

CLOSED

+CIPCLOSE ltlink_numgtlterrgtIf service type is UDP and the connection identified by ltlink_numgthas been established response+CIPCLOSE ltlink_numgt0

OKIf service type is UDP and access mode is transparent moderesponseCLOSED

+CIPCLOSE ltlink_numgtlterrgt

OKIf the connection has not been established abnormally closed orparameter is incorrect response+CIPCLOSE ltlink_numgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 257451

OtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type which identifies a connection Range is 0-9ltlink_stategt Integer type which indicates the state ofconnection identified by

ltlink_numgt Range is 0-10 ndash disconnected1 ndash connected

lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CIPCLOSE+CIPCLOSE 1000000000

OKAT+CIPCLOSE=+CIPCLOSE (0-9)

OKAT+CIPCLOSE=0OK

+CIPCLOSE 00

1125 AT+CIPSEND Send TCPUDP data

AT+CIPSEND Send TCPUDP dataTest CommandAT+CIPSEND=

Response+CIPSEND (0-9)(1-1500)

OKWrite CommandIf service type is TCP senddata with changeable length

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 258451

AT+CIPSEND=ltlink_numgt

Response gt then type datato send tap CTRL+Z to senddata tap ESC to cancel theoperation

gtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is TCP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with changeable length

AT+CIPSEND=ltlink_numgtltserverIPgtltserverPortgt

Response gt then type datato send tap CTRL+Z to send

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 259451

data tap ESC to cancel theoperation

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgtltserverIPgtltserverPortgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengthgt Integer type indicates the length of sending data range is 1-1500ltserverIPgt String type which identifies the IP address of server

The IP address format consists of 4 octets separated by decimalpoint like AAABBBCCCDDD

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalidoperation

ltreqSendlengthgt Integer typethe length of the data requested to be sentltcnfSendLengthgt Integer type the length of the data confirmed to have been sent

-1 the connection is disconnected0 own send buffer or other sidersquos congestion window are full

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 260451

Note If the ltcnfSendLengthgt is not equal to the ltreqSendLengthgtthe socket then cannot be used further

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPSEND=01gtSOK

+CIPSEND 011AT+CIPSEND=11116236221756775gtSOK

+CIPSEND 111AT+CIPSEND=2gtHelloltCtrl+ZgtOK

+CIPSEND 255AT+CIPSEND=3116236221756775gtHello WorldltCtrl+ZgtOK

+CIPSEND 31111AT+CIPSEND=2gtHelloltESCgtERRORAT+CIPSEND=+CIPSEND (0-9)(1-1500)

OK

Each ltCtrl+Zgt character present in the data should be coded as ltETXgtltCtrl+Zgt Each ltESCgtcharacter present in the data should be coded as ltETXgtltESCgt Each ltETXgt character will be codedas ltETXgtltETXgt Single ltCtrl+Zgt means end of the input data Single ltESCgt is used to cancel thesendingltETXgt is 0x03 and ltCtrl+Zgt is 0x1AandltESCgt is 0x1B

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 261451

1126 AT+CIPRXGET Retrieve TCPUDP buffered data

AT+CIPRXGET Retrieve TCPUDP buffered dataTest CommandAT+CIPRXGET=

Response+CIPRXGET (0-4)(0-9)(1-1500)

OKRead CommandAT+CIPRXGET

Response+CIPRXGET ltmodegt

OKWrite CommandAT+CIPRXGET=ltmodegtIn this case ltmodegt can onlybe 0 or 1

ResponseIf the parameter is correct responseOKElse responseERROR

Write CommandAT+CIPRXGET=2ltlink_numgt[ltlengt]Retrieve data in ACSII form

ResponseIf ltlengthgt field is empty the default value to read is 1500If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagtACSII form

OKIf the buffer is empty response+IP ERROR No data

ERRORIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=3ltlink_numgt[ltlengt]Retrieve data in hex form

ResponseIf ltlengthgt field is empty the default value to read is 750If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagthex form

OKIf the buffer is empty response+IP ERROR No data

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 262451

If the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=4ltlink_numgt

ResponseIf the parameter is correct response+CIPRXGET 4ltlink_numgtltrest_lengt

OKIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets the mode to retrieve data Default value is 00 set the way to get the network data automatically1 set the way to get the network data manually2 read data the max read length is 15003 read data in HEX form the max read length is 7504 get the rest data length

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengt Integer type the data length to be read

Not required the default value is 1500 when ltmodegt=2 and 750when ltmodegt=3

ltread_lengt Integer type the length of data that has been readltrest_lengt Integer type the length of data which has not been read in the bufferlterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPRXGET=+CIPRXGET (0-4)(0-9)(1-1500)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 263451

AT+CIPRXGET+CIPRXGET 1

OKAT+CIPRXGET=1OKAT+CIPRXGET=20100+CIPRXGET 2010013000123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789

OKAT+CIPRXGET=30100+CIPRXGET 30100120030313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839

OKAT+CIPRXGET=40+CIPRXGET 401200

OK

If set ltmodegt to 1 after receiving data the module will buffer it and report a URC as +CIPRXGET 1ltlink_numgt to notify the host Then host can retrieve data by AT+CIPRXGETIf set ltmodegt to 0 the received data will be outputted to COM port directly by URC as RECV FROMltIP ADDRESSgtltPORTgtltCRgtltLFgt+IPD(data length)ltCRgtltLFgtltdatagtIf the buffer is not empty and the module receives data again then it will not report a new URC until allthe received data has been retrieved by AT+CIPRXGET from bufferThe default value of ltmodegt is 0When ltmodegt is set to 1 and the 2-4 mode will take effectIf initially set ltmodegt to 1 after doing some data transmitting set ltmodegt to 0 then the buffered dataof the previously established connection will be output to the serial port directly and the maximumlength of output data at a time is 1500

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 264451

1127 AT+IPADDR Get IP address of PDP context

AT+IPADDR Get IP address of PDP context

Execution CommandAT+IPADDR

ResponseIf PDP context has been activated successfully response+IPADDR ltip_addressgt

OKElse response+IP ERROR Network not opened

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt String type identifies the IP address of current active socket PDP

Example

AT+IPADDR+IPADDR 1071155118

OK

1128 AT+CIPHEAD Add an IP header when receiving data

AT+CIPHEAD Add an IP header when receiving dataTest CommandAT+CIPHEAD=

Response+CIPHEAD (0-1)

OKRead CommandAT+CIPHEAD

Response+CIPHEAD ltmodegt

OKWrite CommandAT+CIPHEAD=ltmodegt

ResponseIf the parameter is correct responseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 265451

Else responseERROR

Execution CommandAT+CIPHEAD

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether adding an IP header or not whilereceiving data Default value is 10ndash not add IP header1ndash add IP header the format is +IPD(data length)

Example

AT+CIPHEAD=+CIPHEAD (0-1)

OKAT+CIPHEAD=0OK

1129 AT+CIPSRIP Show remote IP address and port

AT+CIPSRIP Show remote IP address and portTest CommandAT+CIPSRIP=

Response+CIPSRIP (0-1)

OKRead CommandAT+CIPSRIP

Response+CIPSRIP ltmodegt

OKWrite CommandAT+CIPSRIP=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 266451

Execution CommandAT+CIPSRIP

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether to show IP address and port of serveror not when receiving data Default value is 10ndashnot show1ndashshowthe format is as follows

RECV FROMltIP ADDRESSgtltPORTgt

Example

AT+CIPSRIP=+CIPSRIP (0-1)

OKAT+CIPSRIP=1OK

11210 AT+CIPMODE Select TCPIP application mode

AT+CIPMODE Select TCPIP application modeTest CommandAT+CIPMODE=

Response+CIPMODE (0-1)

OKRead CommandAT+CIPMODE

Response+CIPMODE ltmodegt

OKWrite CommandAT+CIPMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPMODE

ResponseSet default value(ltmodegt=0)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 267451

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets TCPIP application mode Default value is 00 ndash Non transparent mode1 ndash Transparent mode

Example

AT+CIPMODE=+CIPMODE (0-1)

OKAT+CIPMODE=1OK

11211 AT+CIPSENDMODE Set sending mode

AT+CIPSENDMODE Set sending modeTest CommandAT+CIPSENDMODE=

Response+CIPSENDMODE (0-1)

OKRead CommandAT+CIPSENDMODE

Response+CIPSENDMODE ltmodegt

OKWrite CommandAT+CIPSENDMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 268451

ltmodegt Integer type sets sending mode Default value is 00ndash Sending without waiting peer TCP ACK mode1ndash Sending wait peer TCP ACK mode

Example

AT+CIPSENDMODE=+CIPSENDMODE (0-1)

OKAT+CIPSENDMODE=1OK

11212 AT+CIPTIMEOUT Set TCPIP timeout value

AT+CIPTIMEOUT Set TCPIP timeout valueRead CommandAT+CIPTIMEOUT

Response+CIPTIMEOUTltnetopen_timeoutgtltcipopen_timeoutgtltcipsend_timeoutgt

OKWrite CommandAT+CIPTIMEOUT=[ltnetopen_timeoutgt][[ltcipopen_timeoutgt][[ltcipsend_timeoutgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltnetopen_timeoutgt Integer type timeout value for AT+NETOPENDefault is120000ms Range is 3000ms-120000ms

ltcipopen_timeoutgt Integer type timeout value for AT+CIPOPENDefault is120000ms Range is 3000ms-120000ms

ltcipsend_timeoutgt Integer type timeout value for AT+CIPSENDDefault is120000ms Range is 3000ms-120000ms

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 269451

AT+CIPTIMEOUT+CIPTIMEOUT 300002000040000

OKAT+CIPTIMEOUT=300002000040000OK

11213 AT+CIPCCFG Configure parameters of socket

AT+CIPCCFG Configure parameters of socketTest CommandAT+CIPCCFG=

Response+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKRead CommandAT+CIPCCFG

Response+CIPCCFGltNmRetrygtltDelayTmgtltAckgtlterrModegtltHeaderTypegtltAsyncModegtltTimeoutValgt

OKWrite CommandAT+CIPCCFG=[ltNmRetrygt][[ltDelayTmgt][[ltAckgt][[lterrModegt][[ltHeaderTypegt][[ltAsyncModegt][[ltTimeoutValgt]]]]]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPCCFG

ResponseSet default valueOK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltNmRetrygt Integer type number of retransmission to be made for an IP packetRange is 0-10 The default value is 10

ltDelayTmgt Integer type number of milliseconds to delay to output data ofReceiving Range is 0-1000 The default value is 0

ltAckgt Integer type it can only be set to 0Itrsquos used to be compatible with old TCPIP command set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 270451

lterrModegt Integer type sets mode of reporting lterr_infogt default value is 10 error result code with numeric values1 error result code with string values

ltHeaderTypegt Integer type select which data header is used when receiving data itonly takes effect in multi-client mode Default value is 00 add data header the format is +IPDltdata lengthgt1 add data header the format is +RECEIVEltlink numgtltdatalengthgt

ltAsyncModegt Integer type range is 0-1 Default value is 0Itrsquos used to be compatible with old TCPIP command set

ltTimeoutValgt Integer type set the minimum retransmission timeout value for TCPconnection Range is 500ms-120000ms Default is 500ms

Example

AT+CIPCCFG=+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKAT+CIPCCFG=35000111500OK

11214 AT+SERVERSTART Startup TCP server

AT+SERVERSTART Startup TCP serverTest CommandAT+SERVERSTART=

Response+SERVERSTART (0-65535)(0-3)

OKRead CommandAT+SERVERSTART

ResponseIf the PDP context has not been activated successfully response+CIPERROR lterrgt

ERRORIf there exists opened server response[+SERVERSTART ltserver_indexgtlt portgthellip]

OKOtherERROR

Write Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 271451

AT+SERVERSTART=ltportgtltserver_indexgt

If there is no error responseOKIf the PDP context has not been activated or the server identified byltserver_indexgt has been opened or the parameter is not correct orother errors response+CIPERROR lterrgt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltportgt Integer type identifies the listening port of module when used as aTCP server Range is 0-65535

ltserver_indexgt Integer type the TCP server index range is 0-3

Example

AT+SERVERSTART=+SERVERSTART (0-65535)(0-3)

OKAT+SERVERSTART=80801OK

After the AT+SERVERSTART executes successfully an unsolicited result code is returned when aclient tries to connect with module and module accepts request The unsolicited result code is+CLIENTlt link_numgtltserver_indexgtltclient_IPgtltportgt

11215 AT+SERVERSTOP Stop TCP server

AT+SERVERSTOP Stop TCP serverWrite CommandAT+SERVERSTOP=ltserver_indexgt

ResponseIf there exists open connection with the server identified byltserver_indexgt or the server identified by ltserver_indexgt has not

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 272451

been opened or the parameter is incorrect response+SERVERSTOP ltserver_indexgtlterrgt

ERRORIf the server socket is closed immediately response+SERVERSTOP ltserver_indexgt0

OK(In general the result is shown as below)If the server socket starts to close responseOK

+SERVERSTOP ltserver_indexgtlterrgtOtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltserver_indexgt Integer type the TCP server index range is 0-3lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+SERVERSTOP=0+SERVERSTOP 00

OK

Before stopping a TCP server all sockets ltserver_indexgt of which equals to the closing TCP serverindex must be closed first

11216 AT+CIPACK QueryTCP connection data transmitting status

AT+CIPACK Query TCP connection data transmitting statusTest CommandAT+CIPACK=

Response+CIPACK (0-9)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 273451

OKWrite CommandAT+CIPACK=ltlink_numgt

ResponseIf the PDP context has not been activated or the connectionidentified by ltlink_numgt has not been established abnormallyclosed or the parameter is incorrect or other errors response+IP ERROR lterr_infogt

ERRORIf the connection has been established and the service type isTCP response+CIPACK ltsent_data_sizegtltack_data_sizegtltrecv_data_sizegt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltsent_data_sizegt Integer type the total length of sent dataltack_data_sizegt Integer type the total length of acknowledged dataltrecv_data_sizegt Integer type the total length of received datalterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPACK=+CIPACK (0-9)

OKAT+CIPACK=0+CIPACK 16165

OK

113 DNS amp PING

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 274451

1131 AT+CDNSGIP Query the IP address of given domain name

AT+CDNSGIP Query the IP address of given domain nameTest CommandAT+CDNSGIP=

ResponseOK

Write CommandAT+CDNSGIP=ltdomainnamegt

ResponseIf the given domain name has related IP response+CDNSGIP 1ltdomain namegtltIP addressgt

OKIf the given name has no related IP response+CDNSGIP 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type indicates the IP address corresponding to the domainname

ltdns error codegt Integer type indicates the error code10 DNS GENERAL ERROR

Example

AT+CDNSGIP=wwwbaiducom+CDNSGIP 1wwwbaiducom6113516921

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 275451

1132 AT+CDNSGHNAME Query the domain name of given IP address

AT+CDNSGHNAME Query the domain name of given IP addressTest CommandAT+CDNSGHNAME=

ResponseOK

Write CommandAT+CDNSGHNAME=ltIPaddressgt

ResponseIf the given IP address has related domain name response+CDNSGHNAME ltindexgtltdomain namegtltIP addressgt

OKIf the given IP address has no related domain name response+CDNSGHNAME 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type (string should be included in quotation marks) indicatesthe IP address corresponding to the domain name

ltdns error codegt Integer type which indicates the error code10 DNS GENERAL ERROR

ltindexgt Integer type which indicates DNS result indexThis value is always 1 if performing successfully Currently only thefirst record returned from the DNS server will be reported

Example

AT+CDNSGHNAME=5832231148+CDNSGHNAME 1mailsimcom5832231148

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 276451

1133 AT+CIPDNSSET Set DNS query parameters

AT+CIPDNSSET Set DNS query parametersRead CommandAT+CIPDNSSET

Response+CIPDNSSET 3300007

OKWrite CommandAT+CIPDNSSET=[ltmax_net_retriesgt][[ltnetopen_timeoutgt][[ltmax_query_retriesgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmax_net_retriesgt Integer type maximum retry times for opening PS network to performDNS query Range is 0-3 Default is 3

ltnetopen_timeoutgt Integer type timeout value for each opening PS network operationwhen performing DNS query Range is 3000ms-120000ms Defaultvalue is 30000ms

ltmax_query_retriesgt Integer type maximum retry times for performing DNS query usingUDP packet Range is 0-7 Default value is 7

Example

AT+CIPDNSSET+CIPDNSSET 1300003

OKAT+CIPDNSSET=1300001OK

1134 AT+CPING Ping destination address

AT+CPING Ping destination address

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 277451

Test CommandAT+CPING=

Response+CPING IP address (list of supportedltdest_addr_typegts)(1-100)(4-188)(1000-10000)(10000-100000)(16-255)

OKWrite CommandAT+CPING=ltdest_addrgtltdest_addr_typegt[ltnum_pingsgt[ltdata_packet_sizegt[ltinterval_timegt[ltwait_timegt[ltTTLgt]]]]]

ResponseOK

If pingrsquos result_type = 1+CPINGltresult_typegtltresolved_ip_addrgtltdata_packet_sizegtltrttgtltTTLgt

If pingrsquos result_type = 2+CPING ltresult_typegt

If pingrsquos result_type = 3+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

Parameter Saving Mode -Max Response Time -Reference -

Defined values

ltdest_addrgt The destination is to be pinged it can be an IP address or a domainname

ltdest_addr_typegt Integer type Address family type of the destination address1 ndash IPv42 ndash IPv6(reserved)

ltnum_pingsgt Integer type The num_pings specifies the number of times the pingrequest (1-100) is to be sent The default value is 4

ltdata_packet_sizegt Integer type Data byte size of the ping packet (4-188) The defaultvalue is 64 bytes

ltinterval_timegt Integer type Interval between each ping Value is specified inmilliseconds (1000ms-10000ms) The default value is 2000ms

ltwait_timegt Integer type Wait time for ping response A ping response receivedafter the timeout shall not be processed Value specified inmilliseconds (10000ms-100000ms) The default value is 10000ms

ltTTLgt Integer type TTL (Time-To-Live) value for the IP packet over which theping (ICMP ECHO Request message) is sent (16-255) the defaultvalue is 255

ltresult_typegt 1 ndash Ping success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 278451

2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTTltresolved_ip_addrgt Indicates the resolved ip addressltrttgt Round Trip Time

Example

AT+CPING=wwwbaiducom1464100010000255OK

+CPING 1119752175664410255

+CPING 1119752175664347255

+CPING 1119752175664346255

+CPING 1119752175664444255

+CPING 3440346444386

1135 AT+CPINGSTOP Stop an ongoing ping session

AT+CPINGSTOP Stop an ongoing ping sessionTest CommandAT+CPINGSTOP=

ResponseOK

Execution CommandAT+CPINGSTOP

Success response+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

OKElseERROR

Parameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 279451

Max Response Time -Reference -

Defined values

ltresult_typegt 1 ndash Ping success2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltresolved_ip_addrgt Indicates the resolved ip addressltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTT

Example

AT+CPINGSTOP+CPING 3220464947

OK

114 Information Elements related to TCPIP

Information Description+CIPEVENT NETWORK CLOSEDUNEXPECTEDLY

Network is closed for network error (Out of service etc)When this event happens userrsquos application needs to checkand close all opened sockets and then usesAT+NETCLOSE to release the network library ifAT+NETOPEN shows the network library is still opened

+IPCLOSEltclient_indexgtltclose_reasongt

Socket is closed passivelyltclient_indexgt is the link numberltclose_reasongt0 - Closed by local active1 - Closed by remote passive2 - Closed for sending timeout

+CLIENT ltlink_numgtltserver_indexgtltclient_IP

While TCP server accepted a new socket client the indexisltlink_numgt The TCP server index is ltserver_indexgt The

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 280451

gtltportgt peer IP address is ltclient_IPgt The peer port is ltportgt

115 Description of lterr_infogt

The fourth parameter lterrModegt of AT+CIPCCFG is used to determine how lterr_infogt is displayedIf lterrModegt is set to 0 the lterr_infogt is displayed with numeric valueIf lterrModegtis set to 1 the lterr_infogt is displayed with string valueThe default is displayed with string value

Numeric Value String Value21 Operation failed0 Connection time out1 Bind port failed2 Port overflow

3 Create socket failed

4 Network is already opened

5 Network is already closed

6 No clients connected

7 No active client

8 Network not opened

9 Client index overflow

10 Connection is already created

11 Connection is not created

12 Invalid parameter

13 Operation not supported

14 DNS query failed

15 TCP busy

16 Netclose failed for socket opened

17 Sending time out

18 Sending failure for network error

19 Open failure for network error

20 Server is already listening

22 No data

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 281451

116 Description of lterrgt

lterrgt Description of lterrgt0 Operation succeeded1 Network failure2 Network not opened3 Wrong parameter4 Operation not supported5 Failed to create socket6 Failed to bind socket7 TCP server is already listening8 Busy9 Sockets opened10 Timeout11 DNS parse failed for AT+CIPOPEN12 Unknown error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 282451

12AT Commands for FTP(S)

121 Overview of AT Commands for FTP(S)

Command DescriptionAT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTOP Stop FTP(S) ServiceAT+CFTPSLOGIN Login to a FTP(S) serverAT+CFTPSLOGOUT Logout FTP(S) serverAT+CFTPSMKD Create a new directory on FTP(S) serverAT+CFTPSRMD Delete a directory on FTP(S) serverAT+CFTPSDELE Delete a file on FTP(S) serverAT+CFTPSCWD Change the current directory on FTP(S) serverAT+CFTPSPWD Get the current directory on FTP(S) serverAT+CFTPSTYPE Set the transfer type on FTP(S) serverAT+CFTPSLIST List the items in the directory on FTP(S) serverAT+CFTPSGETFILE Get a file from FTP(S) server to moduleAT+CFTPSPUTFILE Put a file from module to FTP(S) serverAT+CFTPSGET Get a file from FTP(S) server to serial portAT+CFTPSPUT Put a file to FTP(S) server through serial portAT+CFTPSSINGLEIP Set FTP(S) data socket address typeAT+CFTPSCACHERD Output cached data to MCUAT+CFTPSABORT Abort FTP(S) operationsAT+CFTPSSIZE Get the File Size on FTP(S) server

122 Detailed Description of AT Commands for FTP(S)

1221 AT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTART Start FTP(S) serviceExecution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 283451

AT+CFTPSSTART OK

+CFTPSSTART lterrcodegtor+CFTPSSTART lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of start FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTARTOK

+CFTPSSTART 0

1222 AT+CFTPSSTOP Stop FTP(S) Service

AT+CFTPSSTOP Stop FTP(S) ServiceExecution CommandAT+CFTPSSTOP

ResponseOK

+CFTPSSTOP lterrcodegtor+CFTPSSTOP lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 284451

Defined Values

lterrcodegt The result of stop FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTOPOK

+CFTPSSTOP 0

1223 AT+CFTPSLOGIN Login to a FTP(S) server

AT+CFTPSLOGIN Login to a FTP(S) serverTest CommandAT+CFTPSLOGIN=

Response+CFTPSLOGINADDRESS(1-65535)[USERNAMEPASSWORD[(0-3)]]

OKWrite CommandAT+CFTPSLOGIN=lthostgtltportgtltusernamegtltpasswordgt[ltserver_typegt]

ResponseOK

+CFTPSLOGIN lterrcodegtor+CFTPSLOGIN lterrcodegt

OKor+CFTPSLOGIN lterrcodegt

ERRORorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lthostgt Host address string type maximum length is 256ltportgt The host listening port for FTP(S) the range is from 1 to 65535

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 285451

ltusernamegt FTP(S) user name string type maximum length is 256ltpasswordgt The user password string type maximum length is 256ltserver_typegt FTP(S)server typenumericfrom0-3default is 3

0 FTP server1 Explicit FTPS server with AUTH SSL2 Explicit FTPS server with AUTH TLS3 Implicit FTPS server

lterrcodegt The result code of the FTPFTPS login 0 is success Others arefailure please refer to chapter 1231

Example

AT+CFTPSLOGIN=112749316321tmftmf1230OK

+CFTPSLOGIN 0

1224 AT+CFTPSLOGOUT Logout FTP(S) server

AT+CFTPSLOGOUT Logout FTP(S) serverTest CommandAT+CFTPSLOGOUT=

ResponseOK

Execution CommandAT+CFTPSLOGOUT

ResponseOK

+CFTPSLOGOUT lterrcodegtor+CFTPSLOGOUT lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result code of the FTPFTPS logout 0 is success Others arefailure please refer to chapter 1231

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 286451

Example

AT+CFTPSLOGOUTOK

+CFTPSLOGOUT 0

1225 AT+CFTPSMKD Create a new directory on FTP(S) server

AT+CFTPSMKD Create a new directory on FTP(S) serverTest CommandAT+CFTPSMKD=

Response+CFTPSMKD DIR

OKWrite CommandAT+CFTPSMKD=ltdirgt

ResponseOK

+CFTPSMKD 0orOK

+CFTPSMKD lterrcodegt

orERRORor+CFTPSMKD lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgt The directory to be created string type maximum length is 256lterrcodegt The result of create directory 0 is success others are failure please

refer to chapter 1231

Example

AT+CFTPSMKD=TEST

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 287451

OK

+CFTPSMKD 0

1226 AT+CFTPSRMD Delete a directory on FTP(S) server

AT+CFTPSRMD Delete a directory on FTP(S) serverTest CommandAT+CFTPSRMD=

Response+CFTPSRMD DIR

OKWrite CommandAT+CFTPSRMD=ltdirgt

Response1)if delete the directory successfullyOK

+CFTPSRMD 02)if delete the directory failedOK

+CFTPSRMD lterrcodegt3) if parameter format or any errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be removed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type maximum length is 256

lterrcodegtThe result of remove directory 0 is success others are failure pleaserefer to chapter 1231

Example

AT+CFTPSRMD=testOK

+CFTPSRMD 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 288451

1227 AT+CFTPSDELE Delete a file on FTP(S) server

AT+CFTPSDELE Delete a file on FTP(S)serverTest CommandAT+CFTPSDELE=

Response+CFTPSDELE FILENAME

OKWrite CommandAT+CFTPSDELE=ltfilenamegt

Response1)if delete file successfullyOK

+CFTPSDELE 02)if failedOK

+CFTPSDELE lterrcodegt3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt The name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegt The result of delete a file 0 is success others are failureplease referto chapter 1231

Example

AT+CFTPSDELE=TESTtxtOK

+CFTPSDELE 0

1228 AT+CFTPSCWD Change the current directory on FTP(S) server

AT+CFTPSCWD Change the current directory on FTP(S) serverTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 289451

AT+CFTPSCWD= +CFTPSCWD DIR

OKWrite CommandAT+CFTPSCWD=ltdirgt

Response1)if delete file successfullyOK

+CFTPSCWD 02)if failedOK

+CFTPSCWD lterrcodegt2)if failed+CFTPSCWD lterrcodegt

ERROR3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be changed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change the current directory 0 is success others arefailure please refer to chapter 1231

Example

AT+CFTPSCWD=luliuTEST7600

OK

+CFTPSCWD 0

1229 AT+CFTPSPWD Get the current directory on FTP(S) server

AT+CFTPSPWD Get the current directory on FTP(S) serverExecution CommandAT+CFTPSPWD

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 290451

+CFTPSPWD ltdirgtor+CFTPSPWD ltdirgt

OKor+CFTPSPWD lterrcodegt

ERRORorOK

+CFTPSPWD lterrcodegtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change current directory 0 is success others are failureplease refer to chapter 1231

Example

AT+CFTPSPWDOK

+CFTPSPWD test12

12210 AT+CFTPSTYPE Set the transfer type on FTP(S) server

AT+CFTPSTYPE Set the transfer type on FTP(S) serverTest CommandAT+CFTPSTYPE=

Response+CFTPSTYPE (AI)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 291451

Read CommandAT+CFTPSTYPE

Response+CFTPSTYPE lttypegt

OKWrite CommandAT+CFTPSTYPE=lttypegt

Responsea)if set type successfullyOK

+CFTPSTYPE 0b)if set type failedOK

+CFTPSTYPE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

lttypegtThe type of transferringA ASCIII Binary

lterrcodegtThe result of set type 0 is success others are failure please refer tochapter 1231

Example

AT+CFTPTYPE=AOK

+CFTPSTYPE 0

12211 AT+CFTPSLIST List the items in the directory on FTP(S) server

AT+CFTPSLIST List the items in the directory on FTP(S) serverWrite CommandAT+CFTPSLIST[=ltdirgt]

Responsea)if set type successfullyOK

+CFTPSLIST DATAltlengthellip+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 292451

b)if set type failedOK

+CFTPSLIST lterrcodegtc)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be listed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type the maximum length is 256

lterrcodegtThe result code of the listing0 is success others are failurepleaserefer to chapter1231

Example

AT+CFTPSLIST=OK

+CFTPSLIST DATA1480-rw-r--r-- 1 ftp ftp 10 Mar 191351 111TXT-rw-r--r-- 1 ftp ftp 7 Mar 181039 1111txt-rw-r--r-- 1 ftp ftp 10240 Mar 231020 112txt-rw-r--r-- 1 ftp ftp 10 Mar 161526 11K4txt-rw-r--r-- 1 ftp ftp 1434 Mar 181047 1434Btxt-rw-r--r-- 1 ftp ftp 307200 Mar 181040 300Ktxt-rw-r--r-- 1 ftp ftp 9 Mar 181053 333txt-rw-r--r-- 1 ftp ftp 16 Mar 171411 36txt

+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 293451

12212AT+CFTPSGETFILE Get a file from FTP(S) server to module

AT+CFTPSGETFILE Get a file from FTP(S) server to moduleTest CommandAT+CFTPSGETFILE=

Response+CFTPSGETFILE [non-ascii]FILEPATH[(1-4)]

OKWrite CommandAT+CFTPSGETFILE=ltfilepathgt[ltdirgt[ltoffsetgt]]

Responsea) if download file successfully OK

+CFTPSGETFILE 0b) if failedOK

+CFTPSGETFILE lterrcodegtc) if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt

The remote file path When the file path doesnrsquot contain thiscommand transfers file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parametershould contain a prefix of non-asciiString type maximum length is256

ltdirgt

The directory to save the downloaded fileNumeric type range is1-4default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

ltoffsetgtInteger type the download start position used forresume-from-break-point

lterrcodegtThe result code of download file from FTP(s) server0 is successothers are failureplease refer to chapter 1231

Example

AT+CFTPSGETFILE=settingsdat3OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 294451

+CFTPSGETFILE 0

12213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server

AT+CFTPSPUTFILE Put a file from module to FTP(S) serverTest CommandAT+CFTPSPUTFILE=

Response+CFTPSPUTFILE[non-ascii]FILEPATH[(1-3)(0-2147483647)]

OKWrite CommandAT+CFTPSPUTFILE=ltfilepathgt[ltdirgt[ltrest_sizegt]]

Responsea)if upload file successfully OK

+CFTPSPUTFILE 0b)if failedOK

+CFTPSPUTFILE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Valuesltfilepathgt The remote file path When the file path doesnrsquot contain this

command transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdirgt The directory that contains the uploaded file Numeric type range is1-3 default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload file to FTP(S)server0 is success others arefailureplease refer to chapter1231

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 295451

AT+CFTPSPUTFILE=LKLMsim_ZXXTXTOK

+CFTPSPUTFILE 0

12214 AT+CFTPSGET Get a file from FTP(S) server to serial port

AT+CFTPSGET Get a file from FTP(S) server to serial portTest CommandAT+CFTPSGET=

Response+CFTPSGET [non-ascii]FILEPATH[ltrest_sizegt[(01)]]

OKWrite CommandAT+CFTPSGET=ltfilepathgt[ltrest_sizegt[ltusing_cachegt]]

Responsea)ifltusing_cachegt is 0(default)and get file successfully

OK

+CFTPSGET DATAltlengthellip+CFTPSGET DATA ltlengthelliphellip+CFTPSGET 0b) if ltusing_cachegt is 1 and get file successfullyOK

+CFTPS RECV EVENT

AT+CFTPSCACHERDyou can use this command to check the size of the received data+CFTPSCACHERD 102400

OK

output cached data nowAT+CFTPSCACHERD+CFTPSGET DATAltlengthellipOKhellip+CFTPSGET 0c)if failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 296451

OK

+CFTPSGET lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfer file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

ltusing_cachegt Numeric rang is 0-10ndashDo not use cache module will output the items data to serial portwhen list successfully1 ndash Use cache module will report +CFTPS RECV EVENT when listsuccessfully (Data will be output using AT+CFTPSCACHERDcommand)

lterrcodegt The result code of download file from FTP(s) server0 is successothers are failure please refer to chapter 1231

Example

AT+CFTPSGET=BBBTXTOK

+CFTPSGET DATA110FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH+CFTPSGET 0

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port

AT+CFTPSPUT Put a file to FTP(S) server through serial portTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 297451

AT+CFTPSPUT= +CFTPSPUT [non-ascii]FILEPATH[ltdata_lengt[ltrest_sizegt]]

OKWrite CommandAT+CFTPSPUT=ltfilepathgt[ltdata_lengt[ltrest_sizegt]]

Responsea)if upload file through serial port successfullyOK

+CFTPSPUT 0

b)if failed before input data+CFTPSPUT lterrcodegt

ERROR

c)if failed after input dataOK

+CFTPSPUT lterrcodegtd)if parameter format i or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdata_lengt Numeric typeThe length of the data to send the maximum length is2048if parameterltdata_lengt is omitted Each ltCtrl+Zgtcharacterpresent in the data flow of serial port when downloading FTP data willbe coded as ltETXgtltCtrl+Zgt Each ltETXgt character will be coded asltETXgtltETXgt Single ltCtrl+Zgt means end of the FTP dataltETXgt is0x03 and ltCtrl+Zgt is 0x1A

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload data to FTP(s) server0 is success othersare failure please refer to chapter 1231

Example

AT+CFTPSPUT=LKLMLOTXT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 298451

gt123457860OK

+CFTPSPUT 0

12216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type

AT+CFTPSSINGLEIP Set FTP(S) data socket address typeTest CommandAT+CFTPSSINGLEIP=

Response+CFTPSSINGLEIP (01)

OKRead CommandAT+CFTPSSINGLEIP

Response+CFTPSSINGLEIP ltsingleipgt

OKWrite CommandAT+CFTPSSINGLEIP=ltsingleipgt

ResponseIf parameter format is right and set successfullyOK

If parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsingleipgtThe FTPS data socket IP address type0 decided by PORT response from FTPS server1 the same as the control socket

Example

AT+CFTPSSINGLEIP=1OK

12217 AT+CFTPSCACHERD Output cached data to MCU

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 299451

AT+CFTPSCACHERD Output cached data to MCURead CommandAT+CFTPSCACHERD

Response+CFTPSCACHERD ltlengt

OKExecution CommandAT+CFTPSCACHERD

ResponseIf cache data is AT+CFTPSGET and everything goes well

+CFTPSGET DATAltout_lengtltCRgtltLFgthellip

OKorOK

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltlengt Numeric type The bytes of data cached in FTPS module

ltout_lengtThe bytes of data to output The maximum value is 1024 for eachAT+CFTPSCACHERD calling

Example

AT+CFTPSCACHERD+CFTPSCACHERD 21078

OK

12218 AT+CFTPSABORT Abort FTP(S) Operations

AT+CFTPSABORT Abort FTP(S) OperationsExecution CommandAT+CFTPSABORT

Responseif abort FTP(S) operation successfullyOK

+CFTPSABORT 0

sometimes abort successfully returns+CFTPSABORT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 300451

OK

if failedOK

+CFTPSABORT lterrcodegt

if any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of abort FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSABORTOK

+CFTPSABORT 0

12219 AT+CFTPSSIZE Get the File Size on FTP(S) server

AT+CFTPSSIZE Get the File Size on FTP(S) serverTest CommandAT+CFTPSSIZE=

Response+CFTPSSIZE ltfilepathgt

OKWrite CommandAT+CFTPSSIZE=ltfilepathgt

ResponseOK

+CFTPSSIZE ltfilesizegtorOK

+CFTPSSIZE lterrcodegtor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 301451

ERRORor+CFTPSSIZE lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote filepath on FTP(S) serverString typemax length is 256ltfilesizegt Numeric typesize of the remote file on FTP(S) serverlterrcodegt The result code of get file size Please refer to chapter 1231

Example

AT+CFTPSSIZE=TESTtxtOK

+CFTPSSIZE 1024

123 Summary of result codes for FTPS

1231 Summary of Command result lterrcodegt

Code of lterrcodegt Meaning0 Success1 SSL alert2 Unknown error3 Busy4 Connection closed by server5 Timeout6 Transfer failed7 File not exists or any other memory error8 Invalid parameter9 Operation rejected by server10 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 302451

11 State error12 Failed to parse server name13 Create socket error14 Connect socket failed15 Close socket failed16 SSL session closed17 File errorfile not exist or other error421 Server response connection time out while received error code

421you need do AT+CFTPSLOGOUT to logout server thenAT+CFTPSLOGIN again for further operations

1232 Summary of Unsolicited Result Codes

Unsolicited codes Description+CFTPSNOTIFY PEERCLOSED

When client disconnect passively URC +CFTPSNOTIFY PEERCLOSED will be reported then user need to executeAT+CFTPSLOGOUT andlog in again

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 303451

13AT Commands for HTTPS

131 Overview of AT Commands for HTTPS

Command DescriptionAT+HTTPINIT Start HTTP(S) serviceAT+HTTPTERM Stop HTTP(S) serviceAT+HTTPPARA Set HTTP(S) Parameters valueAT+HTTPACTION HTTP(S) Method ActionAT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseAT+HTTPREAD Read the response Information of HTTP(S) ServerAT+HTTPDATA Input HTTP(S) DataAT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileAT+HTTPREADFILE Receive HTTP(S) Response Content to a file

132 DetailedDescription of AT Commands for HTTPS

1321 AT+HTTPINIT Start HTTP(S) service

AT+HTTPINIT is used to start HTTP service by activating PDP context You must execute AT+HTTPINITbefore any other HTTP related operations

AT+HTTPINIT Start HTTP(S) serviceExecution CommandAT+HTTPINIT

Responsea)If start HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 304451

AT+HTTPINITOK

1322 AT+HTTPTERM Stop HTTP(S) Service

AT+HTTPTERM is used to stop HTTP service

AT+HTTPTERM Stop HTTP(S) serviceExecution CommandAT+HTTPTERM

Responsea)If stop HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

AT+HTTPTERMOK

1323 AT+HTTPPARA Set HTTP(S) Parameters value

AT+HTTPPARA is used to set HTTP parameters value When you want to access to a HTTP server youshould input ltvaluegt like httprsquoserverrsquorsquopathrsquorsquotcpPortrsquo In addition httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquo is used toaccess to a HTTPS server

AT+HTTPPARA Set HTTP(S) Parameters valueWrite CommandAT+HTTPPARA=URLlturlgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=CONNECTTOltconn_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=RECVTOltrecv_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occur

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 305451

ERRORWrite CommandAT+HTTPPARA=CONTENTltcontent_typegt

Responsea)If parameter format is rightOKb) If parameter format is not rightor other errors occurERROR

Write CommandAT+HTTPPARA=ACCEPTltaccept-typegt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=UAltuser_agentgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=SSLCFGltsslcfg_idgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=USERDATAltuser_datagt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKltbreakgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKENDltbreakendgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=VERSIONltversiongt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time 120000msReference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 306451

Defined Values

lturlgt URL of network resourceStringstart with http orhttpsa)httprsquoserverrsquorsquopathrsquorsquotcpPortrsquob)httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquoserver DNS domain name or IP addresspath path to a file or directory of a servertcpPort http default value is 80https default value is 443(can beomitted)

ltconn_timeoutgt Timeout for accessing server Numeric type range is 20-120s defaultis 120s

ltrecv_timeoutgt Timeout for receiving data from server Numeric type range is 2-120sdefault is 10s

ltcontent_typegt This is for HTTP Content-Type tag String type max length is256default is textplain

ltaccept-typegt This is for HTTP Accept-type tag String type max length is256default is

ltuser_agentgt Parameter for HTTP header User-Agent informationString typemax length is 256

ltsslcfg_idgt This is setting SSL context id Numeric type range is 0-9 Default is 0ltuser_datagt The customized HTTP header information String typemax length is

512ltbreakgt Parameter for HTTP method GET used for resuming broken

transfer The start of the broken transfer Default is 0ltbreakendgt Parameter for HTTP method GET used for resuming broken

transfer The end of the broken transfer Default is 0If both break and breakend are 0 the resume broken transferfunction is disabledIf breakend is bigger than break the transfer scope is from breakto breakendIf breakend is smaller than break the transfer scope is from breakto the end of the file

ltversiongt Parameter for HTTP version numeric type0 HTTP101 HTTP11

Example

AT+HTTPPARA=USERDATASOK

1324 AT+HTTPACTION HTTP(S) Method Action

AT+HTTPACTION is used to perform a HTTP Method You can use HTTPACTION to send a getpost

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 307451

request to a HTTPHTTPS server

AT+HTTPACTION HTTP(S) Method ActionTest CommandAT+HTTPACTION=

Response+HTTPACTION (0-3)

OKWrite CommandAT+HTTPACTION=ltmethodgt

Responsea)If parameter format is right OK

+HTTPACTION ltmethodgtltstatuscodegtltdatalengtb)If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltmethodgt HTTP method specification0 GET1 POST2 HEAD3 DELETE

ltstatuscodegt Please refer to chapter 1331ltdatalengt The length of data received

Example

AT+HTTPACTION=1OK

+HTTPACTION 12002800

1325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response

AT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseExecution CommandAT+HTTPHEAD

Responsea)If read the header information successfully+HTTPHEAD DATAltdata_lengtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 308451

OKb)If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdata_lengt The length of HTTP headerltdatagt The header information of HTTP response

Example

AT+HTTPHEAD+HTTPHEAD DATA750HTTP11 200 OKDate Thu 29 Mar 2018 092112 GMTContent-Type texthtmlContent-Length 14615Last-Modified Thu 15 Mar 2018 082300GMTConnection Keep-AliveVary Accept-EncodingSet-CookieBAIDUID=EF38663A5539EBEAE702321037D5491BFG=1 expires=Thu 31-Dec-37235555 GMT max-age=2147483647 path=domain=baiducomSet-CookieBIDUPSID=EF38663A5539EBEAE702321037D5491B expires=Thu 31-Dec-37 235555GMT max-age=2147483647 path=domain=baiducomSet-Cookie PSTM=1522315272expires=Thu 31-Dec-37 235555 GMTmax-age=2147483647 path=domain=baiducomP3P CP= OTI DSP COR IVA OUR IND COM Server BWS11X-UA-Compatible IE=Edgechrome=1Pragma no-cacheCache-control no-cacheAccept-Ranges bytes

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 309451

OK

1326 AT+HTTPREAD Read the Response Information of HTTP(S) Server

After sending HTTP(S) GETPOST requests you can retrieve HTTP(S) response information from HTTP(S)server via UARTUSB port by AT+HTTPREAD When the ltdata_lengt of +HTTPACTIONltmethodgtltstatuscodegtltdata_lengt is not equal to 0 you can read the response information from HTTP(S)server by AT+HTTPREAD You can execute AT+HTTPREAD to check the total data saved in buffer thenAT+HTTPREAD=ltbyte_sizegt to read out data to port If parameter ltbyte_sizegt is set greater than the sizeof data saved in buffer all data in buffer will output to port

AT+HTTPREAD Read the Response Information of HTTP(S) ServerRead CommandAT+HTTPREAD

Responsea)If check successfully+HTTPREAD LENltlengt

OKb)If failed(no more data other error)ERROR

Write CommandAT+HTTPREAD=ltstart_offsetgtltbyte_sizegt

Responsea)If read the response info successfullyOK

+HTTPREAD DATAltdata_lengtltdatagt[+HTTPREAD DATAltdata_lengtltdatagthellip]+HTTPREAD 0If ltbyte_sizegt is bigger than the data size received module will onlyreturn actual data sizeb) If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstart_offsetgt The start position of readingltbyte_sizegt The length of data to readltdata_lengt The actual length of read dataltdatagt Response content from HTTP server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 310451

ltlengt Total size of data saved in buffer

Example

AT+HTTPREAD=010OK

+HTTPREAD DATA10ltdoctyped+HTTPREAD 0

1327 AT+HTTPDATA Input HTTP(S) Data

You can use AT+HTTPDATA to input data to post when you send a HTTPHTTPS POST request

AT+HTTPDATA Input HTTP(S) DataWrite CommandAT+HTTPDATA=ltsizegtlttimegt

Response

a)if parameter format is right

DOWNLOAD

ltinput data heregt

When the total size of the inputted data reaches ltsizegt TA willreport the following code Otherwise the serial port will be blocked

OK

b)If parameter format is wrong or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsizegt Size in bytes of the data to post range is 1- 153600 (bytes)lttimegt Maximum time in seconds to input data range is 10-65535

Example

AT+HTTPDATA=1410000DOWNLOAD1234567890qwerOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 311451

1328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File

You can send HTTP request in a file via AT+HTTPPOSTFILE command The URL must be set byAT+HTTPPARA before executing AT+HTTPPOSTFILE command if set ltsend_headergt to 0 you cancustomize any HTTP request in the file module will send the file as HTTP header and body else if setltsend_headergt to 1 modlue will package a HTTP request itself the file will be sent as HTTP body Theparameter ltpathgt can be used to set the file directory When module has received response from HTTPserver it will report the following URC+HTTPPOSTFILE ltmethodgt[lthttpstatuscodegt[ltcontent_lengthgt]]Note 1The parameterltmethodgtltsend_headergtltpathgtcan be omitted the default value ofltsend_headergt is 0 the defaultltpathgtis 1 (cache)default method is 1 (POST)

AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileTest CommandAT+HTTPPOSTFILE=

Response+HTTPPOSTFILE ltfilenamegt[(1-3)[(0-3)[(0-1)]]]

OKWrite CommandAT+HTTPPOSTFILE=ltfilenamegt[ltpathgt][ltmethodgt][ltsend_headergt]

Responsea)if parameter format is right and server connected successfullya1 server response and content is not null

OK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegtltcontent_lengta2 server response but has no contentOK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegt0

b)if parameter format is right but server connected unsuccessfullyOK

+HTTPPOSTFILE ltmethodgtlterrcodegt0

c)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgtThe directory where the sent file saved Numeric type range is 1-31 ndash F (cache)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 312451

2 ndash D(sd card)3 ndash E (datamedia)

ltmethodgt

HTTP method specification0 ndash GET1ndash POST2ndash HEAD3ndash DELETE

lthttpstatuscodegt Please refer to chapter 1331lterrcodegt Please refer to chapter1332

ltsend_headergt

Send file as HTTP header and Body or Only as Body Numeric typethe range is 0-1 the default is 00 ndashSend file as HTTP header and body1 ndash Send file as Body

Example

AT+HTTPPOSTFILE=baidutxt3OK

+HTTPPOSTFILE 17140

1329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file

After execute AT+HTTPACTIONAT+HTTPOSTFILE command You can receive the HTTP server responsecontent to a file via AT+HTTPREADFILE Before AT+HTTPREADFILE executed+HTTPACTIONltmethodgtlthttpstatuscodegtltcontent_lengt or +HTTPPOSTFILElthttpsatuscodegtltcontent_lengt must be received The parameter ltpathgt can be used to set the directorywhere to save the file If omit parameter ltpathgt the file will be save to cacheNote by setting ltpathgt to 4 you can download CA files which is used for SSL verification details pleaserefer SIM7500_SIM7600_SIM7800 Series_SSL_AT_Commands_Manual

AT+HTTPREADFILE Receive HTTP(S) Response Content to a FileTest CommandAT+HTTPREADFILE=

Response+HTTPREADTFILE ltfilenamegt[(1-4)]

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 313451

Write CommandAT+HTTPREADFILE=ltfilenamegt[ltpathgt]

Responsea)if parameter format is right OK

+HTTPREADFILE ltresultgt

b)if parameter format is right+HTTPREADFILE ltresultgt

OK

c)if failed+HTTPREADFILE ltresultgt

ERROR

d)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgt

1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

Example

AT+HTTPREADFILE=baidutxt3OK

+HTTPREADFILE 0

133 Summary of result codes for HTTPS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 314451

1331 Summary of HTTP(S) Response Code

Code of lthttpstatuscodegt Meaning100 Continue101 Switching Protocols200 OK201 Created201 Accepted203 Non-Authoritative Information204 No Content205 Reset Content206 Partial Content300 Multiple Choices301 Moved Permanently302 Found303 See Other304 Not Modified305 Use Proxy307 Temporary Redirect400 Bad Request401 Unauthorized402 Payment Required403 Forbidden404 Not Found405 Method Not Allowed406 Not Acceptable407 Proxy Authentication Required408 Request Timeout409 Conflict410 Gone411 Length Required412 Precondition Failed413 Request Entity Too Large414 Request-URI Too Large415 Unsupported Media Type416 Requested range not satisfiable417 Expectation Failed500 Internal Server Error501 Not Implemented502 Bad Gateway

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 315451

503 Service Unavailable504 Gateway timeout505 HTTP Version not supported600 Not HTTP PDU601 Network Error602 No memory603 DNS Error604 Stack Busy

1332 Summary of HTTP(S) error Code

HTTP error code Meaning+HTTP_PEER_CLOSED Itrsquos a notification messagewhile receivedit means the connection

has been closed by server+HTTP_NONET_EVENT Itrsquos a notification messagewhile received it means now the

network is unavailable

Code of lterrcodegt Meaning0 Success701 Alert state702 Unknown error703 Busy704 Connection closed error705 Timeout706 Receivesend socket data failed707 File not exists or other memory error708 Invalid parameter709 Network error710 start a new ssl session failed711 Wrong state712 Failed to create socket713 Get DNS failed714 Connect socket failed715 Handshake failed716 Close socket failed717 No network error718 Send data timeout719 CA missed720 Server response timeout

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 316451

14AT Commands for MQTT(S)

141 Overview of AT Commands for MQTT(S)

Command DescriptionAT+CMQTTSTART Start MQTT serviceAT+CMQTTSTOP STOP MQTT serviceAT+CMQTTACCQ Acquire a clientAT+CMQTTREL Release a clientAT+CMQTTSSLCFG Set the SSL contextAT+CMQTTWILLTOPIC Input the will topicAT+CMQTTWILLMSG Input the will messageAT+CMQTTDISC Disconnect from serverAT+CMQTTCONNECT Connect to MQTT serverAT+CMQTTTOPIC Input the publish message topicAT+CMQTTPAYLOAD Input the publish message bodyAT+CMQTTPUB Publish a message to serverAT+CMQTTSUBTOPIC Input a subscribe message topicAT+CMQTTSUB Subscribe a message to serverAT+CMQTTUNSUBTOPIC Input a unsubscribe message topicAT+CMQTTUNSUB Unsubscribe a message to serverAT+CMQTTCFG Configure the MQTT Context

142 Detailed Description of AT Commands for MQTT(S)

1421 AT+CMQTTSTART Start MQTT service

AT+CMQTTSTART Start MQTT serviceExecution CommandAT+CMQTTSTART

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 317451

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

OKorERROR

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTARTOK

+CMQTTSTART 0

It must be executed before any other MQTT related operations

1422 AT+CMQTTSTOP STOP MQTT service

AT+CMQTTSTOP STOP MQTT serviceExecution CommandAT+CMQTTSTOP

ResponseOK

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 318451

orERROR

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTOPOK

+CMQTTSTOP 0

1423 AT+CMQTTACCQ Acquire a client

AT+CMQTTACCQ Acquire a clientTest CommandAT+CMQTTACCQ=

Response+CMQTTACCQ (0-1)(1-128)(0-1)(3-4)

OKRead CommandAT+CMQTTACCQ

Response+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt

OKWrite CommandAT+CMQTTACCQ=ltclient_indexgtltclientIDgt[ltserver_typegt[ltmqtt_versiongt]]

ResponseOKor+CMQTTACCQ ltclient_indexgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 319451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltclientIDgt The UTF-encoded string It specifies a unique identifier for the clientThe string length is from 1 to 128 bytes

ltserver_typegt A numeric parameter that identifies the server type The default valueis 00 - MQTT server with TCP1 - MQTT server with SSLTLS

ltmqtt_versiongt A numeric parameter that identifies the MQTT protocol version Thepermitted value is 3 or 43 - MQTT version 314 - MQTT version 311

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTACCQ=0client test004OK

It must be called before all commands about MQTT connect and after AT+CMQTTSTART

1424 AT+CMQTTREL Release a client

AT+CMQTTREL Release a clientTest CommandAT+CMQTTREL=

Response+CMQTTREL (0-1)

OKRead CommandAT+CMQTTREL

ResponseOK

Write CommandAT+CMQTTREL=ltclient_indexgt

ResponseOKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 320451

+CMQTTREL ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTREL=0OK

It can be called when client does not connect to server

1425 AT+CMQTTSSLCFG Set the SSL context

AT+CMQTTSSLCFG Set the SSL contextTest CommandAT+CMQTTSSLCFG=

Response+CMQTTSSLCFG (01)(0-9)

OKRead CommandAT+CMQTTSSLCFG

Response+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]

OKWrite CommandAT+CMQTTSSLCFG=ltsession_idgtltssl_ctx_indexgt

ResponseOKorERROR

Defined Values

ltsession_idgt A numeric parameter that identifies a client The range of permitted

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 321451

values is 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CMQTTSSLCFG=01OK

If you donrsquot set the SSL context by this command before connecting to server byAT+CMQTTCONNECT the CMQTTCONNECT operation will use the SSL context as same as indexltsession_idgt (the 1st parameter of AT+ CMQTTCONNECT) when connecting to the server

1426 AT+CMQTTWILLTOPIC Input the will topic

AT+CMQTTWILLTOPIC Input the will topicTest CommandAT+CMQTTWILLTOPIC=

Response+CMQTTWILLTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTWILLTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTWILLTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic The will topic should be UTF-encoded stringThe range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 322451

AT+CMQTTWILLTOPIC=015gtsimcomwilltopicOK

1427 AT+CMQTTWILLMSG Input the will message

AT+CMQTTWILLMSG Input the will messageTest CommandAT+CMQTTWILLMSG=

Response+CMQTTWILLMSG (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTWILLMSG=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTWILLMSG ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input data The will message should be UTF-encodedstring The range is from 1 to 1024 bytes

ltqosgt The qos value of the will message The range is from 0 to 2lterrgt The result code please refer to chapter1431

Example

AT+CMQTTWILLMSG=0170gtsimcomwillmessageOK

1428 AT+CMQTTDISC Disconnect from server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 323451

AT+CMQTTDISC Disconnect from serverTest CommandAT+CMQTTDISC=

Response+CMQTTDISC (0-1)(060-180)

OKRead CommandAT+CMQTTDISC

Response+CMQTTDISC 0ltdisc_stategt+CMQTTDISC 1ltdisc_stategt

OKWrite CommandAT+CMQTTDISC=ltclient_indexgtlttimeoutgt

ResponseOK

+CMQTTDISC ltclient_indexgtlterrgtor+CMQTTDISC ltclient_indexgtlterrgt

OKor+CMQTTDISC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lttimeoutgt The timeout value for disconnection The unit is second The range is60s to 180s The default value is 0s (not set the timeout value)

ltdisc_stategt 1 - disconnection0 - connection

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTDISC=0120OK

+CMQTTDISC 00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 324451

1429 AT+CMQTTCONNECT Connect to MQTT server

AT+CMQTTCONNECT Connect to MQTT serverTest CommandAT+CMQTTCONNECT=

Response+CMQTTCONNECT (0-1)(9-256)(1-64800)(0-1)

OKRead CommandAT+CMQTTCONNECT

Response+CMQTTCONNECT0[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]+CMQTTCONNECT1[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]

OKWrite CommandAT+CMQTTCONNECT=ltclient_indexgtltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]

ResponseOK

+CMQTTCONNECT ltclient_indexgtlterrgtor+CMQTTCONNECT ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltserver_addrgt The string that described the server address and port The range ofthe string length is 9 to 256 bytes The string should be like thistcp1162471191655141 must begin with tcp If theltserver_addrgt not include the port the default port is 1883

ltkeepalive_timegt The time interval between two messages received from a client Theclient will send a keep-alive packet when there is no message sent toserver after song long time The range is from 1s to 64800s (18 hours)

ltclean_sessiongt The clean session flag The value range is from 0 to 1 and defaultvalue is 00 - the server must store the subscriptions of the client after itdisconnected This includes continuing to store QoS 1 and QoS 2messages for the subscribed topics so that they can be deliveredwhen the client reconnects The server must also maintain the state of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 325451

in-flight messages being delivered at the point the connection is lostThis information must be kept until the client reconnects1 - the server must discard any previously maintained informationabout the client and treat the connection as clean The server mustalso discard any state when the client disconnects

ltuser_namegt The user name identifies the name of the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

ltpasswordgt The password corresponding to the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTCONNECT=0tcphooleepingcom8883601OK

+CMQTTCONNECT 00

If you donrsquot set the SSL context by AT+CMQTTSSLCFG before connecting a SSLTLS MQTT server byAT+CMQTTCONNECT it will use the ltclient_indexgt (the 1st parameter of AT+CMQTTCONNECT)SSL context when connecting to the server

14210AT+CMQTTTOPIC Input the publish message topic

AT+CMQTTTOPIC Input the publish message topicTest CommandAT+CMQTTTOPIC=

Response+CMQTTTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTTOPIC ltclient_indexgtlterrgt

ERROR

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 326451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTTOPIC=011gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTPUB

14211 AT+CMQTTPAYLOAD Input the publish message body

AT+CMQTTPAYLOAD Input the publish message bodyTest CommandAT+CMQTTPAYLOAD=

Response+CMQTTPAYLOAD (0-1)(1-10240)

OKWrite CommandAT+CMQTTPAYLOAD=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOK+CMQTTPAYLOAD ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 327451

ltreq_lengthgt The length of input message data The publish message should beUTF-encoded string The range is from 1 to 10240 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPAYLOAD=013gtsimcompayloadOK

The payload will be clean after execute AT+CMQTTPUB

14212AT+CMQTTPUB Publish a message to server

AT+CMQTTPUB Publish a message to serverTest CommandAT+CMQTTPUB=

Response+CMQTTPUB (0-1)(0-2)(60-180)(0-1)(0-1)

OKWrite CommandAT+CMQTTPUB=ltclient_indexgtltqosgtltpub_timeoutgt[ltretainedgt [ltdupgt]]

ResponseOK

+CMQTTPUB ltclient_indexgtlterrgtor+CMQTTPUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltpub_timeoutgt The publishing timeout interval value Since the client publish amessage to server it will report failed if the client receive no response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 328451

from server after the timeout value seconds The range is from 60s to180s

ltretainedgt The retain flag of the publish message The value is 0 or 1 The defaultvalue is 0When a client sends a PUBLISH to a server if the retain flag is set to1 the server should hold on to the message after it has been deliveredto the current subscribers

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPUB=00120OK

+CMQTTPUB 00

14213AT+CMQTTSUBTOPIC Input a subscribe message topic

AT+CMQTTSUBTOPIC Input a subscribe message topicTest CommandAT+CMQTTSUBTOPIC=

Response+CMQTTSUBTOPIC (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTSUBTOPIC=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTSUBTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 329451

UTF-encoded string The range is from 1 to 1024 bytes

NOTE The max length of the total cached topics is 5120ltqosgt The publish messagersquos qos The range is from 0 to 2

0 ndash at most once1 ndash at least once2 ndash exactly once

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUBTOPIC=0110gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTSUB

14214AT+CMQTTSUB Subscribe a message to server

AT+CMQTTSUB Subscribe a message to serverTest CommandAT+CMQTTSUB=

Response+CMQTTSUB (0-1)(1-1024)(0-2)(0-1)

OKWrite Commandsubscribe one or more topicswhich input byAT+CMQTTSUBTOPICAT+CMQTTSUB=ltclient_indexgt[ltdupgt]

ResponseOK

+CMQTTSUB ltclient_indexgtlterrgtor+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command subcribe one topicAT+CMQTTSUB=ltclient_indexgtltreqLengthgtltqosgt[ltdupgt]

Responsegtltinput data heregtOK

+CMQTTSUB ltclient_indexgtlterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 330451

or+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUB=0OK

+CMQTTSUB 00

14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic

AT+CMQTTUNSUBTOPIC Input a unsubscribe message topicTest CommandAT+CMQTTUNSUBTOPIC=

Response+CMQTTUNSUBTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTUNSUBTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTUNSUBTOPIC ltclient_indexgtlterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 331451

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUBTOPIC=011gtsimcomtopicOK

The max length of the total cached topics is 5120The topic will be clean after execute AT+CMQTTUNSUB

14216AT+CMQTTUNSUB Unsubscribe a message to server

AT+CMQTTUNSUB Unsubscribe a message to serverTest CommandAT+CMQTTUNSUB=

Response+CMQTTUNSUB (0-1)(1-1024)(0-1)

OKWrite Command unsubscribe one or moretopics which input byAT+CMQTTUNSUBTOPICAT+CMQTTUNSUB=ltclient_indexgtltdupgt

ResponseOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 332451

unsubscribe one topicAT+CMQTTUNSUB=ltclient_indexgtltreqLengthgtltdupgt

gtltinput data heregtOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUB =00OK

+CMQTTUNSUB 00

14217AT+CMQTTCFG Configure the MQTT Context

AT+CMQTTCFG Configure the MQTT ContextTest CommandAT+CMQTTCFG=

Response+CMQTTCFG checkUTF8(0-1)(0-1)+CMQTTCFG optimeout(0-1)(20-120)+CMQTTCFGaliauth(0-1)productkeydevicenamedevicesecret

OKRead CommandAT+CMQTTCFG

Response+CMQTTCFG 0ltcheckUTF8_flaggtltoptimeout_valgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 333451

+CMQTTCFG 1ltcheckUTF8_flaggtltoptimeout_valgt

OKWrite CommandConfigure the check UTF8flag of the specified MQTTclient contextAT+CMQTTCFG=checkUTF8ltclient_indexgtltcheckUTF8_flaggt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the max timeoutinterval of the send or receivedata operationAT+CMQTTCFG=optimeoutltclient_indexgtltoptimeout_valgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the deviceinformation for Alibaba cloudAT+CMQTTCFG=aliauthltclient_indexgtltproductkeygtltdevicenamegtltdevicesecretgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcheckUTF8_flaggt The flag to indicate whether to check the string is UTF8 coding or notthe default value is 10 ndash Not check UTF8 coding1 ndash Check UTF8 coding

ltoptimeout_valgt The max timeout interval of sending or receiving data operation Therange is from 20 seconds to 120 seconds the default value is 120seconds

ltproductkeygt String type Product key issued by Alibaba Cloudltdevicenamegt String type Device name issued by Alibaba Cloudltdevicesecretgt String type Device secret key issued by Alibaba Cloudlterrgt The result code please refer to chapter 1431

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 334451

AT+CMQTTCFG=checkUTF800OKAT+CMQTTCFG=optimeout0120OK

It must be called before AT+CMQTTCONNECT and after AT+CMQTTACCQ The setting will be clearedafter AT+CMQTTREL

143 Summary of result codes for MQTT(S)

1431 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 operation succeeded1 failed2 bad UTF-8 string3 sock connect fail4 sock create fail5 sock close fail6 message receive fail7 network open fail8 network close fail9 network not opened10 client index error11 no connection12 invalid parameter13 not supported operation14 client is busy15 require connection fail16 sock sending fail17 timeout18 topic is empty19 client is used20 client not acquired

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 335451

21 client not released22 length out of range23 network is opened24 packet fail25 DNS error26 socket is closed by server27 connection refused unaccepted protocol version28 connection refused identifier rejected29 connection refused server unavailable30 connection refused bad user name or password31 connection refused not authorized32 handshake fail33 not set certificate34 open SSL session failed

1432 Summary of Unsolicited Result Codes

Unsolicited codes Description+CMQTTCONNLOSTltclient_indexgtltcausegt

When client disconnect passively URC +CMQTTCONNLOSTwill be reported then user need to connect MQTT server again

+CMQTTPINGltclient_indexgtlterrgt

When send ping (which keep-alive to the server) to server failedthe module will report this URCIf received this message you should disconnect the connectionand re-connect

+CMQTTNONET When the network is become no network the module will reportthis URCIf received this message you should restart the MQTT service byAT+CMQTTSTART

+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt

for long topic split to multiplepackets to report[ltCRgtltLFgt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt]+CMQTTRXPAYLOAD

If a client subscribes to one or more topics any messagepublished to those topics are sent by the server to the client Thefollowing URC is used for transmitting the message publishedfrom server to client1)+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengtAt the beginning of receiving published message the module willreport this to user and indicate client index with ltclient_indexgtthe topic total length with lttopic_total_lengt and the payload totallength with ltpayload_total_lengt2)+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtrnltsub_topicgtAfter the command +CMQTTRXSTART received the module will

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 336451

ltclient_indexgtltsub_payload_lengtltsub_payloadgtfor long payload split to multiplepackets to report[+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtltsub_payloadgt]+CMQTTRXEND ltclient_indexgt

report the second message to user and indicate client index withltclient_indexgt the topic packet length with ltsub_topic_lengt andthe topic content with ltsub_topicgt after rnFor long topic it will be split to multiple packets to report and thecommand +CMQTTRXTOPIC will be send more than once withthe rest of topic content The sum of ltsub_topic_lengt is equal tolttopic_total_lengt3)+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtrnltsub_payloadgtAfter the command +CMQTTRXTOPIC received the module willsend third message to user and indicate client index withltclient_indexgt the payload packet length withltsub_payload_lengt and the payload content with ltsub_payloadgtafter rnFor long payload the same as +CMQTTRXTOPIC4) +CMQTTRXEND ltclient_indexgtAt last the module will send fourth message to user and indicatethe topic and payload have been transmitted completely

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcausegt The cause of disconnection1 ndash Socket is closed passively2 ndash Socket is reset3 ndash Network is closed

lttopic_total_lengt The length of message topic received from MQTT server The range isfrom 1 to 1024 bytes

ltpayload_total_lengt The length of message body received from MQTT server The range isfrom 1 to 10240 bytes

ltsub_topic_lengt The sub topic packet length The sum of ltsub_topic_lengt is equal tolttopic_total_lengt

ltsub_topicgt The sub topic contentltsub_payload_lengt Max length is 1500 The sub message body packet length The sum of

ltsub_payload_lengt is equal to ltpayload_total_lengtltsub_payloadgt The sub message body contentlterrgt The result code please refer to chapter 1431

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 337451

15AT Commands for NTP

151 Overview of AT Commands for NTP

Command DescriptionAT+CNTP Update system time

152 Detailed Description of AT Commands for NTP

1521 AT+CNTP Update system time

AT+CNTP Update system timeTest CommandAT+CNTP=

Response+CNTP 255(-96~96)

OKRead CommandAT+CNTP

Response+CNTP lthostgtlttimezonegt

OK

Write CommandAT+CNTP=lthostgt[lttimezonegt]

ResponseOKorERROR

Execution CommandAT+CNTP

ResponseOK

+CNTP lterrgtorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 338451

Reference -

Defined Values

lthostgt NTP server addresslength is 255lttimezonegt Local time zonethe range is(-96 to 96) default value is 0

Example

AT+CNTP=202120210132OKAT+CNTPOK

+CNTP 0

1522 Unsolicited NTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error5 Time zone error6 Time out error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 339451

16AT Commands for HTP

161 Overview of AT Commands for HTP

Command DescriptionAT+CHTPSERV Set HTP server infoAT+CHTPUPDATE Updating date time using HTP protocol

162 Detailed Description of AT Commands for HTP

1621 AT+CHTPSERV Set HTP server info

AT+CHTPSERV Set HTP server infoTest CommandAT+CHTPSERV=

Response+CHTPSERV ADDHOST(1-65535)(0-1)[PROXY(1-65535)]+CHTPSERV DEL(0-15)

OK

Read CommandAT+CHTPSERV

Response+CHTPSERVltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]hellip+CHTPSERV ltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]

OKorOK (if HTP server not setted)

Write CommandAT+CHTPSERV=ltcmdgtlthost_or_idxgt[ltportgtlthttp_versiongt[ltproxygtltprox

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 340451

y_portgt]]

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltcmdgt This command to operate the HTP server listADD add a HTP server item to the listDEL delete a HTP server item from the list

lthost_or_idxgt If the ltcmdgt is ADD this field is the same as lthostgt needsquotation marks If the ltcmdgt is DEL this field is the index of theHTP server item to be deleted from the list does not need quotationmarks

lthostgt The HTP server addressltportgt The HTP server portlthttp_versiongt The HTTP version of the HTP server

0-HTTP 101-HTTP 11

ltproxygt The proxy addressltproxy_portgt The port of the proxyltindexgt The HTP server index

Example

AT+CHTPSERV=ADDwwwgooglecom801OK

1622 AT+CHTPUPDATE Updating date time using HTP protocol

AT+CHTPUPDATE Updating date time using HTP protocolTest CommandAT+CHTPUPDATE=

ResponseOK

Read CommandAT+CHTPUPDATE

Response+CHTPUPDATE ltstatusgt

OK

Execution CommandAT+CHTPUPDATE

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 341451

+CHTPUPDATE lterrgtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstatusgt The status of HTP moduleUpdating HTP module is synchronizing date timeNULL HTP module is idle now

lterrgt The result of the HTP updating

Example

AT+CHTPUPDATEOK

+CHTPUPDATE 0

1623 Unsolicited HTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 342451

17AT Commands for GPS

171 Overview of AT Commands for GPS

Command DescriptionAT+CGPS StartStop GPS sessionAT+CGPSINFO Get GPS fixed position informationAT+CGPSCOLD Cold start GPSAT+CGPSHOT Hot start GPSAT+CGPSURL Set AGPS default server URLAT+CGPSSSL Set AGPS transport securityAT+CGPSAUTO Start GPS automaticAT+CGPSNMEA Configure NMEA sentence typeAT+CGPSNMEARATE Set NMEA output rateAT+CGPSMD Configure AGPS MO methodAT+CGPSFTM Start GPS test modeAT+CGPSDEL Delete the GPS informationAT+CGPSXE EnableDisable GPS XTRA functionAT+CGPSXD Download XTRA assistant fileAT+CGPSXDAUTO Download XTRA assistant file automaticallyAT+CGPSPMD Configure positioning modeAT+CGPSMSB Configure based mode switch to standaloneAT+CGPSHOR Configure positioning desired accuracyAT+CGNSSINFO Get GNSS fixed position informationAT+CGNSSMODE Configure GNSS support mode

172 Detailed Description of AT Commands for GPS

1721 AT+CGPS StartStop GPS session

AT+CGPS StartStop GPS session

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 343451

Test CommandAT+CGPS=

Response+CGPS (scope ofltonoffgt)(scope ofltmodegt)

OKRead CommandAT+CGPS

Response+CGPS ltonoffgtltmodegt

OKWrite CommandAT+CGPS=ltonoffgt[ltmodegt]

ResponseOKIf UE-assisted mode when fixed will report indication+CAGPSINFO ltlatgtltlongtltaltgtltdategtlttimegtIf ltoffgt it will report indication+CGPS 0

Defined Values

ltonoffgt 0 stop GPS session1 start GPS session

ltmodegt Ignore - standalone mode1 standalone mode2 UE-based mode3 UE-assisted mode

ltlatgt Latitude of current position Unit is in 10^8 degreeltlongt Longitude of current position Unit is in 10^8 degreeltdategt UTC Date Output format is ddmmyyyylttimegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is meters

Example

AT+CGPS+CGPS 01

OKAT+CGPS=0OK

+CGPS 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 344451

1722 AT+CGPSINFO Get GPS fixed position information

AT+CGPSINFO Get GPS fixed position informationTest CommandAT+CGPSINFO=

Response+CGPSINFO (scope oflttimegt)

OKRead CommandAT+CGPSINFO

Response+CGPSINFO lttimegt

OKWrite CommandAT+CGPSINFO=lttimegt

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

If ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGPSINFO

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

Defined Values

ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltlongt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course Degreeslttimegt The range is 0-255 unit is second after set lttimegt will report the GPS

information every the seconds

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 345451

AT+CGPSINFO=+CGPSINFO (0-255)

OKAT+CGPSINFO+CGPSINFO 0

OKAT+CGPSINFOOK

+CGPSINFO 3113343286N12121234064E2503110728093441000

1723 AT+CGPSCOLD Cold Start GPS

AT+CGPSCOLD Cold Start GPSTest CommandAT+CGPSCOLD=

ResponseOK

Execution CommandAT+CGPSCOLD

ResponseOK

Example

AT+CGPSCOLD=OKAT+CGPSCOLDOK

Before using this command ensure GPS is off

1724 AT+CGPSHOT Hot Start GPS

AT+CGPSHOT Hot Start GPSTest CommandAT+CGPSHOT=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 346451

Execution CommandAT+CGPSHOT

ResponseOK

Example

AT+CGPSHOT=OKAT+CGPSHOTOK

Before using this command ensure GPS is off

1725 AT+CGPSURL Set AGPS default server URL

AT+CGPSURL Set AGPS default server URLTest CommandAT+CGPSURL=

ResponseOK

Read CommandAT+CGPSURL

Response+CGPSURL ltURLgt

OKWrite CommandAT+CGPSURL=ltURLgt

ResponseOKOrERROR

Defined Values

ltURLgt AGPS default server URL It needs double quotation marksNOTE Max length of URL is 128

Example

AT+CGPSURL=1231231231238888OKAT+CGPSURL+CGPSURL 1231231231238888

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 347451

It will take effect only after restarting

1726 AT+CGPSSSL Set AGPS transport security

AT+CGPSSSL Set AGPS transport securityTest CommandAT+CGPSSSL=

Response+CGPSSSL (list of supported ltSSLgt)

OKRead CommandAT+CGPSSSL

Response+CGPSSSL ltSSLgt

OKWrite CommandAT+CGPSSSL=ltSSLgt

ResponseOKOrERROR

Defined Values

ltSSLgt 0 donrsquot use certificate1 use certificate

Example

AT+CGPSSSL=0OK

This command is used to select transport security used certificate or not The certificate gets from localcarrier If the AGPS server doesnrsquot need certificate execute AT+CGPSSSL=0

1727 AT+CGPSAUTO Start GPS automatic

AT+CGPSAUTO Start GPS automaticTest Command Response

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 348451

AT+CGPSAUTO= +CGPSAUTO (list of supportedltautogt)

OKRead CommandAT+CGPSAUTO

Response+CGPSAUTO ltautogt

OKWrite CommandAT+CGPSAUTO=ltautogt

ResponseOKOrERROR

Defined Values

ltautogt 0 Non-automatic1 automatic

Example

AT+CGPSAUTO=1OK

If GPS start automatically its operation mode is standalone mode

1728 AT+CGPSNMEA Configure NMEA sentence type

AT+CGPSNMEA Configure NMEA sentence typeTest CommandAT+CGPSNMEA=

Response+CGPSNMEA (scope of ltnmeagt)

OKRead CommandAT+CGPSNMEA

Response+CGPSNMEA ltnmeagt

OKWrite CommandAT+CGPSNMEA=ltnmeagt

ResponseOKOrERROR

Defined Values

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 349451

ltnmeagt Range ndash 0 to 2147483647Each bit enables an NMEA sentence output as followsBit 0 ndash GPGGA (Fix data)Bit 1 ndash GPRMC (recommended minimum data)Bit 2 ndash GPGSV (GPS SVs in view)Bit 3 ndash GPGSA (GPS SV dop and active SV info)Bit 4 ndash GPVTG (Speed and heading info)Bit 5 ndash PQXFIBit 6 ndash PSTIS (proprietary sentence at beginning of each sess)Bit 7 ndash GLGSV (Glonass SV in view info)Bit 8 ndash GNGSA (Dop and Active SV info iff Glonass SVs are used)Bit 9 ndash GNGNS (new GGA message for GNSS)Bit 10 ndash GARMC (GAL recommended minimum data)Bit 11 ndash GAGSV (GAL SVs in view)Bit 12 ndash GAGSA (GAL SV dop and active SV info)Bit 13 ndash GAVTG (GAL Speed and heading info)Bit 14 ndash GAGGA (GAL Fix data)Bit 15 ndash PQGSA (QZSS Enable PQGSA)Bit 16 ndash PQGSV (QZSS Enable PQGSV)Bit 17 ndash DEBUG (NMEA debugging enable)Bit 18 ndash GPDTM (new DTM message for GAL)Bit 19 ndash GNGGA (Fix data)Bit 20 ndash GNRMC (recommended minimum data)Bit 21 ndash GNVTG (GNSS Speed and heading info)Bit 22 ndash GAGNS (GNS message for GAL)Bit 23 ndash GBGGA (BDS Fix data)Bit 24 ndash GBGSA (BDS SV dop and active SV info)Bit 25 ndash GBGSV (BDS SV in view info)Bit 26 ndash GBRMC (BDS recommended minimum data)Bit 27 ndash GBVTG (BDS Speed and heading info)Bit 28 ndash GQGSV (QZSS SV in view info)Bit 29 ndash GIGSV (NAVIC SV in view info)Bit 30 ndash GNDTM (GNSS Datum Message)

Set the desired NMEA sentence bit(s) If multiple NMEA sentenceformats are desired OR the desired bits together

Example

AT+CGPSNMEA=200191OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 350451

take effect next fix

1729 AT+CGPSNMEARATE Set NMEA output rate

AT+CGPSNMEARATE Set NMEA output rateTest CommandAT+CGPSNMEARATE=

Response+CGPSNMEARATE (list of supportedltrategt)

OKRead CommandAT+CGPSNMEARATE

Response+CGPSNMEARATE ltrategt

OKWrite CommandAT+CGPSNMEARATE=ltrategt

ResponseOKOrERROR

Defined Values

ltrategt 0 output rate 1HZ1 output rate 10HZ

Example

AT+CGPSNMEARATE=1OK

the command will effect next open gps

17210AT+CGPSMD Configure AGPS MO method

AT+CGPSMD Configure AGPS MO methodTest CommandAT+CGPSMD=

Response+CGPSMD (scope ofltmethodgt)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 351451

OKRead CommandAT+CGPSMD

Response+CGPSMD ltmethodgt

OKWrite CommandAT+CGPSMD=ltmethodgt

ResponseOK

Defined Values

ltmethodgt 0 Control plane1 User plane

17211 AT+CGPSFTM Start GPS test mode

AT+CGPSFTM Start GPS test modeTest CommandAT+CGPSFTM=

ResponseOK

Read CommandAT+CGPSFTM

Response+CGPSFTM ltonoffgt

OKWrite CommandAT+CGPSFTM=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Close test mode1 Start test mode

ltSVgt Satellite ID numberltCNogt Satellite CNo value Floating valueURC format $GPGSV[ltSVgtltCNogt][]

$GLGSV[ltSVgtltCNogt][]$GBGSV[ltSVgtltCNogt][]$GAGSV[ltSVgtltCNogt][]$GQGSV[ltSVgtltCNogt][]$GIGSV[ltSVgtltCNogt][]

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 352451

AT+CGPSFTM=1OK

$GPGSV3171626191801725619239282242004005001200

$GBGSV230235229274220269

$GQGSV193228195247

URC sentence will report every 1 second

17212AT+CGPSDEL Delete the GPS information

AT+CGPSDEL Delete the GPS informationTest CommandAT+CGPSDEL=

ResponseOK

Execution CommandAT+CGPSDEL

ResponseOK

Example

AT+CGPSDEL=OKAT+CGPSDELOK

This command must be executed after GPS stopped

17213AT+CGPSXE EnableDisable GPS XTRA function

AT+CGPSXE EnableDisable GPS XTRA functionTest CommandAT+CGPSXE=

Response+CGPSXE (list of supportedltonoffgt)

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 353451

OKRead CommandAT+CGPSXE

Response+CGPSXE ltonoffgt

OKWrite CommandAT+CGPSXE=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Disable GPS XTRA1 Enable GPS XTRA

Example

AT+CGPSXE=+CGPSXE (01)

OKAT+CGPSXE=0OK

XTRA function must download the assistant file from network by HTTP so the APN must be set byAT+CGDCONT commandIt will take effect only after restarting

17214AT+CGPSXD Download XTRA assistant file

AT+CGPSXD Download XTRA assistant fileTest CommandAT+CGPSXD=

Response+CGPSXD (list of supportedltservergt)

OKRead CommandAT+CGPSXD

Response+CGPSXD ltservergt

OKWrite Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 354451

AT+CGPSXD=ltservergt OK

+CGPSXD ltrespgt

OrERROR

Defined Values

ltservergt 0 XTRA primary server (precedence)1 XTRA secondary server2 XTRA tertiary server

ltrespgt refer to Unsolicited XTRA download Codes

Example

AT+CGPSXD=+CGPSXD (0-2)

OKAT+CGPSXD=0OK

+CGPSXD 0

17215AT+CGPSXDAUTO Download XTRA assistant file automatically

AT+CGPSXDAUTO Download XTRA assistant file automaticallyTest CommandAT+CGPSXDAUTO=

Response+CGPSXDAUTO (list of supportedltonoffgt)

OKRead CommandAT+CGPSXDAUTO

Response+CGPSXDAUTO ltonoffgt

OKWrite CommandAT+CGPSXDAUTO=ltonoffgt

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 355451

Defined Values

ltonoffgt 0 disable download automatically1 enable download automatically

Example

AT+CGPSXDAUTO=+CGPSXDAUTO (01)

OKAT+CGPSXDAUTO=0OK

17216AT+CGPSPMD Configure positioning mode

AT+CGPSPMD Configure positioning modeTest CommandAT+CGPSPMD=

Response+CGPSPMD (scope of ltmodegt)

OKRead CommandAT+CGPSPMD

Response+CGPSPMD ltmodegt

OKWrite CommandAT+CGPSPMD=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt Default - 65407Range - 1 to 65407Each bit enables a supported positioning mode as followsBit 0 ndash StandaloneBit 1 ndash UP MS-basedBit 2 ndash UP MS-assistedBit 3 ndash CP MS-based (2G)Bit 4 ndash CP MS-assisted (2G)Bit 5 ndash CP UE-based (3G)Bit 6 ndash CP UE-assisted (3G)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 356451

Bit 7 ndash NOT USEDBit 8 ndash UP MS-based (4G)Bit 9 ndash UP MS-assisted(4G)Bit 10 ndash CP MS-based (4G)Bit 11 ndash CP MS-assisted (4G)Set the desired mode sentence bit(s) If multiple modes are desiredOR the desired bits togetherExample support standalone UP MS-based and UP MS-assisted setBinary value 0000 0111 is 7

Example

AT+CGPSPMD=127OK

Need to restart the module after setting the mode

17217AT+CGPSMSB Configure based mode switch to standalone

AT+CGPSMSB Configure based mode switch to standaloneTest CommandAT+CGPSMSB=

Response+CGPSMSB (scope of ltmodegt)

OKRead CommandAT+CGPSMSB

Response+CGPSMSB ltmodegt

OKWrite CommandAT+CGPSMSB=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt 0 Donrsquot switch to standalone mode automatically1 Switch to standalone mode automatically

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 357451

AT+CGPSMSB=0OK

This command take effect next start gps

17218AT+CGPSHOR Configure positioning desired accuracy

AT+CGPSHOR Configure positioning desired accuracyTest CommandAT+CGPSHOR=

Response+CGPSHOR (scope of ltaccgt)

OKRead CommandAT+CGPSHOR

Response+CGPSHOR ltaccgt

OKWrite CommandAT+CGPSHOR=ltaccgt

ResponseOKOrERROR

Defined Values

ltaccgt Range ndash 0 to 1800000Default value is 50

Example

AT+CGPSHOR=50OK

This command take effect next start gps

17219AT+CGNSSINFO Get GNSS fixed position information

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 358451

AT+CGNSSINFO Get GNSS fixed position informationTest CommandAT+CGNSSINFO=

Response+CGNSSINFO (scope of lttimegt)

OKRead CommandAT+CGNSSINFO

Response+CGNSSINFO lttimegt

OKWrite CommandAT+CGNSSINFO=lttimegt

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][HDOP][VDOP]OrIf ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGNSSINFO

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][ltHDOPgt][ltVDOPgt]

Defined Values

ltmodegt Fix mode 2=2D fix 3=3D fixltGPS-SVsgt GPS satellite valid numbers scope 00-12ltGLONASS-SVsgt GLONASS satellite valid numbers scope 00-12ltBEIDOU-SVsgt BEIDOU satellite valid numbers scope 00-12ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltloggt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC-timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course DegreesltPDOPgt Position Dilution Of Precision

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 359451

ltHDOPgt Horizontal Dilution Of PrecisionltVDOPgt Vertical Dilution Of Precisionlttimegt The range is 0-255 unit is second after set lttimegt will report the

GNSS information every the seconds

Example

AT+CGNSSINFO=+CGNSSINFO (0-255)

OKAT+CGNSSINFO+CGNSSINFO 0

OKAT+CGNSSINFOOK

+CGNSSINFO20905003113330650N12121262554E1311170919180329002550110807

AT+CGNSSINFO(if not fixwill report null)OK

+CGNSSINFO

17220AT+CGNSSMODE Configure GNSS support mode

AT+CGNSSMODE Configure GNSS support modeTest CommandAT+CGNSSMODE=

Response+CGNSSMODE (scope of ltgnss_modegt)(scope of ltdpo_modegt)

OKRead CommandAT+CGNSSMODE

Response+CGNSSMODE ltgnss_modegtltdpo_modegt

OKWrite CommandAT+CGNSSMODE=ltgnss_modegt[ltdpo_modegt]

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 360451

Defined Values

ltgnss_modegt Range ndash 0 to 63Bit0 GLONASSBit1 BEIDOUBit2 GALILEOBit3 QZSSBit4 GPSBit5 NAVIC

ltdpo_modegt 1 enable DPO0 disable DPO

Example

AT+CGNSSMODE=151OK

Module should reboot to take effective

17221Unsolicited XTRA download Codes

Code of lterrgt

Code of lterrgt Description0 Assistant file download successfully1 Assistant file doesnrsquot exist2 Assistant file check error225 Memory error227 Network error

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 361451

18AT Commands for LBS

181 Overview of AT Commands for LBS

Command DescriptionAT+CLBS Base station LocationAT+CLBSCFG Base station Location configure

182 Detailed Description of AT Commands for LBS

1821 AT+CLBS Base station location

AT+CLBS Base station LocationTest CommandAT+CLBS=

Response+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OKWrite CommandAT+CLBS=lttypegt[ltcidgt[[ltlongitudegtltlatitudegt][ltlon_typegt]]]

ResponseOK1)lttypegt=1get longitude and latitude+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgt]

2)type = 2get detail address+CLBS ltret_codegt[ltdetail_addrgt]

3)type = 3get access times+CLBS ltret_codegt[lttimesgt]

4)type = 4get longitude latitude and date time+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgtltdategtlttimegt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 362451

5)type = 9 report positioning error+CLBS ltret_codegt

If error is related to ME functionality+CLBS ltret_codegt

ERRORReference

Defined Values

lttypegt A numeric parameter which specifies the location type1 use 3 cellrsquos information2 get detail address3 get access times4 get longitude latitude and date time9 report positioning error

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)

1hellip42ltlongitudegt Current longitude in degrees

-180000000-180000000ltlatitudegt Current latitude in degrees

-90000000-90000000ltdetail_addrgt Current detail address It based the UCS2 coding Each 4 characters

in the URC is for one UCS2 characterltaccgt Positioning accuracyltlon_typegt The type of longitude and latitude

0 WGS841 GCJ02

lttimesgt Access service times(UTCthe format is YYYYMMDDHHMMSS)ltdategt Service date(UTC the format is YYYYMMDD)lttimegt Service time(UTC the format is HHMMSS)ltret_codegt The result code

0 Success1 Parameter error returned by server2 Service out of time returned by server3 Location failed returned by server4 Query timeout returned by server5 Certification failed returned by server6 Server LBS error success7 Server LBS error failed8 LBS is busy9 Open network error10 Close network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 363451

11 Operation timeout12 DNSerror13 Create socket error14 Connect socket error15 Close socket error16 Get cell info error17 Get IMEI error18 Send data error19 Receive data error20 NONET error21 Net not opened80 Report LBS to server success81 Report LBS to server parameter error82 Report LBS to server failed110 Other Error

Example

AT+CLBS=+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OK

AT+CLBS=1OK

+CLBS 031228525121380295500

AT+CLBS=2OK

+CLBS04e0a6d775e020020957f5b81533a002091d1949f8def002097608fd166688baf79d162805927697c

AT+CLBS=3OK

+CLBS 020200430094856

AT+CLBS=4OK

+CLBS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 364451

03122852512138029550020250607104908

If customers feel that the positioning error is too large lttypegt=9 can be used to report this informationThe error can be improved by this informationThe LBS is only support in GSMWCDMACDMALTE5G net modeBefore use LBS please execute AT+NETACT to check urc If return +NETACT 0 please excuteAT+NETACT=1 firstly If return +NETACT 1 excute LBS commands directly

1822 AT+CLBSCFG Base station Location configure

AT+CLBSCFG Base station Location configureTest CommandAT+CLBSCFG=

Response+CLBSCFG (0-1)3 Param Value

OK

Write CommandAT+CLBSCFG=ltoperategtltparagt[ltvaluegt]

Response+CLBSCFG 0ltparagtltvaluegt

OK

If error is related to ME functionality+CLBSCFG ltret_codegt

ERRORReference

Defined Values

ltoperategt 0 Read operator1 Set operator

ltparagt 3 Servers addressltvaluegt String type The value of parameter

Servers address of lbs-simcomcom3002 is freeltret_codegt Please refer to the ltret_codegt of AT+CLBS

Example

AT+CLBSCFG=

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 365451

+CLBSCFG (0-1)3Param Value

OK

AT+CLBSCFG=03+CLBSCFG 03lbs-simcomcom3002

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 366451

19AT Commands for Hardware

191 Overview of AT Commands for Hardware

Command DescriptionAT+IPREX Set UART local baud rate permanentlyAT+CFGRI Indicate RI when using URCAT+CSCLK Control UART sleepAT+CMUX Enable the multiplexer over the UARTAT+CGFUNC Enabledisable the function for the special GPIOAT+CGDRT Set the direction of specified GPIOAT+CGSETV Set the value of specified GPIOAT+CGGETV Get the value of specified GPIOAT+CPCIEMODE Get or set the mode of PCIE

192 Detailed Description of AT Commands for Hardware

1921 AT+IPREX Set UART local baud rate permanently

AT+IPREX Set UART local baud rate permanentlyTest CommandAT+IPREX=

Response+IPREX (list of supported ltspeedgts)

OKRead CommandAT+IPREX

Response+IPREX ltspeedgt

OKorERROR

Write CommandAT+IPREX=ltspeedgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 367451

orERROR

Execution CommandAT+IPREX

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltspeedgt 3006001200240048009600192003840057600115200230400460800921600300000032000003686400

Example

AT+IPREX+IPREX 115200

OKAT+IPREX=+IPREX(3006001200240048009600192003840057600115200230400460800921600300000032000003686400)

OKAT+IPREX=115200OK

1922 AT+CFGRI Indicate RI when using URC

AT+CFGRI Indicate RI when using URCTest CommandAT+CFGRI=

Response+CFGRI (range of supported ltstatusgts)(range of supported ltURCtimegts)(range of supported ltSMS timegts)

OKRead CommandAT+CFGRI

Response+CFGRI ltstatusgtltURC timegtltSMS timegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 368451

orERROR

Write CommandAT+CFGRI=ltstatusgt[ltURCtimegtltSMS timegt]

ResponseOKorERROR

Execution CommandAT+CFGRI

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (default)1 on

ltURC timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 10 to 600060 (Default)

ltSMS timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 20 to 6000120 (Default)

Example

AT+CFGRI+CFGRI 060120

OKAT+CFGRI=+CFGRI (0-1)(10-6000)(20-6000)

OKAT+CFGRI=1OKAT+CFGRIOK

1923 AT+CSCLK Control UART sleep

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 369451

AT+CSCLK Control UART sleepTest CommandAT+CSCLK=

Response+CSCLK (range of supported ltstatusgts)

OKRead CommandAT+CSCLK

Response+CSCLK ltstatusgt

OKorERROR

Write CommandAT+CSCLK=ltstatusgt

ResponseOKorERROR

Execution CommandAT+CSCLK

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (Default)1 on

Example

AT+CSCLK+CSCLK 0

OKAT+CSCLK=+CSCLK (0-1)

OKAT+CSCLK=1OKAT+CSCLKOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 370451

1924 AT+CMUX Enable the multiplexer over the UART

AT+CMUX Enable the multiplexer over the UARTTest CommandAT+CMUX=

Response+CMUX (range of supported ltmodegts)(range of supportedltsubsetgts)(range of supported ltport_speedgts)(range of supportedltN1gts)(range of supported ltT1gts)(range of supportedltN2gts)(range of supported ltT2gts)

OKorERROR

Read CommandAT+CMUX

Response+CMUX ltmodegtltsubsetgtltport_speedgtltN1gtltT1gtltN2gtltT2gt

OKorERROR

Write CommandAT+CMUX=ltmodegt[ltsubsetgt[ltport_speedgt[ltN1gt[ltT1gt[ltN2gt[ltT2gt]]]]]]

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltmodegt 0 basic mode (default)ltsubsetgt 0 UIH frame type (default)ltport_speedgt 1-8

CMUX always use current bitrate the value only use for compatible1 9600 bits

2 19200 bits

3 38400 bits

4 57600 bits

5 115200 bits

6 230400 bitss

The default value is 5(115200 bits)ltN1gt Integer type Max frame size in bytes in Information field

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 371451

The parameter range is 1 to 1500118 bytes (Default)

ltT1gt Time UE waits for an acknowledgement before resorting to otheraction (Donrsquot Support Setting Currently)

ltN2gt The max re-tries (Donrsquot Support Setting Currently)ltT2gt Integer type The time in ms mux control channel waits before

re-transmitting a commandThe parameter range is 2 to 1000The default value is 600the mean is 6000 ms (Default)

Example

AT+CMUX+CMUX 005150000600

OKAT+CMUX=+CMUX (0)(0)(1-8)(1-1500)(0)(0)(2-1000)

OK

1925 AT+CGFUNC Enabledisable the function for the special GPIO

AT+CGFUNC Enable disable the function for the special GPIOTest CommandAT+CGFUNC=

Response+CGFUNC (list of supported ltgpiogts)(rang of supportedltfunctiongts)

OKWrite CommandAT+CGFUNC=ltgpiogt

Response+CGFUNC ltgpiogtltfunctiongt

OKorERROR

Write CommandAT+CGFUNC=ltgpiogtltfunctiongt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 372451

Defined Values

ltgpiogt Different hardware versions have the different valuesltfunctiongt GPIO function

0 function 11 function 2

Example

AT+CGFUNC=+CGFUNC (383940)(0-1)

OKAT+CGFUNC=40+CGFUNC 400

OKAT+CGFUNC=401OK

1926 AT+CGDRT Set the direction of specified GPIO

AT+CGDRT Set the direction of specified GPIOTest CommandAT+CGDRT=

Response+CGDRT (list of supported ltgpiogts)(list of supported ltgpio_iogts)

OKWrite CommandAT+CGDRT=ltgpiogt

Response+CGDRT ltgpiogtltgpio_iogt

OKorERROR

Write CommandAT+CGDTR=ltgpiogtltgpio_iogt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 373451

Defined Values

ltgpiogt Different hardware versions have the different valuesltgpio_iogt 0 in

1 out

Example

AT+CGDRT=400OK

1927 AT+CGSETV Set the value of specified GPIO

AT+CGSETV Set the value of specified GPIOTest CommandAT+CGSETV=

Response+CGSETV (list of supported ltgpiogts)(rang of supported ltvaluegts)

OKWrite CommandAT+CGSETV=ltgpiogtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGSETV=+CGSETV (383940)(0-1)

OKAT+CGSETV=401OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 374451

1928 AT+CGGETV Get the value of specified GPIO

AT+CGGETV Get the value of specified GPIOTest CommandAT+CGGETV=

Response+CGGETV (list of supported ltgpiogts)

OKWrite CommandAT+CGGETV=ltgpiogt

Response+CGGETV ltgpiogtltvaluesgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGGETV=+CGGETV (383940)

OKAT+CGGETV=40+CGGETV 401

OK

1929 AT+CPCIEMODE Get or set the mode of PCIE

This command use to set or get PCIE modethe command only support on M2 board when the AT settingis successful the module will be restarted

AT+CPCIEMODE Get or set the mode of PCIETest CommandAT+CPCIEMODE=

Response+CPCIEMODE (list of supported ltmodegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 375451

OKRead CommandAT+CPCIEMODE

Response+CPCIEMODE ltmodegt

OKorERROR

Write CommandAT+CPCIEMODE=ltmodegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt EP EP modeHOST HOST mode

Example

AT+CPCIEMODE=+CPCIEMODE EPHOST

OKAT+CPCIEMODE=EPOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 376451

20 Hardware Related Commands

201 Overview of Hardware Related Commands

Command DescriptionAT+CVALARM Set overvoltage and undervoltage alarmAT+CADC Read the value of ADCAT+CADC2 Read the value of ADC2AT+CMTE Set the power action when over the critical temperatureAT+CPMVT Set the power action when overvoltage and undervoltageAT+CDELTA Set module reboot to recovery modeAT+CBC Read the voltage value of the power supplyAT+CPMUTEMP Read the temperature of the modulesAT+CUSBCFG Set usbidadb modeedl mode and bootloader modeAT+CCPUTEMP Read the temperature of CPU different zones

202 Detailed Description of AT Commands for Hardware

2021 AT+CVALARM Set overvoltage and undervoltage alarm

This command is used to open or close the low voltage alarm function

AT+CVALARM Set overvoltage and undervoltage alarmTest CommandAT+CVALARM=

Response+CVALARM (list of supported ltenablegts)(range of supportedltlow_voltagegts)(range of supported lthigh_voltagegts)

OKRead CommandAT+CVALARM

Response+CVALARM ltenablegtltlow_voltagegtlthigh_voltagegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 377451

orERROR

Write CommandAT+CVALARM=ltenablegt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablegt 0 close alarm(Default)1 open alarm

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3300mV to 4000mV depending on hardwaredesign3300mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CVALARM=+CVALARM (01)(3300-4000)(4001-4300)

OKAT+CVALARM+CVALARM 134004300

OKAT+CVALARM=134004300OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING every 10s If voltage lthighvoltagegt it will report OVER-VOLTAGE WARNNING every 10s

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 378451

2022 AT+CADC Read the value of ADC

This command is used to read the ADC value from modem ME supports 2 types of value which are rawtype and voltage type

AT+CADC Read the value of ADCTest CommandAT+CADC=

Response+CADC (list of supported lttypegts)

OKWrite CommandAT+CADC=lttypegt

Response+CADC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC=+CADC (02)

OKAT+CADC=0+CADC 187

OK

2023 AT+CADC2 Read the value of ADC2

This command is used to read the ADC2 value from modem ME supports 2 types of value which are rawtype and voltage type

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 379451

AT+CADC2 Read the value of ADC2Test CommandAT+CADC2=

Response+CADC2 (list of supported lttypegts)

OKWrite CommandAT+CADC2=lttypegt

Response+CADC2 ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC2=+CADC2 (02)

OKAT+CADC2=0+CADC2 187

OK

2024 AT+CMTE Set the power action when over the critical temperature

This command is used to control the module whether power off when temperature upon the criticaltemperature

AT+CMTE Set the power action when over the critical temperatureTest CommandAT+CMTE=

Response+CMTE (list of supported ltpower_offgts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 380451

OKRead CommandAT+CMTE

Response+CMTE ltpower_offgt

OKorERROR

Write CommandAT+CMTE=ltpower_offgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

Example

AT+CMTE=+CMTE (01)

OK

AT+CMTE+CMTE 1

OKAT+CMTE=0OK

2025 AT+CPMVT Set the power action when overvoltage and undervoltage

This command is used to open or close the power off action when undervoltage and overvoltage

AT+CPMVT Set the power action when overvoltage and undervoltageTest CommandAT+CPMVT=

Response+CPMVT (list of supported ltpower_offgts)(list of supportedltlow_voltagegts)(list of supported lthigh_voltagegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 381451

OKRead CommandAT+CPMVT

Response+CPMVT ltpower_offgtltlow_voltagegtlthigh_voltagegt

OKorERROR

Write CommandAT+CPMVT=ltpower_offgt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3200mV to 4000mV depending on hardwaredesign3200mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CPMVT=+CPMVT (01)(3200-4000)(4001-4300)

OKAT+CPMVT+CPMVT 134004300

OKAT+CPMVT=1OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING POWER DOWN and power off

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 382451

the module If voltage lthigh voltagegt it will report OVER-VOLTAGE WARNNING POWER DOWNand power off the module

2026 AT+CDELTA Set module reboot to recovery mode

AT+CDELTA Set module reboot to recovery modeExecution CommandAT+CDELTA

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Example

AT+CDELTAOK

This command will write a flag to the module and restart Check the flag during the next boot and enterrecovery mode to prepare for the firmware upgrade

2027 AT+CBC Read the voltage value of the power supply

AT+CBC Read the voltage value of the power supplyExecution CommandAT+CBC

Response+CBC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltvaluegt The voltage value such as 38V

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 383451

Example

AT+CBC+CBC 3657V

OK

2028 AT+CPMUTEMP Read the temperature of the modules

AT+CPMUTEMP Read the temperature of the moduleExecution CommandAT+CPMUTEMP

Response+CPMUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt Char type

Example

AT+CPMUTEMP+CPMUTEMP 28

OK

2029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode

AT+CUSBCFG Set usbidadb modeedl mode and bootloader modeTest CommandAT+CUSBCFG=

ResponseBOOTLDRBOOTEDLUSBADB (list of supportedltadb_stategts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 384451

USBID ltvendor_idgt(list of supportedltproduct_idgts)

OKRead CommandAT+CUSBCFG

ResponseUSBADB ltadb_stategtUSBID ltvendor_idgtltproduct_idgt

OKorERROR

Write CommandAT+CUSBCFG=bootldr

Response

AT+CUSBCFG=bootedlAT+CUSBCFG=usbadbltadb_stategt

OKorERROR

AT+CUSBCFG=usbidltvendor_idgtltproduct_idgt

OKorERROR

AT+CUSBCFG=USBMODE USBMODE ltusb_stategtParameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltvendor_idgt 1e0eltproduct_idgt 9001

9011ltadb_stategt 0

1ltusb_stategt USB30

USB20

Example

AT+CUSBCFG=BOOTLDRBOOTEDLUSBADB (01)USBID 1E0E(90019011)

OKAT+CUSBCFGUSBADB 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 385451

USBID 0X1E0E0x9001

OKAT+CUSBCFG=bootldrOKAT+CUSBCFG=bootedlOKAT+CUSBCFG=usbadb1OKAT+CUSBCFG=usbid1e0e9011OKAT+CUSBCFG=usbmodeUSBMODE USB30

OK

1When default composition is 9011 you may need to execute AT+NETACT=1 to turn on networkAfter AT+CUSBCFG=usbadb10 not need to excute AT+CRESET2AT+CUSBCFG=bootldr and AT+CUSBCFG=booted no responsewhen use those commandsthedevice directly enters the corresponding mode

20210AT+CCPUTEMP Read the temperature of CPU different zones

AT+CCPUTEMP Read the temperature of CPU different zonesTest CommandAT+CCPUTEMP=

Response+CCPUTEMP (0-6)

OKWrite CommandAT+CCPUTEMP=ltzonegt

Response+CCPUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt int type

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 386451

ltzonegt 0-6

Example

AT+CCPUTEMP=2+CCPUTEMP 28

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 387451

21AT Commands for UIM hot swap

211 Overview of AT Commands for UIM hot swap

Command DescriptionAT+UIMHOTSWAPON Set UIM hot swap function onAT+UIMHOTSWAPLEVEL Set UIM card detection level

212 Detailed Description of AT Commands for UIM hot swap

2121 AT+UIMHOTSWAPON Set UIM hot swap function on

AT+UIMHOTSWAPON Set UIM hot swap function onRead CommandAT+UIMHOTSWAPON

Response+UIMHOTSWAPON ltonoffgt

OK

Write CommandAT+UIMHOTSWAPON=ltonoffgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltonoffgt 0 The UIM hot swap function is disabled1 The UIM hot swap function is enabled

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 388451

AT+UIMHOTSWAPON+UIMHOTSWAPON 0

OKAT+UIMHOTSWAPON=1OK

Module reset to take effect

2122 AT+UIMHOTSWAPLEVEL Set UIM card detection level

AT+UIMHOTSWAPLEVEL Set UIM card detection levelRead CommandAT+UIMHOTSWAPLEVEL

Response+UIMHOTSWAPLEVEL ltlevelgt

OK

Write CommandAT+UIMHOTSWAPLEVEL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltlevelgt 0 ACTIVE LOW1 ACTIVE HIGH

Example

AT+UIMHOTSWAPLEVEL+UIMHOTSWAPLEVEL 0

OKAT+UIMHOTSWAPLEVEL=1OK

Module reset to take effect

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 389451

UIM card detection level depends on the SIM card holder usually itrsquos a normal open kind oneThe default value 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 390451

22AT Commands for File System

The file system is used to store files in a hierarchical (tree) structure and there are some definitions andconventions to use the Module

Local storage space is mapped to C D for TF card E for multimedia F for cache

General rules for naming (both directories and files)The length of actual fully qualified names of directories and files can not exceed 254Directory and file names can not include the following characters ltgt | Between directory name and filedirectory name use character as list separator so it can not appearin directory name or file nameThe first character of names must be a letter or a numeral or underline and the last character can notbe period and oblique

221 Overview of AT Commands for File System

Command DescriptionAT+FSCD Select directory as current directoryAT+FSMKDIR Make new directory in current directoryAT+FSRMDIR Delete directory in current directoryAT+FSLS List directoriesfiles in current directoryAT+FSDEL Delete file in current directoryAT+FSRENAME Rename file in current directoryAT+FSATTRI Request file attributesAT+FSMEM Check the size of available memoryAT+FSLOCA Select storage placeAT+FSCOPY Copy an appointed fileAT+CFTRANRX Transfer a file to EFSAT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 391451

222 Detailed Description of AT Commands for File System

2221 AT+FSCD Select directory as current directory

This command is used to select a directory The Module supports absolute path and relative pathRead Command will return current directory without double quotation marks Support C D E F

AT+FSCD Select directory as current directoryTest CommandAT+FSCD=

ResponseOK

Read CommandAT+FSCD

Response+FSCD ltcurr_pathgt

OK

Write CommandAT+FSCD=ltpathgt

Response+FSCD ltcurr_pathgt

OKorERROR

Defined Values

ltpathgt String without double quotes directory for selectionltcurr_pathgt String without double quotes current directory

If ltpathgt is it will go back to previous level of directory

Example

AT+FSCD=C+FSCD C

OKAT+FSCD=C+FSCD C

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 392451

AT+FSCD+FSCD C

OKAT+FSCD=+FSCD C

OKAT+FSCD=D+FSCD D

OKAT+FSCD+FSCD D

OK

2222 AT+FSMKDIR Make new directory in current directory

This command is used to create a new directory in current directory Support C D E F

AT+FSMKDIR Make new directory in current directoryTest CommandAT+FSMKDIR=

ResponseOK

Write CommandAT+FSMKDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes directory name which does not alreadyexist in current directory

Example

AT+FSMKDIR=SIMTechOKAT+FSCD+FSCD E

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 393451

AT+FSLS+FSLS SUBDIRECTORIESAudioSIMTech

OK

2223 AT+FSRMDIR Delete directory in current directory

This command is used to delete existing directory in current directory Support C D E F

AT+FSRMDIR Delete directory in current directoryTest CommandAT+FSRMDIR=

ResponseOK

Write CommandAT+FSRMDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes

Example

AT+FSRMDIR=SIMTechOKAT+FSCD+FSCD E

OKAT+FSLS+FSLS SUBDIRECTORIESAudio

OK

2224 AT+FSLS List directoriesfiles in current directory

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 394451

This command is used to list information of directories andor files in current directory Support C DE F

AT+FSLS List directoriesfiles in current directoryTest CommandAT+FSLS=

Response+FSLS (list of supported lttypegt)

OKRead CommandAT+FSLS

Response+FSLS SUBDIRECTORIESltdir_numgtFILESltfile_numgt

OK

Write CommandAT+FSLS=lttypegt

Response[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Execution CommandAT+FSLS

[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Defined Values

ltdir_numgt Integer type the number of subdirectories in current directoryltfile_numgt Integer type the number of files in current directorylttypegt 0 list both subdirectories and files

1 list subdirectories only2 list files only

Example

AT+FSLS+FSLS SUBDIRECTORIES2FILES2

OKAT+FSLS+FSLS SUBDIRECTORIESFirstDir

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 395451

SecondDir

+FSLS FILESimage_0jpgimage_1jpg

OKAT+FSLS=2+FSLS FILESimage_0jpgimage_1jpg

OK

2225 AT+FSDEL Delete file in current directory

This command is used to delete a file in current directory Before do that it needs to use AT+FSCD selectthe father directory as current directory Support C D E F

AT+FSDEL Delete file in current directoryTest CommandAT+FSDEL=

ResponseOK

Write CommandAT+FSDEL=ltfilenamegt

ResponseOKorERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is relative andalready existingIf ltfilenamegt is it means delete all files in current directoryIf the file path contains non-ASCII characters the filename parametershould contain a prefix of non-ascii and the quotation mark

Example

AT+FSDEL=image_0jpgOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 396451

2226 AT+FSRENAME Rename file in current directory

This command is used to rename a file in current directory Support C D E F

AT+FSRENAME Rename file in current directoryTest CommandAT+FSRENAME=

ResponseOK

Write CommandAT+FSRENAME=ltold_namegtltnew_namegt

ResponseOKorERROR

Defined Values

ltold_namegt String with or without double quotes file name which is existed incurrent directory If the file path contains non-ASCII characters the filepath parameter should contain a prefix of non-ascii and the quotationmark

ltnew_namegt New name of specified file string with or without double quotes If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-ascii and the quotation mark

Example

AT+FSRENAME=image_0jpgimage_1jpgOKAT+FSRENAME=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067OK

2227 AT+FSATTRI Request file attributes

This command is used to request the attributes of file which exists in current directory Support C DE F

AT+FSATTRI Request file attributesTest CommandAT+FSATTRI=

ResponseOK

Write CommandAT+FSATTRI=ltfilenamegt

Response+FSATTRI ltfile_sizegtltcreate_dategt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 397451

orERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is in currentdirectory If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltfile_sizegt The size of specified file and the unit is in Byteltcreate_dategt Create date and time of specified file the format is YYYYMMDD

HHMMSS WeekWeek Mon Tue Wed Thu Fri Sat Sun

Example

AT+FSATTRI=image_0jpg+FSATTRI 860420080428 102446 Tue

OKAT+FSATTRI=non-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSATTRI 629620120106 000000 Sun

OK

2228 AT+FSMEM Check the size of available memory

This command is used to check the size of available memory The response will list total size and used sizeof local storage space if present and mounted Support C D E F

AT+FSMEM Check the size of available memoryTest CommandAT+FSMEM=

ResponseOK

Execution CommandAT+FSMEM

Response+FSMEM ltloctypegt(lttotalgtltusedgt)

OK

Defined Values

ltloctypegt Support C D E Flttotalgt The total size of local storage spaceThe unit of storage space size is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 398451

in Byteltusedgt The used size of local storage spaceThe unit of storage space size is

in Byte

Example

AT+FSMEM+FSMEM C(113484802201600)

OK

2229 AT+FSLOCA Select storage place

This command is used to set the storage place for media files Support C

AT+FSLOCA Select storage placeTest CommandAT+FSLOCA=

Response+FSLOCA (list of supported ltlocagts)

OKRead CommandAT+FSLOCA

+FSLOCA ltlocagt

OK

Write CommandAT+FSLOCA=ltlocagt

ResponseOKorERROR

Defined Values

ltlocagt 0 store media files to local storage space (namely C)

Example

AT+FSLOCA=0OKAT+FSLOCA+FSLOCA 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 399451

22210AT+FSCOPY Copy an appointed file

This command is used to copy an appointed file on C to an appointed directory on C the new file nameshould give in parameter Support CD E F but copying from C to D E F or from DE F to C is not supported

AT+FSCOPY Copy an appointed fileTest CommandAT+FSCOPY=

ResponseOK

Write CommandAT+FSCOPY=ltfile1gtltfile2gt[ltsync_modegt]

ResponseSync mode+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]OK

Async modeOK+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]+FSCOPY ENDltCRgtltLFgtOrWhen error shows one of the following errors and ERRORSD CARD NOT PLUGGED INFILE IS EXISTINGFILE NOT EXISTINGDIRECTORY IS EXISTEDDIRECTORY NOT EXISTEDFORBID CREATE DIRECTORY UNDER CFORBID DELETE DIRECTORYINVALID PATH NAMEINVALID FILE NAMESD CARD HAVE NO ENOUGH MEMORYEFS HAVE NO ENOUGH MEMORYFILE CREATE ERRORREAD FILE ERRORWRITE FILE ERROR

ERROR

Defined Values

ltfile1gt The sources file name or the whole path name with sources file nameIf the file path contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 400451

ltfile2gt The destination file name or the whole path name with destination filename If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltpercentgt The percent of copy done The range is 00 to 1000ltsync_modegt The execution mode of the command

0 synchronous mode Default 01 asynchronous mode

1 The ltfile1gt and ltfile2gt should give the whole path and name if only given file name it will refer tocurrent path (AT+FSCD) and check the filersquos validity2 If ltfile2gt is a whole path and name make sure the directory exists make sure that the file namedoes not exist or the file name is not the same name as the sub folder name otherwise return error3 ltpercentgt report refer to the copy file size The big file maybe report many times and little file reportless4 If ltsync_modegt is 1 the command will return OK immediately and report final result with+FSCOPY END

Example

AT+FSCD+FSCD C

OKAT+FSCOPY=CTESTFILECOPYFILE (Copy file TESTFILE on C to CCOPYFILE)+FSCOPY 10

+FSCOPY 1000

OKAT+FSCOPY=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSCOPY 10

+FSCOPY 1000

OK

22211 AT+CFTRANRX Transfer a file to EFS

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 401451

This command is used to transfer a file to EFSSupport SDcard

AT+CFTRANRX Transfer a file to EFSTest CommandAT+CFTRANRX=

Response+CFTRANRX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANRX=ltfilepathgtltlengt

ResponsegtOKorgtERRORorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the file data to send The range is from 0 to 2147483647

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANRX=CMyDirt1txt10gtltinput data heregt

OKAT+CFTRANRX=DMyDirt1txt10gtltinput data heregt

OK

22212AT+CFTRANTX Transfer a file from EFS to host

This command is used to transfer a file from EFS to host Before using this command the AT+CATR mustbe used to set the correct port used Support SDcard

AT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 402451

Test CommandAT+CFTRANTX=

Response+CFTRANTX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANTX=ltfilepathgt[ltlocationgtltsizegt]

Response[+CFTRANTX DATAltlengthellip+CFTRANTX DATAltlengt]

+CFTRANTX 0

OKorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the following file data to outputltlocationgt The beginning of the file data to outputltsizegt The length of the file data to output

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANTX=CMyDirt1txt+CFTRANTX DATA11Testcontent

+CFTRANTX 0

OKAT+CFTRANTX=DMyDirt1txt14+CFTRANTX DATA4estc

+CFTRANTX 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 403451

23AT Commands for AUDIO

231 Overview of AT Commands for AUDIO

Command DescriptionAT+CREC Record wav audio fileAT+CRECAMR Record amr audio fileAT+CCMXPLAY Play audio fileAT+CCMXSTOP Stop playing audio file

232 Detailed Description of AT Commands for AUDIO

2321 AT+CREC Record wav audio file

AT+CREC Record wav audio fileRead CommandAT+CREC

Response+CREC ltstatusgt

OK

Write CommandAT+CREC=ltrecord_pathgtltfilenamegt

Response+CREC 1

OKorERROR

Write CommandAT+CREC=ltmodegt

Response+CREC 0

OK

+RECSTATE crec stopor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 404451

+CREC 0

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt Indicate whether the recording is going on0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path3 ndash local and remote sound mixing

ltfilenamegt The location and name of wav fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2 or 3

Example

AT+CREC=1erecwav+CREC 1

OK

AT+CREC=0+CREC 0

OK

+RECSTATE crec stop

2322 AT+CRECAMR Record amr audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 405451

AT+CRECAMR Record amr audio fileRead CommandAT+CRECAMR

Response+CRECAMR ltstatusgt

OK

Write CommandAT+CRECAMR=ltrecord_pathgtltfilenamegt

Response+CRECAMR ltstatusgt

OKorERROR

Write CommandAT+CRECAMR=ltmodegt

Response+CRECAMR ltstatusgt

OK

+RECSTATE crecamr stopor+CRECAMR ltstatusgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltstatusgt Indicate whether the recording is going on

0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path

ltfilenamegt The location and name of amr fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 406451

AT+CRECAMR=1erecamr+CRECAMR 1

OK

AT+CRECAMR=0+CRECAMR 0

OK

+RECSTATE crecamr stop

2323 AT+CCMXPLAY Play audio file

AT+CCMXPLAY Play audio fileTest CommandAT+CCMXPLAY=

Response+CCMXPLAY (0-1)(0-255)

OK

Read CommandAT+CCMXPLAY

Response+CCMXPLAY ltstatusgt

OK

Write CommandAT+CCMXPLAY=ltfilenamegt[ltplay_pathgt][ltrepeatgt]

Response+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stoporERRORor+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play errorParameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 407451

Max Response Time -Reference -

Defined Values

ltplay_pathgt Play to local or to remote Default 00 ndash local1 ndash remote

ltrepeatgt How much times can be played Default 0ltfilenamegt The location and name of wav fileltstatusgt Indicate playing thread status Default value is 0

0 ndash idle1 ndash busy playing

ltfilenamegtThe wav audio file should be located at E Maximum filename length is 240 bytes(including ) Support audio file format mp3 aac amr wavltplay_pathgtOnly during the call ltplay_pathgtcan be set to 1 successfullyOnly 8k 16bit wav audio andamr audio can be played to remote at presentltrepeatgtThis parameter is reservednot used at present you can input this parameter or not (0-255)

Example

AT+CCMXPLAY=+CCMXPLAY (0-1)(0-255)

OK

AT+CCMXPLAY=Erecmp300+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stop

2324 AT+CCMXSTOP Stop playing audio file

AT+CCMXSTOP Stop playing audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 408451

Test CommandAT+CCMXSTOP=

ResponseOK

Execution CommandAT+CCMXSTOP

Response+CCMXSTOP

OK

+AUDIOSTATE audio play stopParameter Saving Mode -

Max Response Time -Reference -

Defined Values

- -

Example

AT+CCMXSTOP+CCMXSTOP

OK

+AUDIOSTATE audio play stop

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 409451

24AT Commands for TTS

241 Overview of AT Commands for TTS

Command DescriptionAT+CDTAM TTS play path local or remoteAT+CTTS TTS operation play or stopAT+CTTSPARAM TTS parameters set or get

242 Detailed Description of AT Commands for TTS

2421 AT+CDTAM TTS play path local or remote

AT+CDTAM TTS play path local or remoteTest CommandAT+CDTAM=

Response+CDTAM (0-1)

OKRead CommandAT+CDTAM

Response+CDTAM ltstatusgt

OK

Write CommandAT+CDTAM=ltmodegt

Response+CDTAM

OKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 410451

Defined Values

ltstatusgt Indicate play path play TTS to local or play to remote0 ndash local path1 ndash remote path

ltmodegt Set TTS play path local or remote Default value is 00 ndash local path1 ndash remote path

Example

AT+CDTAM=1+CDTAM

OK

2422 AT+CTTS TTS operation play or stop

AT+CTTS TTS operation play or stopTest CommandAT+CTTS=

ResponseOK

Read CommandAT+CTTS

Response+CTTS ltstatusgt

OK

Write CommandAT+CTTS=ltmodegt[lttextgt]

ResponseIf ltmodegtis 0 thenlttextgt is not required When TTS is playingreturn+CTTS0

OK

If ltmodegtis 0 then lttextgt is not required When TTS is not playingreturnOK

If ltmodegtis 1 or 2 then lttextgt is must be required returnOK

+CTTS0orERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 411451

orOK

+CTTS1Write CommandAT+CTTS=ltmodegt[lttextgt][ltfilenamegt]

ResponseIf ltmodegtis 3 or 4 then lttextgt and ltfilenamegt are must be requiredreturnOK

+CTTS0orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltstatusgt Indicate playing thread status Default value is 00 ndash NO_WORKING1 ndash PLAY_WAV_WORKING2 ndash AMR_WORKING3 ndash MP3_WORKING4 ndash AAC_WORKING5 ndash WAV_WORKING6 ndash TTS_WORKING8 ndash CREC_WORKING

ltmodegt Stop or play TTS0 ndash stop TTS1 ndash lttextgt is in UCS2 coding format Start to synth and play2 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play3 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play and save pcm data as wav file4 ndash lttextgtis in UCS2 coding format Start to synth and play and savepcm data as wav file

ltfilenamegt Location and filename for wav file

lttextgt which is synthetized to speed to be playedmaximum data length is 512 bytes (including )ltfilenamegtThe file should be put into the Efilenamewav Maximum filename length is 240 bytes(including )

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 412451

AT+CTTS=16B228FCE4F7F75288BED97F3540862107CFB7EDFOK

+CTTS0

AT+CTTS=3欢迎使用语音合成系统EttswavOK

+CTTS0

AT+CTTS=0OK

2423 AT+CTTSPARAM TTS Parameters set or get

AT+CTTSPARAM TTS Parameters set or getTest CommandAT+CTTSPARAM=

Response+CTTSPARAM (0-2)(0-3)(0-3)(0-2)(0-2)

OKRead CommandAT+CTTSPARAM

Response+CTTSPARAMltvolumegtltsysvolumegtltdigitmodegtltpitchgtltspeedgt

OKWrite CommandAT+CTTSPARAM=ltvolumegt[ltsysvolumegt[ltdigitmodegt[ltpitchgt[ltspeedgt]]]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltvolumegt TTS Speech Volume default20 ndash the mix volume1 ndash the normal volume2 ndash the max volume

ltsysvolumegt The module system volumedefault30 ndash the mix system volume1 ndash the small system volume

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 413451

2 ndash the normal system volume3 ndash the max system volume

ltdigitmodegt The digit read mode default00 ndash auto read digit based on number rule first1 ndash auto read digit bases on telegram rule first2 ndash read digit based on telegram rule3 ndash read digit based on number rule

ltpitchgt The voice tone default10 ndash the mix voice tone1 ndash the normal voice tone2 ndash the max voice tone

ltspeedgt The voice speed default10 ndash the mix speed1 ndash the normal speed2 ndash the max speed

ltsysvolumegtIt takes no effect to setltsysvolumegtreserved at present

Example

AT+CTTSPARAM=23011OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 414451

25AT Commands for Bluetooth

251 Overview of AT Commands for Bluetooth

Command DescriptionAT+BTINIT Init Bluetooth serviceAT+BTTERM Stop Bluetooth serviceAT+BTPOWER OpenClose BluetoothAT+BTHOST Get or Set host nameAT+BTSCAN Scan BT devicesAT+BTPAIR Pair with other BT deviceAT+BTPAIRED Get Paired BT devicesAT+BTUNPAIR Unpair with the paired BT deviceAT+BTOPPREG OPP RegisterAT+BTOPPSEND OPP send file+BTOPPRECVING OPP receive file notificationAT+BTOPPACCEPT OPP accept or refuse received fileAT+BTGATTREG GATT registerAT+BTGATTCRESRV GATT create serviceAT+BTGATTCRECHAR GATT create service characteristicAT+BTGATTCRECHARDES GATT create service characteristic descriptionAT+BTGATTSTARTSRV GATT startstop serviceAT+BTGATTSTARTADV GATT start advertisementAT+BTGATTDELSRV GATT delete service+BTGATTCONN GATT client connect status+BTGATTWRIND GATT receive client write requestAT+BTGATTWRCFM GATT response to BTGATTWRIND+BTGATTREADIND GATT receive client read requestAT+BTGATTREADCFM GATT response to BTGATTREADINDAT+BTGATTNOTIFY GATT send notification to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 415451

252 Detailed Description of AT Commands for Bluetooth

2521 AT+BTINIT Init Bluetooth service

AT+BTINIT Init Bluetooth serviceExecution CommandAT+BTINIT

Response

a)If init Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

AT+BTINITOK

It must be the first of all the Bluetooth AT commands to be calledIf we want to power on BTwe shouldexecute this command before we execute AT+BTPOWER=1

2522 AT+BTTERM Stop Bluetooth service

AT+BTTERM Stop Bluetooth serviceExecution CommandAT+BTTERM

Response

a)If stop Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 416451

AT+BTTERMOK

It must be the last of all the Bluetooth AT commands to be calledIf we want to power off BTwe shouldexecute this command before we execute AT+BTPOWER=0

2523 AT+BTPOWER OpenClose Bluetooth

AT+ BTPOWER OpenClose BluetoothTest CommandAT+BTPOWER=

Response+BTPOWER (0-1)

OKRead CommandAT+BTPOWER

Response+BTPOWER ltflaggt

OKWrite CommandAT+BTPOWER=ltflaggt

ResponseOK

+BTPOWER ltflaggtorOKorERROR

Defined Values

ltflaggt 1 ndash Start BT Application0 ndash Stop BT Application

Example

AT+BTPOWER=+BTPOWER (0-1)

OKAT+BTPOWER+BTPOWER 0

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 417451

OKAT+BTPOWER=1OK

+BTPOWER 1

2524 AT+BTHOST Get or Set host name

AT+BTHOST Get or Set host nameRead CommandAT+BTHOST

ResponseOK

+BTHOST lthost namegtlthost mac addrgtWrite CommandAT+BTHOST=ltbtnamegt

ResponseOK

Defined Values

ltbtnamegt New Bluetooth name string Max length is 64lthost namegt Current Bluetooth host namelthost mac addrgt Bluetooth mac address format(xxxxxxxxxxxx) x(0-9A-F)

Example

AT+BTHOSTOK

+BTHOST MDM_Fluoride 2222AE4AA2E8AT+BTHOST=SIM8200_BTOK

2525 AT+BTSCAN Scan BT devices

AT+BTSCAN Scan BT devicesTest CommandAT+BTSCAN=

Response+BTSCAN (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 418451

Write CommandAT+BTSCAN=ltdoscangt

ResponseOK+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt[]]+BTSCAN 1 scan end flag

Defined Values

ltdoscangt 0stop scan1scan

ltscan statusgt 0scanning1scan ended

ltBT namegt The bluetooth name of remote deviceltMac Addrgt The bluetooth mac address of the remote deviceltRSSI levelgt The rssi level of the remote device

Example

AT+BTSCAN=+BTSCAN (0-1)

OKAT+BTSCAN=1OK+BTSCAN 0 MiKettle 7811DCC0E683 173+BTSCAN 0 LE-Bose wei 4C875DCA4D37 175

+BTSCAN 0小米手机 7CD661B868D0 179

+BTSCAN 0 ofo F7513B1FAFB5 163+BTSCAN 1

2526 AT+BTPAIR Pair with other BT device

AT+BTPAIR Pair with other BT deviceTest CommandAT+BTPAIR=

Response+BTPAIR 0(BT Address) Or +BTPAIR 1(0-1)

OKWrite CommandAT+BTPAIR=0ltMac Addrgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 419451

+BTPAIRING ltdevice namegtltdevice macgtltpasskeygtor+BTPAIR 0orERROR

Write CommandAT+BTPAIR=1ltacceptgt

ResponseOK+BTPAIR ltdevice namegtltdevice macgtor+BTPAIR 0orERROR

Defined Values

ltMac Addrgt The bluetooth mac address of the remote deviceltdevice namegt The bluetooth name of connected deviceltdevice macgt The bluetooth mac address of the connected deviceltpasskeygt Random generate numeric codeltacceptgt 0reject

1accept

Example

AT+BTPAIR=0123131231231OK

+BTPAIRING Acer E380 123131231231 412711AT+BTPAIR=11OK+BTPAIR Acer E380 123131231231

The URC +BTPAIR 0 indicates pairing failed

2527 AT+BTPAIRED Get Paired BT devices

AT+BTPAIRED Get Paired BT devicesRead CommandAT+BTPAIRED

ResponseOK+BTPAIRED ltindexgt[ltBT namegtltMAC addrgt]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 420451

Defined Values

ltindexgt The index of current bond deviceltBT namegt The bluetooth name of paired deviceltMAC addrgt The bluetooth mac address of the paired device

Example

AT+BTPAIREDOK+BTPAIRED 1 Acer E380 123131231231

2528 AT+BTUNPAIR Unpair with the paired BT device

AT+BTUNPAIR Unpair with the paired BT deviceTest CommandAT+BTUNPAIR=

Response+BTUNPAIR (BT Address)

OKWrite CommandAT+BTUNPAIR=ltMacAddrgt

Response+BTUNPAIR ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltstatusgt 0fail

1success

Example

AT+BTUNPAIR=123131231231+BTUNPAIR 1

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 421451

2529 AT+BTOPPREG OPP Register

AT+BTOPPREG OPP RegisterExecution CommandAT+BTOPPREG

Response+BTOPPREG ltstatusgt

OKParameter Saving Mode -

Max Response Time

Defined Values

ltstatusgt 0fail1success

Example

AT+BTOPPREG+BTOPPREG 1

OK

25210AT+BTOPPSEND OPP send file

AT+BTOPPSEND OPP send fileTest CommandAT+BTOPPSEND=

Response+BTOPPSEND (BT Address)(File Name)

OKWrite CommandAT+BTOPPSEND=ltMacAddrgtltfile namegt

Response+BTOPPSEND ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltfile namegt The file name which you want to sendltstatusgt 0fail

1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 422451

Example

AT+BTOPPSEND=123131231231IMG_20130110_004138jpg+BTOPPSEND 1

OK

25211 +BTOPPRECVING OPP receive file notification

+BTOPPRECVING OPP receive file notificationResponse+BTOPPRECVING ltfile namegt

Defined Values

ltfile namegt The received file name

Example

+BTOPPRECVING IMG_20130110_004138jpg

25212AT+BTOPPACCEPT OPP accept or refuse received file

AT+BTOPPACCEPT OPP accept or refuse received fileTest CommandAT+BTOPPACCEPT=

Response+BTOPPACCEPT (0-1)

OKWrite CommandAT+BTOPPACCEPT=ltflaggt

ResponseOK

+BTOPPRECEIVED ltresultgt

Defined Values

ltflaggt 1 ndash Accept the received file0 ndash Refuse the received file

ltresultgt 0fail1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 423451

Example

+BTOPPRECVING IMG_20130110_004138jpgAT+BTOPPACCEPT=1OK

+BTOPPRECEIVED 1

25213AT+BTGATTREG GATT register

AT+BTGATTREG GATT registerTest CommandAT+BTGATTREG=

Response+BTGATTREG (0-1)

OKRead CommandAT+BTGATTREG

Response+BTGATTREG ltstategt

OKWrite CommandAT+BTGATTREG=ltstategt

ResponseOK

+BTGATTREG ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the register action0 - unregister1 - register

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTREG=+BTGATTREG (0-1)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 424451

OK

AT+BTGATTREG=1OK

+BTGATTREG 1

AT+BTGATTREG+BTGATTREG 1

OK

It must be called before all commands about GATT connect and after AT+BTPOWER

25214AT+BTGATTCRESRV GATT create service

AT+BTGATTCRESRV GATT create serviceWrite CommandAT+BTGATTCRESRV=ltuuidgt

ResponseOK

+BTGATTCRESRV ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service A string with hex value The length can only be 4or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRESRV=1166

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 425451

OK

+BTGATTCRESRV10X00000000000000000000000000001166

AT+BTGATTCRESRV=31323334353637383930616263646566OK

+BTGATTCRESRV10X31323334353637383930616263646566

It must be called after AT+BTGATTREG

25215AT+BTGATTCRECHAR GATT create service characteristic

AT+BTGATTCRECHAR GATT create service characteristicWrite CommandAT+BTGATTCRECHAR=ltuuidgtltpropertygtltpermissiongt

ResponseOK

+BTGATTCRECHAR ltresultgt[lt0Xuuidgtlthandlegt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this characteristic A string with hex value The length can onlybe 4 or 32

ltpropertygt Properties of this characteristic Refer to the following Table 1ltpermissiongt Permission of this characteristic Refer to the following Table 1lthandlegt A numeric parameter characteristic handlelterrgt The error code please refer to chapter 2531

NoteThe before Properties and Permission represent not support now

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 426451

Table 1 Format Map of Properties and Permission

Properties Format MapDefault 0Broadcast 1(0x01)Read 2(0x02)Write without Response 4(0x04)

Write 8(0x08)Notify 16(0x10)Indicate 32(0x20)Signed Write 64(0x40)

Extended Properties 128(0x80)

Permission Format MapNone 0(0x0000)

Read 1(0x0001)ReadEncrypted 2(0x0002)ReadEncryptedMitm 4(0x0004)Write 16(0x0010)

WriteEncrypted 32(0x0020)WriteEncryptedMitm 64(0x0040)WriteSigned 128(0x0080)WriteSignedMitm 256(0x0100)

Example

AT+BTGATTCRECHAR=1166816OK

+BTGATTCRECHAR10X0000000000000000000000000000116658

AT+BTGATTCRECHAR=31323334353637383930616263646566816OK

+BTGATTCRECHAR10X3132333435363738393061626364656660

It must be called after AT+BTGATTREG

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 427451

25216AT+BTGATTCRECHARDES GATT create service characteristic description

AT+BTGATTCRECHARDES GATT create service characteristic descriptionWrite CommandAT+BTGATTCRECHARDES=ltuuidgt

ResponseOK

+BTGATTCRECHARDES ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service characteristic description A string with hex valueThe length can only be 4 or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRECHARDES=1166OK

+BTGATTCRECHARDES10X00000000000000000000000000001166

AT+BTGATTCRECHARDES=31323334353637383930616263646566OK

+BTGATTCRECHARDES10X31323334353637383930616263646566

This command usually follows +BTGATTCRECHAR command whose characteristicrsquos property is notify

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 428451

or indicate and the function of this command is to allow client to config whether accept thenotification(indication) or not

25217AT+BTGATTSTARTSRV GATT startstop service

AT+BTGATTSTARTSRV GATT startstop serviceTest CommandAT+BTGATTSTARTSRV=

Response+BTGATTSTARTSRV (0-1)

OKWrite CommandAT+BTGATTSTARTSRV=ltstategt

ResponseOK

+BTGATTSTARTSRV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop service action0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTSRV=+BTGATTSTARTSRV (0-1)

OK

AT+BTGATTSTARTSRV=1OK

+BTGATTSTARTSRV 1

AT+BTGATTSTARTSRV=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 429451

+BTGATTSTARTSRV 0

It must be called before all commands about GATT connect and after AT+BTGATTCRESRV

25218AT+BTGATTSTARTADV GATT start advertisement

AT+BTGATTSTARTADV GATT start advertisementTest CommandAT+BTGATTSTARTADV=

Response+BTGATTSTARTADV (0-1)

OKWrite CommandAT+BTGATTSTARTADV=ltstategt

ResponseOK

+BTGATTSTARTADV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop advertisementaction0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTADV=+BTGATTSTARTADV (0-1)

OK

AT+BTGATTSTARTADV=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 430451

+BTGATTSTARTADV 1

AT+BTGATTSTARTADV=0OK

+BTGATTSTARTADV 0

Note

25219AT+BTGATTDELSRV GATT delete service

AT+BTGATTDELSRV GATT delete serviceExecution CommandAT+BTGATTDELSRV

ResponseOK

+BTGATTDELSRV ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTDELSRVOK

+BTGATTDELSRV 1

It must be called after AT+BTGATTCRESRV

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 431451

25220+BTGATTCONN GATT client connect status

+BTGATTCONN GATT client connect statusResponse+BTGATTCONN ltstategtltaddressgt

Defined Values

ltstategt A numeric parameter that identifies the connect status0 disconnected1 connected

ltaddressgt A string with hex value the address of connected client

Example

+BTGATTCONN 165A26CE7E8BF

+BTGATTCONN 065A26CE7E8BF

25221+BTGATTWRIND GATT receive client write request

+BTGATTWRIND GATT receive client write requestResponse+BTGATTWRIND lthandlegtltdatagt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string with hex value data to be written

Example

+BTGATTWRIND 426162636465

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 432451

25222AT+BTGATTWRCFM GATT response to BTGATTWRIND

AT+BTGATTWRCFM GATT response to BTGATTWRINDWrite CommandAT+BTGATTWRCFM=ltstategt

ResponseOK

+BTGATTWRCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the write action0 - write successfullyOther - Not support

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

+BTGATTWRIND 426162636465

AT+BTGATTWRCFM=0OK

+BTGATTWRCFM 1

The command act as the response of +BTGATTWRIND if the module receives BTGATTWRINDwithout sending out this command after a while the connection will be disconnected

25223+BTGATTREADIND GATT receive client read request

+BTGATTREADIND GATT receive client read request

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 433451

Response+BTGATTREADIND lthandlegtltis_longgt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltis_longgt A numeric parameter that identifies if there is a following request0 - no following request1 - have following request

Example

+BTGATTREADIND 420

25224AT+BTGATTREADCFM GATT response to BTGATTREADIND

AT+BTGATTREADCFM GATT response to BTGATTREADINDWrite CommandAT+BTGATTREADCFM=ltstategtltdatagt

ResponseOK

+BTGATTREADCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the read action0 - read successfullyOther - Not support

ltdatagt A string value Data need to be read(max length is 512)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 434451

+BTGATTREADIND 420

AT+BTGATTREADCFM=023456OK

+BTGATTREADCFM 1

The command act as the response of +BTGATTREADIND if the module receives BTGATTREADINDwithout sending out this command after a while the connection will be disconnected

25225AT+BTGATTNOTIFY GATT send notification to client

AT+BTGATTNOTIFY GATT send notification to clientWrite CommandAT+BTGATTNOTIFY=lthandlegtltdatagt

ResponseOK

+BTGATTNOTIFY ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string value notify data to be send to client(max length is 20)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTNOTIFY=58456OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 435451

+BTGATTNOTIFY 1

253 Summary of result codes for GATT

2531 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 Unregistered1 Registered2 Service created3 Service characteristic created4 Service characteristic description created5 Service deleted6 Service stopped7 Service started8 Advertisement stopped9 Advertisement started10 Client disconnected11 Client connected12 Receive client read request13 Response to BTGATTREADIND14 Receive client write request15 Response to BTGATTWRIND16 Send notification to client17 Send indication to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 436451

26AT Commands for MiFi

261 Overview of AT Commands for MiFi

Command DescriptionAT+CWMAP OpenClose MiFiAT+CWSSID SSID settingAT+CWBCAST Broadcast settingAT+CWAUTH Authentication type encrypt mode and password settingAT+CWMOCH 80211 mode and channel settingAT+CWISO Client isolation settingAT+CWDHCP Get the current DHCP configurationAT+CWNAT NAT type settingAT+CWCLICNT Get client number connected to the MiFiAT+CWRSTD Restore to default settingAT+CWMAPCFG MiFi configuration settingAT+CWMACADDR Get MAC addressAT+CWNETCNCT Query the connection to the networkAT+CWSTASCAN Scan WIFI networkAT+CWSTACFG STAmode configuration settingAT+CWSTAIP Get STAmode IP address

262 Detailed Description of AT Commands for MiFi

2621 AT+CWMAP OpenClose MiFi

AT+CWMAP OpenClose MiFiTest CommandAT+CWMAP=

Response+CWMAP(0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 437451

Read CommandAT+CWMAP

Response+CWMAPltflaggt

OK

Write CommandAT+CWMAP=ltflaggt

Response

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltflaggt Indicate MiFi statedefault is 10 ndash close1 ndash open

ExampleAT+CWMAP+CWMAP 1

OK

AT+CWMAP=0OK

2622 AT+CWSSID SSID setting

AT+CWSSID SSID settingRead CommandAT+CWSSID

Response+CWSSIDltssidgt

OK

Write CommandAT+CWSSID=ltssidgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 438451

Reference -

Defined Values

ltssidgt Ssid string1 The max length of ltssidgt is 32 bytes when the ltssidgt include only

ASCII characters2 The max length of ltssidgt is 20 bytes when ltssidgt include only

Chinese (One Chinese characters is 2 bytes so the max Chinesecount is 10)

3 The max length of ltssidgt is 22 bytes when ltssidgt include ASCIIand Chinese characters (One Chinese character is 2 bytes oneASCII character is 1 byte)The default ssid is SIM8X00AP

Example

AT+CWSSID+CWSSID SIM8X00AP

OK

AT+CWSSID=SIM8200OK

2623 AT+CWBCAST Broadcast setting

AT+CWBCAST Broadcast settingTest CommandAT+CWBCAST=

Response+CWBCAST (0-1)

OKRead CommandAT+CWBCAST

Response+CWBCAST ltbroadcastgt

OK

Write CommandAT+CWBCAST=ltbroadcastgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 439451

Reference -

Defined Values

ltbroadcastgt Broadcast parameter default10 ndash disabled1 ndash enabled

Example

AT+CWBCAST+CWBCAST 1

OK

AT+CWBCAST=0OK

2624 AT+CWAUTH Authentication setting

AT+CWAUTH Authentication type encrypt mode and password settingRead CommandAT+CWAUTH

Response+CWAUTH ltauthgtltencryptgt[ltpasswordgt]

OK

Write CommandAT+CWAUTH=ltauthgtltencryptgt[ltpasswordgt]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltauthgt Authentication type parameter default40 - auto1 - open2 - share3 - wpa4 - wpa25 - wpawpa2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 440451

ltencryptgt Encrypt mode default30 - null1 - WEP2 - TKIP3 - AES4 - TKIP-AES

ltpasswordgt password string the length is 5 or between 8 to 64 The char in thepassword is only allow the ASCII lsquos decimal code between 32 to 126

The parameter need to meet the following conditions1 If (auth = 0 or auth = 1) then (encrypt = 0 or encrypt = 1)2 If (auth =2) then (encrypt = 1)3 If (auth gt=3) then (encrypt gt=2)4 If(encrypt = 0) then (password is null)5 If(encrypt = 1) then1) password canrsquot be set null2) password format (5 ASCII characters) or (10 hexadecimalnumbers) or(13 ASCII characters) or(26 hexadecimal numbers)6 if(encrypt gt= 2) then1) password canrsquot be set null2) password format ( 8~63 ASCII characters or 64 hexadecimalnumbers)

Example

AT+CWAUTH+CWAUTH 431234567890

OK

AT+CWAUTH=54abcd1234OK

2625 AT+CWMOCH 80211 mode and channel setting

AT+CWMOCH 80211 mode and channel settingRead CommandAT+CWMOCH

Response+CWMOCH ltmodegtltchannelgtltbandwidthgt

OK

Write CommandAT+CWMOCH=ltmodegtltch

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 441451

annelgtltbandwidthgt orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt 80211 mode parameter default41 an 5G mode2 b 24G mode3 bg 24G mode4 bgn 24G mode5 acn 5G mode6 ax WIFI6 mode

ltchannelgt Channel parameter default 00 auto select1~11 24G mode channel number36404448149153157161165 5G mode channel number

If ltmodegt is 1 (an) ltchannelgt can be set36404448149153157161165If ltmodegt is 5 (acn) ltchannelgt can be set149153157161165

If ltmodegt is 234 ltchannelgt range is 0~11If ltmodegt is 15 the client must be support 5G modeIf ltmodegt is 6 (ax) the client must be support WiFi6 mode ltchannelgtcan be set 0-11 or 149153157161165

ltbandwidthgt MiFi band width it is an optional paramter0 20MHz band widthvht_oper_chwidth is 0 and vht_capab is HT20

1 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40+

2 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40-

3 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40+

4 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40-

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 442451

Only when mode is set as 15or 6 bandwidth can be set

Example

AT+CWMOCH+CWMOCH 46

OK

AT+CWMOCH=40OK

2626 AT+CWISO Client isolation setting

AT+CWISO Client isolation settingTest CommandAT+CWISO=

Response+CWISO (0-1)

OKRead CommandAT+CWISO

Response+CWISO ltisolationgt

OK

Write CommandAT+CWISO=ltisolationgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltisolationgt Isolation parameter default 00 ndash close1 ndash open

Example

AT+CWISO+CWISO 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 443451

OK

AT+CWISO=1OK

2627 AT+CWDHCP Get the current DHCP configuration

AT+CWDHCP Get the current DHCP configurationRead CommandAT+CWDHCP

Response+CWDHCPlthost_ipgtltrange_start_ipgtltrange_end_ipgtltleasetimegt

OKParameter Saving Mode -

Max Response Time -Reference -

Defined Values

lthost_ipgt The AP IP addressltrange_start_ipgt The start IP of the IP range that assigned to the clientltrange_end_ipgt The end IP of the IP range that assigned to the clientltleasetimegt The lease time

Example

AT+CWDHCP+CWDHCP1921682251192168225201921682256012h

OK

2628 AT+CWNAT NAT type setting

AT+CWNAT NAT type settingTest CommandAT+CWNAT=

Response+CWNAT (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 444451

Read CommandAT+CWNAT

Response+CWNAT lttypegt

OK

Write CommandAT+CWNAT=lttypegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt NAT type parameter default00 Symmetric1 Cone

Example

AT+CWNAT+CWNAT 0

OKAT+CWNAT=1OK

2629 AT+CWCLICNT Get client number connected to the MiFi

AT+CWCLICNT Get client number connected to the MiFiRead CommandAT+CWCLICNT

Response+CWCLICNTltcntgt

OK

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltcntgt the connected client count range is from 0 to 32

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 445451

Example

AT+CWCLICNT+CWCLICNT 1

OK

26210AT+CWRSTD Restore to default setting

AT+CWRSTD Restore to default settingExecution CommandAT+CWRSTD

ResponseOK

Parameter Saving Mode -

Max Response Time -Reference -The module will reboot after restore

Defined Values

Example

AT+CWRSTDOK

26211 AT+CWMAPCFG MiFi configuration setting

AT+CWMAPCFG configuration settingTest CommandAT+CWMAPCFG=

Response+CWMAPCFG(enablessid2configselect)(0-2)

OK

Read CommandAT+CWMAPCFG

Response+CWMAPCFG ltenablessid2_valuegtltconfigselect_valuegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 446451

Write CommandAT+CWMAPCFG=ltoptiongtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablessid2_valuegt 0 ndash AP mode1 ndash AP-AP mode2 ndash STA-AP mode

ltconfigselect_valuegt Current AP ID 012ltoptiongt enablessid2rdquo set MiFi mode

configselectrdquo set the current AP IDltvaluegt The value of the options

If (option=rdquoenablessid2rdquo)0 AP mode1 AP-AP mode2 STA-AP mode

If (option=rdquoconfigselectrdquo)Current AP ID (0 or 1 or 2) to be set

When current AP ID is 0 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISOAT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thefirst APrsquos settings

When current AP ID is 1 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thesecond APrsquos settings

When current AP ID is 2 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thethird APrsquos settings theAT+CWSTAIPAT+CWSTASCANAT+CWSTACFGwill modify the STArsquos settings

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 447451

It canrsquot set the configselect value to 1 when enablessid2 is 0 The configselect value will be changed due to enablessid2enablessid2 configselect0 01 0 or 12 2

Example

AT+CWMAPCFG=+CWMAPCFG (enablessid2configselect)(0-2)

OKAT+CWMAPCFG+CWMAPCFG 00

OKAT+CWMAPCFG=enablessid21OKAT+CWMAPCFG=configselect1OKAT+CWMAPCFG=enablessid20OK

26212AT+CWMACADDR Get MAC address

AT+CWMACADDR Get MAC addressRead CommandAT+CWMACADDR

ResponseOK

+CWMACADDRltnumbergtltmac_addrgt[ ]orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltnumbergt 0 ndash host mac addr

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 448451

1ndash client mac addr client mac addr

ltmac_addrgt Device mac address

Example

AT+CWMACADDROK

+CWMACADDR002037F9362621cc29f5e0eff3

26213AT+CWNETCNCT Query the connection to the network

AT+CWNETCNCT Query the connection to the networkRead CommandAT+CWNETCNCT

Response+CWNETCNCT ltflaggt

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflaggt 0 disconnect1 connect

Example

AT+CWNETCNCT+CWNETCNCT 1

OK

26214AT+CWSTASCAN Scan WIFI network

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 449451

AT+CWSTASCAN Scan WIFI networkRead CommandAT+CWSTASCAN

Response+CWSTASCAN ltflag_show_signalgt

OK

Write CommandAT+CWSTASCAN=ltflag_show_signalgt

ResponseOKorERROR

Execute CommandAT+CWSTASCAN

OK

[+CWSTASCANltbssidgtltssidgt[ltsignalgt][hellip hellip]]orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflag_show_signalgt 0 ndashDonrsquot show the signal level Itrsquos the default value1 ndashShow the signal level

ltbssidgt The MAC address of external wireless networkltssidgt The SSID name of external wireless networkltsignalgt The signal level of external wireless network

Example

AT+CWSTASCANOK

+CWSTASCAN4ce676492a48simtest

AT+CWSTASCAN=1OKAT+CWSTASCAN+CWSTASCAN 1

OKAT+CWSTASCANOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 450451

+CWSTASCANf483cdd824c8TP-LINK_24C8-5280891710e623TP-LINK_SW2-58142d27249861Public-58bc469938e2caTP-LINK_E2CA-640c72d949258bnubia-WD670-258B-92502b73c0aad9Tenda_C0AAD9-68

26215AT+CWSTACFG STAmode configuration setting

AT+CWSTACFG STAmode configuration settingRead CommandAT+CWSTACFG

Response+CWSTACFGltssidgt[ltsecuritygtltprotogtltpskgt]

OK

Write CommandAT+CWSTACFG=ltssidgt[ltsecuritygtltprotogtltpskgt]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltssidgt The SSID name of external wireless networkltsecuritygt Reserved valueltprotogt Reserved valueltpskgt The password of external wireless network

Example

AT+CWSTACFG=simtest211234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 451451

AT+CWSTACFG=simtest1234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

26216AT+CWSTAIP Get STAmode IP address

AT+CWSTAIP Get STAmode IP addressRead CommandAT+CWSTAIP

Response[+CWSTAIP ltip addressgt]

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltip addressgt The station IP address

Example

AT+CWSTAIP+CWSTAIP 1921681127

OK

  • Version History
  • Contents
  • 1Introduction
    • 11Scope of the document
    • 12Related documents
    • 13Conventions and abbreviations
    • 14AT Command syntax
      • 141Basic syntax
      • 142S Parameter syntax
      • 143Extended Syntax
      • 144Combining AT commands on the same Command line
      • 145Entering successive AT commands on separate lines
        • 15Supported character sets
        • 16Flow control
          • 161Hardware flow control (RTSCTS flow control)
            • 17Definitions
              • 171Parameter Saving Mode
              • 172Max Response Time
                  • 2AT Commands According to V25TER
                    • 21Overview of AT Commands According to V25TER
                    • 22Detailed Description of AT Commands According to V
                      • 221A Re-issues the Last Command Given
                      • 222ATD Mobile Originated Call to Dial A Number
                      • 223ATDgtltmemgtltngt Originate call from specified memory
                      • 224ATDgtltngt Originate call from active memory(1)
                      • 225ATDgtltstrgt Originate call from active memory(2)
                      • 226ATA Call answer
                      • 227ATH Disconnect existing call
                      • 228ATS0 Automatic answer incoming call
                      • 229+++ Switch from data mode to command mode
                      • 2210ATO Switch from command mode to data mode
                      • 2211ATI Display product identification information
                      • 2212AT+IPR Set local baud rate temporarily
                      • 2213AT+ICF Set control character framing
                      • 2214AT+IFC Set local data flow control
                      • 2215ATampC Set DCD function mode
                      • 2216ATE Enable command echo
                      • 2217ATampV Display current configuration
                      • 2218ATampD Set DTR function mode
                      • 2219ATV Set result code format mode
                      • 2220ATampF Set all current parameters to manufacturer d
                      • 2221ATQ Set Result Code Presentation Mode
                      • 2222ATX Set CONNECT Result Code Format
                      • 2223ATV Set CONNECT Result Code Format About Protoco
                      • 2224ATampE Set CONNECT Result Code Format About Speed
                      • 2225ATampW Save the user setting to ME
                      • 2226ATZ Restore the user setting from ME
                      • 2227AT+CGMI Request manufacturer identification
                      • 2228AT+CGMM Request model identification
                      • 2229AT+CGMR Request revision identification
                      • 2230AT+CGSN Request product serial number identificat
                      • 2231AT+CSCS Select TE character set
                      • 2232AT+CIMI Request international mobile subscriber i
                      • 2233AT+GCAP Request overall capabilities
                          • 3AT Commands for Status Control
                            • 31Overview of AT Commands for Status Control
                            • 32Detailed Description of AT Commands for Status Con
                              • 321AT+CFUN Set phone functionality
                              • 322AT+CPIN Enter PIN
                              • 323AT+CICCID Read ICCID from SIM card
                              • 324AT+CSIM Generic SIM access
                              • 325AT+CRSM Restricted SIM access
                              • 326AT+SPIC Times remain to input SIM PINPUK
                              • 327AT+CSPN Get service provider name from SIM
                              • 328AT+CSQ Query signal quality
                              • 329AT+AUTOCSQ Set CSQ report
                              • 3210AT+CSQDELTA Set RSSI delta change threshold
                              • 3211AT+CATR Configure URC destination interface
                              • 3212AT+CPOF Power down the module
                              • 3213AT+CRESET Reset the module
                              • 3214AT+CACM Accumulated call meter
                              • 3215AT+CAMM Accumulated call meter maximum
                              • 3216AT+CPUC Price per unit and currency table
                              • 3217AT+CCLK Real time clock management
                              • 3218AT+CMEE Report mobile equipment error
                              • 3219AT+CPAS Phone activity status
                              • 3220AT+SIMEI Set IMEI for the module
                              • 3221AT+CSVM Voice Mail Subscriber number
                              • 3222Indication of Voice Mail
                                • 33Summary of CME ERROR codes
                                • 34Summary of CMS ERROR codes
                                  • 4AT Commands for Network
                                    • 41Overview of AT Commands for Network
                                    • 42Detailed Description of AT Commands for Network
                                      • 421AT+CREG Network registration
                                      • 422AT+COPS Operator selection
                                      • 423AT+CLCK Facility lock
                                      • 424AT+CPWD Change password
                                      • 425AT+CCUG Closed user group
                                      • 426AT+CUSD Unstructured supplementary service data
                                      • 427AT+CAOC Advice of Charge
                                      • 428AT+CSSN Supplementary service notifications
                                      • 429AT+CPOL Preferred operator list
                                      • 4210AT+COPN Read operator names
                                      • 4211AT+CNMP Preferred mode selection
                                      • 4212AT+CNAOP Acquisitions order preference
                                      • 4213AT+CPSI Inquiring UE system information
                                      • 4214AT+CNSMOD Show network system mode
                                      • 4215AT+CEREG EPS network registration status
                                      • 4216AT+CTZU Automatic time and time zone update
                                      • 4217AT+CTZR Time and time zone reporting
                                      • 4218AT+CNWINFO Inquiring extra network info
                                      • 4219AT+C5GREG NR5G network registration status
                                      • 4220AT+CSYSSEL Set system selection pref
                                      • 4221AT+CCELLCFG Set lte cell configuration
                                      • 4222AT+C5GCELLCFG Set NR5G cell configuration
                                          • 5AT Commands According to Call Control
                                            • 51Overview of AT Commands According to 3GPP Call Con
                                            • 52Detailed Description of AT Commands According to C
                                              • 521AT+CVHU Voice hang up control
                                              • 522AT+CHUP Hang up call
                                              • 523AT+CBST Select bearer service type
                                              • 524AT+CRLP Radio link protocol
                                              • 525AT+CR Service reporting control
                                              • 526AT+CRC Cellular result codes
                                              • 527AT+CLCC List current calls
                                              • 528AT+CEER Extended error report
                                              • 529AT+CCWA Call waiting
                                              • 5210AT+CHLD Call related supplementary services
                                              • 5211AT+CCFC Call forwarding number and conditions
                                              • 5212AT+CLIP Calling line identification presentation
                                              • 5213AT+CLIR Calling line identification restriction
                                              • 5214AT+COLP Connected line identification presentatio
                                              • 5215AT+VTS DTMF and tone generation
                                              • 5216AT+VTD Tone duration
                                              • 5217AT+CSTA Select type of address
                                              • 5218AT+CMOD Call mode
                                              • 5219AT+VMUTE Speaker mute control
                                              • 5220AT+CMUT Microphone mute control
                                              • 5221AT+MORING Enable or disable report MO ring URC
                                              • 5222AT+CLVL Loudspeaker volume level
                                              • 5223AT+CRXVOL Adjust RX voice output speaker volume
                                              • 5224AT+CTXVOL Adjust TX voice mic volume
                                              • 5225AT+CTXMICGAIN Adjust TX voice mic gain
                                              • 5226AT+CECH Inhibit far-end echo
                                              • 5227AT+CECDT Inhibit echo during doubletalk
                                                  • 6AT Commands for Phonebook
                                                    • 61Overview of AT Commands for Phonebook
                                                    • 62Detailed Description of AT Commands for Phonebook
                                                      • 621AT+CPBS Select Phonebook memory storage
                                                      • 622AT+CPBR Read Phonebook entries
                                                      • 623AT+CPBF Find Phonebook entries
                                                      • 624AT+CPBW Write Phonebook entry
                                                      • 625AT+CNUM Subscriber number
                                                          • 7AT Commands for SIM Application Toolkit
                                                            • 71Overview of AT Commands for SIM Application Toolki
                                                            • 72Detailed Description of AT Commands for SIM Applic
                                                              • 721AT+STIN SAT Indication
                                                              • 722AT+STGI Get SAT information
                                                              • 723AT+STGR SAT respond
                                                              • 724AT+STK STK switch
                                                              • 725AT+STKFMT Set STK pdu format
                                                              • 726AT+STENV Original STK PDU Envelope Command
                                                              • 727AT+STSM Get STK Setup Menu List with PDU Mode
                                                                  • 8AT Commands for GPRS
                                                                    • 81Overview of AT Commands for GPRS
                                                                    • 82Detailed Description of AT Commands for GPRS
                                                                      • 821AT+CGREG GPRS network registration status
                                                                      • 822AT+CGATT Packet domain attach or detach
                                                                      • 823AT+CGACT PDP context activate or deactivate
                                                                      • 824AT+CGDCONT Define PDP context
                                                                      • 825AT+CGDSCONT Define Secondary PDP Context
                                                                      • 826AT+CGTFT Traffic Flow Template
                                                                      • 827AT+CGQREQ Quality of service profile (requested)
                                                                      • 828AT+CGEQREQ 3G quality of service profile (request
                                                                      • 829AT+CGQMIN Quality of service profile (minimum acc
                                                                      • 8210AT+CGEQMIN 3G quality of service profile (minimum
                                                                      • 8211AT+CGDATA Enter data state
                                                                      • 8212AT+CGPADDR Show PDP address
                                                                      • 8213AT+CGCLASS GPRS mobile station class
                                                                      • 8214AT+CGEREP GPRS event reporting
                                                                      • 8215AT+CGAUTH Set type of authentication for PDP-IP c
                                                                        • 83Summary of Unsolicited Result Codes
                                                                          • 9AT Commands for SMS
                                                                            • 91Overview of AT Commands for SMS
                                                                            • 92Detailed Description of AT Commands for SMS
                                                                              • 921AT+CSMS Select message service
                                                                              • 922AT+CPMS Preferred message storage
                                                                              • 923AT+CMGF Select SMS message format
                                                                              • 924AT+CSCA SMS service center address
                                                                              • 925AT+CSCB Select cell broadcast message indication
                                                                              • 926AT+CSMP Set text mode parameters
                                                                              • 927AT+CSDH Show text mode parameters
                                                                              • 928AT+CNMA New message acknowledgement to META
                                                                              • 929AT+CNMI New message indications to TE
                                                                              • 9210AT+CGSMS Select service for MO SMS messages
                                                                              • 9211AT+CMGL List SMS messages from preferred store
                                                                              • 9212AT+CMGR Read message
                                                                              • 9213AT+CMGS Send message
                                                                              • 9214AT+CMSS Send message from storage
                                                                              • 9215AT+CMGW Write message to memory
                                                                              • 9216AT+CMGD Delete message
                                                                              • 9217AT+CMGMT Change message status
                                                                              • 9218AT+CMVP Set message valid period
                                                                              • 9219AT+CMGRD Read and delete message
                                                                              • 9220AT+CMGSEX Send message
                                                                              • 9221AT+CMSSEX Send multi messages from storage
                                                                                  • 10AT Commands for SSL
                                                                                    • 101Overview of AT Commands for SSL
                                                                                    • 102Detailed Description of AT Commands for SSL
                                                                                      • 1021AT+CCHSTART Start SSL service
                                                                                      • 1022AT+CCHSTOP Stop SSL service
                                                                                      • 1023AT+CCHOPEN Connect to SSL server
                                                                                      • 1024AT+CCHCLOSE Disconnect from SSL server
                                                                                      • 1025AT+CCHSEND Send data to SSL server
                                                                                      • 1026AT+CCHRECV Read the cached data that received fro
                                                                                      • 1027AT+CCHADDR Get the IPV4 address
                                                                                      • 1028AT+CCHCFG Configure the client context
                                                                                      • 1029AT+CCHSSLCFG Set the SSL context
                                                                                      • 10210AT+CCHMODE Configure the mode of sending and rece
                                                                                      • 10211AT+CCHSET Configure the report mode of sending an
                                                                                      • 10212AT+CSSLCFG Configure the SSL context
                                                                                      • 10213AT+CCERTDOWN Download certificate into the module
                                                                                      • 10214AT+CCERTLIST List certificates
                                                                                      • 10215AT+CCERTDELE Delete certificates
                                                                                        • 103Command result lterrgt codes
                                                                                        • 104Unsolicited result codes
                                                                                          • 11AT Commands for TCPIP
                                                                                            • 111Overview of AT Commands for TCPIP
                                                                                            • 112Detailed Description of AT Commands for TCPIP
                                                                                              • 1121AT+NETOPEN Start TCPIP service
                                                                                              • 1122AT+NETCLOSE Stop TCPIP service
                                                                                              • 1123AT+CIPOPEN Setup TCPUDP client socket connection
                                                                                              • 1124AT+CIPCLOSE Destroy TCPUDP client socket connect
                                                                                              • 1125AT+CIPSEND Send TCPUDP data
                                                                                              • 1126AT+CIPRXGET Retrieve TCPUDP buffered data
                                                                                              • 1127AT+IPADDR Get IP address of PDP context
                                                                                              • 1128AT+CIPHEAD Add an IP header when receiving data
                                                                                              • 1129AT+CIPSRIP Show remote IP address and port
                                                                                              • 11210AT+CIPMODE Select TCPIP application mode
                                                                                              • 11211AT+CIPSENDMODE Set sending mode
                                                                                              • 11212AT+CIPTIMEOUT Set TCPIP timeout value
                                                                                              • 11213AT+CIPCCFG Configure parameters of socket
                                                                                              • 11214AT+SERVERSTART Startup TCP server
                                                                                              • 11215AT+SERVERSTOP Stop TCP server
                                                                                              • 11216AT+CIPACK QueryTCP connection data transmitting s
                                                                                                • 113DNS amp PING
                                                                                                  • 1131AT+CDNSGIP Query the IP address of given domain n
                                                                                                  • 1132AT+CDNSGHNAME Query the domain name of given IP a
                                                                                                  • 1133AT+CIPDNSSET Set DNS query parameters
                                                                                                  • 1134AT+CPING Ping destination address
                                                                                                  • 1135AT+CPINGSTOP Stop an ongoing ping session
                                                                                                    • 114Information Elements related to TCPIP
                                                                                                    • 115Description of lterr_infogt
                                                                                                    • 116Description of lterrgt
                                                                                                      • 12AT Commands for FTP(S)
                                                                                                        • 121Overview of AT Commands for FTP(S)
                                                                                                        • 122Detailed Description of AT Commands for FTP(S)
                                                                                                          • 1221AT+CFTPSSTART Start FTP(S) service
                                                                                                          • 1222AT+CFTPSSTOP Stop FTP(S) Service
                                                                                                          • 1223AT+CFTPSLOGIN Login to a FTP(S) server
                                                                                                          • 1224AT+CFTPSLOGOUT Logout FTP(S) server
                                                                                                          • 1225AT+CFTPSMKD Create a new directory on FTP(S) serv
                                                                                                          • 1226AT+CFTPSRMD Delete a directory on FTP(S) server
                                                                                                          • 1227AT+CFTPSDELE Delete a file on FTP(S) server
                                                                                                          • 1228AT+CFTPSCWD Change the current directory on FTP(S
                                                                                                          • 1229AT+CFTPSPWD Get the current directory on FTP(S) s
                                                                                                          • 12210AT+CFTPSTYPE Set the transfer type on FTP(S) serv
                                                                                                          • 12211AT+CFTPSLIST List the items in the directory on F
                                                                                                          • 12212AT+CFTPSGETFILE Get a file from FTP(S) server to
                                                                                                          • 12213AT+CFTPSPUTFILE Put a file from module to FTP(S)
                                                                                                          • 12214AT+CFTPSGET Get a file from FTP(S) server to seri
                                                                                                          • 12215AT+CFTPSPUT Put a file to FTP(S) server through s
                                                                                                          • 12216AT+CFTPSSINGLEIP Set FTP(S) data socket address t
                                                                                                          • 12217AT+CFTPSCACHERD Output cached data to MCU
                                                                                                          • 12218AT+CFTPSABORT Abort FTP(S) Operations
                                                                                                          • 12219AT+CFTPSSIZE Get the File Size on FTP(S) server
                                                                                                            • 123Summary of result codes for FTPS
                                                                                                              • 1231Summary of Command result lterrcodegt
                                                                                                              • 1232Summary of Unsolicited Result Codes
                                                                                                                  • 13AT Commands for HTTPS
                                                                                                                    • 131Overview of AT Commands for HTTPS
                                                                                                                    • 132DetailedDescription of AT Commands for HTTPS
                                                                                                                      • 1321AT+HTTPINIT Start HTTP(S) service
                                                                                                                      • 1322AT+HTTPTERM Stop HTTP(S) Service
                                                                                                                      • 1323AT+HTTPPARA Set HTTP(S) Parameters value
                                                                                                                      • 1324AT+HTTPACTION HTTP(S) Method Action
                                                                                                                      • 1325AT+HTTPHEAD Read the HTTP(S) Header Information o
                                                                                                                      • 1326AT+HTTPREAD Read the Response Information of HTTP
                                                                                                                      • 1327AT+HTTPDATA Input HTTP(S) Data
                                                                                                                      • 1328AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) serv
                                                                                                                      • 1329AT+HTTPREADFILE Receive HTTP(S) Response Content
                                                                                                                        • 133Summary of result codes for HTTPS
                                                                                                                          • 1331Summary of HTTP(S) Response Code
                                                                                                                          • 1332Summary of HTTP(S) error Code
                                                                                                                              • 14AT Commands for MQTT(S)
                                                                                                                                • 141Overview of AT Commands for MQTT(S)
                                                                                                                                • 142Detailed Description of AT Commands for MQTT(S)
                                                                                                                                  • 1421AT+CMQTTSTART Start MQTT service
                                                                                                                                  • 1422AT+CMQTTSTOP STOP MQTT service
                                                                                                                                  • 1423AT+CMQTTACCQ Acquire a client
                                                                                                                                  • 1424AT+CMQTTREL Release a client
                                                                                                                                  • 1425AT+CMQTTSSLCFG Set the SSL context
                                                                                                                                  • 1426AT+CMQTTWILLTOPIC Input the will topic
                                                                                                                                  • 1427AT+CMQTTWILLMSG Input the will message
                                                                                                                                  • 1428AT+CMQTTDISC Disconnect from server
                                                                                                                                  • 1429AT+CMQTTCONNECT Connect to MQTT server
                                                                                                                                  • 14210AT+CMQTTTOPIC Input the publish message topic
                                                                                                                                  • 14211AT+CMQTTPAYLOAD Input the publish message body
                                                                                                                                  • 14212AT+CMQTTPUB Publish a message to server
                                                                                                                                  • 14213AT+CMQTTSUBTOPIC Input a subscribe message topic
                                                                                                                                  • 14214AT+CMQTTSUB Subscribe a message to server
                                                                                                                                  • 14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message to
                                                                                                                                  • 14216AT+CMQTTUNSUB Unsubscribe a message to server
                                                                                                                                  • 14217AT+CMQTTCFG Configure the MQTT Context
                                                                                                                                    • 143Summary of result codes for MQTT(S)
                                                                                                                                      • 1431Summary of Command result lterrgt codes
                                                                                                                                      • 1432Summary of Unsolicited Result Codes
                                                                                                                                          • 15AT Commands for NTP
                                                                                                                                            • 151Overview of AT Commands for NTP
                                                                                                                                            • 152Detailed Description of AT Commands for NTP
                                                                                                                                              • 1521AT+CNTP Update system time
                                                                                                                                              • 1522Unsolicited NTP Codes
                                                                                                                                                  • 16AT Commands for HTP
                                                                                                                                                    • 161Overview of AT Commands for HTP
                                                                                                                                                    • 162Detailed Description of AT Commands for HTP
                                                                                                                                                      • 1621AT+CHTPSERV Set HTP server info
                                                                                                                                                      • 1622AT+CHTPUPDATE Updating date time using HTP protoc
                                                                                                                                                      • 1623Unsolicited HTP Codes
                                                                                                                                                          • 17AT Commands for GPS
                                                                                                                                                            • 171Overview of AT Commands for GPS
                                                                                                                                                            • 172Detailed Description of AT Commands for GPS
                                                                                                                                                              • 1721AT+CGPS StartStop GPS session
                                                                                                                                                              • 1722AT+CGPSINFO Get GPS fixed position information
                                                                                                                                                              • 1723AT+CGPSCOLD Cold Start GPS
                                                                                                                                                              • 1724AT+CGPSHOT Hot Start GPS
                                                                                                                                                              • 1725AT+CGPSURL Set AGPS default server URL
                                                                                                                                                              • 1726AT+CGPSSSL Set AGPS transport security
                                                                                                                                                              • 1727AT+CGPSAUTO Start GPS automatic
                                                                                                                                                              • 1728AT+CGPSNMEA Configure NMEA sentence type
                                                                                                                                                              • 1729AT+CGPSNMEARATE Set NMEA output rate
                                                                                                                                                              • 17210AT+CGPSMD Configure AGPS MO method
                                                                                                                                                              • 17211AT+CGPSFTM Start GPS test mode
                                                                                                                                                              • 17212AT+CGPSDEL Delete the GPS information
                                                                                                                                                              • 17213AT+CGPSXE EnableDisable GPS XTRA function
                                                                                                                                                              • 17214AT+CGPSXD Download XTRA assistant file
                                                                                                                                                              • 17215AT+CGPSXDAUTO Download XTRA assistant file automa
                                                                                                                                                              • 17216AT+CGPSPMD Configure positioning mode
                                                                                                                                                              • 17217AT+CGPSMSB Configure based mode switch to standal
                                                                                                                                                              • 17218AT+CGPSHOR Configure positioning desired accuracy
                                                                                                                                                              • 17219AT+CGNSSINFO Get GNSS fixed position information
                                                                                                                                                              • 17220AT+CGNSSMODE Configure GNSS support mode
                                                                                                                                                              • 17221Unsolicited XTRA download Codes
                                                                                                                                                                  • 18AT Commands for LBS
                                                                                                                                                                    • 181 Overview of AT Commands for LBS
                                                                                                                                                                    • 182Detailed Description of AT Commands for LBS
                                                                                                                                                                      • 1821AT+CLBS Base station location
                                                                                                                                                                      • 1822AT+CLBSCFG Base station Location configure
                                                                                                                                                                          • 19AT Commands for Hardware
                                                                                                                                                                            • 191Overview of AT Commands for Hardware
                                                                                                                                                                            • 192Detailed Description of AT Commands for Hardware
                                                                                                                                                                              • 1921AT+IPREX Set UART local baud rate permanently
                                                                                                                                                                              • 1922AT+CFGRI Indicate RI when using URC
                                                                                                                                                                              • 1923AT+CSCLK Control UART sleep
                                                                                                                                                                              • 1924AT+CMUX Enable the multiplexer over the UART
                                                                                                                                                                              • 1925AT+CGFUNC Enabledisable the function for the spe
                                                                                                                                                                              • 1926AT+CGDRT Set the direction of specified GPIO
                                                                                                                                                                              • 1927AT+CGSETV Set the value of specified GPIO
                                                                                                                                                                              • 1928AT+CGGETV Get the value of specified GPIO
                                                                                                                                                                              • 1929AT+CPCIEMODE Get or set the mode of PCIE
                                                                                                                                                                                  • 20 Hardware Related Commands
                                                                                                                                                                                    • 201Overview of Hardware Related Commands
                                                                                                                                                                                    • 202Detailed Description of AT Commands for Hardware
                                                                                                                                                                                      • 2021AT+CVALARM Set overvoltage and undervoltage alarm
                                                                                                                                                                                      • 2022AT+CADC Read the value of ADC
                                                                                                                                                                                      • 2023AT+CADC2 Read the value of ADC2
                                                                                                                                                                                      • 2024AT+CMTE Set the power action when over the critic
                                                                                                                                                                                      • 2025AT+CPMVT Set the power action when overvoltage an
                                                                                                                                                                                      • 2026AT+CDELTA Set module reboot to recovery mode
                                                                                                                                                                                      • 2027AT+CBC Read the voltage value of the power supply
                                                                                                                                                                                      • 2028AT+CPMUTEMP Read the temperature of the modules
                                                                                                                                                                                      • 2029AT+CUSBCFG Set usbidadb modeedl mode and bootlo
                                                                                                                                                                                      • 20210AT+CCPUTEMP Read the temperature of CPU different
                                                                                                                                                                                          • 21AT Commands for UIM hot swap
                                                                                                                                                                                            • 211Overview of AT Commands for UIM hot swap
                                                                                                                                                                                            • 212Detailed Description of AT Commands for UIM hot sw
                                                                                                                                                                                              • 2121AT+UIMHOTSWAPON Set UIM hot swap function on
                                                                                                                                                                                              • 2122AT+UIMHOTSWAPLEVEL Set UIM card detection level
                                                                                                                                                                                                  • 22AT Commands for File System
                                                                                                                                                                                                    • 221Overview of AT Commands for File System
                                                                                                                                                                                                    • 222Detailed Description of AT Commands for File Syste
                                                                                                                                                                                                      • 2221AT+FSCD Select directory as current directory
                                                                                                                                                                                                      • 2222AT+FSMKDIR Make new directory in current director
                                                                                                                                                                                                      • 2223AT+FSRMDIR Delete directory in current directory
                                                                                                                                                                                                      • 2224AT+FSLS List directoriesfiles in current directo
                                                                                                                                                                                                      • 2225AT+FSDEL Delete file in current directory
                                                                                                                                                                                                      • 2226AT+FSRENAME Rename file in current directory
                                                                                                                                                                                                      • 2227AT+FSATTRI Request file attributes
                                                                                                                                                                                                      • 2228AT+FSMEM Check the size of available memory
                                                                                                                                                                                                      • 2229AT+FSLOCA Select storage place
                                                                                                                                                                                                      • 22210AT+FSCOPY Copy an appointed file
                                                                                                                                                                                                      • 22211AT+CFTRANRX Transfer a file to EFS
                                                                                                                                                                                                      • 22212AT+CFTRANTX Transfer a file from EFS to host
                                                                                                                                                                                                          • 23AT Commands for AUDIO
                                                                                                                                                                                                            • 231Overview of AT Commands for AUDIO
                                                                                                                                                                                                            • 232Detailed Description of AT Commands for AUDIO
                                                                                                                                                                                                              • 2321AT+CREC Record wav audio file
                                                                                                                                                                                                              • 2322AT+CRECAMR Record amr audio file
                                                                                                                                                                                                              • 2323AT+CCMXPLAY Play audio file
                                                                                                                                                                                                              • 2324AT+CCMXSTOP Stop playing audio file
                                                                                                                                                                                                                  • 24AT Commands for TTS
                                                                                                                                                                                                                    • 241Overview of AT Commands for TTS
                                                                                                                                                                                                                    • 242Detailed Description of AT Commands for TTS
                                                                                                                                                                                                                      • 2421AT+CDTAM TTS play path local or remote
                                                                                                                                                                                                                      • 2422AT+CTTS TTS operation play or stop
                                                                                                                                                                                                                      • 2423AT+CTTSPARAM TTS Parameters set or get
                                                                                                                                                                                                                          • 25AT Commands for Bluetooth
                                                                                                                                                                                                                            • 251Overview of AT Commands for Bluetooth
                                                                                                                                                                                                                            • 252Detailed Description of AT Commands for Bluetooth
                                                                                                                                                                                                                              • 2521AT+BTINIT Init Bluetooth service
                                                                                                                                                                                                                              • 2522AT+BTTERM Stop Bluetooth service
                                                                                                                                                                                                                              • 2523AT+BTPOWER OpenClose Bluetooth
                                                                                                                                                                                                                              • 2524AT+BTHOST Get or Set host name
                                                                                                                                                                                                                              • 2525AT+BTSCAN Scan BT devices
                                                                                                                                                                                                                              • 2526AT+BTPAIR Pair with other BT device
                                                                                                                                                                                                                              • 2527AT+BTPAIRED Get Paired BT devices
                                                                                                                                                                                                                              • 2528AT+BTUNPAIR Unpair with the paired BT device
                                                                                                                                                                                                                              • 2529AT+BTOPPREG OPP Register
                                                                                                                                                                                                                              • 25210AT+BTOPPSEND OPP send file
                                                                                                                                                                                                                              • 25211+BTOPPRECVING OPP receive file notification
                                                                                                                                                                                                                              • 25212AT+BTOPPACCEPT OPP accept or refuse received file
                                                                                                                                                                                                                              • 25213AT+BTGATTREG GATT register
                                                                                                                                                                                                                              • 25214AT+BTGATTCRESRV GATT create service
                                                                                                                                                                                                                              • 25215AT+BTGATTCRECHAR GATT create service characterist
                                                                                                                                                                                                                              • 25216AT+BTGATTCRECHARDES GATT create service character
                                                                                                                                                                                                                              • 25217AT+BTGATTSTARTSRV GATT startstop service
                                                                                                                                                                                                                              • 25218AT+BTGATTSTARTADV GATT start advertisement
                                                                                                                                                                                                                              • 25219AT+BTGATTDELSRV GATT delete service
                                                                                                                                                                                                                              • 25220+BTGATTCONN GATT client connect status
                                                                                                                                                                                                                              • 25221+BTGATTWRIND GATT receive client write request
                                                                                                                                                                                                                              • 25222AT+BTGATTWRCFM GATT response to BTGATTWRIND
                                                                                                                                                                                                                              • 25223+BTGATTREADIND GATT receive client read request
                                                                                                                                                                                                                              • 25224AT+BTGATTREADCFM GATT response to BTGATTREADIND
                                                                                                                                                                                                                              • 25225AT+BTGATTNOTIFY GATT send notification to client
                                                                                                                                                                                                                                • 253Summary of result codes for GATT
                                                                                                                                                                                                                                  • 2531Summary of Command result lterrgt codes
                                                                                                                                                                                                                                      • 26AT Commands for MiFi
                                                                                                                                                                                                                                        • 261Overview of AT Commands for MiFi
                                                                                                                                                                                                                                        • 262Detailed Description of AT Commands for MiFi
                                                                                                                                                                                                                                          • 2621AT+CWMAP OpenClose MiFi
                                                                                                                                                                                                                                          • 2622AT+CWSSID SSID setting
                                                                                                                                                                                                                                          • 2623AT+CWBCAST Broadcast setting
                                                                                                                                                                                                                                          • 2624AT+CWAUTH Authentication setting
                                                                                                                                                                                                                                          • 2625AT+CWMOCH 80211 mode and channel setting
                                                                                                                                                                                                                                          • 2626AT+CWISO Client isolation setting
                                                                                                                                                                                                                                          • 2627AT+CWDHCP Get the current DHCP configuration
                                                                                                                                                                                                                                          • 2628AT+CWNAT NAT type setting
                                                                                                                                                                                                                                          • 2629AT+CWCLICNT Get client number connected to the Mi
                                                                                                                                                                                                                                          • 26210AT+CWRSTD Restore to default setting
                                                                                                                                                                                                                                          • 26211AT+CWMAPCFG MiFi configuration setting
                                                                                                                                                                                                                                          • 26212AT+CWMACADDR Get MAC address
                                                                                                                                                                                                                                          • 26213AT+CWNETCNCT Query the connection to the network
                                                                                                                                                                                                                                          • 26214AT+CWSTASCAN Scan WIFI network
                                                                                                                                                                                                                                          • 26215AT+CWSTACFG STA mode configuration setting
                                                                                                                                                                                                                                          • 26216AT+CWSTAIP Get STA mode IP address
Page 3: SIM8200Series ATCommandManual

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 3451

Version HistoryVersion Date Chapter What is newV100 2020424 New version

V10002 202051115 AT Commands for NTP16 AT Commands for HTP

Add these chapters

V10002 20205112023 AT+CVAUXS2024 AT+CVAUXV

Delete these commands

V10004 202064 3220 AT+SMEID Delete this command

V10005 20206191134 AT+CPING1135 AT+CPINGSTOP

Add these commands

V10005 202061933 Summary of CME ERRORcodes

Remove MMS related error codes

V10007 20207283 Summary of Unsolicited ResultCodes

Add this chapter

V10009 2020714 4219 AT+CNWINFO Add this command

V10011 2020727161 Software flow control(XONXOFF flow control)

Delete this command

V10012 20207314220 AT+CBANDCFG4221 AT+C5GREG

Add this command

V10013 20208104222 AT+CSYSSEL25 AT Commands for Bluetooth26 AT Commands for Wifi

Add these commands

V10014 2020821

4223 AT+CCELLCFGSet lte cellconfiguration4224 AT+C5GCELLCFG SetNR5G cell configuration

Add these commands

V10015 202099625 AT+CNUM Subscribernumber

Add these commands

V10016 20209232521 AT+BTINIT Init Bluetoothservice

Remove the command

V10016 2020923

5218 AT+MORING Enable ordisable report MO ring URC42221AT+CSYSSEL=nr5g_disable42222AT+CSYSSEL=nr5g_band42223AT+CSYSSEL=nsa_nr5g_band42224 AT+CSYSSEL=lte_band42225 AT+CSYSSEL=w_band

Add these commands

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 4451

V10017 2020930

5219 AT+CLVL Loudspeakervolume level5220 AT+VMUTE Speakermute control5221 AT+CMUT Microphonemute control

Add these commands

V10019 20201111

5222 AT+CRXVOL Adjust RXvoice output speaker volume5223 AT+CTXVOL Adjust TXvoice mic volume5224 AT+CTXMICGAIN AdjustTX voice mic gain5225 AT+CECH Inhibit far-endecho5226 AT+CECDT Inhibit echoduring doubletalk2521 AT+BTINIT Init Bluetoothservice2522 AT+BTTERM StopBluetooth service1929 AT+CPCIEMODE Get orset the mode of PCIE

Add these commands

V10020 202011235227 AT+CSTA Select type ofaddress

Add these commands

V101 20201234220 AT+CBANDCFG4212 AT+CNBP

Delete these commands

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 5451

Contents

Version History3

Contents 5

1 Introduction1611 Scope of the document1612 Related documents1613 Conventions and abbreviations1614 AT Command syntax16

141 Basic syntax17142 S Parameter syntax17143 Extended Syntax17144 Combining AT commands on the same Command line 18145 Entering successive AT commands on separate lines18

15 Supported character sets 1816 Flow control19

161 Hardware flow control (RTSCTS flow control)1917 Definitions19

171 Parameter Saving Mode19172 Max Response Time19

2 AT Commands According to V25TER2121 Overview of AT Commands According to V25TER2122 Detailed Description of AT Commands According to V25TER22

221 A Re-issues the Last Command Given22222 ATD Mobile Originated Call to Dial A Number 22223 ATDgtltmemgtltngt Originate call from specified memory24224 ATDgtltngt Originate call from active memory(1)25225 ATDgtltstrgt Originate call from active memory(2)26226 ATA Call answer27227 ATH Disconnect existing call28228 ATS0 Automatic answer incoming call 29229 +++ Switch from data mode to command mode 302210 ATO Switch from command mode to data mode302211 ATI Display product identification information312212 AT+IPR Set local baud rate temporarily322213 AT+ICF Set control character framing332214 AT+IFC Set local data flow control342215 ATampC Set DCD function mode 352216 ATE Enable command echo 362217 ATampV Display current configuration36

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 6451

2218 ATampD Set DTR function mode372219 ATV Set result code format mode372220 ATampF Set all current parameters to manufacturer defaults 382221 ATQ Set Result Code Presentation Mode392222 ATX Set CONNECT Result Code Format 402223 ATV Set CONNECT Result Code Format About Protocol402224 ATampE Set CONNECT Result Code Format About Speed 412225 ATampW Save the user setting to ME 422226 ATZ Restore the user setting from ME422227 AT+CGMI Request manufacturer identification432228 AT+CGMM Request model identification442229 AT+CGMR Request revision identification442230 AT+CGSN Request product serial number identification452231 AT+CSCS Select TE character set462232 AT+CIMI Request international mobile subscriber identity472233 AT+GCAP Request overall capabilities48

3 AT Commands for Status Control 4931 Overview of AT Commands for Status Control4932 Detailed Description of AT Commands for Status Control49

321 AT+CFUN Set phone functionality49322 AT+CPIN Enter PIN51323 AT+CICCID Read ICCID from SIM card52324 AT+CSIM Generic SIM access53325 AT+CRSM Restricted SIM access54326 AT+SPIC Times remain to input SIM PINPUK 58327 AT+CSPN Get service provider name from SIM59328 AT+CSQ Query signal quality60329 AT+AUTOCSQ Set CSQ report613210 AT+CSQDELTA Set RSSI delta change threshold623211 AT+CATR Configure URC destination interface633212 AT+CPOF Power down the module643213 AT+CRESET Reset the module653214 AT+CACM Accumulated call meter 653215 AT+CAMM Accumulated call meter maximum 673216 AT+CPUC Price per unit and currency table683217 AT+CCLK Real time clock management 693218 AT+CMEE Report mobile equipment error703219 AT+CPAS Phone activity status 713220 AT+SIMEI Set IMEI for the module723221 AT+CSVM Voice Mail Subscriber number733222 Indication of Voice Mail74

33 Summary of CME ERROR codes7534 Summary of CMS ERROR codes77

4 AT Commands for Network7941 Overview of AT Commands for Network79

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 7451

42 Detailed Description of AT Commands for Network79421 AT+CREG Network registration79422 AT+COPS Operator selection81423 AT+CLCK Facility lock 83424 AT+CPWD Change password85425 AT+CCUG Closed user group86426 AT+CUSD Unstructured supplementary service data87427 AT+CAOC Advice of Charge89428 AT+CSSN Supplementary service notifications 90429 AT+CPOL Preferred operator list 924210 AT+COPN Read operator names 934211 AT+CNMP Preferred mode selection944212 AT+CNAOP Acquisitions order preference954213 AT+CPSI Inquiring UE system information 964214 AT+CNSMOD Show network system mode 1004215 AT+CEREG EPS network registration status1014216 AT+CTZU Automatic time and time zone update1034217 AT+CTZR Time and time zone reporting1044218 AT+CNWINFO Inquiring extra network info1064219 AT+C5GREG NR5G network registration status 1074220 AT+CSYSSEL Set system selection pref 1094221 AT+CCELLCFG Set lte cell configuration1124222 AT+C5GCELLCFG Set NR5G cell configuration 113

5 AT Commands According to Call Control11551 Overview of AT Commands According to 3GPP Call Control 11552 Detailed Description of AT Commands According to Call Control116

521 AT+CVHU Voice hang up control116522 AT+CHUP Hang up call 117523 AT+CBST Select bearer service type117524 AT+CRLP Radio link protocol 119525 AT+CR Service reporting control 120526 AT+CRC Cellular result codes121527 AT+CLCC List current calls123528 AT+CEER Extended error report 125529 AT+CCWA Call waiting 1255210 AT+CHLD Call related supplementary services1275211 AT+CCFC Call forwarding number and conditions1285212 AT+CLIP Calling line identification presentation 1305213 AT+CLIR Calling line identification restriction1325214 AT+COLP Connected line identification presentation1335215 AT+VTS DTMF and tone generation1345216 AT+VTD Tone duration 1355217 AT+CSTA Select type of address1365218 AT+CMOD Call mode 1385219 AT+VMUTE Speaker mute control 139

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 8451

5220 AT+CMUT Microphone mute control1405221 AT+MORING Enable or disable report MO ring URC1415222 AT+CLVL Loudspeaker volume level 1415223 AT+CRXVOL Adjust RX voice output speaker volume1425224 AT+CTXVOL Adjust TX voice mic volume1435225 AT+CTXMICGAIN Adjust TX voice mic gain1445226 AT+CECH Inhibit far-end echo1455227 AT+CECDT Inhibit echo during doubletalk 146

6 AT Commands for Phonebook14861 Overview of AT Commands for Phonebook14862 Detailed Description of AT Commands for Phonebook148

621 AT+CPBS Select Phonebook memory storage148622 AT+CPBR Read Phonebook entries 150623 AT+CPBF Find Phonebook entries 151624 AT+CPBW Write Phonebook entry152625 AT+CNUM Subscriber number153

7 AT Commands for SIM Application Toolkit15571 Overview of AT Commands for SIM Application Toolkit15572 Detailed Description of AT Commands for SIM Application Toolkit155

721 AT+STIN SAT Indication155722 AT+STGI Get SAT information 156723 AT+STGR SAT respond 159724 AT+STK STK switch160725 AT+STKFMT Set STK pdu format 161726 AT+STENV Original STK PDU Envelope Command161727 AT+STSM Get STK Setup Menu List with PDU Mode162

8 AT Commands for GPRS 16481 Overview of AT Commands for GPRS16482 Detailed Description of AT Commands for GPRS164

821 AT+CGREG GPRS network registration status 164822 AT+CGATT Packet domain attach or detach166823 AT+CGACT PDP context activate or deactivate167824 AT+CGDCONT Define PDP context 168825 AT+CGDSCONT Define Secondary PDP Context 170826 AT+CGTFT Traffic Flow Template 172827 AT+CGQREQ Quality of service profile (requested)175828 AT+CGEQREQ 3G quality of service profile (requested)178829 AT+CGQMIN Quality of service profile (minimum acceptable) 1828210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)1858211 AT+CGDATA Enter data state 1898212 AT+CGPADDR Show PDP address1908213 AT+CGCLASS GPRS mobile station class1918214 AT+CGEREP GPRS event reporting 1938215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS194

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 9451

83 Summary of Unsolicited Result Codes196

9 AT Commands for SMS19891 Overview of AT Commands for SMS19892 Detailed Description of AT Commands for SMS 198

921 AT+CSMS Select message service198922 AT+CPMS Preferred message storage 200923 AT+CMGF Select SMS message format201924 AT+CSCA SMS service center address 202925 AT+CSCB Select cell broadcast message indication203926 AT+CSMP Set text mode parameters204927 AT+CSDH Show text mode parameters205928 AT+CNMA New message acknowledgement to META 206929 AT+CNMI New message indications to TE2079210 AT+CGSMS Select service for MO SMS messages2099211 AT+CMGL List SMS messages from preferred store2109212 AT+CMGR Read message 2149213 AT+CMGS Send message2189214 AT+CMSS Send message from storage 2199215 AT+CMGW Write message to memory2209216 AT+CMGD Delete message 2229217 AT+CMGMT Change message status2239218 AT+CMVP Set message valid period2249219 AT+CMGRD Read and delete message 2249220 AT+CMGSEX Send message 2269221 AT+CMSSEX Send multi messages from storage 227

10 AT Commands for SSL229101 Overview of AT Commands for SSL229102 Detailed Description of AT Commands for SSL229

1021 AT+CCHSTART Start SSL service 2291022 AT+CCHSTOP Stop SSL service 2301023 AT+CCHOPEN Connect to SSL server2311024 AT+CCHCLOSE Disconnect from SSL server 2321025 AT+CCHSEND Send data to SSL server2331026 AT+CCHRECV Read the cached data that received from the SSL server 2341027 AT+CCHADDR Get the IPV4 address2361028 AT+CCHCFG Configure the client context2371029 AT+CCHSSLCFG Set the SSL context 23810210 AT+CCHMODE Configure the mode of sending and receiving data23910211 AT+CCHSET Configure the report mode of sending and receiving data 24010212 AT+CSSLCFG Configure the SSL context24110213 AT+CCERTDOWN Download certificate into the module24610214 AT+CCERTLIST List certificates24710215 AT+CCERTDELE Delete certificates 247

103 Command result lterrgt codes248104 Unsolicited result codes249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 10451

11 AT Commands for TCPIP250111 Overview of AT Commands for TCPIP250112 Detailed Description of AT Commands for TCPIP 250

1121 AT+NETOPEN Start TCPIP service2501122 AT+NETCLOSE Stop TCPIP service2521123 AT+CIPOPEN Setup TCPUDP client socket connection 2521124 AT+CIPCLOSE Destroy TCPUDP client socket connection2561125 AT+CIPSEND Send TCPUDP data2571126 AT+CIPRXGET Retrieve TCPUDP buffered data2611127 AT+IPADDR Get IP address of PDP context2641128 AT+CIPHEAD Add an IP header when receiving data2641129 AT+CIPSRIP Show remote IP address and port26511210 AT+CIPMODE Select TCPIP application mode26611211 AT+CIPSENDMODE Set sending mode26711212 AT+CIPTIMEOUT Set TCPIP timeout value26811213 AT+CIPCCFG Configure parameters of socket 26911214 AT+SERVERSTART Startup TCP server27011215 AT+SERVERSTOP Stop TCP server27111216 AT+CIPACK QueryTCP connection data transmitting status272

113 DNS amp PING2731131 AT+CDNSGIP Query the IP address of given domain name2741132 AT+CDNSGHNAME Query the domain name of given IP address2751133 AT+CIPDNSSET Set DNS query parameters 2761134 AT+CPING Ping destination address2761135 AT+CPINGSTOP Stop an ongoing ping session 278

114 Information Elements related to TCPIP279115 Description of lterr_infogt280116 Description of lterrgt281

12 AT Commands for FTP(S)282121 Overview of AT Commands for FTP(S) 282122 Detailed Description of AT Commands for FTP(S)282

1221 AT+CFTPSSTART Start FTP(S) service 2821222 AT+CFTPSSTOP Stop FTP(S) Service2831223 AT+CFTPSLOGIN Login to a FTP(S) server2841224 AT+CFTPSLOGOUT Logout FTP(S) server2851225 AT+CFTPSMKD Create a new directory on FTP(S) server2861226 AT+CFTPSRMD Delete a directory on FTP(S) server2871227 AT+CFTPSDELE Delete a file on FTP(S) server2881228 AT+CFTPSCWD Change the current directory on FTP(S) server2881229 AT+CFTPSPWD Get the current directory on FTP(S) server28912210 AT+CFTPSTYPE Set the transfer type on FTP(S) server29012211 AT+CFTPSLIST List the items in the directory on FTP(S) server29112212 AT+CFTPSGETFILE Get a file from FTP(S) server to module29312213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server29412214 AT+CFTPSGET Get a file from FTP(S) server to serial port295

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 11451

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port 29612216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type29812217 AT+CFTPSCACHERD Output cached data to MCU29812218 AT+CFTPSABORT Abort FTP(S) Operations 29912219 AT+CFTPSSIZE Get the File Size on FTP(S) server300

123 Summary of result codes for FTPS 3011231 Summary of Command result lterrcodegt3011232 Summary of Unsolicited Result Codes302

13 AT Commands for HTTPS 303131 Overview of AT Commands for HTTPS 303132 DetailedDescription of AT Commands for HTTPS303

1321 AT+HTTPINIT Start HTTP(S) service 3031322 AT+HTTPTERM Stop HTTP(S) Service3041323 AT+HTTPPARA Set HTTP(S) Parameters value3041324 AT+HTTPACTION HTTP(S) Method Action3061325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response3071326 AT+HTTPREAD Read the Response Information of HTTP(S) Server3091327 AT+HTTPDATA Input HTTP(S) Data3101328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File3111329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file 312

133 Summary of result codes for HTTPS 3131331 Summary of HTTP(S) Response Code3141332 Summary of HTTP(S) error Code315

14 AT Commands for MQTT(S)316141 Overview of AT Commands for MQTT(S)316142 Detailed Description of AT Commands for MQTT(S) 316

1421 AT+CMQTTSTART Start MQTT service3161422 AT+CMQTTSTOP STOP MQTT service 3171423 AT+CMQTTACCQ Acquire a client3181424 AT+CMQTTREL Release a client3191425 AT+CMQTTSSLCFG Set the SSL context3201426 AT+CMQTTWILLTOPIC Input the will topic3211427 AT+CMQTTWILLMSG Input the will message3221428 AT+CMQTTDISC Disconnect from server 3221429 AT+CMQTTCONNECT Connect to MQTT server 32414210 AT+CMQTTTOPIC Input the publish message topic 32514211 AT+CMQTTPAYLOAD Input the publish message body32614212 AT+CMQTTPUB Publish a message to server32714213 AT+CMQTTSUBTOPIC Input a subscribe message topic32814214 AT+CMQTTSUB Subscribe a message to server 32914215 AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic33014216 AT+CMQTTUNSUB Unsubscribe a message to server33114217 AT+CMQTTCFG Configure the MQTT Context332

143 Summary of result codes for MQTT(S)3341431 Summary of Command result lterrgt codes334

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 12451

1432 Summary of Unsolicited Result Codes335

15 AT Commands for NTP337151 Overview of AT Commands for NTP 337152 Detailed Description of AT Commands for NTP337

1521 AT+CNTP Update system time 3371522 Unsolicited NTP Codes 338

16 AT Commands for HTP339161 Overview of AT Commands for HTP 339162 Detailed Description of AT Commands for HTP339

1621 AT+CHTPSERV Set HTP server info3391622 AT+CHTPUPDATE Updating date time using HTP protocol 3401623 Unsolicited HTP Codes 341

17 AT Commands for GPS342171 Overview of AT Commands for GPS342172 Detailed Description of AT Commands for GPS342

1721 AT+CGPS StartStop GPS session3421722 AT+CGPSINFO Get GPS fixed position information3441723 AT+CGPSCOLD Cold Start GPS3451724 AT+CGPSHOT Hot Start GPS 3451725 AT+CGPSURL Set AGPS default server URL3461726 AT+CGPSSSL Set AGPS transport security3471727 AT+CGPSAUTO Start GPS automatic 3471728 AT+CGPSNMEA Configure NMEA sentence type3481729 AT+CGPSNMEARATE Set NMEA output rate35017210 AT+CGPSMD Configure AGPS MO method 35017211 AT+CGPSFTM Start GPS test mode35117212 AT+CGPSDEL Delete the GPS information 35217213 AT+CGPSXE EnableDisable GPS XTRA function35217214 AT+CGPSXD Download XTRA assistant file35317215 AT+CGPSXDAUTO Download XTRA assistant file automatically35417216 AT+CGPSPMD Configure positioning mode35517217 AT+CGPSMSB Configure based mode switch to standalone35617218 AT+CGPSHOR Configure positioning desired accuracy35717219 AT+CGNSSINFO Get GNSS fixed position information35717220 AT+CGNSSMODE Configure GNSS support mode 35917221 Unsolicited XTRA download Codes 360

18 AT Commands for LBS361181 Overview of AT Commands for LBS361182 Detailed Description of AT Commands for LBS361

1821 AT+CLBS Base station location3611822 AT+CLBSCFG Base station Location configure 364

19 AT Commands for Hardware366191 Overview of AT Commands for Hardware366

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 13451

192 Detailed Description of AT Commands for Hardware3661921 AT+IPREX Set UART local baud rate permanently3661922 AT+CFGRI Indicate RI when using URC3671923 AT+CSCLK Control UART sleep3681924 AT+CMUX Enable the multiplexer over the UART 3701925 AT+CGFUNC Enabledisable the function for the special GPIO3711926 AT+CGDRT Set the direction of specified GPIO3721927 AT+CGSETV Set the value of specified GPIO3731928 AT+CGGETV Get the value of specified GPIO3741929 AT+CPCIEMODE Get or set the mode of PCIE374

20 Hardware Related Commands 376201 Overview of Hardware Related Commands 376202 Detailed Description of AT Commands for Hardware376

2021 AT+CVALARM Set overvoltage and undervoltage alarm3762022 AT+CADC Read the value of ADC 3782023 AT+CADC2 Read the value of ADC23782024 AT+CMTE Set the power action when over the critical temperature3792025 AT+CPMVT Set the power action when overvoltage and undervoltage3802026 AT+CDELTA Set module reboot to recovery mode 3822027 AT+CBC Read the voltage value of the power supply3822028 AT+CPMUTEMP Read the temperature of the modules3832029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode38320210 AT+CCPUTEMP Read the temperature of CPU different zones 385

21 AT Commands for UIM hot swap387211 Overview of AT Commands for UIM hot swap387212 Detailed Description of AT Commands for UIM hot swap 387

2121 AT+UIMHOTSWAPON Set UIM hot swap function on 3872122 AT+UIMHOTSWAPLEVEL Set UIM card detection level 388

22 AT Commands for File System 390221 Overview of AT Commands for File System 390222 Detailed Description of AT Commands for File System391

2221 AT+FSCD Select directory as current directory 3912222 AT+FSMKDIR Make new directory in current directory3922223 AT+FSRMDIR Delete directory in current directory3932224 AT+FSLS List directoriesfiles in current directory3932225 AT+FSDEL Delete file in current directory 3952226 AT+FSRENAME Rename file in current directory 3962227 AT+FSATTRI Request file attributes 3962228 AT+FSMEM Check the size of available memory3972229 AT+FSLOCA Select storage place 39822210 AT+FSCOPY Copy an appointed file39922211 AT+CFTRANRX Transfer a file to EFS40022212 AT+CFTRANTX Transfer a file from EFS to host 401

23 AT Commands for AUDIO403

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 14451

231 Overview of AT Commands for AUDIO403232 Detailed Description of AT Commands for AUDIO403

2321 AT+CREC Record wav audio file4032322 AT+CRECAMR Record amr audio file4042323 AT+CCMXPLAY Play audio file4062324 AT+CCMXSTOP Stop playing audio file407

24 AT Commands for TTS409241 Overview of AT Commands for TTS409242 Detailed Description of AT Commands for TTS409

2421 AT+CDTAM TTS play path local or remote4092422 AT+CTTS TTS operation play or stop4102423 AT+CTTSPARAM TTS Parameters set or get412

25 AT Commands for Bluetooth414251 Overview of AT Commands for Bluetooth 414252 Detailed Description of AT Commands for Bluetooth415

2521 AT+BTINIT Init Bluetooth service4152522 AT+BTTERM Stop Bluetooth service4152523 AT+BTPOWER OpenClose Bluetooth4162524 AT+BTHOST Get or Set host name4172525 AT+BTSCAN Scan BT devices 4172526 AT+BTPAIR Pair with other BT device4182527 AT+BTPAIRED Get Paired BT devices4192528 AT+BTUNPAIR Unpair with the paired BT device 4202529 AT+BTOPPREG OPP Register42125210 AT+BTOPPSEND OPP send file 42125211 +BTOPPRECVING OPP receive file notification 42225212 AT+BTOPPACCEPT OPP accept or refuse received file42225213 AT+BTGATTREG GATT register 42325214 AT+BTGATTCRESRV GATT create service42425215 AT+BTGATTCRECHAR GATT create service characteristic42525216 AT+BTGATTCRECHARDES GATT create service characteristic description42725217 AT+BTGATTSTARTSRV GATT startstop service42825218 AT+BTGATTSTARTADV GATT start advertisement 42925219 AT+BTGATTDELSRV GATT delete service43025220 +BTGATTCONN GATT client connect status43125221 +BTGATTWRIND GATT receive client write request43125222 AT+BTGATTWRCFM GATT response to BTGATTWRIND43225223 +BTGATTREADIND GATT receive client read request43225224 AT+BTGATTREADCFM GATT response to BTGATTREADIND43325225 AT+BTGATTNOTIFY GATT send notification to client434

253 Summary of result codes for GATT4352531 Summary of Command result lterrgt codes435

26 AT Commands for MiFi436261 Overview of AT Commands for MiFi436

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 15451

262 Detailed Description of AT Commands for MiFi4362621 AT+CWMAP OpenClose MiFi 4362622 AT+CWSSID SSID setting 4372623 AT+CWBCAST Broadcast setting4382624 AT+CWAUTH Authentication setting4392625 AT+CWMOCH 80211 mode and channel setting 4402626 AT+CWISO Client isolation setting4422627 AT+CWDHCP Get the current DHCP configuration4432628 AT+CWNAT NAT type setting4432629 AT+CWCLICNT Get client number connected to the MiFi44426210 AT+CWRSTD Restore to default setting44526211 AT+CWMAPCFG MiFi configuration setting44526212 AT+CWMACADDR Get MAC address44726213 AT+CWNETCNCT Query the connection to the network44826214 AT+CWSTASCAN Scan WIFI network44826215 AT+CWSTACFG STAmode configuration setting45026216 AT+CWSTAIP Get STAmode IP address451

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 16451

THIS DOCUMENT IS A REFERENCE GUIDE TO ALL THE AT COMMANDS

1 Introduction

11 Scope of the document

This document presents the AT Command Set for SIMCom SIM8200ampSIM8300 Series

12 Related documents

You can visit the SIMCom Website using the following linkhttpwwwsimcomcom

13 Conventions and abbreviations

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)

In application controlling device controls the GSM engine by sending AT Command via its serial interfaceThe 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

14 AT Command syntax

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 17451

The AT or at or aT or At prefix must be set at the beginning of each Command line To terminate aCommand line enter ltCRgtCommands are usually followed by a response that includes ltCRgtltLFgtltresponsegtltCRgtltLFgtThroughout this document only the responses are presented ltCRgtltLFgt are omitted intentionally

The AT Command set implemented by SIM8200 Series is a combination of 3GPP TS 27005 3GPP TS27007 and ITU-T recommendation V25ter and the AT commands developed by SIMCom

Only enter AT Command through serial port after SIM8200 Series is powered on and Unsolicited ResultCode RDY is received from serial port If auto-bauding is enabled the Unsolicited Result CodesRDY and so on are not indicated when you start up the ME and the AT prefix orat prefix must beset at the beginning of each command line

All these AT commands can be split into three categories syntactically basic S parameter andextended These are as follows

141 Basic syntax

These AT commands have the format of ATltxgtltngt orATampltxgtltngt where ltxgtis the Command andltngtisare the argument(s) for that Command An example of this is ATEltngt which tells the DCEwhether received characters should be echoed back to the DTE according to the value of ltngt ltngt isoptional and a default will be used if missing

142 S Parameter syntax

These AT commands have the format of ATSltngt=ltmgt where ltngt is the index of the S register to setand ltmgtis the value to assign to it ltmgt is optional if it is missing then a default value is assigned

143 Extended Syntax

These commands can operate in several modes as in the following table

Table 1 Types of AT commands and responsesTest CommandAT+ltxgt=

The mobile equipment returns the list of parameters and value ranges setwith the corresponding Write Command or by internal processes

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 18451

Read CommandAT+ltxgt

This command returns the currently set value of the parameter orparameters

Write CommandAT+ltxgt=lthellipgt

This command sets the user-definable parameter values

Execution CommandAT+ltxgt

The execution command reads non-variable parameters affected by internalprocesses in the GSM engine

144 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 AToratprefix before every command Instead you only need type ATorat the beginning of the command linePlease note to use a semicolon as the command delimiter after an extended command in basic syntax or Sparameter syntax the semicolon need not enter for exampleATE1Q0S0=1S3=13V1X4+IFC=00+IPR=115200

145 Entering successive AT commands on separate lines

When you need to enter a series of AT commands on separate lines please Note that you need to wait thefinal response (for example OK CME error CMS error) of last AT Command you entered before you enterthe next AT Command

15 Supported character sets

The SIM8200 Series AT Command interface defaults to the IRA character set The SIM8200 Seriessupports the following character sets GSM format UCS2 IRAThe character set can be set and interrogated using the AT+CSCS Command (3GPP TS 27007) Thecharacter set is defined in GSM specification 3GPP TS 27005

The character set affects transmission and reception of SMS and SMS Cell Broadcast messages the entryand display of phone book entries text field and SIM Application Toolkit alpha strings

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 19451

16 Flow control

Flow control is very important for correct communication between the GSM engine and DTE For in thecase such as a data or fax call the sending device is transferring data faster than the receiving side is readyto accept When the receiving buffer reaches its capacity the receiving device should be capable to causethe sending device to pause until it catches up

There are basically two approaches to achieve data flow control software flow control and hardware flowcontrol SIM8200 Series support both two kinds of flow controlIn Multiplex mode it is recommended to use the hardware flow control

161 Hardware flow control (RTSCTS flow control)

Hardware flow control achieves the data flow control by controlling the RTSCTS line When the datatransfer should be suspended the CTS line is set inactive until the transfer from the receiving buffer hascompleted When the receiving buffer is OK to receive more data CTS goes active once again

To achieve hardware flow control ensure that the RTSCTS lines are present on your application platform

17 Definitions

171 Parameter Saving Mode

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 doesnt have parameter AUTO_SAVE The parameter of the current AT command will be kept in NVRAM automatically and

take in effect immediately and it wont 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 wont be lost if module is rebooted

172 Max Response Time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 20451

Max response time is estimated maximum time to get response the unit is seconds

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 21451

2 AT Commands According toV25TER

21 Overview of AT Commands According to V25TER

Command DescriptionA Re-issues the last command given

ATD Mobile originated call to dial a numberATDgtltmemgtltngt Originate call from specified memoryATDgtltngt Originate call from active memoryATDgtltngt Originate call from active memoryATA Call answerATH Disconnect existing callATS0 Automatic answer incoming call+++ Switch from data mode to command modeATO Switch from command mode to data modeATI Display product identification information

AT+IPR Set local baud rate temporarilyAT+ICF Set control character framingAT+IFC Set local data flow controlATampC Set DCD function modeATE Enable command echoATampV Display current configurationATampD Set DTR function modeATV Set result code format modeATampF Set all current parameters to manufacturer defaultsATQ Set Result Code Presentation ModeATX Set CONNECT Result Code FormatATV Set CONNECT Result Code Format About ProtocolATampE Set CONNECT Result Code Format About SpeedATampW Save the user setting to MEATZ Restore the user setting from MEAT+CGMI Request manufacturer identificationAT+CGMM Request model identificationAT+CGMR Request revision identification

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 22451

AT+CGSN Request product serial number identificationAT+CSCS Select TE character setAT+CIMI Request international mobile subscriber identityAT+GCAP Request overall capabilities

22 Detailed Description of AT Commands According to V25TER

221 A Re-issues the Last Command Given

A Re-issues the Last Command GivenExecution CommandA

ResponseRe-issues the previous Command

Parameter Saving Mode NO_SAVE

Max Response Time 120000msReference

Example

A+GCAP +CGSM+FCLASS+DS

OK

222 ATD Mobile Originated Call to Dial A Number

This command can be used to set up outgoing data calls It also serves to control supplementary services

ATD Mobile Originated Call to Dial A NumberExecution CommandATDltngt[ltmgsm][]

ResponseIf originate a voice call successfullyOK

VOICE CALL BEGIN

If error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 23451

+CME ERROR lterrgt

If no dial tone and (parameter setting ATX2 or ATX4)NO DIALTONE

If busy and (parameter setting ATX3 or ATX4)BUSY

If a connection cannot be establishedNO CARRIER

If the remote station does not answerNO ANSWER

If connection successful and non-voice callCONNECTlttextgtTA switches to data modeNote lttextgt output only if ATXltvaluegt parameter setting with theltvaluegtgt0

When TA returns to command mode after call releaseOK

Parameter Saving Mode NO_SAVE

Max Response TimeReference

Defined Values

ltngt String of dialing digits and optionally V25ter modifiers dialing digits0-9 +ABCFollowing V25ter modifiers are ignored(comma)TPW

Emergency callltngt Standardized emergency number 112 (no SIM needed)ltmgsmgt String of GSM modifiers

I Actives CLIR (Disables presentation of own number to calledparty)i Deactivates CLIR (Enable presentation of own number to calledparty)G Activates Closed User Group invocation for this call onlyg Deactivates Closed User Group invocation for this call only

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 24451

ATD10086OKVOICE CALL BEGIN

This command may be aborted generally by receiving an ATH Command or a character duringexecution The aborting is not possible during some states of connection establishment such ashandshaking

223 ATDgtltmemgtltngt Originate call from specified memory

This command is used to originate a call using specified memory and index number

ATDgtltmemgtltngt Originate call from specified memoryExecution CommandATDgtltmemgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

Max Response TimeReferenceV25ter

Defined Values

ltmemgtPhonebook storage (For detailed description of storages seeAT+CPBS)

DC ME dialed calls list

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 25451

MC ME missed (unanswered received) calls listRC ME received calls listSM SIM phonebookME UE phonebookFD SIM fixed dialing phonebookON MSISDN listLD Last number dialed phonebookEN Emergency numbers

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtSM3 Specify the ltmemgtOK

VOICE CALL BEGIN

224 ATDgtltngt Originate call from active memory(1)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 26451

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgt2OK

VOICE CALL BEGIN

225 ATDgtltstrgt Originate call from active memory(2)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltstrgt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 27451

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltstrgt

String type value which should equal to an alphanumeric field in atleast one phone book entry in the searched memories ltstrgtformattedas current TE character set specified by AT+CSCSltstrgt must bedouble quoted

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtkobeOK

VOICE CALL BEGIN

226 ATA Call answer

This command is used to make remote station to go off-hook eg answer an incoming call If there is no anincoming call and entering this command to TA it will be return NO CARRIER to TA

ATA Call answerExecution CommandATA

Responsea)If originate a voice call successfullyOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 28451

VOICE CALL BEGIN

b)For data call and TA switches to data modeCONNECT

c)No connection or no incoming callNO CARRIER

ReferenceV25ter

Example

ATAVOICE CALL BEGIN

OK

227 ATH Disconnect existing call

This command is used to disconnect existing call Before using ATH command to hang up a voice call itmust set AT+CVHU=0 Otherwise ATH command will be ignored and OK response is given onlyThis command is also used to disconnect PS data call and in this case it doesnrsquot depend on the value ofAT+CVHU

ATH Disconnect existing callExecution CommandATH

Responsea) If AT+CVHU=0OK

VOICE CALL END lttimegtb) If ATD99OK

+PPPD DISCONNECTEDc) No any callOK

ReferenceV25ter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 29451

Defined Values

lttimegtVoice call connection time

Format HHMMSS (HH hour MM minute SS second)

Example

AT+CVHU=0OKATHOK

VOICE CALL END 000017

228 ATS0 Automatic answer incoming call

The S-parameter command controls the automatic answering feature of the Module If set to 000 automaticanswering is disabled otherwise it causes the Module to answer when the incoming call indication (RING)has occurred the number of times indicated by the specified value and the setting will not be stored uponpower-off ie the default value will be restored after restart

ATS0 Automatic answer incoming callRead CommandATS0

Responsea) If successltngt

OK

d) If failedERROR

Write commandATS0=ltngt

Responsea) If successOK

b) If failedERROR

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 30451

ltngt000 Automatic answering mode is disable (default value when

power-on)001ndash255 Enable automatic answering on the ring number specified

Example

ATS0000

OKATS0=003OK

1The S-parameter command is effective on voice call and data call2If ltngt is set too high the remote party may hang up before the call can be answered automatically

229 +++ Switch from data mode to command mode

This command is only available during a connecting PS data call The +++ character sequence causes theTA to cancel the data flow over the AT interface and switch to Command Mode This allows to enter ATcommands while maintaining the data connection to the remote device

+++ Switch from data mode to command modeExecution Command+++

ResponseOK

ReferenceV25ter

To prevent the +++ escape sequence from being misinterpreted as data it must be preceded andfollowed by a pause of at least 1000 milliseconds and the interval between two lsquo+rsquo character canrsquotexceed 900 milliseconds

2210 ATO Switch from command mode to data mode

ATO is the corresponding command to the +++ escape sequence When there is a PS data call connected

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 31451

and the TA is in Command Mode ATO causes the TA to resume the data and takes back to Data Mode

ATO Switch from command mode to data modeExecution CommandATO

Responsea) TADCE switches to Data Mode from Command ModeCONNECT[ltbaud rategt]

b) If connection is not successfully resumedNO CARRIERorERROR

ReferenceV25ter

Example

ATOCONNECT 115200

2211 ATI Display product identification information

This command is used to request the product information which consists of manufacturer identificationmodel identification revision identification International Mobile station Equipment Identity (IMEI) andoverall capabilities of the product

ATI Display product identification informationExecution CommandATI

ResponseManufacturer ltmanufacturergtModel ltmodelgtRevision ltrevisiongtIMEI [ltsngt]+GCAP list of ltnamegts

OKReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturerltmodelgt The identification of modelltrevisiongt The revision identification of firmware

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 32451

ltsngtSerial number identification which consists of a single line containingIMEI (International Mobile station Equipment Identity) number

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

ATIManufacturer SIMCOMINCORPORATEDModel SIMCOM_SIM8200GRevision SIM8200G _V10IMEI 351602000330570+GCAP +CGSM+FCLASS+DS

OK

2212 AT+IPR Set local baud rate temporarily

This command sets the baud rate of modulersquos serial interface temporarily after reboot the baud rate is set tovalue of IPREX

AT+IPR Set local baud rate temporarilyTest CommandAT+IPR=

Response+IPR (list of supportedltspeedgts)

OKRead CommandAT+IPR

Response+IPR ltspeedgt

OKWrite CommandAT+IPR=ltspeedgt

ResponseOKorERROR

Execution Command Set the value to boot value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 33451

AT+IPR OK

Defined Values

ltspeedgtBaud rate per second300 600 1200 2400 4800 9600 19200 38400 57600 115200230400 921600 3000000 3200000 3686400

2213 AT+ICF Set control character framing

This command sets character framing which contains data bit stop bit and parity bit

AT+ICF Set control character framingTest CommandAT+ICF=

Response+ICF (list of supportedltformatgts)(list of supportedltparitygts)

OKRead CommandAT+ICF

Response+ICF ltformatgtltparitygt

OKWrite CommandAT+ICF=ltformatgt[ltparitygt]

ResponseOKorERROR

Execution CommandAT+ICF

Set default valueOK

ReferenceV25ter

Defined Values

ltformatgt

1 data bit 8 stop bit 22 data bit 8 parity bit 1stop bit 13 data bit 8 stop bit 14 data bit 7 stop bit 25 data bit 7 parity bit 1stop bit 16 data bit 7 stop bit 1

ltparitygt

0 Odd1 Even2 Space3 none

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 34451

Example

AT+ICF+ICF 33

OKAT+ICF=+ICF (1-6)(0-3)

OKAT+ICF=33OK

2214 AT+IFC Set local data flow control

The command sets the flow control mode of the module

AT+IFC Set local data flow controlTest CommandAT+IFC=

Response+IFC (list of supportedltDCEgts)(list of supportedltDTEgts)

OKorERROR

Read CommandAT+IFC

Response+IFC ltDCEgtltDTEgt

OKorERROR

Write CommandAT+IFC=ltDCEgt[ltDTEgt]

ResponseOKorERROR

Execution CommandAT+IFC

Set default valueOK

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 35451

ltDCEgt0 none (default)2 RTS hardware flow control

ltDTEgt0 none (default)2 CTS hardware flow control

Example

AT+IFC+IFC 00

OKAT+IFC=+IFC (02)(02)

OKAT+IFC=22OK

2215 ATampC Set DCD function mode

This command determines how the state of DCD PIN relates to the detection of received line signal from thedistant end

ATampC Set DCD function modeExecution CommandATampC[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 DCD line shall always be on1 DCD line shall be on only when data carrier signal is present2 Setting winks(briefly transitions offthen back on)the DCD line when data calls end

Example

ATampC1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 36451

2216 ATE Enable command echo

This command sets whether or not the TA echoes characters

ATE Enable command echoExecution CommandATE[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Echo mode off1 Echo mode on

Example

ATE1OK

2217 ATampV Display current configuration

This command returns some of the base configuration parameters settings

ATampV Display current configurationExecution CommandATampV

Responselttextgt

OKorERROR

ReferenceV25ter

Defined Values

lttextgt All relative configuration information

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 37451

Example

ATampVampC 0 ampD 2 ampF 0 E 1 L 0 M 0 Q0 V 1 X 0 Z 0 S0 0S3 13 S4 10 S5 8 S6 2 S7 50 S82 S9 6 S10 14 S11 95+FCLASS 0 +ICF 33 +IFC 22+IPR 115200 +DR 0 +DS 0020486+WS46 12 +CBST 001helliphellipOK

2218 ATampD Set DTR function mode

This command determines how the TA responds when DTR PIN is changed from the ON to the OFFcondition during data mode

ATampD Set DTR function modeExecution CommandATampD[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 TA ignores status on DTR1 ON-gtOFF on DTR Change to Command mode with remaining the connected call2 ON-gtOFF on DTR Disconnect call change to Command modeDuring state DTR =OFF is auto-answer off

Example

ATampD1OK

2219 ATV Set result code format mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 38451

This parameter setting determines the contents of the header and trailer transmitted with result codes andinformation responses

ATV Set result code format modeExecution CommandATV[ltvaluegt]

ResponseIf ltvaluegt =00If ltvaluegt =1OK

ReferenceV25ter

Defined Values

ltvaluegt

0 Information response lttextgtltCRgtltLFgtShort result code format ltnumeric codegtltCRgt

1 Information response ltCRgtltLFgtlttextgtltCRgtltLFgtLong result code format ltCRgtltLFgtltverbose codegtltCRgtltLFgt

Example

ATV1OK

2220 ATampF Set all current parameters to manufacturer defaults

This command is used to set all current parameters to the manufacturer defined profile

ATampF Set all current parameters to manufacturer defaultsExecution CommandATampF[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Set some temporary TA parameters to manufacturer defaults The setting afterpower on or reset is same as value 0

Default Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 39451

TA Parameters VALUESAT+CNMP[1] 2AT+CNAOP[1] 7912532411AT+CTZU[2] 0AT+CGPSSSL[2] 0AT+CGPSURL[2] [1] takes effect immediately[2] takes effect after a modem reboot

Example

ATampFOK

2221 ATQ Set Result Code Presentation Mode

Specify whether the TA transmits any result code to the TE or not Text information transmitted in responseis not affected by this setting

ATQ Set Result Code Presentation ModeExecution CommandATQltngt

ResponseIf ltngt=0OK

If ltngt=1No Responses

Execution CommandATQ

Set default value 0OK

ReferenceV25ter

Defined Values

ltngt0 DCE transmits result code1 DCE not transmits result code

Example

ATQ0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 40451

2222 ATX Set CONNECT Result Code Format

This parameter setting determines whether the TA transmits unsolicited result codes or not The unsolicitedresult codes areltCONNECTgtltSPEEDgtltCOMMUNICATION PROTOCOLgt[ltTEXTgt]

ATX Set CONNECT Result Code FormatExecution CommandATXltngt

ResponseOKorERROR

Execution CommandATX

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltngt0 CONNECT result code returned1234 May be transmits extern result codes according to ATampE and ATV settingsRefer to ATampE

Example

ATX1OK

2223 ATV Set CONNECT Result Code Format About Protocol

This parameter setting determines whether report the communication protocol If PS call it also determineswhether report APN uplink rate downlink rate

ATV Set CONNECT Result Code Format About ProtocolExecution CommandATVltvaluegt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 41451

Execution CommandATV

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 Donrsquot report1 Report communication protocol And report APN uplink rate downlink rate if PS callRefer to ATampE The maybe communication protocol report includeNONEPPPoverUDAV32KAV64KPACKET And APN in string format whileuplink rate and downlink rate in integer format with kb unit

Example

ATV0OK

2224 ATampE Set CONNECT Result Code Format About Speed

This parameter setting determines to report Serial connection rate or Wireless connection speed It is validonly ATX above 0

ATampE Set CONNECT Result Code Format About SpeedExecution CommandATampEltvaluegt

ResponseOKorERROR

Execution CommandATampE

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Wireless connection speed in integer format1 Serial connection rate in integer format Such as 115200

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 42451

Example

ATampE0OK

2225 ATampW Save the user setting to ME

This command will save the user settings to ME which set by ATE ATQ ATV ATX ATampC ATampD ATVAT+IFC and ATS0

ATampW Save the user setting to MEExecution CommandATampWltvaluegt

ResponseOKorERROR

Execution CommandATampW

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Save

Example

ATampW0OK

2226 ATZ Restore the user setting from ME

This command will restore the user setting from ME which set by ATE ATQ ATV ATX ATampC ATampD ATampSATQ ATV and ATS0

ATZ Restore the user setting from MEExecution CommandATZltvaluegt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 43451

orERROR

Execution CommandATZ

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Restore

Example

ATZ0OK

2227 AT+CGMI Request manufacturer identification

This command is used to request the manufacturer identification text which is intended to permit the user ofthe Module to identify the manufacturer

AT+CGMI Request manufacturer identificationTest CommandAT+CGMI=

ResponseOK

Execution CommandAT+CGMI

Responseltmanufacturergt

OKorERROR

ReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturer

Example

AT+CGMI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 44451

SIMCOM INCORPORATED

OK

2228 AT+CGMM Request model identification

This command is used to requests model identification text which is intended to permit the user of theModule to identify the specific model

AT+CGMM Request model identificationTest CommandAT+CGMM=

ResponseOK

Execution CommandAT+CGMM

Responseltmodelgt

OKorERROR

ReferenceV25ter

Defined Values

ltmodelgt The identification of model

Example

AT+CGMMSIMCOM_SIM8200G

OK

2229 AT+CGMR Request revision identification

This command is used to request product firmware revision identification text which is intended to permitthe user of the Module to identify the version

AT+CGMR Request revision identificationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 45451

AT+CGMR= OKExecution CommandAT+CGMR

Response+CGMR ltrevisiongt

OKorERROR

ReferenceV25ter

Defined Values

ltrevisiongt The revision identification of firmware

Example

AT+CGMR+CGMR LE11B03SIM8200G

OK

2230 AT+CGSN Request product serial number identification

This command requests product serial number identification text which is intended to permit the user of theModule to identify the individual ME to which it is connected to

AT+CGSN Request product serial number identificationTest CommandAT+CGSN=

ResponseOK

Execution CommandAT+CGSN

Responseltsngt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltsngtSerial number identification which consists of a single line containingthe IMEI (International Mobile station Equipment Identity) number of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 46451

the MTIf in CDMAEVDO mode it will show ESN(Electronic Serial Number)

Example

AT+CGSN351602000330570

OK

2231 AT+CSCS Select TE character set

Write command informs TA which character set ltchestgt is used by the TE TA is then able to convertcharacter strings correctly between TE and MT character setsRead command shows current setting and test command displays conversion schemes implemented in theTA

AT+CSCS Select TE character setTest CommandAT+CSCS=

Response+CSCS (list of supported ltchsetgts)

OKRead CommandAT+CSCS

Response+CSCS ltchsetgt

OKWrite CommandAT+CSCS=ltchsetgt

ResponseOKorERROR

Execution CommandAT+CSCS

Set subparameters as default valueOK

ReferenceV25ter

Defined Values

ltchsetgt

Character set the definition as followingIRA International reference alphabetGSM GSM default alphabet this setting causes easily

software flow control (XON XOFF) problemsUCS2 16-bit universal multiple-octet coded character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 47451

UCS2 character strings are converted to hexadecimal numbers from0000 to FFFF

Example

AT+CSCS=IRAOK

2232 AT+CIMI Request international mobile subscriber identity

Execution command causes the TA to return ltIMSIgt which is intended to permit the TE to identify theindividual SIM card which is attached to MTNOTE If USIM card contains two apps like China Telecom 4G card one RUIMCSIM app and anotherUSIM app so there are two IMSI in it AT+CIMI will return the RUIMCSIM IMSI AT+CIMIM will return theUSIM IMSI

AT+CIMI Request international mobile subscriber identityTest CommandAT+CIMI=

ResponseOK

Execution CommandAT+CIMI

ResponseltIMSIgt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltIMSIgtInternational Mobile Subscriber Identity (string without doublequotes)

ExampleAT+CIMI460010222028133

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 48451

2233 AT+GCAP Request overall capabilities

Execution command causes the TA reports a list of additional capabilities

AT+GCAP Request overall capabilitiesTest CommandAT+GCAP=

ResponseOK

Execution CommandAT+GCAP

Response+GCAP (list of ltnamegts)

OKReferenceV25ter

Defined Values

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

AT+GCAP+GCAP +CGSM+FCLASS+DS

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 49451

3 AT Commands for Status Control

31 Overview of AT Commands for Status Control

Command DescriptionAT+CFUN Set phone functionality

AT+CPIN Enter PINAT+CICCID Read ICCID from SIM cardAT+CSIM Generic SIM accessAT+CRSM Restricted SIM accessAT+SPIC Times remain to input SIM PINPUKAT+CSPN Get service provider name from SIMAT+CSQ Query signal qualityAT+AUTOCSQ Set CSQ reportAT+CSQDELTA Set RSSI delta change thresholdAT+CATR Configure URC destination interfaceAT+CPOF Power down the moduleAT+CRESET Reset the moduleAT+CACM Accumulated call meterAT+CAMM Accumulated call meter maximumAT+CPUC Price per unit and currency tableAT+CCLK Real time clock managementAT+CMEE Report mobile equipment errorAT+CPAS Phone activity statusAT+SIMEI Set IMEI for the moduleAT+CSVM Voice Mail Subscriber number

32 Detailed Description of AT Commands for Status Control

321 AT+CFUN Set phone functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 50451

DescriptionThis command is used to select the level of functionality ltfungt in the ME Level fullfunctionality is where the highest level of power is drawn Minimum functionality is whereminimum power is drawn Level of functionality between these may also be specified bymanufacturers When supported by manufacturers ME resetting with ltrstgt parameter maybe utilized

NOTE AT+CFUN=6 must be used after setting AT+CFUN=7 If module in offline modemust execute AT+CFUN=6 or restart module to online mode

AT+CFUN Set phone functionalityTest CommandAT+CFUN=

Response+CFUN (list of supported ltfungts)(list of supported ltrstgts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CFUN

Response+CFUN ltfungt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CFUN=ltfungt[ltrstgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltfungt 0 minimum functionality1 full functionality online mode4 disable phone both transmit and receive RF circuits5 Factory Test Mode6 Reset7 Offline Mode

ltrstgt 0 do not reset the ME before setting it to ltfungt power level

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 51451

1 reset the ME before setting it to ltfungt power level This value only takeseffect when ltfungt equals 1

Example

AT+CFUN+CFUN 1

OKAT+CFUN=0OK

322 AT+CPIN Enter PIN

DescriptionThis command is used to send the ME a password which is necessary before it can beoperated (SIM PIN SIM PUK PH-SIM PIN etc) If the PIN is to be entered twice the TAshall automatically repeat the PIN If no PIN request is pending no action is taken towardsMT and an error message +CME ERROR is returned to TEIf the PIN required is SIM PUK or SIM PUK2 the second pin is required This second pinltnewpingt is used to replace the old pin in the SIM

AT+CPIN Enter PINTest CommandAT+CPIN=

ResponseOK

Read CommandAT+CPIN

Response+CPIN ltcodegt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPIN=ltpingt[ltnewpingt]

ResponseOKorERRORor+CME ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 52451

Defined Valuesltpingt String type valuesltnewpingt String type valuesltcodegt Values reserved by the present document

READY ndash ME is not pending for any passwordSIM PIN ndash ME is waiting SIM PIN to be givenSIM PUK ndash ME is waiting SIM PUK to be givenPH-SIM PIN ndash ME is waiting phone- to- SIM card password to be givenSIM PIN2 ndash ME is waiting SIM PIN2 to be givenSIM PUK2 ndash ME is waiting SIM PUK2 to be givenPH-NET PIN ndash ME is waiting network personalization password to be given

Example

AT+CPIN+CPIN SIM PUK2

OK

323 AT+CICCID Read ICCID from SIM card

DescriptionThis command is used to Read the ICCID from SIM card

AT+CICCID Read ICCID from SIM cardTest CommandAT+CICCID=

ResponseOK

Execution CommandAT+CICCID

Response+ICCID ltICCIDgt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 53451

ltICCIDgt Integrate circuit card identity a standard ICCID is a 20-digit serial number of theSIM card it presents the publish state network code publish area publish datepublish manufacture and press serial number of the SIM card

Example

AT+CICCID+ICCID 898600700907A6019125

OK

324 AT+CSIM Generic SIM access

Description

This command is used to control the SIM card directlyCompared to restricted SIM access command AT+CRSM AT+CSIM allows the ME to takemore control over the SIM interfaceFor SIMndashME interface please refer 3GPP TS 1111NOTEThe SIM Application Toolkit functionality is not supported by AT+CSIM Therefore

the following SIM commands can not be used TERMINAL PROFILEENVELOPE FETCH and TEMINAL RESPONSE

AT+CSIM Generic SIM accessTest CommandAT+CSIM=

ResponseOK

Write CommandAT+CSIM=ltlengthgtltcommandgt

Response+CSIM ltlengthgtltresponsegt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 54451

ltlengthgt Integer type length of characters that are sent to TE in ltcommandgtorltresponsegtltcommandgt Command passed from MT to SIM cardltresponsegt Response to the command passed from SIM card to MT

Example

AT+CSIM=OK

325 AT+CRSM Restricted SIM access

DescriptionBy using AT+CRSM instead of Generic SIM Access AT+CSIM TE application has easierbut more limited access to the SIM databaseWrite command transmits to the MT the SIM ltcommandgt and its required parameters MThandles internally all SIM-MT interface locking and file selection routines As response tothe command MT sends the actual SIM information parameters and response data MTerror result code +CME ERROR may be returned when the command cannot be passed tothe SIM but failure in the execution of the command in the SIM is reported in ltsw1gt andltsw2gt parameters

AT+CRSM Restricted SIM accessTest CommandAT+CRSM=

ResponseOK

Write CommandAT+CRSM=ltcommandgt[ltfileIDgt[ltp1gtltp2gtltp3gt[ltdatagt]]]

Response+CRSM ltsw1gtltsw2gt[ltresponsegt]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcommandgt Command passed on by the MT to the SIM176 READ BINARY178 READ RECORD

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 55451

192 GET RESPONSE214 UPDATE BINARY220 UPDATE RECORD242 STATUS203 RETRIEVE DATA219 SET DATA

ltfileIDgt Identifier for an elementary data file on SIM if used by ltcommandgtThe following list the fileID hex value user needs to convert them to decimalEFs under MF0x2FE2 ICCID0x2F05 Extended Language Preferences0x2F00 EF DIR0x2F06 Access Rule Reference

EFs under USIM ADF0x6F05 Language Indication0x6F07 IMSI0x6F08 Ciphering and Integrity keys0x6F09 C and I keys for pkt switched domain0x6F60 User controlled PLMN selector wAcc Tech0x6F30 User controlled PLMN selector0x6F31 HPLMN search period0x6F37 ACM maximum value0x6F38 USIM Service table0x6F39 Accumulated Call meter0x6F3E Group Identifier Level0x6F3F Group Identifier Level 20x6F46 Service Provider Name0x6F41 Price Per Unit and Currency table0x6F45 Cell Bcast Msg identifier selection0x6F78 Access control class0x6F7B Forbidden PLMNs0x6F7E Location information0x6FAD Administrative data0x6F48 Cell Bcast msg id for data download0x6FB7 Emergency call codes0x6F50 Cell bcast msg id range selection0x6F73 Packet switched location information0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F49 Service dialling numbers0x6F4B Extension 20x6F4C Extension 30x6F47 SMS reports

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 56451

0x6F80 Incoming call information0x6F81 Outgoing call information0x6F82 Incoming call timer0x6F83 Outgoing call timer0x6F4E Extension 50x6F4F Capability Config Parameters 20x6FB5 Enh Multi Level Precedence and Pri0x6FB6 Automatic answer for eMLPP service0x6FC2 Group identity0x6FC3 Key for hidden phonebook entries0x6F4D Barred dialling numbers0x6F55 Extension 40x6F58 Comparison Method information0x6F56 Enabled services table0x6F57 Access Point Name Control List0x6F2C De-personalization Control Keys0x6F32 Co-operative network list0x6F5B Hyperframe number0x6F5C Maximum value of Hyperframe number0x6F61 OPLMN selector with access tech0x6F5D OPLMN selector0x6F62 HPLMN selector with access technology0x6F06 Access Rule reference0x6F65 RPLMN last used access tech0x6FC4 Network Parameters0x6F11 CPHS Voice Mail Waiting Indicator0x6F12 CPHS Service String Table0x6F13 CPHS Call Forwarding Flag0x6F14 CPHS Operator Name String0x6F15 CPHS Customer Service Profile0x6F16 CPHS CPHS Information0x6F17 CPHS Mailbox Number0x6FC5 PLMN Network Name0x6FC6 Operator PLMN List0x6F9F Dynamic Flags Status0x6F92 Dynamic2 Flag Setting0x6F98 Customer Service Profile Line20x6F9B EF PARAMS - Welcome Message0x4F30 Phone book reference file0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier0x4F20 GSM ciphering key Kc0x4F52 GPRS ciphering key0x4F63 CPBCCH information0x4F64 Investigation scan

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 57451

0x4F40 MExE Service table0x4F41 Operator Root Public Key0x4F42 Administrator Root Public Key0x4F43 Third party Root public key0x6FC7 Mail Box Dialing Number0x6FC8 Extension 60x6FC9 Mailbox Identifier0x6FCA Message Waiting Indication Status0x6FCD Service Provider Display Information0x6FD2 UIM_USIM_SPT_TABLE0x6FD9 Equivalent HPLMN0x6FCB Call Forwarding Indicator Status0x6FD6 GBA Bootstrapping parameters0x6FDA GBA NAF List0x6FD7 MBMS Service Key0x6FD8 MBMS User Key0x6FCE MMS Notification0x6FD0 MMS Issuer connectivity parameters0x6FD1 MMS User Preferences0x6FD2 MMS User connectivity parameters0x6FCF Extension 80x5031 Object Directory File0x5032 Token Information File0x5033 Unused space Information File

EFs under Telecom DF0x6F3A Abbreviated Dialing Numbers0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F3D Capability Configuration Parameters0x6F4F Extended CCP0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F44 Last number dialled0x6F49 Service Dialling numbers0x6F4A Extension 10x6F4B Extension 20x6F4C Extension 30x6F4D Barred Dialing Numbers0x6F4E Extension 40x6F47 SMS reports0x6F58 Comparison Method Information0x6F54 Setup Menu elements0x6F06 Access Rule reference0x4F20 Image0x4F30 Phone book reference file

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 58451

0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier

ltp1gtltp2gtltp3gt Integer type parameters to be passed on by the Module to the SIMltdatagt Information which shall be written to the SIM (hexadecimal character format refer

AT+CSCS)ltsw1gtltsw2gt Status information from the SIM about the execution of the actual command It is

returned in both cases on successful or failed execution of the commandltresponsegt Response data in case of a successful completion of the previously issued

commandSTATUS and GET RESPONSE commands return data which gives informationabout the currently selected elementary data field This information includes thetype of file and its sizeAfter READ BINARY or READ RECORD commands the requested data will bereturnedltresponsegt is empty after UPDATE BINARY or UPDATE RECORD commands

Example

AT+CRSM=OK

326 AT+SPIC Times remain to input SIM PINPUK

DescriptionThis command is used to inquire times remain to input SIM PINPUK

AT+SPIC Times remain to input SIM PINPUKTest CommandAT+SPIC=

ResponseOK

Execution CommandAT+SPIC

Response+SPIC ltpin1gtltpuk1gtltpin2gtltpuk2gt

OK

Defined Values

ltpin1gt Times remain to input PIN1 code

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 59451

ltpuk1gt Times remain to input PUK1 codeltpin2gt Times remain to input PIN2 codeltpuk2gt Times remain to input PUK2 code

Example

AT+SPIC=OKAT+SPIC+SPIC 310010

OK

327 AT+CSPN Get service provider name from SIM

DescriptionThis command is used to get service provider name from SIM card

AT+CSPN Get service provider name from SIMTest CommandAT+CSPN=

ResponseOKorERROR

Read CommandAT+CSPN

Response+CSPN ltspngtltdisplay modegt

OKorERRORor+CME ERROR lterrgt

Defined Values

ltspngt String type service provider name on SIMltdisplay modegt 0 doesnrsquot display PLMN Already registered on PLMN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 60451

1 display PLMN

Example

AT+CSPN=OKAT+CSPN+CSPN CMCC0

OK

328 AT+CSQ Query signal quality

DescriptionThis command is used to return received signal strength indication ltrssigt and channel biterror rate ltbergt from the ME Test command returns values supported by the TA ascompound values

AT+CSQ Query signal qualityTest CommandAT+CSQ=

Response+CSQ (list of supported ltrssigts)(list of supported ltbergts)

OK

Execution CommandAT+CSQ

Response+CSQ ltrssigtltbergt

OKorERROR

Defined Values

ltrssigt 0 -113 dBm or less1 - 111 dBm230 - 109 - 53 dBm31 -51 dBm or greater99 not known or not detectable100 - 116 dBm or less

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 61451

101 -115 dBm102hellip191 -114 - 26dBm191 -25 dBm or greater199 not known or not detectable100hellip199 expand to TDSCDMA indicate RSCP received

ltbergt (in percent)0 lt0011 001 --- 012 01 --- 053 05 --- 104 10 --- 205 20 --- 406 40 --- 807 gt=8099 not known or not detectable

Example

AT+CSQ+CSQ 220

OK

329 AT+AUTOCSQ Set CSQ report

DescriptionThis command is used to enable or disable automatic report CSQ information whenautomatic report enabled the module reports CSQ information every five seconds or onlyafter ltrssigt or ltbergt is changed the format of automatic report is +CSQ ltrssigtltbergt

AT+AUTOCSQ Set CSQ reportTest CommandAT+AUTOCSQ=

Response+AUTOCSQ (list of supportedltautogts)(list of supportedltmodegts)

OK

Read CommandAT+AUTOCSQ

Response+AUTOCSQ ltautogtltmodegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 62451

Write CommandAT+AUTOCSQ=ltautogt[ltmodegt]

ResponseOKorERROR

Defined Values

ltautogt 0 disable automatic report1 enable automatic report

ltmodegt 0 CSQ automatic report every five seconds1 CSQ automatic report only after ltrssigt or ltbergt is changed

NOTEIf the parameter of ltmodegt is omitted when executing write command ltmodegtwill be set to default value

Example

AT+AUTOCSQ=+AUTOCSQ (0-1)(0-1)

OKAT+AUTOCSQ+AUTOCSQ 11

OKAT+AUTOCSQ=11OK

+CSQ 230 (when ltrssigt or ltbergt changing)

3210 AT+CSQDELTA Set RSSI delta change threshold

DescriptionThis command is used to set RSSI delta threshold for signal strength reporting

AT+CSQDELTA Set RSSI delta change threshold

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 63451

Test CommandAT+CSQDELTA=

Response+CSQDELTA (list of supported ltdeltagts)

OK

Read CommandAT+CSQDELTA

Response+CSQDELTA ltdeltagt

OKorERROR

Write CommandAT+CSQDELTA=ltdeltagt

ResponseOKorERROR

Execution CommandAT+CSQDELTA

ResponseSet default value(ltdeltagt=5)OK

Defined Values

ltdeltagt Range from 0 to 5

Example

AT+CSQDELTA+CSQDELTA 5

OK

3211 AT+CATR Configure URC destination interface

DescriptionThis command is used to configure the serial port which will be used to output URCs Werecommend configure a destination port for receiving URC in the system initializationphase in particular in the case that transmitting large amounts of data eg use TCPUDPand MT SMS related AT command

AT+CATR Configure URC destination interface

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 64451

Test CommandAT+CATR=

Response+CATR (list of supported ltportgts)

OK

Read CommandAT+CATR

Response+CATR ltportgt

OKWrite CommandAT+CATR=ltportgt

ResponseOKorERROR

Defined Values

ltportgt 0 all ports1 use UART port to output URCs2 use MODEM port to output URCs3 use ATCOM port to output URCs4 use cmux virtual port1 to output URCs5 use cmux virtual port2 to output URCs6 use cmux virtual port3 to output URCs7 use cmux virtual port4 to output URCs

Example

AT+CATR=1OKAT+CATR+CATR 1

OK

3212 AT+CPOF Power down the module

DescriptionThis command is used to power off the module Once the AT+CPOF command is executedThe module will store user data and deactivate from network and then shutdown

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 65451

AT+CPOF Power down the moduleTest CommandAT+CPOF=

ResponseOK

Execution CommandAT+CPOF

ResponseOK

Example

AT+CPOFOK

3213 AT+CRESET Reset the module

DescriptionThis command is used to reset the module

AT+CRESET Reset the moduleTest CommandAT+CRESET=

ResponseOK

Execution CommandAT+CRESET

ResponseOK

Example

AT+CRESET=OKAT+CRESETOK

3214 AT+CACM Accumulated call meter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 66451

DescriptionThis command is used to reset the Advice of Charge related accumulated call meter valuein SIM file EFACM

AT+CACM Accumulated call meterTest CommandAT+CACM=

ResponseOKorERROR

Read CommandAT+CACM

Response+CACM ltacmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CACM=ltpasswdgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CACM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltpasswdgt String type SIM PIN2ltacmgt String type accumulated call meter value similarly coded as ltccmgt under +CAOC

Example

AT+CACM+CACM 000000

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 67451

3215 AT+CAMM Accumulated call meter maximum

DescriptionThis command is used to set the Advice of Charge related accumulated call metermaximum value in SIM file EFACMmax

AT+CAMM Accumulated call meter maximumTest CommandAT+CAMM=

ResponseOKorERROR

Read CommandAT+CAMM

Response+CAMM ltacmmaxgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CAMM=ltacmmaxgt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CAMM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltacmmaxgt String type accumulated call meter maximum value similarly coded as ltccmgtunder AT+CAOC value zero disables ACMmax feature

ltpasswdgt String type SIM PIN2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 68451

Example

AT+CAMM+CAMM 000000

OK

3216 AT+CPUC Price per unit and currency table

DescriptionThis command is used to set the parameters of Advice of Charge related price per unit and currencytable in SIM file EFPUCT

AT+CPUC Price per unit and currency tableTest CommandAT+CPUC=

ResponseOKorERROR

Read CommandAT+CPUC

Response+CPUC [ltcurrencygtltppugt]

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPUC=ltcurrencygtltppugt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcurrencygt String type three-character currency code (eg GBP DEM) character setas specified by command Select TE Character Set AT+CSCS

ltppugt String type price per unit dot is used as a decimal separator (eg 266)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 69451

ltpasswdgt String type SIM PIN2

Example

AT+CPUC+CPUC GBP266

OK

3217 AT+CCLK Real time clock management

DescriptionThis command is used to manage Real Time Clock of the module

AT+CCLK Real time clock managementTest CommandAT+CCLK=

ResponseOK

Read CommandAT+CCLK

Response+CCLK lttimegt

OKWrite CommandAT+CCLK=lttimegt

ResponseOKorERROR

Defined Values

lttimegt String type value format is yyMMddhhmmssplusmnzz where characters indicate year(two last digits) month day hour minutes seconds and time zone (indicates thedifference expressed in quarters of an hour between the local time and GMT threelast digits are mandatory range -47hellip+48) Eg 6thof May 2008 142810 GMT+8equals to 080506142810+32NOTE 1 Time zone is nonvolatile and the factory value is invalid time zone2 Command +CCLK will return time zone when time zone is valid and if time zone is

00 command +CCLK will return +00 but not -00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 70451

Example

AT+CCLK=081128123033+32OKAT+CCLK+CCLK 081128123035+32

OKAT+CCLK=081126101500OKAT+CCLK+CCLK 081126101502+32

OK

3218 AT+CMEE Report mobile equipment error

DescriptionThis command is used to disable or enable the use of result code +CME ERROR lterrgtor +CMS ERROR lterrgt as an indication of an error relating to the functionality of MEwhen enabled the format of lterrgt can be set to numeric or verbose string

AT+CMEE Report mobile equipment errorTest CommandAT+CMEE=

Response+CMEE (list of supported ltngts)

OK

Read CommandAT+CMEE

Response+CMEE ltngt

OKWrite CommandAT+CMEE=ltngt

ResponseOKorERROR

Execution CommandAT+CMEE

ResponseSet default valueOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 71451

Defined Values

ltngt 0 ndash Disable result codeie only ERROR will be displayed1 ndash Enable error result code with numeric values2 ndash Enable error result code with string values

Example

AT+CMEE+CMEE 2

OKAT+CPIN=12341234+CME ERROR incorrect passwordAT+CMEE=0OKAT+CPIN=12341234ERRORAT+CMEE=1OKAT+CPIN=12341234+CME ERROR 16

3219 AT+CPAS Phone activity status

DescriptionThis command is used to return the activity status ltpasgt of the ME It can be used tointerrogate the ME before requesting action from the phoneNOTE This command is same as AT+CLCC but AT+CLCC is more commonly used SoAT+CLCC is recommended to use

AT+CPAS Phone activity statusTest CommandAT+CPAS=

Response+CPAS (list of supported ltpasgts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 72451

Execution CommandAT+CPAS

Response+CPAS ltpasgt

OK

Defined Values

ltpasgt 0 ready (ME allows commands from TATE)3 ringing (ME is ready for commands from TATE but the ringer is active)4 call in progress (ME is ready for commands from TATE but a call is in progress)

Example

RING (with incoming call)AT+CPAS+CPAS 3

OKAT+CPAS=+CPAS (034)

OK

3220 AT+SIMEI Set IMEI for the module

DescriptionThis command is used to set the modulersquos IMEI value

AT+SIMEI Set IMEI for the moduleTest CommandAT+SIMEI=

ResponseOK

Read CommandAT+SIMEI

Response+SIMEI ltimeigt

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 73451

Write CommandAT+SIMEI=ltimeigt

ResponseOKorERROR

Defined Values

ltimeigt The 15-digit IMEI value

Example

AT+SIMEI=357396012183170OKAT+SIMEI+SIMEI 357396012183170

OKAT+SIMEI=OK

3221 AT+CSVM Voice Mail Subscriber number

DescriptionExecute the following command returns the voice mail number related to the subscriber

AT+CSVM Voice Mail Subscriber numberTest CommandAT+CSVM=

Response+CSVM (0-1)(0-9+)(128-255)

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 74451

Read CommandAT+CSVM

Response

+CSVM ltvalidgtltnumbergtlttypegt

OK

orERROR

Write CommandAT+CSVM=ltvalidgtltnumbergtlttypegt

ResponseOKorERROR

Defined Values

ltvalidgt Whether voice mail number is valid0 Voice mail number is invalid1 Voice mail number is valid

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format see also AT+CPBR lttypegt

Example

AT+CSVM+CSVM 113697252277129

OK

3222 Indication of Voice Mail

This module supports voice mail function the subscriber number is configured by AT+CSVM commandthe following table shows the URC related Voice Mail

Indication of Voice MailBox Empty+VOICEMAIL EMPTY

DescriptionThis indication means the voice mail box is empty

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 75451

New Message+VOICEMAIL NEW MSG

DescriptionThis indication means there is a new voice mail message notificationreceived This is for CPHS

Voice Mail Status Updated+VOICEMAIL WAITINGltcountgt

DescriptionThis indication means that there are ltcountgt number of voice mailmessages that needs to be got

Defined Values

ltcountgt Count of voice mail message that waits to be got

Example

+VOICEMAIL WAITINGltcountgt+VOICEMAIL WAITING5

33 Summary of CME ERROR codes

This result code is similar to the regular ERROR result code The format of lterrgt can be ethier numeric orverbose string by setting AT+CMEE command

lterrgt of numeric format lterrgt of verbose format0 Phone failure1 no connection to phone2 phone adaptor link reserved3 operation not allowed4 operation not supported5 PH-SIM PIN required6 PH-FSIM PIN required7 PH-FSIM PUK required10 SIM not inserted11 SIM PIN required12 SIM PUK required13 SIM failure14 SIM busy15 SIM wrong

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 76451

16 incorrect password17 SIM PIN2 required18 SIM PUK2 required20 memory full21 invalid index22 not found23 memory failure24 text string too long25 invalid characters in text string26 dial string too long27 invalid characters in dial string30 no network service31 network timeout32 network not allowed ndash emergency calls only40 network personalization PIN required41 network personalization PUK required42 network subset personalization PIN required43 network subset personalization PUK required44 service provider personalization PIN required45 service provider personalization PUK required46 corporate personalization PIN required47 corporate personalization PUK required100 Unknown103 Illegal message106 Illegal ME107 GPRS services not allowed111 PLMN not allowed112 Location area not allowed113 Roaming not allowed in this location area132 service option not supported133 requested service option not subscribed134 service option temporarily out of order148 unspecified GPRS error149 PDP authentication failure150 invalid mobile class257 network rejected request258 retry operation259 invalid deflected to number260 deflected to own number261 unknown subscriber262 service not available

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 77451

263 unknown class specified264 unknown network message273 minimum TFTS per PDP address violated274 TFT precedence index not unique275 invalid parameter combinationCME ERROR codes of FTP201 Unknown error for FTP202 FTP task is busy203 Failed to resolve server address204 FTP timeout205 Failed to read file206 Failed to write file207 Itrsquos not allowed in current state208 Failed to login209 Failed to logout210 Failed to transfer data211 FTP command rejected by server212 Memory error213 Invalid parameter214 Network error

Example

AT+CPIN=12341234+CME ERROR incorrect password

34 Summary of CMS ERROR codes

Final result code +CMS ERROR lterrgt indicates an error related to mobile equipment or network Theoperation is similar to ERROR result code None of the following commands in the same command line isexecuted Neither ERROR nor OK result code shall be returned ERROR is returned normally when error isrelated to syntax or invalid parameters The format of lterrgt can be either numeric or verbose This is setwith command AT+CMEE

lterrgt of numeric format lterrgt of verbose format300 ME failure301 SMS service of ME reserved

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 78451

302 Operation not allowed303 Operation not supported304 Invalid PDU mode parameter305 Invalid text mode parameter310 SIM not inserted311 SIM PIN required312 PH-SIM PIN required313 SIM failure314 SIM busy315 SIM wrong316 SIM PUK required317 SIM PIN2 required318 SIM PUK2 required320 Memory failure321 Invalid memory index322 Memory full330 SMSC address unknown331 No network service332 Network timeout340 NO +CNMAACK EXPECTED341 Buffer overflow342 SMS size more than expected500 Unknown error

Example

AT+CMGS=02112345678+CMS ERROR 304

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 79451

4 AT Commands for Network

41 Overview of AT Commands for Network

Command DescriptionAT+CREG Network RegistrationAT+COPS Operator selectionAT+CLCK Facility lockAT+CPWD Change passwordAT+CCUG Closed User GroupAT+CUSD Unstructured supplementary service dataAT+CAOC Advice of ChargeAT+CSSN Supplementary service notificationsAT+CPOL Preferred operator listAT+COPN Read operator namesAT+CNMP Preferred mode selectionAT+CNAOP Acquisitions order preferenceAT+CPSI Inquiring UE system informationAT+CNSMOD Show network system modeAT+CEREG EPS network registration statusAT+CTZU Automatic time and time zone updateAT+CTZR Time and time zone reportingAT+CNWINFO Inquiring extra network infoAT+C5GREG NR5G network registration statusAT+CSYSSEL Set system selection pref

AT+CCELLCFG Set lte cell configurationAT+C5GCELLCFG Set NR5G cell configuration

42 Detailed Description of AT Commands for Network

421 AT+CREG Network registration

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 80451

This command is used to control the presentation of an unsolicited result code +CREG ltstatgt when ltngt=1and there is a change in the ME network registration status or code +CREG ltstatgt[ltlacgtltcigt] whenltngt=2 and there is a change of the network cellRead command returns the status of result code presentation and an integer ltstatgt which shows whetherthe network has currently indicated the registration of the ME Location information elements ltlacgt andltcigt are returned only when ltngt=2 and ME is registered in the network

AT+CREG Network registrationTest CommandAT+CREG=

Response+CREG (list of supported ltngts)

OKRead CommandAT+CREG

Response+CREG ltngtltstatgt[ltlacgtltcigt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CREG

Response (Set default value ltngt=0)OK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CREG ltstatgt2 enable network registration and location information unsolicitedresult code +CREG ltstatgt[ltlacgtltcigt]

ltstatgt 0 not registered ME is not currently searching a new operator toregister to1 registered home network2 not registered but ME is currently searching a new operator toregister to3 registration denied4 unknown5 registered roaming

ltlacgt Two byte location area code in hexadecimal format(eg00C3 equals193 in decimal)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 81451

NOTE The ltlacgt not supported in CDMAHDR modeltcigt Cell Identify in hexadecimal format

GSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

NOTE The ltcigt not supported in CDMAHDR mode

Example

AT+CREG+CREG 01

OK

Location information elements ltlacgt and ltcigt are returned only when ltngt=2 and ME is registered inthe network

422 AT+COPS Operator selection

Write command forces an attempt to select and register the GSMUMTS network operator ltmodegt is usedto select whether the selection is done automatically by the ME or is forced by this command to operatorltopergt (it shall be given in format ltformatgt) If the selected operator is not available no other operatorshall be selected (except ltmodegt=4) The selected operator name format shall apply to further readcommands (AT+COPS) also ltmodegt=2 forces an attempt to deregister from the network The selectedmode affects to all further network registration (eg after ltmodegt=2 ME shall be unregistered untilltmodegt=0or1 is selected)Read command returns the current mode and the currently selected operator If no operator is selectedltformatgt and ltopergt are omittedTest command returns a list of quadruplets each representing an operator present in the networkQuadruplet consists of an integer indicating the availability of the operator ltstatgt long and shortalphanumeric format of the name of the operator and numeric format representation of the operator Any ofthe formats may be unavailable and should then be an empty field The list of operators shall be in orderhome network networks referenced in SIM and other networksIt is recommended (although optional) that after the operator list TA returns lists of supported ltmodegts andltformatgts These lists shall be delimited from the operator list by two commas

AT+COPS Operator selectionTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 82451

AT+COPS= [+COPS [list of supported (ltstatgtlong alphanumeric ltopergtshort alphanumeric ltopergtnumeric ltopergt[lt AcTgt])s][(list of supportedltmodegts)(list of supportedltformatgts)]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Read CommandAT+COPS

Response+COPS ltmodegt[ltformatgtltopergt[lt AcTgt]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+COPS=ltmodegt[ltformatgt[ltopergt[ltAcTgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+COPS

ResponseOK

Defined Values

ltmodegt 0 automatic1 manual2 force deregister3 set only ltformatgt4 manualautomatic

NOTE if ltmodegt is set to 1 4 in write command the ltopergt isneeded

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt2 numeric ltopergt

ltopergt string type ltformatgt indicates if the format is alphanumeric ornumeric

ltstatgt 0 unknown1 available2 current3 forbidden

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 83451

ltAcTgt Access technology selected0 GSM1 GSM Compact2 UTRAN6 UTRAN_HSDPA_HSUPA7 EUTRAN8 EC_GSM_IOT9 EUTRAN_NB_S111 NR_5GCN (NR connected to 5G core Network)12 NGRAN (NG-RAN access technology)13 EUTRA_NR (Dual connectivity of LTE with NR)

NOTE the value 8 do not follow the 3gpp spec we add this value todistinguish cdmahdr

Example

AT+COPS+COPS 00China Mobile Com0

OK

AT+COPS=+COPS (2China UnicomUnicom460010)(3China Mobile ComDGTMPT460000)(01234)(012)

OK

When executing AT+COPS= any input from serial port will stop this command

423 AT+CLCK Facility lock

This command is used to lock unlock or interrogate a ME or a network facility ltfacgt Password is normallyneeded to do such actions When querying the status of a network service (ltmodegt=2) the response linefor not active case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt

AT+CLCK Facility lockTest CommandAT+CLCK=

Response+CLCK (list of supportedltfacgts)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 84451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CLCK=ltfacgtltmodegt[ltpasswdgt[ltclassgt]]

Response (When ltmodegt=2 and command successful)[+CLCK ltstatusgt[ltclass1gt[ltCRgtltLFgt+CLCK ltstatusgtltclass2gt[]]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfacgt PF lock Phone to the First inserted SIM card or USIM cardSC lock SIM card or USIM cardAO Barr All Outgoing CallsOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home CountryAI Barr All Incoming CallsIR Barr Incoming Calls when roaming outside the home countryAB All Barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AC All inComing barring services (only for ltmodegt=0)FD SIM fixed dialing memory featurePN Network PersonalizationPU network subset PersonalizationPP service Provider PersonalizationPC Corporate Personalization

ltmodegt 0 unlock1 lock2 query status

ltstatusgt 0 not active1 active

ltpasswdgt Passwordstring type shall be the same as password specified for the facilityfrom the ME user interface or with command Change Password+CPWD

ltclassXgt It is a sum of integers each representing a class of information1 voice (telephony)2 data (refers to all bearer services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 85451

4 fax (facsimile services)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

Example

AT+CLCK=SC2+CLCK 0

OK

When querying the status of a network service (ltmodegt=2) the response line for not active case(ltstatusgt=0) should be returned only if service is not active for any ltclassgt

424 AT+CPWD Change password

Write command sets a new password for the facility lock function defined by command Facility LockAT+CLCKTest command returns a list of pairs which present the available facilities and the maximum length of theirpassword

AT+CPWD Change passwordTest CommandAT+CPWD=

Response+CPWD (list of supported (ltfacgtltpwdlengthgt)s)

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPWD=ltfacgtltoldpwdgtltnewpwdgt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 86451

Defined Values

ltfacgt Refer Facility Lock +CLCK for other valuesSC SIM or USIM PIN1P2 SIM or USIM PIN2AB All Barring servicesAC All inComing barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AI Barr All Incoming CallsAO Barr All Outgoing CallsIR Barr Incoming Calls when roaming outside the home countryOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home Country

ltoldpwdgt String type it shall be the same as password specified for the facilityfrom the ME user interface or with command Change PasswordAT+CPWD

ltnewpwdgt String type it is the new password maximum length of password canbe determined with ltpwdlengthgt

ltpwdlengthgt Integer type max length of password

Example

AT+CPWD=+CPWD (AB4)(AC4)(AG4)(AI4)(AO4)(IR4)(OI4)(OX4)(SC8)(P28)

OK

425 AT+CCUG Closed user group

This command allows control of the Closed User Group supplementary service Set command enables theserved subscriber to select a CUG index to suppress the Outgoing Access (OA) and to suppress thepreferential CUG

AT+CCUG Closed user groupTest CommandAT+CCUG=

ResponseOKorERROR

Read CommandAT+CCUG

Response+CCUG ltngtltindexgtltinfogt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 87451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CCUG=ltngt[ltindexgt[ltinfogt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CCUG

Response (Set default value)OK

Defined Values

ltngt 0 disable CUG temporary mode1 enable CUG temporary mode

ltindexgt 09 CUG index10 no index (preferred CUG taken from subscriber data)

ltinfogt 0 no information1 suppress OA2 suppress preferential CUG3 suppress OA and preferential CUG

Example

AT+CCUG+CCUG 000

OK

This command not supported in CDMAHDR mode

426 AT+CUSD Unstructured supplementary service data

This command allows control of the Unstructured Supplementary Service Data (USSD) Both network andmobile initiated operations are supported Parameter ltngt is used to disableenable the presentation of anunsolicited result code (USSD response from the network or network initiated operation) +CUSDltmgt[ltstrgtltdcsgt] to the TE In addition value ltngt=2 is used to cancel an ongoing USSD session

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 88451

AT+CUSD Unstructured supplementary service dataTest CommandAT+CUSD=

Response+CUSD (list of supportedltngts)

OKRead CommandAT+CUSD

Response+CUSD ltngt

OKWrite CommandAT+CUSD=ltngt[ltstrgt[ltdcsgt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CUSD

Response (Set default value)OK

Defined Values

ltngt 0 disable the result code presentation in the TA1 enable the result code presentation in the TA2 cancel session (not applicable to read command response)

ltstrgt String type USSD stringltdcsgt Cell Broadcast Data Coding Scheme in integer format (default 0)ltmgt 0 no further user action required (network initiated USSD Notify or

no further information needed after mobile initiated operation)1 further user action required (network initiated USSD Request orfurther information needed after mobile initiated operation)2 USSD terminated by network4 operation not supported5 network time out

Example

AT+CUSD+CUSD 1

OK

AT+CUSD=0OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 89451

This command not supported in CDMAHDR mode

427 AT+CAOC Advice of Charge

This command refers to Advice of Charge supplementary service that enables subscriber to get informationabout the cost of calls With ltmodegt=0 the execute command returns the current call meter value from theMEThis command also includes the possibility to enable an unsolicited event reporting of the CCM informationThe unsolicited result code +CCCM ltccmgt is sent when the CCM value changes but not more that every10 seconds Deactivation of the unsolicited event reporting is made with the same command

AT+CAOC Advice of ChargeTest CommandAT+CAOC=

Response+CAOC (list of supportedltmodegts)

OKRead CommandAT+CAOC

Response+CAOC ltmodegt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CAOC=ltmodegt

Response+CAOC ltccmgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CAOC

Response (Set default value)OKorERROR

Defined Values

ltmodegt 0 query CCM value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 90451

1 deactivate the unsolicited reporting of CCM value2 activate the unsolicited reporting of CCM value

ltccmgt String type three bytes of the current call meter value in hexadecimalformat (eg 00001E indicates decimal value 30) value is in homeunits and bytes are similarly coded as ACMmax value in the SIM

Example

AT+CAOC=0+CAOC 000000

OK

This command not supported in CDMAHDR mode

428 AT+CSSN Supplementary service notifications

This command refers to supplementary service related network initiated notifications The set commandenablesdisables the presentation of notification result codes from TA to TEWhen ltngt=1 and a supplementary service notification is received after a mobile originated call setupintermediate result code +CSSI ltcode1gt[ltindexgt] is sent to TE before any other MO call setup resultcodes presented in the present document When several different ltcode1gts are received from the networkeach of them shall have its own +CSSI result codeWhenltmgt=1 and a supplementary service notification is received during a mobile terminated call setup orduring a call or when a forward check supplementary service notification is received unsolicited resultcode +CSSU ltcode2gt[ltindexgt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt]]] is sent to TE In case ofMT call setup result code is sent after every +CLIP result code (refer command Calling line identificationpresentation +CLIP) and when several different ltcode2gts are received from the network each of themshall have its own +CSSU result code

AT+CSSN Supplementary service notificationsTest CommandAT+CSSN=

Response+CSSN (list of supportedltngts)(list of supportedltmgts)

OK

Read CommandAT+CSSN

Response+CSSN ltngtltmgt

OKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 91451

ERROR

Write CommandAT+CSSN=ltngt[ltmgt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltngt Parameter setsshows the +CSSI result code presentation status inthe TA0 disable1 enable

ltmgt Parameter setsshows the +CSSU result code presentation status inthe TA0 disable1 enable

ltcode1gt 0 unconditional call forwarding is active1 some of the conditional call forwarding are active2 call has been forwarded3 call is waiting5 outgoing calls are barred

ltindexgt Refer Closed user group +CCUGltcode2gt 0 this is a forwarded call (MT call setup)

2 call has been put on hold (during a voice call)3 call has been retrieved (during a voice call)5 call on hold has been released (this is not a SS notification) (duringa voice call)

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format default 145 when dialing string

includes international access code character + otherwise 129ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128

Example

AT+CSSN=1OK

AT+CSSN+CSSN 11

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 92451

This command not supported in CDMAHDR mode

429 AT+CPOL Preferred operator list

This command is used to edit the SIM preferred list of networks

AT+CPOL Preferred operator listTest CommandAT+CPOL=

Response+CPOL (list of supportedltindexgts)(list of supportedltformatgts)

OK

Read CommandAT+CPOL

Response[+CPOLltindex1gtltformatgtltoper1gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][ltCRgtltLFgt+CPOLltindex2gtltformatgtltoper2gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][]]]

OKorERROR

Write CommandAT+CPOL=ltindexgt[ltformatgt[ltopergt][ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt ]]NOTE If using USIM card thelast four parameters must set

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type the order number of operator in the SIM preferredoperator listIf only input ltindexgt command will delete the value indicate byltindexgt

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 93451

2 numeric ltopergtltoperXgt String typeltGSM_AcTngt GSM access technology

0 access technology not selected1 access technology selected

ltGSM_Compact_AcTngt GSM access technology0 access technology not selected1 access technology selected

ltUTRA_AcTngt UTRA access technology0 access technology not selected1 access technology selected

ltLTE_AcTngt LTE access technology0 access technology not selected1 access technology selected

Example

AT+CPOL+CPOL 12460010010

OK

AT+CPOL=+CPOL (1-8)(0-2)

OK

4210 AT+COPN Read operator names

This command is used to return the list of operator names from the ME Each operator code ltnumericXgtthat has an alphanumeric equivalent ltalphaXgt in the ME memory shall be returned

AT+COPN Read operator namesTest CommandAT+COPN=

ResponseOK

ERROR

Execution CommandAT+COPN

Response[+COPN ltnumeric1gtltalpha1gt[ltCRgtltLFgt+COPN ltnumeric2gtltalpha2gt[]]]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 94451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltnumericXgt String type operator in numeric format (see AT+COPS)ltalphaXgt String type operator in long alphanumeric format (see AT+COPS)

Example

AT+COPN+COPN 46000China Mobile Com+COPN 46001China Unicom

helliphellip

OK

4211 AT+CNMP Preferred mode selection

This command is used to select or set the state of the mode preference

AT+CNMP Preferred mode selectionTest CommandAT+CNMP=

Response+CNMP (list of supportedltmodegts)

OK

Read CommandAT+CNMP

Response+CNMP ltmodegt

OK

Write CommandAT+CNMP=ltmodegt

ResponseOKor(If ltmodegt not supported by module this command will returnERROR)ERROR

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 95451

ltmodegt 2 Automatic13 GSM Only14 WCDMA Only38 LTE Only71 NR5G19 GSM+WCDMA Only48 Any modes but LTE39 GSM+WCDMA+LTE Only51 GSM+LTE Only54 WCDMA+LTE Only55 WCDMA+LTE+NR5G109 LTE+NR5G100 UNKNOW

Example

AT+CNMP=13OK

AT+CNMP+CNMP 13

OK

The set value in Write Command will take efficient immediately The set value will retain after moduleresetThe response will be returned immediately for Test Command and Read Command The MaxResponse Time for Write Command is 10 seconds

4212 AT+CNAOP Acquisitions order preference

This command is used to reset the state of acquisitions order preference

AT+CNAOP Acquisitions order preferenceRead CommandAT+CNAOP

Response+CNAOPltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 96451

Write CommandAT+CNAOP=ltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

ResponseOKorERROR

Defined Values

ltmodegt 7 Acquistion by priority order list ltsys_modengtsltsys_modegt sys_mode values

2 CDMA3 GSM4 HDR5 WCDMA9 LTE11 TDSCDMA12 NR5G

Example

AT+CNAOP=79531124OK

AT+CNAOP+CNAOP 79531124

OK

4213 AT+CPSI Inquiring UE system information

AT+CPSI Inquiring UE system informationTest CommandAT+CPSI=

Response+CPSI (scope oflttimegt)

OK

Read CommandAT+CPSI

ResponseIf camping on a cdmaevdo cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 97451

+CPSI EVDOltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on a gsm cell+CPSIltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltAbsolute RF ChNumgtltRxLevgtltTrack LO AdjustgtltC1-C2gt

OKIf camping on a wcdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltPSCgtltFreqgtltSSCgtltECIOgtltRSCPgtltQualgtltRxLevgtltTXPWRgt

OKIf camping on a tds-cdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltUarfcngtltCpidgt

OKIf camping on a lte cell+CPSI ltSystem ModegtltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OK

If camping on a cdmaehrpd cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI eHRPDltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on 1xlte cell

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 98451

+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OKIf no service+CPSI NO SERVICE ltOperation modegt

OKIf camping on EN-DC connected mode+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]+CPSI NR5G_NSA [ltPCellIDgtltFrequencyBandgtltearfcnssbgtltRSRPgtltRSRQgtltSNRgt]

OK

If camping on NR5G only mode+CPSI NR5G_SAltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltRSRPgtltRSRQgtltSNRgt]

OK

ERROR

Write CommandAT+CPSI=lttimegt

ResponseOKorERROR

Defined Values

lttimegt The range is 0-255 unit is second after set lttimegt will report thesystem information every the seconds

ltSystem modegt System mode values NO SERVICE GSM WCDMA LTE TDShellipIf module in LIMITED SERVICE state and +CNLSA command is set to1 the system mode will display as GSM-LIMITED

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 99451

WCDMA-LIMITEDhellipltOperation modegt UE operation mode values Unknown Online Offline Factory

Test Mode Reset Low Power ModeltMCCgt Mobile Country Code (first part of the PLMN code)ltMNCgt Mobile Network Code (second part of the PLMN code)ltLACgt Location Area Code (hexadecimal digits)ltCell IDgt Service-cell IdentifyltAbsolute RF Ch Numbergt AFRCN for service-cellltTrack LO Adjustgt Track LO AdjustltC1gt Coefficient for base station selectionltC2gt Coefficient for Cell re-selectionltFrequency Bandgt Frequency Band of active setltPSCgt Primary synchronization code of active setltFreqgt Downlink frequency of active setltSSCgt Secondary synchronization code of active setltECIOgt EcIo valueReceived Signal Code PowerltRSCPgt Received Signal Code PowerltQualgt Quality value for base station selectionltRxLevgt RX level value for base station selectionltTXPWRgt UE TX power in dBm If no TX the value is 500ltCpigt Cell Parameter IDltTACgt Tracing Area CodeltPCellIDgt Physical Cell IDltearfcngt E-UTRA absolute radio frequency channel number for searching LTE

cellsltdlbwgt Transmission bandwidth configuration of the serving cell on the

downlinkltulbwgt Transmission bandwidth configuration of the serving cell on the uplinkltRSRPgt Current reference signal receive power in dBm x10 as measured by

L1Range -44 to -140ltRSRQgt Current reference signal receive quality as measured by L1The

quantities are in dB x10 Range -200 to -30 dBltRSSIgt Current received signal strength indicator as measured by L1Values

are in dBm x10 Range -1200 to 0ltRSSNRgt SINR(Signal to Interference Noise Ratio) Range of values [0 30]

The higher the value the betterltSNRgt SIGNAL-NOISE RATIO Range of values [-230 400] which

represents -230 dB to 400 dB The higher the value the betterltBIDgt Base ID

Example

AT+CPSI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 100451

+CPSI GSMOnline460-000x182d1240127 EGSM 900-64211042-42

OK

AT+CPSI+CPSI WCDMAOnline460-010xA80911122855WCDMA IMT 200027910663015623352500

OK

AT+CPSI=+CPSI (0-255)

OKAT+CPSI+CPSI LTEOnline460-110x5A1E187214780257EUTRAN-BAND3185055-94-850-54515+CPSI NR5G_NSA644NR5G_BAND78627264-960-12095

OK

4214 AT+CNSMOD Show network system mode

This command is used to return the current network system mode

AT+CNSMOD Show network system modeTest CommandAT+CNSMOD=

Response+CNSMOD (list of supportedltngts)

OK

Read CommandAT+CNSMOD

Response+CNSMOD ltngtltstatgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CNSMOD=ltngt

ResponseOKorERRORIf error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 101451

+CME ERROR lterrgt

Defined Values

ltngt 0 disable auto report the network system mode information1 auto report the network system mode information command+CNSMOD ltstatgt

ltstatgt 0 no service1 GSM2 GPRS3 EGPRS (EDGE)4 WCDMA5 HSDPA only(WCDMA)6 HSUPA only(WCDMA)7 HSPA (HSDPA and HSUPA WCDMA)8 LTE9 TDS-CDMA10 TDS-HSDPA only11 TDS- HSUPA only12 TDS- HSPA (HSDPA and HSUPA)13 CDMA14 EVDO15 HYBRID (CDMA and EVDO)16 1XLTE(CDMA and LTE)23 eHRPD24 HYBRID(CDMA and eHRPD)36 NR5G

Example

AT+CNSMOD+CNSMOD 02

OK

4215 AT+CEREG EPS network registration status

The set command controls the presentation of an unsolicited result code +CEREG ltstatgt when ltngt=1and there is a change in the MTs EPS network registration status in E-UTRAN or unsolicited result code+CEREG ltstatgt[lttacgtltcigt[ltAcTgt]] when ltngt=2 and there is a change of the network cell in E-UTRANin this latest case ltAcTgtlttacgt and ltcigt are sent only if availableNOTE 1 If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and +CGREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 102451

result codes apply to the registration status and location information for those servicesThe read command returns the status of result code presentation and an integer ltstatgt which showswhether the network has currently indicated the registration of the MT Location information elementslttacgtltcigt and ltAcTgt if available are returned only when ltngt=2 and MT is registered in the network

AT+CEREG EPS network registration statusTest CommandAT+CEREG=

Response+CEREG (list of supportedltngts)

OKorERROR

Read CommandAT+CEREG

Response+CEREG ltngtltstatgt[lttacgtltcigt[ltAcTgt]]

OKorERROR

Write CommandAT+CEREG[=ltngt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CEREG

Response (Set default valueltngt=0)OKorERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CEREGltstatgt2 enable network registration and location information unsolicitedresult code +CEREG ltstatgt[lttacgtltcigt[ltAcTgt]]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of E-UTRAN coverage)5 registered roaming6 registered for SMS only home network (not applicable)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 103451

7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN

Example

AT+CEREG+CEREG 04

OK

If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and+CGREG result codes apply to the registration status and location information for those services

4216 AT+CTZU Automatic time and time zone update

This command is used to enable and disable automatic time and time zone update via NITZ

AT+CTZU Automatic time and time zone updateTest CommandAT+CTZU=

Response+CTZU (list of supportedltonoffgts)

OK

Read CommandAT+CTZU

Response+CTZU ltonoff gt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 104451

orIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CTZU=ltonoffgt

ResponseOKorERROR

Defined Values

ltonoffgt Integer type value indicating0 Disable automatic time zone update via NITZ1 Enable automatic time zone update via NITZNOTE 1 The value of lt onoff gt is nonvolatile and factory value is 02 For automatic time and time zone update is enabled (+CTZU=1)If time zone is only received from network and it isnrsquot equal to localtime zone (AT+CCLK) time zone is updated automatically and realtime clock is updated based on local time and the difference betweentime zone from network and local time zone (Local time zone must bevalid)If Universal Time and time zone are received from network both timezone and real time clock is updated automatically and real time clockis based on Universal Time and time zone from network

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CTZU+CTZU 0

OK

AT+CTZU=1OK

4217 AT+CTZR Time and time zone reporting

This command is used to enable and disable the time zone change event reporting If the AT+CTZR=1 theMT returns the unsolicited result code+CTZV lttzgt whenever time zone received from network isnrsquot equal tolocal time zone If AT+CTZR=2 report +CTZE lttzgtltdstgtlttimegt whenever the time zone and time ischanged

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 105451

AT+CTZR Time and time zone reportingTest CommandAT+CTZR=

Response+CTZR (list of supported ltonoffgts)

OK

Read CommandAT+CTZR

Response+CTZR ltonoffgt

OK

Write CommandAT+CTZR=ltonoffgt

ResponseOKorERROR

Execution CommandAT+CTZR

Response (Set default value)OK

Defined Values

ltonoffgt Integer type value indicating0 Disable time zone change event reporting (default)1 Enable time zone change event reporting2 Display ltdstgtlttimegt

lttzgt Local time zone received from network its a integer and the format is+tz

ltdstgt Network daylight saving time and if it is received from network itindicates the value that has been used to adjust the local time zoneThe values as following0 No adjustment for Daylight Saving Time1 +1 hour adjustment for Daylight Saving Time2 +2 hours adjustment for Daylight Saving Time

lttimegt Universal time received from network and the format isyyMMddhhmmss where characters indicate year (two last digits)month day hour minutes and secondsNOTEHere inlttimegt is Universal Time or NITZ time

Example

AT+CTZR+CTZR 0

OK

AT+CTZR=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 106451

+CTZV +32AT+CTZR=2OK

+CTZE +32020200319151946

The time zone reporting is not affected by the Automatic Time and Time Zone command AT+CTZU

4218 AT+CNWINFO Inquiring extra network info

AT+CNWINFO Inquiring extra network info

Read CommandAT+CNWINFO

Response+CNWINFOltSYS_MODEgtltEGCIgtlteNBIDgtltMCSgtltDL_MODgtltUL_MODgtltCQIgtltTX_POWERgt

OKorERROR

Write CommandAT+CNWINFO=ltongt

Response

OKorERROR

Defined Values

ltSYS_MODEgt System modeLTENR5G

ltEGCIgt A decimal value contain PLMN+cellIdentitylteNBIDgt eNodeB ID itrsquos a hex valueltMCSgt Modulation and Coding Scheme a decimal value(0-31)ltDL_MODgtltUL_MODgt DL modulation type

QPSK16QAM64QAM256QAM

ltCQIgt Channel quality indication a decimal value(0-15)ltTX_POWERgt UL Tx power a decimal value(-99-30)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 107451

ltongt On or Off ltDL_MODgtltUL_MODgt display0 Close1 Open

Example

AT+CNWINFO+CNWINFO NR5G4600190886410x123452264QAM16QAM115

OK

AT+CNWINFO+CNWINFO LTE46011953338900x5AEAE1QPSK16QAM159

OK

4219 AT+C5GREG NR5G network registration status

The set command controls the presentation of an unsolicited result code +C5GREG ltstatgt when ltngt=1or unsolicited result code +C5GREG ltstatgt[lttacgtltcigtltAcTgtltoctec_lengtltnssaigt] when ltngt=2

AT+C5GREG NR5G network registration statusTest CommandAT+C5GREG=

Response+C5GREG (list of supportedltngts)

OKorERROR

Read CommandAT+C5GREG

Response+C5GREG ltngtltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

OKorERROR

Write CommandAT+C5GREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+C5GREG

Response (Set default value(ltngt=0)OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 108451

orERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +C5GREGltstatgt2 enable network registration and location information unsolicitedresult code +C5GREGltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of 5GC coverage)5 registered roaming6 registered for SMS only home network (not applicable)7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN10 EUTRA_5GCN11 NR_5GCN12 NGRAN13 EUTRA_NR

ltoctet_lengt The length of ltnssaigtltnssaigt Network slice selection assistance information a string value

Example

AT+C5GREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 109451

+C5GREG 01

OK

AT+C5GREG=2OK

AT+C5GREG+C5GREG 00GeeflexNetwork11

OK

4220 AT+CSYSSEL Set system selection pref

AT+CSYSSEL Set system selection pref

Test CommandAT+CSYSSEL=

Response+CSYSSEL nr5g_disable(list of supportedltnr5g_disable_modegt)+CSYSSEL nr5g_band(list of supported ltsa_nr5gbandgt)+CSYSSEL nsa_nr5g_band(list of supported ltnsa_nr5gbandgt)+CSYSSEL lte_band(list of supported ltlte_bandgt)+CSYSSEL w_band(list of supported ltw_bandgt)

OKExecution CommandAT+CSYSSEL

Restore all band to default band capabilityOK

Write CommandAT+CSYSSEL=nr5g_disable[ltnr5g_disable_modegt]

ResponseIf the parameterltnr5g_disable_modegt is omitted return currentconfiguration+CSYSSEL nr5g_disableltnr5g_disable_modegt

OKThis command was applied to disable NSA or SA mode

Write CommandAT+CSYSSEL=nr5g_band[ltnr5g_bandgt]

ResponseIf the parameter ltnr5g_bandgt is omitted return current configuration+CSYSSEL nr5g_bandlt sa_nr5gband gt

OKIf the parameter ltnr5g_bandgt is specified configure the preferred SANR5G bands to be searchedOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 110451

Write CommandAT+CSYSSEL=nsa_nr5g_band[ltnsa_nr5gbandgt]

ResponseIf the parameter ltnsa_nr5gbandgt is omitted return currentconfiguration+CSYSSEL nsa_nr5g_bandltnsa_nr5gbandgt

OKIf the parameter ltnsa_nr5gbandgt is specified configure thepreferred NSA NR5G bands to be searchedOKorERROR

Write CommandAT+CSYSSEL=lte_band[ltlte_bandgt]

ResponseIf the parameter ltlte_bandgt is omitted return current configuration+CSYSSEL lte_bandltlte_bandgt

OKIf the parameter ltlte_bandgt is specified configure the preferred LTEbands to be searchedOKorERRORThis command was applied to configure LTE bands

Write CommandAT+CSYSSEL=w_band[ltwbandgt]

ResponseIf the parameter ltw_bandgt is omitted return current configuration+CSYSSEL w_bandltw_bandgt

OKIf the parameter ltw_bandgt is specified configure the preferredWCDMA bands to be searchedOKorERRORThis command was applied to configure WCDMA bands

Defined Values

ltnr5g_disable_modegt NR5G SANSA disable setting0 None is disabled1 Disable SA2 Disable NSA

lt sa_nr5gband gt String type Use the colon as a separator to list NR5G bands to beconfigured The parameter format is B1B2B3hellipBN

ltnsa_nr5gbandgt String type Use the colon as a separator to list NSA NR5G bands tobe configured The parameter format is B1B2B3hellipBN

ltlte_bandgt String type Use the colon as a separator to list LTE bands to be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 111451

configured The parameter format is B1B2B3hellipBNltw_bandgt String type Use the colon as a separator to list WCDMA bands to be

configured The parameter format is B1B2B3hellipBN

B1 WCDMA_I_IMT_2000B2 WCDMA_II_PCS_1900B3 WCDMA_III_1700B4 WCDMA_IV_1700B5 WCDMA_V_850B6 WCDMA_VI_800B7 WCDMA_VII_2600B8 WCDMA_VIII_900B9 WCDMA_IX_1700B11 WCDMA_XI_1500B19 WCDMA_XIX_850

Example

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable0

OK

AT+CSYSSEL=nr5g_disable2OK

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable2

OK

AT+CSYSSEL=nr5g_band+CSYSSEL nr5g_band1284178

OK

AT+CSYSSEL=nr5g_band4178OK

AT+CSYSSEL=lte_band+CSYSSELlte_band12345781213141718192025262829303234383940414243486671

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 112451

AT+CSYSSEL=lte_band123OK

AT+CSYSSEL=w_band+CSYSSEL w_band123456

OKAT+CSYSSEL=w_band1234568OK

4221 AT+CCELLCFG Set lte cell configuration

AT+CCELLCFG Set lte cell configuration

Write CommandAT+CCELLCFG=ltenablegt[ltpcigtltfreqgt]

ResponseOKorERROR

Read CommandAT+CCELLCFG

Response+CCELLCFG ltpcigtltfreqgt

OKorERROR

Defined Values

ltenablegt0 ndash Clean cell lock1 ndash Set cell lock with pci and freq

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

Example

AT+CCELLCFG =12551850OK

AT+CCELLCFG=0 Clean cell lock setOKAT+CCELLCFG+CCELLCFG 2551850

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 113451

4222 AT+C5GCELLCFG Set NR5G cell configuration

AT+C5GCELLCFG Set NR5G cell configurationWrite CommandAT+C5GCELLCFG=pciltpcigtltfreqgtltscsgtltbandgt

AT+C5GCELLCFG=arfcnltarfcn_list_lengtltscsfreqgt[hellip]]

AT+C5GCELLCFG=unlock

ResponseOKorERROR

Read CommandAT+C5GCELLCFG

ResponseIf lock cell id was set+C5GCELLCFG pciltpcigtltfreqgtltscsgtltbandgt

OK

If arfcn list was set+C5GCELLCFGarfcnltarfcn_list_lengtltfreqgtltscsfreqgt[hellip]]

OKorERROR

Defined Values

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

ltscsgt

0x00 ndashSUB_CARRIER_SPACING_SSB_15KHZ0x01 ndashSUB_CARRIER_SPACING_SSB_30KHZ0x02ndashSUB_CARRIER_SPACING_SSB_60KHZ0x03ndashSUB_CARRIER_SPACING_SSB_120KHZ0x04ndashSUB_CARRIER_SPACING_SSB_240KHZ0x05ndashSUB_CARRIER_SPACING_SSB_SPARE30x06ndashSUB_CARRIER_SPACING_SSB_SPARE20x07ndashSUB_CARRIER_SPACING_SSB_SPARE1

ltbandgt NR bandltarfcn_list_lengt A integer value 1-32

Example

AT+C5GCELLCFG=pci100 518670141

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 114451

OKAT+C5GCELLCFG+C5GCELLCFG pci100 5186701 41

AT+C5GCELLCFG=arfcn1100518670OK

AT+C5GCELLCFG+C5GCELLCFG arfcn1100518670

OK

AT+C5GCELLCFG=unlockOK

This command was not verified test so suggest customer not use it now until SIMCom test it ok

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 115451

5 AT Commands According to CallControl

51 Overview of AT Commands According to 3GPP Call Control

Command DescriptionAT+CVHU Voice hang up controlAT+CHUP Hang up callAT+CBST Select bearer service typeAT+CRLP Radio link protocolAT+CR Service reporting controlAT+CRC Cellular result codesAT+CLCC List current callsAT+CEER Extended error reportAT+CCWA Call waitingAT+CHLD Call related supplementary servicesAT+CCFC Call forwarding number and conditionsAT+CLIP Calling line identification presentationAT+CLIR Calling line identification restrictionAT+COLP Connected line identification presentationAT+VTS DTMF and tone generationAT+VTD Tone durationAT+CSTA Select type of addressAT+CMOD Call modeAT+VMUTE Speaker mute controlAT+CMUT Microphone mute controlAT+MORING Enable or disable report MO ring URCAT+CLVL Loudspeaker volume levelAT+CRXVOL Adjust RX voice output speaker volumeAT+ CTXVOL Adjust TX voice mic volumeAT+ CTXMICGAIN Adjust TX voice mic gainAT+CECH Inhibit far-end echoAT+CECDT Inhibit echo during doubletalk

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 116451

52 Detailed Description of AT Commands According to Call Control

521 AT+CVHU Voice hang up control

Write command selects whether ATH or drop DTR shall cause a voice connection to be disconnected ornot By voice connection is also meant alternating mode calls that are currently in voice mode

AT+CVHU Voice hang up control

Test CommandAT+CVHU=

Response+CVHU (range of supported ltmodegts)

OK

Read CommandAT+CVHU

Response+CVHU ltmodegt

OK

Write CommandAT+CVHU=ltmodegt

ResponseOKorERROR

Execution CommandAT+CVHU

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 Drop DTR ignored but OK response given ATH disconnects1 Drop DTR and ATH ignored but OK response given

Example

AT+CVHU=0OKAT+CVHU+CVHU 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 117451

522 AT+CHUP Hang up call

This command is used to cancel voice calls If there is no call it will do nothing but OK response is givenAfter running AT+CHUP multiple VOICE CALL END may be reported which relies on how many callsexist before calling this command

AT+CHUP Hang up callTest CommandAT+CHUP=

ResponseOK

Execution CommandAT+CHUP

ResponseOK

VOICE CALL END lttimegt[hellipVOICE CALL END lttimegt]

No callOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

lttimegt Voice call connection timeFormat HHMMSS (HH hour MM minute SS second)

Example

AT+CHUPOK

VOICE CALL END 000017

523 AT+CBST Select bearer service type

Write command selects the bearer service ltnamegt with data rate ltspeedgt and the connection elementltcegt to be used when data calls are originated Values may also be used during mobile terminated data callsetup especially in case of single numbering scheme calls

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 118451

AT+CBST Select bearer service type

Test CommandAT+CBST=

Response+CBST (list of supported ltspeedgts)(list of supported ltnamegts)(listof supported ltcegts)

OK

Read CommandAT+CBST

Response+CBST ltspeedgtltnamegtltcegt

OK

Write CommandAT+CBST=ltspeedgt[ltnamegt[ltcegt]]

ResponseOKorERROR

Execution CommandAT+CBST

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltspeedgt 0 autobauding(automatic selection of the speed this setting ispossible in case of 31 kHz modem and non-transparent service)7 ndash 9600 bps (V32)12 ndash 9600 bps (V34)14 ndash 14400 bps(V34)16 ndash 28800 bps(V34)17 ndash 33600 bps(V34)39 ndash 9600 bps(V120)43 ndash 14400 bps(V120)48 ndash 28800 bps(V120)51 ndash 56000 bps(V120)71 ndash 9600 bps(V110)75 ndash 14400 bps(V110)80 ndash 28800 bps(V110 or X31 flag stuffing)81 ndash 38400 bps(V110 or X31 flag stuffing)83 ndash 56000 bps(V110 or X31 flag stuffing)84 ndash 64000 bps(X31 flag stuffing)116 ndash 64000 bps(bit transparent)134 ndash 64000 bps(multimedia)

ltnamegt 0 Asynchronous modem1 Synchronous modem4 data circuit asynchronous (RDI)

ltcegt 0 transparent

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 119451

1 non-transparentNOTE If ltspeedgt is set to 116 or 134 it is necessary that ltnamegt is equal to 1 and ltcegt is equal to 0

Example

AT+CBST=001OKAT+CBST

+CBST 001

OK

524 AT+CRLP Radio link protocol

Radio Link Protocol(RLP) parameters used when non-transparent data calls are originated may be alteredwith write command

Read command returns current settings for each supported RLP version ltverXgt Only RLP parametersapplicable to the corresponding ltverXgt are returned

Test command returns values supported by the TA as a compound value If META supports several RLPversions ltverXgt the RLP parameter value ranges for each ltverXgt are returned in a separate line

AT+CRLP Radio link protocol

Test CommandAT+CRLP=

Response+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver1gt[(list of supportedltT4gts)]][ltCRgtltLFgt+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver2gt[(list of supportedltT4gts)]][]]

OK

Read CommandAT+CRLP

Response+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver1gt[ltT4gt]][ltCRgtltLFgt+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver2gt[ltT4gt]][]]

OKWrite CommandAT+CRLP=ltiwsgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 120451

[ltmwsgt[ltT1gt[ltN2gt[ltvergt[ltT4gt]]]]]

orERROR

Execution CommandAT+CRLP

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvergtltverXgt RLP version number in integer format and it can be 0 1 or 2 whenversion indication is not present it shall equal 1

ltiwsgt IWF to MS window sizeltmwsgt MS to IWF window sizeltT1gt Acknowledgement timerltN2gt Retransmission attemptsltT4gt Re-sequencing period in integer formatNOTEltT1gt and ltT4gt are in units of 10 ms

Example

AT+CRLP+CRLP 61614860+CRLP 61614861+CRLP 2402405262

OK

525 AT+CR Service reporting control

Write command controls whether or not intermediate result code +CR ltservgt is returned from the TA tothe TE If enabled the intermediate result code is transmitted at the point during connect negotiation atwhich the TA has determined which speed and quality of service will be used before any error control ordata compression reports are transmitted and before the intermediate result code CONNECT istransmitted

AT+CR Service reporting control

Test CommandAT+CR=

Response+CR (list of supported ltmodegts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 121451

Read CommandAT+CR

Response+CR ltmodegt

OK

Write CommandAT+CR=ltmodegt

ResponseOKorERROR

Execution CommandAT+CR

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 disables reporting1 enables reporting

ltservgt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL sync synchronous non-transparentGPRS [ltL2Pgt] GPRSThe optional ltL2Pgt proposes a layer 2 protocol to use between theMT and the TEs

Example

AT+CR=1OK

AT+CR+CR 1

OK

526 AT+CRC Cellular result codes

Write command controls whether or not the extended format of incoming call indication or GPRS networkrequest for PDP context activation is used When enabled an incoming call is indicated to the TE withunsolicited result code +CRING lttypegt instead of the normal RINGTest command returns values supported by the TA as a compound value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 122451

AT+CRC Cellular result codes

Test CommandAT+CRC=

Response+CRC (list of supported ltmodegts)

OK

Read CommandAT+CRC

Response+CRC ltmodegt

OK

Write CommandAT+CRC=ltmodegt

ResponseOKorERROR

Execution CommandAT+CRC

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash disable extended format1 ndash enable extended format

lttypegt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL SYNC synchronous non-transparentFAX facsimileVOICE normal voiceVOICEXXX voice followed by data(XXX is ASYNC SYNC RELASYNC or REL SYNC)ALT VOICEXXX alternating voicedata voice firstALT XXXVOICE alternating voicedata data firstALT FAXVOICE alternating voicefax fax firstGPRS GPRS network request for PDP context activation

Example

AT+CRC=1OK

AT+CRC+CRC 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 123451

OK

527 AT+CLCC List current calls

This command issued to return list of current calls of ME If command succeeds but no calls are availableno information response is sent to TE

AT+CLCC List current calls

Test CommandAT+CLCC=

Response+CLCC (range of supported ltngts)

OK

Read CommandAT+CLCC

Response+CLCC ltngt

OK

Write CommandAT+CLCC=ltngt

ResponseOKorERROR

Execution CommandAT+CLCC

Response+CLCCltid1gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][ltCRgtltLFgt+CLCCltid2gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][]]

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Donrsquot report a list of current calls of ME automatically when thecurrent call status changes1 Report a list of current calls of ME automatically when the currentcall status changes

ltidXgt Integer type call identification number this number can be used in+CHLD command operations

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 124451

ltdirgt 0 mobile originated (MO) call1 mobile terminated (MT) call

ltstatgt State of the call0 active1 held2 dialing (MO call)3 alerting (MO call)4 incoming (MT call)5 waiting (MT call)6 disconnect

ltmodegt bearerteleservice0 voice1 data2 fax9 unknown

ltmptygt 0 call is not one of multiparty (conference) call parties1 call is one of multiparty (conference) call parties

ltnumbergt String type phone number in format specified by lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is

optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phonebook used character set should be the oneselected with command Select TE Character Set AT+CSCS

Example

ATD10011OK

AT+CLCC+CLCC 1000010011129sm

OK

RING (with incoming call)

AT+CLCC+CLCC 1140002152063113128gongsi

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 125451

528 AT+CEER Extended error report

Execution command causes the TA to return the information text ltreportgt which should offer the user of theTA an extended report of the reason for

1 The failure in the last unsuccessful call setup(originating or answering) or in-call modification

2 The last call release

3 The last unsuccessful GPRS attach or unsuccessful PDP context activation

The last GPRS detach or PDP context deactivation

AT+CEER Extended error reportTest CommandAT+CEER=

ResponseOK

Execution CommandAT+CEER

Response+CEER ltreportgt

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreportgt Wrong information which is possibly occurred

Example

AT+CEER+CEER Invalidincomplete number

OK

529 AT+CCWA Call waiting

This command allows control of the Call Waiting supplementary service Activation deactivation and statusquery are supported When querying the status of a network service (ltmodegt=2) the response line for notactive case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt Parameter ltngt isused to disableenable the presentation of an unsolicited result code +CCWA ltnumbergtlttypegtltclassgt to

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 126451

the TE when call waiting service is enabled Command should be abortable when network is interrogated

AT+CCWA Call waiting

Test CommandAT+CCWA=

Response+CCWA (range of supported ltngts)

OK

Read CommandAT+CCWA

Response+CCWA ltngt

OK

Write CommandAT+CCWA=ltngt[ltmodegt[ltclassgt]]

ResponseWhen ltmodegt=2 and command successful+CCWA ltstatusgtltclassgt[ltCRgtltLFgt+CCWA ltstatusgtltclassgt[]]

OKorERROR

Execution CommandAT+CCWA

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Setsshows the result code presentation status in the TA0 disable1 enable

ltmodegt When ltmodegt parameter is not given network is not interrogated0 disable1 enable2 query status

ltclassgt It is a sum of integers each representing a class of information (default7)

1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)7 voicedata and fax(1+2+4)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 127451

255 The value 255 covers all classesltstatusgt 0 not active

1 activeltnumbergt String type phone number of calling address in format specified by

lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type129 Otherwise

Example

AT+CCWA=+CCWA (0-1)

OK

AT+CCWA+CCWA 0

OK

5210 AT+CHLD Call related supplementary services

This command allows the control the following call related services1 A call can be temporarily disconnected from the ME but the connection is retained by the network2 Multiparty conversation (conference calls)3 The served subscriber who has two calls (one held and the other either active or alerting) can connectthe other parties and release the served subscribers own connectionCalls can be put on hold recovered released added to conversation and transferred This is based on theGSMUMTS supplementary services

AT+CHLD Call related supplementary servicesTest CommandAT+CHLD=

Response+CHLD (list of supported ltngts)

OKWrite CommandAT+CHLD=ltngt

ResponseOKorERROR

Execution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 128451

AT+CHLDDefault to ltngt=2

OKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Terminate all held calls or set User Determined User Busy for awaiting call1 Terminate all active calls and accept the other call (waiting call orheld call)1X Terminate a specific call X2 Place all active calls on hold and accept the other call (waiting callor held call) as the active call2X Place all active calls except call X on hold3 Add the held call to the active calls4 Connect two calls and cut off the connection between users andthem simultaneously

Example

AT+CHLD=+CHLD (011x22x34)

OK

5211 AT+CCFC Call forwarding number and conditions

This command allows control of the call forwarding supplementary service Registration erasure activationdeactivation and status query are supported

AT+CCFC Call forwarding number and conditionsTest CommandAT+CCFC=

Response+CCFC (list of supported ltreasongts)

OKWrite Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 129451

AT+CCFC=ltreasongtltmodegt[ltnumbergt[lttypegt[ltclassgt[ltsubaddrgt[ltsatypegt[lttimegt ]]]]]]

When ltmodegt=2 and command successful+CCFC ltstatusgtltclass1gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][ltCRgtltLFgt+CCFC ltstatusgtltclass2gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][]]

OK

When ltmodegt=2 and command successfulOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreasongt 0 unconditional1 mobile busy2 no reply3 not reachable4 all call forwarding5 all conditional call forwarding

ltmodegt 0 disable1 enable2 query status3 registration4 erasure

ltnumbergt String type phone number of forwarding address in format specified bylttypegt

lttypegt Type of address octet in integer format145 dialing string ltnumbergt includes international access codecharacter lsquo+rsquo129 otherwise

ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128ltclassXgt It is a sum of integers each representing a class of information (default

7)1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 130451

16 data circuit sync32 ndash data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

lttimegt 130 when no reply is enabled or queried this gives the time inseconds to wait before call is forwarded default value 20

ltstatusgt 0 not active1 active

Example

AT+CCFC=+CCFC (012345)

OKAT+CCFC=02+CCFC 0255

OK

5212 AT+CLIP Calling line identification presentation

This command refers to the GSMUMTS supplementary service CLIP (Calling Line IdentificationPresentation) that enables a called subscriber to get the calling line identity (CLI) of the calling party whenreceiving a mobile terminated callWrite command enables or disables the presentation of the CLI at the TE It has no effect on the executionof the supplementary service CLIP in the networkWhen the presentation of the CLI at the TE is enabled (and calling subscriber allows) +CLIPltnumbergtlttypegt[[ltalphagt][ltCLI validitygt]] response is returned after every RING (or +CRING lttypegtrefer sub clause Cellular result codes +CRC) result code sent from TA to TE It is manufacturer specific ifthis response is used when normal voice call is answered

AT+CLIP Calling line identification presentationTest CommandAT+CLIP=

Response+CLIP (range of supported ltngts)

OKRead CommandAT+CLIP

Response+CLIP ltngtltmgt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 131451

orERRORor+CME ERROR lterrgt

Write CommandAT+CLIP=ltngt

ResponseOKorERROR

Execution CommandAT+CLIP

ResponseSet default value(ltngt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 CLIP not provisioned1 CLIP provisioned2 unknown (eg no network etc)

ltnumbergt String type phone number of calling address in format specified bylttypegt

lttypegt Type of address octet in integer format128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phone book

ltCLI validitygt 0 CLI valid1 CLI has been withheld by the originator2 CLI is not available due to interworking problems or limitations oforiginating network

Example

AT+CLIP=1OKRING (with incoming call)+CLIP 02152063113128gongsi0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 132451

5213 AT+CLIR Calling line identification restriction

This command refers to CLIR service that allows a calling subscriber to enable or disable the presentationof the CLI to the called party when originating a callWrite command overrides the CLIR subscription (default is restricted or allowed) when temporary mode isprovisioned as a default adjustment for all following outgoing calls This adjustment can be revoked byusing the opposite command If this command is used by a subscriber without provision of CLIR inpermanent mode the network will actRead command gives the default adjustment for all outgoing calls (given in ltngt) and also triggers aninterrogation of the provision status of the CLIR service (given in ltmgt)Test command returns values supported as a compound value

AT+CLIR Calling line identification restrictionTest CommandAT+CLIR=

Response+CLIR (range of supported ltngts)

OKRead CommandAT+CLIR

Response+CLIR ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CLIR=ltngt

ResponseOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 presentation indicator is used according to the subscription of theCLIR service1 CLIR invocation2 CLIR suppression

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 133451

ltmgt 0 CLIR not provisioned1 CLIR provisioned in permanent mode2 unknown (eg no network etc)3 CLIR temporary mode presentation restricted4 CLIR temporary mode presentation allowed

Example

AT+CLIR=+CLIR (0-2)

OK

5214 AT+COLP Connected line identification presentation

This command refers to the GSMUMTS supplementary service COLP(Connected Line IdentificationPresentation) that enables a calling subscriber to get the connected line identity (COL) of the called partyafter setting up a mobile originated call The command enables or disables the presentation of the COL atthe TE It has no effect on the execution of the supplementary service COLR in the networkWhen enabled (and called subscriber allows) +COLPltnumbergtlttypegt [ltsubaddrgtltsatypegt [ltalphagt]]intermediate result code is returned from TA to TE before any +CR ResponseIt is manufacturer specific ifthis response is used when normal voice call is establishedWhen the AT+COLP=1 is set any data input immediately after the launching of ATDXXX will stop theexecution of the ATD command which may cancel the establishing of the call

AT+COLP Connected line identification presentationTest CommandAT+COLP=

Response+COLP (range of supported ltngts)

OKRead CommandAT+COLP

Response+COLP ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+COLP=ltngt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 134451

or+CME ERROR lterrgt

Execution CommandAT+COLP

ResponseSet default value(ltngt=0 ltmgt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 COLP not provisioned1 COLP provisioned2 unknown (eg no network etc)

Example

AT+COLP+COLP 10

OKATD10086VOICE CALL BEGIN

+COLP 10086129

OK

5215 AT+VTS DTMF and tone generation

This command allows the transmission of DTMF tones and arbitrary tones which cause the MobileSwitching Center (MSC) to transmit tones to a remote subscriber The command can only be used in voicemode of operation (active voice call)NOTE The END event of voice call will terminate the transmission of tones and as an operator option thetone may be ceased after a pre-determined time whether or not tone duration has been reached

AT+VTS DTMF and tone generationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 135451

AT+VTS= +VTS (list of supportedltdtmfgts)

OKWrite CommandAT+VTS=ltdtmfgt[ltdurationgt]

AT+VTS=ltdtmf-stringgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltdtmfgt A single ASCII character in the set 0-9 A B C Dltdurationgt Tone duration in 110 seconds from 0 to 255 This is interpreted as a

DTMF tone of different duration from that mandated by the AT+VTDcommand otherwise the duration which be set the AT+VTDcommand will be used for the tone (ltdurationgt is omitted)

ltdtmf-stringgt A sequence of ASCII character in the set 0-9 A B C D andmaximal length of the string is 29 The string must be enclosed indouble quotes () and separated by commas between the ASCIIcharacters (eg 13579) Each of the tones with a duration whichis set by the AT+VTD command

Example

AT+VTS=1OKAT+VTS=120OKAT+VTS=135OKAT+VTS=+VTS (0-9ABCD)

OK

5216 AT+VTD Tone duration

This refers to an integer ltngt that defines the length of tones emitted as a result of the AT+VTS command A

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 136451

value different than zero causes a tone of duration ltngt10 seconds

AT+VTD Tone durationTest CommandAT+VTD=

Response+VTD (list of supported ltngts)

OKRead CommandAT+VTD

Response+VTD ltngt

OKWrite CommandAT+VTD=ltngt

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Tone duration in integer format from 0 to 255 and 0 is factory value0 Tone duration of every single tone is dependent on thenetwork1hellip255 one duration of every single tone in 110 seconds

Example

AT+VTD=+VTD (0-255)

OKAT+VTD+VTD 0

OKAT+VTD=5OK

5217 AT+CSTA Select type of address

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of number

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 137451

Test command returns values supported by the Module as a compound value

AT+CSTA Select type of addressTest CommandAT+CSTA=

Response+CSTA (list of supported lttypegts)

OKRead CommandAT+CSTA

Response+CSTA lttypegt

OKWrite CommandAT+CSTA=lttypegt

ResponseOKorERROR

Execution CommandAT+CSTA

ResponseOK

Parameter Saving Mode NO_SAVE

Maximum Response Time -Reference

Defined Values

lttypegt Type of address octet in integer format145 ndash when dialing string includes international access codecharacter ldquo+rdquo161 ndash national numberThe network support for this type is optional177 ndash network specific numberISDN format129 ndash otherwise

Because the type of address is automatically detected on the dial string of dialing command commandAT+CSTA has really no effect

Example

AT+CSTA+CSTA 129

OKAT+CSTA=145OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 138451

5218 AT+CMOD Call mode

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of numberTest command returns values supported by the Module as a compound value

AT+CMOD Call modeTest CommandAT+CMOD=

Response+CMOD (list of supported ltmodegts)

OKRead CommandAT+CMOD

Response+CMOD ltmodegt

OKWrite CommandAT+CMOD=ltmodegt

ResponseOKorERROR

Execution CommandAT+CMOD

ResponseSet default valueOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 single mode(only supported)

Example

AT+CMOD+CMOD 0

OKAT+CMOD=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 139451

The value of ltmodegt shall be set to zero after a successfully completed alternating mode call It shallbe set to zero also after a failed answering The power-on factory and user resets shall also set thevalue to zero This reduces the possibility that alternating mode calls are originated or answeredaccidentally

5219 AT+VMUTE Speaker mute control

This command is used to control the loudspeaker to mute and unmute during a voice call which isconnected If there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+VMUTE Speaker mute controlTest CommandAT+VMUTE=

Response+VMUTE (range of supported ltmodegts)

OKRead CommandAT+VMUTE

Response+VMUTE ltmodegt

OKWrite CommandAT+VMUTE=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+VMUTE+VMUTE 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 140451

AT+VMUTE=1OK

5220 AT+CMUT Microphone mute control

This command is used to enable and disable the uplink voice muting during a voice call which is connectedIf there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+CMUT Microphone mute controlTest CommandAT+CMUT=

Response+CMUT (range of supported ltmodegts)

OKRead CommandAT+CMUT

Response+CMUT ltmodegt

OKWrite CommandAT+CMUT=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+CMUT+CMUT 0

OKAT+CMUT=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 141451

5221 AT+MORING Enable or disable report MO ring URC

This command is used to enable or disable report MO ring URC

AT+MORING Enable or disable report MO ring URCTest CommandAT+MORING=

Response+MORING (0-1)

OKRead CommandAT+MORING

Response+MORING ltmodegt

OKWrite CommandAT+MORING=ltmodegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt Enable or disable report MO ring report0 disable1 enable

Example

AT+MORING+CMORING 0

OKAT+MORING=1OK

5222 AT+CLVL Loudspeaker volume level

Write command is used to select the volume of the internal loudspeaker audio output of the deviceRead command returns the volume of the internal loudspeaker audio output of the device

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 142451

Test command returns supported values as compound value

AT+CLVL Loudspeaker volume levelTest CommandAT+CLVL=

Response+CLVL (range of supported ltlevelgts)

OKRead CommandAT+CLVL

Response+CLVL ltlevelgt

OKWrite CommandAT+CLVL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltlevelgt 05 Integer type value which represents loudspeaker volume levelThe range is from 0 to 5 and 0 represents the lowest loudspeakervolume level 5 is default factory value

Example

AT+CLVL+CLVL 5

OKAT+CLVL=1OK

ltlevelgt is not saved and it resets default value when restart

5223 AT+CRXVOL Adjust RX voice output speaker volume

This command is used to adjust digital Volume of output signal after speech decoder before summation of

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 143451

sidetone and DAC It modify the RX_VOICE_SPK_GAIN in DSP This command only be used during calland donrsquot save the parameter after call

AT+CRXVOL Adjust RX voice output speaker volumeTest CommandAT+CRXVOL=

Response+CRXVOL (range of supported ltvaluegts)

OKRead CommandAT+CRXVOL

Response+CRXVOL ltvaluegt

OKWrite CommandAT+CRXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CRXVOL+CRXVOL 0x3fd9

OKAT+CRXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5224 AT+CTXVOL Adjust TX voice mic volume

This command is used to adjust mic gain It modify the TX_VOICE_VOL in DSP This command only be

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 144451

used during call and donrsquot save the parameter after call

AT+ CTXVOL Adjust TX voice mic volumeTest CommandAT+CTXVOL=

Response+CTXVOL (range of supported ltvaluegts)

OKRead CommandAT+CTXVOL

Response+CTXVOL ltvaluegt

OKWrite CommandAT+CTXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXVOL+CTXVOL 0x2d33

OKAT+CTXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5225 AT+CTXMICGAIN Adjust TX voice mic gain

This command is used to adjust mic gain It modify the TX_VOICE_MIC_GAIN in DSP This command onlybe used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 145451

AT+ CTXMICGAIN Adjust TX voice mic gainTest CommandAT+CTXMICGAIN=

Response+CTXMICGAIN (list of supported ltmodegts)(list ofsupportedltvaluegts)

OKRead CommandAT+CTXMICGAIN

Response+CTXMICGAIN ltmodegtltvaluegt

OKWrite CommandAT+CTXMICGAIN=ltmodegtltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt mode value from 0-1 default value is not a fixed value It varies withdifferent versions

ltvaluegt gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXMICGAIN+CTXMICGAIN 10x2000

OKAT+CTXMICGAIN=10x1234OK

This command only be used during call and donrsquot save the parameter after call

5226 AT+CECH Inhibit far-end echo

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 146451

This command is used to adjust additional muting gain applied in DES during far-end only It modify thepp_gamma_e_high of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECH Inhibit far-end echoTest CommandAT+CECH=

Response+CECH (rang of supported ltvaluegts)

OKRead CommandAT+CECH

Response+CECH ltvaluegt

OKWrite CommandAT+CECH=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECH+CECH 0x0200

OKAT+CECH=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5227 AT+CECDT Inhibit echo during doubletalk

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 147451

This command is used to adjust additional muting gain applied in DES during doubletalk It modify thepp_gamma_e_dt of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECDT Inhibit echo during doubletalkTest CommandAT+CECDT=

Response+CECDT (rang of supported ltvaluegts)

OKRead CommandAT+CECDT

Response+CECDT ltvaluegt

OKWrite CommandAT+CECDT=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECDT+CECDT 0x0100

OKAT+CECDT=0x1234OK

This command only be used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 148451

6 AT Commands for Phonebook

61 Overview of AT Commands for Phonebook

Command DescriptionAT+CPBS Select Phonebook memory storageAT+CPBR Read Phonebook entriesAT+CPBF Find Phonebook entriesAT+CPBW Write Phonebook entryAT+CNUM Subscriber number

62 Detailed Description of AT Commands for Phonebook

621 AT+CPBS Select Phonebook memory storage

AT+CPBS Select Phonebook memory storageTest CommandAT+CPBS=

Response+CPBS (list of supported ltstoragegts)

OKRead CommandAT+CPBS

Response+CPBS ltstoragegt[ltusedgtlttotalgt]

OKWrite CommandAT+CPBS=ltstoragegt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CPBS

Response (Set default value SM)OK

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 149451

ltstoragegt Values reserved by the present documentDC ME dialed calls list

Capacity max 20 entriesAT+CPBW command is not applicable to this storage

MC ME missed (unanswered received) calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

RC ME received calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

SM SIM phonebookCapacity depending on SIM card

ME Mobile Equipment phonebookCapacity max 25 entries

FD SIM fixdialling-phonebookCapacitydepending on SIM card

ON MSISDN listCapacitydepending on SIM card

LD Last number dialed phonebookCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

EN Emergency numbersCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

ltusedgt Integer type value indicating the number of used locations in selectedmemory

lttotalgt Integer type value indicating the total number of locations in selectedmemory

Example

AT+CPBS=+CPBS (SMDCFDLDMCMERCENON)

OKAT+CPBS=SMOKAT+CPBS+CPBS SM1200

OK

NOTE

Select the active phonebook storageiethe phonebook storage that all subsequent phonebook

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 150451

commands will be operating on

622 AT+CPBR Read Phonebook entries

AT+CPBR Read Phonebook entriesTest CommandAT+CPBR=

Response+CPBR (ltminIndexgt-ltmaxIndexgt)[ltnlengthgt][lttlengthgt]

OKIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBR=ltindex1gt[ltindex2gt]

Response[+CPBR ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBR ltindex2gtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindex1gt Integer type value in the range of location numbers of phonebookmemory

ltindex2gt Integer type value in the range of location numbers of phonebookmemory

ltindexgt Integer typethe current position number of the Phonebook indexltminIndexgt Integer type the minimum ltindexgt numberltmaxIndexgt Integer type the maximum ltindexgt numberltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 forrestricted number type including unknown type and format otherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 151451

AT+CPBS+CPBS SM2200

OKAT+CPBR=110+CPBR 11234567890129James+CPBR 20987654321129Kevin

OK

If the storage is selected as SM then the command will return the record in SIM phonebook the sameto others

623 AT+CPBF Find Phonebook entries

AT+CPBF Find Phonebook entriesTest CommandAT+CPBF=

Response+CPBF [ltnlengthgt][lttlengthgt]

OKWrite CommandAT+CPBF=[ltfindtextgt]

Response[+CPBF ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBF ltindexNgtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfindtextgt String type this value is used to find the record Character set shouldbe the one selected with command AT+CSCS

ltindexgt Integer typethe current position number of the Phonebook indexltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 for

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 152451

restricted number type including unknown type and formatotherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBF=James+CPBF 11234567890129James

OK

If ltfindtextgt is null it will lists all the entries

624 AT+CPBW Write Phonebook entry

AT+CPBW Write Phonebook entryTest CommandAT+CPBW=

Response+CPBW (list of supported ltindexgts)[ltnlengthgt](list of supported lttypegts)[lttlengthgt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBW=[ltindexgt][ltnumbergt[lttypegt[lttextgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type values in the range of location numbers of phonebookmemoryIf ltindexgt is not giventhe first free entry will be used If

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 153451

ltindexgt is given as the only parameter the phonebook entry specifiedby ltindexgt is deletedIf record number ltindexgt already exists it willbe overwritten

ltnumbergt String type phone number of format lttypegt the maximum length isltnlengthgtIt must be an non-empty string

lttypegt Type of address octet in integer format The range of value is from 129to 255 If ltnumbergt contains a leading + lttypegt = 145 (international)is usedSupported value are145 when dialling string includes international access code character+161 national numberThe network support for this type is optional177 network specific numberISDN format129 otherwise

NOTE Other value refer TS 24008 [8] subclause 10547lttextgt String type field of maximum length lttlengthgt character set as

specified by command Select TE Character Set AT+CSCSltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBW=388888888129JohnOKAT+CPBW=6666666129maryOKAT+CPBW=1OK

If the parameters of lttypegt and lttextgt are omitted and the first character of ltnumbergt is lsquo+rsquoit willspecify lttypegt as 145(129 if the first character isnrsquot lsquo+rsquo) and lttextgt as NULL

625 AT+CNUM Subscriber number

AT+CNUM Subscriber numberTest CommandAT+CNUM=

ResponseOK

Execution CommandAT+CNUM

Response[+CNUM ltalphagtltnumbergtlttypegt[ltCRgtltLFgt+CNUM ltalphagt ltnumbergtlttypegt []]]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 154451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltalphagt Optional alphanumeric string associated with ltnumbergt usedcharacter set should be the one selected with command Select TECharacter Set AT+CSCS

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CNUM+CNUM 13697252277129

OK

If the subscriber has different MSISDN for different services each MSISDN is returned in a separateline

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 155451

7 AT Commands for SIM ApplicationToolkit

71 Overview of AT Commands for SIM Application Toolkit

Command DescriptionAT+STIN SAT IndicationAT+STGI Get SAT informationAT+STGR SAT respondAT+STK STK switchAT+STKFMT Set STK pdu formatAT+STENV Original STK PDU Envelope CommandAT+STSM Get STK Setup Menu List with PDU Mode

72 Detailed Description of AT Commands for SIM Application Toolkit

721 AT+STIN SAT Indication

AT+STIN SAT IndicationTest CommandAT+STIN=

ResponseOK

Read CommandAT+STIN

+STIN ltcmd_idgt

OK

Unsolicited Result Codes

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 156451

24 Select item+STIN 25 Notification that SIM Application has returned to main menu If user

doesnrsquot do any action in 2 minutes application will return to mainmenu automatically

Defined Values

ltcmd_idgt 21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end (pdu mode only)0 None command

lttimegt Service time

Example

AT+STIN+STIN 24

OK

Every time the SIM Application issues a Proactive Command via the ME the TA will receive anindication This indicates the type of Proactive Command issued

722 AT+STGI Get SAT information

AT+STGI Get SAT informationTest CommandAT+STGI=

ResponseOK

Write CommandAT+STGI=ltcmd_idgt

Response (PDU format)+STGI ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOK

AT+STGI=ltcmd_idgt Response (NOT PDU format listed below)If ltcmd_idgt=10OKIf ltcmd_idgt=21+STGI 21ltpriogtltclear_modegtlttext_lengtlttextgtOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 157451

If ltcmd_idgt=22+STGI 22lt rsp_formatgtlt helpgtlttext_lengtlttextgtOKIf ltcmd_idgt=23+STGI23ltrsp_formatgtltmax_lengtltmin_lengtlthelpgtltshowgtlttext_lengtlttextgtOKIf ltcmd_idgt=24+STGI24lthelpgtltsoftkeygtltpresentgtlttitle_lengtlttitlegtltitem_numgt+STGI 24ltitem_idgtltitem_lengtltitem_datagt[hellip]OKIf ltcmd_idgt=25+STGI 25lthelpgtltsoftkeygtlttitle_lengtlttitlegtltitem_numgt+STGI 25ltitem_idgtltitem_lengtltitem_datagt[]OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu

ltpriogt Priority of display text0 Normal priority1 High priority

ltclear_modegt 0 Clear after a delay1 Clear by user

lttext_lengt Length of textltrsp_formatgt 0 SMS default alphabet

1 YES or NO2 numerical only3 UCS2

lthelpgt 0 Help unavailable1 Help available

ltmax_lengt Maximum length of inputltmin_lengt Minimum length of inputltshowgt 0 Hide input text

1 Display input textltsoftkeygt 0 No softkey preferred

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 158451

1 Softkey preferredltpresentgt Menu presentation format available for select item

0 Presentation not specified1 Data value presentation2 Navigation presentation

lttitle_lengt Length of titleltitem_numgt Number of items in the menultitem_idgt Identifier of itemltitem_lengt Length of itemlttitlegt Title in ucs2 formatltitem_datagt Content of the item in ucs2 formatlttextgt Text in ucs2 formatlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valgt String type the pdu string

Example

AT+STGI=25 (NOT PDU format)+STGI 250010795E5DDE884C5929573015+STGI 25188F7B677E95EE5019+STGI 252877ED4FE17FA453D1+STGI 25384F1860E05FEB8BAF+STGI 25484E1A52A17CBE9009+STGI 25588D448D3963A88350+STGI 256881EA52A9670D52A1+STGI 25788F7B677E5F6994C3+STGI 25888BED97F367425FD7+STGI 2591097F34E506392884C699C+STGI 2510865B095FB59296C14+STGI 2511894C358F056FE7247+STGI 25128804A59294EA453CB+STGI 251385F005FC34F1195F2+STGI 25148751F6D3B5E388BC6+STGI 25211200530049004D53614FE1606F

OK

AT+STGI=24 (PDU format)+STGI24048D02E81030124008202818285098070ED70B963A883508F0A018053057F574E078C618F0C02809177917777ED6D88606F

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 159451

723 AT+STGR SAT respond

AT+STGR SAT respondTest CommandAT+STGR=

ResponseOK

Write CommandAT+STGR=ltcmd_idgt[ltdatagt]

Response (NOT PDU format)OK

AT+STGR=ltpdu_lengtltpdu_valuegt

Response (PDU format)OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end83 Session end by user84 Go backward

ltdatagt If ltcmd_idgt=22Input a characterIf ltcmd_idgt=23Input a stringIf ltrsp_formatgt is YES or NO input of a character in case of ANSIcharacter set requests one byte eg YIf ltrsp_formatgt is numerical only input the characters in decimalnumber eg 123If ltrsp_ formatgt is UCS2 requests a 4 byte string eg 0031ltrsp_ formatgt refer to the response by AT+STGI=23If ltcmd_idgt=24Input the identifier of the item selected by userIf ltcmd_idgt=25Input the identifier of the item selected by userIf ltcmd_idgt=83ltdatagt ignoreNote It could return main menu during Proactive Command id is not22 or 23If ltcmd_idgt= 84

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 160451

ltdatagt ignoreltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STGR=251OK+STIN 24

AT+STGR=30810301240002028281830100900101OK

After selected an item different SIMUSIM cards will report different +STIN command

724 AT+STK STK switch

AT+STK STK switchTest CommandAT+STK=

Response+STK (list of supported ltvaluegts)

OKRead CommandAT+STK

Response+STK ltvaluegt

OKWrite CommandAT+STK=ltvaluegt

ResponseOKorERROR

Execution CommandAT+STK

ResponseOK

Defined Values

ltvaluegt 0 Disable STK1 Enable STK

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 161451

AT+STK=1OK

Module should reboot to take effective

725 AT+STKFMT Set STK pdu format

AT+STKFMT Set STK pdu formatRead CommandAT+STKFMT

Response+STKFMT ltvaluegt

OK

Write CommandAT+STKFMT=ltvaluegt

ResponseOKorERROR

Defined Values

ltvaluegt 0 Disable STK pdu format decoded command mode1 Enable STK pdu format

Example

AT+STKFMT=1OK

Module should reboot to take effective

726 AT+STENV Original STK PDU Envelope Command

AT+STENV Original STK PDU Envelope CommandTest CommandAT+STENV=

ResponseOK

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 162451

Write CommandAT+STENV=ltlengtltpdugt

ResponseOKorERROR

Defined Values

ltlengt Integer type pdu string lengthltpdugt String type pdu value

Example

AT+STENV=18D30782020181900101OK

Module should reboot to take effective

727 AT+STSM Get STK Setup Menu List with PDU Mode

AT+STSM Get STK Setup Menu List with PDU ModeTest CommandAT+STSM=

ResponseOK

Read CommandAT+STSM

Response+STSM ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOKorERROR

Defined Values

ltcmd_idgt Integer type please refer to AT+STINlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STSM+STSM

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 163451

250120D07681030125008202818285078065B052BF529B8F0A018070ED70B963A883508F06028070AB94C38F0A03806D41884C77ED4FE18F0A048081EA52A9670D52A18F0A0580624B673A97F34E508F0606808D854FE18F0A07805A314E50753162118F0A0880767E53D8751F6D3B8F0A09806D596C5F98919053

OK

Setup main menu info got first before envelope command sent

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 164451

8 AT Commands for GPRS

81 Overview of AT Commands for GPRS

Command DescriptionAT+CGREG GPRS network registration statusAT+CGATT Packet domain attach or detachAT+CGACT PDP context activate or deactivateAT+CGDCONT Define PDP contextAT+CGDSCONT Define Secondary PDP ContextAT+CGTFT Traffic Flow TemplateAT+CGQREQ Quality of service profile (requested)AT+CGEQREQ 3G quality of service profile (requested)AT+CGQMIN Quality of service profile (minimum acceptable)AT+CGEQMIN 3G quality of service profile (minimum acceptable)AT+CGDATA Enter data stateAT+CGPADDR Show PDP addressAT+CGCLASS GPRS mobile station classAT+CGEREP GPRS event reportingAT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

82 Detailed Description of AT Commands for GPRS

821 AT+CGREG GPRS network registration status

This command controls the presentation of an unsolicited result code +CGREG ltstatgt when ltngt=1 andthere is a change in the MTs GPRS network registration status

The read command returns the status of result code presentation and an integer ltstatgt which showsWhether the network has currently indicated the registration of the MT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 165451

AT+CGREG GPRS network registration statusTest CommandAT+CGREG=

Response+CGREG (list of supported ltngts)

OKRead CommandAT+CGREG

Response+CGREG ltngtltstatgt[ltlacgtltcigt]

OKWrite CommandAT+CGREG=ltngt

ResponseOK

Execution CommandSet default valueAT+CGREG

ResponseOK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CGREGltstatgt2 there is a change in the ME network registration status or achange of the network cell

+CGREG ltstatgt[ltlacgtltcigt]ltstatgt 0 not registered ME is not currently searching an operator to

register to1 registered home network2 not registered but ME is currently trying to attach or searching anoperator to register to3 registration denied4 unknown5 registered roaming

ltlacgt Two bytes location area code in hexadecimal format (eg00C3equals 193 in decimal)

ltcigt Cell ID in hexadecimal formatGSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

The ltlacgt not supported in CDMAHDR modeThe ltcigt not supported in CDMAHDR mode

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 166451

Example

AT+CGREG=+CGREG (0-2)

OKAT+CGREG+CGREG 00

OK

822 AT+CGATT Packet domain attach or detach

The write command is used to attach the MT to or detach the MT from the Packet Domain serviceThe read command returns the current Packet Domain service state

AT+CGATT Packet domain attach or detachTest CommandAT+CGATT=

Response+CGATT (list of supported ltstategts)

OKRead CommandAT+CGATT

Response+CGATT ltstategt

OKWrite CommandAT+CGATT=ltstategt

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of Packet Domain attachment0 detached1 attached

Example

AT+CGATT+CGATT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 167451

OKAT+CGATT=1OK

823 AT+CGACT PDP context activate or deactivate

The write command is used to activate or deactivate the specified PDP context(s)

AT+CGACT PDP context activate or deactivateTest CommandAT+CGACT=

Response+CGACT (list of supported ltstategts)

OKRead CommandAT+CGACT

Response+CGACT [ltcidgtltstategt [ltCRgtltLFgt+CGACT ltcidgtltstategt[]]]

OKWrite CommandAT+CGACT=ltstategt[ltcidgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of PDP context activation0 deactivated1 activated

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGACT=+CGACT (01)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 168451

AT+CGACT+CGACT 11

OKAT+CGACT=01OK

824 AT+CGDCONT Define PDP context

The set command specifies PDP context parameter values for a PDP context identified by the (local)context identification parameter ltcidgt The number of PDP contexts that may be in a defined state at thesame time is given by the range returned by the test command A special form of the write command(AT+CGDCONT=ltcidgt) causes the values for context ltcidgt to become undefined

AT+CGDCONT Define PDP contextTest CommandAT+CGDCONT=

Response+CGDCONT (range of supportedltcidgts)ltPDP_typegt(list ofsupported ltd_compgts)(list of supported lth_compgts) (list ofltipv4_ctrlgts)(list of ltemergency_flaggts) ( ltssc_mode gts)(lt s_nssaigt)(pref_access_type)(ltalways_on_reqgt)

OKorERROR

Read CommandAT+CGDCONT

Response+CGDCONT[ltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt[ltCRgtltLFgt+CGDCONTltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt lt ssc_modegtlts_nssaigtltpref_access_typegtlt always_on_reqgt []]]

OKorERROR

Write CommandAT+CGDCONT=ltcidgt[ltPDP_typegt[ltAPNgt[ltPDP_addrgt[ltd_compgt[lth_compgt[ltip

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 169451

v4_ctrlgt[ltemergency_flaggt[ltssc_modegt[lts_nssaigt[ltpref_access_typegt[ltalways_on_reqgt]]]]]]]]]]]Execution CommandSet default valueAT+CGDCONT

ResponseOKorERROR

Defined Values

ltcidgt (PDP Context Identifier) a numeric parameter which specifies aparticular PDP context definition The parameter is local to the TE-MTinterface and is used in other PDP context-related commands Therange of permitted values (minimum value = 1) is returned by the testform of the command1hellip42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPPPoint to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltAPNgt (Access Point Name) a string parameter which is a logical name that isused to select the GGSN or the external packet data network

ltPDP_addrgt A string parameter that identifies the MT in the address spaceapplicable to the PDPRead command will continue to return the null string even if anaddress has been allocated during the PDP startup procedure Theallocated address may be read using command AT+CGPADDR

ltd_compgt A numeric parameter that controls PDP data compression this valuemay depend on platform0 off (default if value is omitted)1 on2 V42bis

lth_compgt A numeric parameter that controls PDP header compression thisvalue may depend on platform0 off (default if value is omitted)1 on2 RFC11443 RFC25074 RFC3095

ltipv4_ctrlgt Parameter that controls how the MTTA requests to get the IPv4address information0 Address Allocation through NAS Signaling

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 170451

1 on

ltemergency_flaggt emergency_flag0 off (default if value is omitted)1 on

ltssc_modegt Ssc mode0 ssc mode 1(default if value is omitted)1 ssc mode 2

lts_nssaigt String type of hexadecimal formatltpref_access_typegt prefer access type

0 access unspecified(default if value is omitted)1 access 3gpp

ltalways_on_reqgt alway on req0 off (default if value is omitted)1 on

Example

AT+CGDCONT=+CGDCONT (1-42)IP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)PPP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV4V6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)

OKAT+CGDCONT+CGDCONT 1IPV4V6000000000000000000000+CGDCONT 2IPV4V6ims000000000000000000000+CGDCONT 3IPV4V6sos000000000000000000010

OK

825 AT+CGDSCONT Define Secondary PDP Context

The set command specifies PDP context parameter values for a Secondary PDP context identified by the(local) context identification parameter ltcidgt The number of PDP contexts that may be in a defined stateat the same time is given by the range returned by the test command A special form of the set commandAT+CGDSCONT=ltcidgt causes the values for context number ltcidgt to become undefined

AT+CGDSCONT Define Secondary PDP ContextTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 171451

AT+CGDSCONT= +CGDSCONT (range of supported ltcidgts)(list of ltp_cidgts foractive primary contexts) ltPDP_typegt(list of supportedltd_compgts)(list of supported lth_compgts)

OKorERROR

Read CommandAT+CGDSCONT

Response+CGDSCONT [ltcidgtltp_cidgtltd_compgtlth_compgt[ltCRgtltLFgt+CGDSCONT ltcidgtltp_cidgtltd_compgtlth_compgt[]]]

OKorERROR

Write CommandAT+CGDSCONT=ltcidgt[ltp_cidgt[ltd_compgt[lth_compgt]]]

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP context definition Theparameter is local to the TE-MT interface and is used in other PDPcontext-related commands The range of permitted values (minimum value =1) is returned by the test form of the command

ltp_cidgt a numeric parameter which specifies a particular PDP context definitionwhich has been specified by use of the +CGDCONT command Theparameter is local to the TE-MT interface The list of permitted values isreturned by the test form of the command

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies the type ofpacket data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltd_compgt a numeric parameter that controls PDP data compression (applicable forSNDCPonly) (refer 3GPP TS 44065 [61])0 off1 on (manufacturer preferred compression)2 V42bis data compression3 V44bis data compressionOther values are reserved

lth_compgt a numeric parameter that controls PDP header compression (refer 3GPP TS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 172451

44065 [61] and 3GPP TS 25323 [62])0 off1 on (manufacturer preferred compression)2 RFC1144 (applicable for SNDCP only)3 RFC25074 RFC3095 (applicable for PDCP only)Other values are reserved

The ltcidgts for network-initiated PDP contexts will have values outside the ranges indicated for theltcidgt in the test form of the commands +CGDCONT and +CGDSCONT

Example

AT+CGDSCONT=+CGDSCONT (1-42)(123)IP(0-3)(0-4)+CGDSCONT (1-42)(123)PPP(0-3)(0-4)+CGDSCONT (1-42)(123)IPV6(0-3)(0-4)+CGDSCONT (1-42)(123)IPV4V6(0-3)(0-4)

OKAT+CGDSCONT+CGDSCONT 2100

OKAT+CGDSCONT=21OK

826 AT+CGTFT Traffic Flow Template

This command allows the TE to specify a Packet Filter - PF for a Traffic Flow Template - TFT that is used inthe GGSN in UMTSGPRS and Packet GW in EPS for routing of packets onto different QoS flows towardsthe TE The concept is further described in the 3GPP TS 23060 [47] A TFT consists of from one and up to16 Packet Filters each identified by a unique ltpacket filter identifiergt A Packet Filter also has anltevaluation precedence indexgt that is unique within all TFTs associated with all PDP contexts that areassociated with the same PDP address

AT+CGTFT Traffic Flow TemplateTest CommandAT+CGTFT=

Response+CGTFT ltPDP_typegt(list of supported ltpacket filter

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 173451

identifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[ltCRgtltLFgt+CGTFT ltPDP_typegt(list of supported ltpacket filteridentifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[]]

OKorERROR

Read CommandAT+CGTFT

Response+CGTFT [ltcidgtltpacket filter identifiergtltevaluation precedenceindexgtltsource address and subnet maskgtltprotocol number(ipv4) next header (ipv6)gtltdestination port rangegtltsource portrangegtltipsec security parameter index (spi)gtlttype of service(tos) (ipv4) and mask traffic class (ipv6) and maskgtltflow label(ipv6)gt[ltCRgtltLFgt+CGTFT ltcidgtltpacket filter identifiergtltevaluationprecedence indexgtltsource address and subnetmaskgtltprotocol number (ipv4) next header (ipv6)gtltdestinationport rangegtltsource port rangegtltipsec security parameter index(spi)gtlttype of service (tos) (ipv4) and mask traffic class (ipv6)and maskgtltflow label (ipv6)gt[]]]

OKorERROR

Write CommandAT+CGTFT=ltcidgt[[ltpacketfilter identifiergtltevaluationprecedenceindexgt[ltsource address

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 174451

and subnetmaskgt[ltprotocol number(ipv4) next header(ipv6)gt[ltdestination portrangegt[ltsource portrangegt[ltipsec securityparameter index(spi)gt[lttype of service (tos)(ipv4) and mask trafficclass (ipv6) andmaskgt[ltflow label(ipv6)gt]]]]]]]]]

Execution CommandAT+CGTFT

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP contextdefinition (see theAT+CGDCONT and AT+CGDSCONT commands)

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltpacket filter identifiergt a numeric parameter value range from 1 to 16ltevaluation precedenceindexgt

a numeric parameter The value range is from 0 to 255

ltsource address andsubnet maskgt

string type The string is given as dot-separated numeric (0-255)parameters on the forma1a2a3a4m1m2m3m4 for IPv4 ora1a2a3a4a5a6a7a8a9a10a11a12a13a14a15a16m1m2m3m4m5m6m7m8m9m10m11m12m13m14m15m16 for IPv6

ltprotocol number (ipv4) next header (ipv6)gt

a numeric parameter value range from 0 to 255

ltdestination port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltsource port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltipsec security parameterindex (spi)gt

numeric value in hexadecimal format The value range is from00000000 to FFFFFFFF

lttype of service (tos) (ipv4) string type The string is given as dot-separated numeric (0-255)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 175451

and mask traffic class(ipv6) and maskgt

parameters on the form tm

ltflow label (ipv6)gt numeric value in hexadecimal format The value range is from 00000to FFFFF Valid for IPv6 only

Example

AT+CGTFT=+CGTFTIP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTPPP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV4V6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)

OKAT+CGTFT+CGTFT 210741257199255255255255000000000

OKAT+CGTFT=210741257199255255255255OK

827 AT+CGQREQ Quality of service profile (requested)

This command allows the TE to specify a Quality of Service Profile that is used when the MT sends anActivate PDP Context Request message to the network A special form of the set command(AT+CGQREQ=ltcidgt) causes the requested profile for context number ltcidgt to become undefined

AT+CGQREQ Quality of service profile (requested)Test CommandAT+CGQREQ=

Response+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 176451

supported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQREQ

Response+CGQREQ[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQREQltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]OKorERROR

Write CommandAT+CGQREQ=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt[ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQREQ

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 3

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 177451

4 delay class 4ltreliabilitygt A numeric parameter which specifies the reliability class

0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMMSMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 178451

Example

AT+CGQREQ=+CGQREQ IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQ PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQREQ+CGQREQ

OK

828 AT+CGEQREQ 3G quality of service profile (requested)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

The write command allows the TE to specify a Quality of Service Profile for the context identified by thecontext identification parameter ltcidgt which is used when the MT sends an Activate PDP Context Requestmessage to the network

A special form of the write command AT+CGEQREQ=ltcidgt causes the requested profile for contextnumber ltcidgt to become undefined

AT+CGEQREQ 3G quality of service profile (requested)Test CommandAT+CGEQREQ=

Response+CGEQREQ ltPDP_typegt(list of supported ltTraffic classgts)(listof supported ltMaximum bitrate ULgts)(list of supported ltMaximum bitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(listof supported ltGuaranteed bitrate DLgts)(list of supported ltDelivery ordergts)(list of supported ltMaximum SDU sizegts)(list ofsupported ltSDU error ratiogts)(list of supported ltResidual biterrorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(listof

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 179451

Supported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts) (list of supported ltSource statisticsdescriptorgts)(list of supported ltSignaling indication flaggts)

OKorERROR

Read CommandAT+CGEQREQ

Response+CGEQREQ [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygt][ltCRgtltLFgt+CGEQREQ ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygtltSource statistics descriptorgtltSignaling indication flaggt [hellip]]

OKorERROR

Write CommandAT+CGEQREQ=ltcidgt[ltTraffic classgt[ltMaximumbitrate ULgt[ltMaximumbitrate DLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt[ltSource statisticsdescriptorgt[ltSignalingindication flaggt]]]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQREQ

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 180451

orERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAP As an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size in octetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only for

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 181451

conforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQREQ=5E3hellip)0E0 subscribed value1E27E31E31E41E51E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQREQ=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 and 100 to 4000 The default value is 0 If theparameter is set to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltSource statisticsdescriptor gt

This parameter indicates profile parameter that Source statisticsdescriptor for requested UMTS QoSThe range is from 0 to 1 The default value is 0 If the parameter is set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 182451

to 0 the subscribed value will be requestedltSignaling indication flaggt This parameter indicates Signaling flag

The range is from 0 to 1 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQREQ=+CGEQREQIP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)

OKAT+CGEQREQ+CGEQREQ

OK

829 AT+CGQMIN Quality of service profile (minimum acceptable)

This command allows the TE to specify a minimum acceptable profile which is checked by the MT againstthe negotiated profile returned in the Activate PDP Context Accept messageA special form of the setcommandAT+CGQMIN=ltcidgt causes the minimum acceptable profile for context number ltcidgt tobecome undefined

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 183451

AT+CGQMIN Quality of service profile (minimum acceptable)Test CommandAT+CGQMIN=

Response+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQMIN

Response+CGQMIN[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQMINltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]

OKorERROR

Write CommandAT+CGQMIN=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt [ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQMIN

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 184451

2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 34 delay class 4

ltreliabilitygt A numeric parameter which specifies the reliability class0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMM-SMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 185451

12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

Example

AT+CGQMIN=+CGQMIN IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN IPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMINIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQMIN+CGQMIN

OK

8210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

AT+CGEQMIN 3G quality of service profile (minimum acceptable)Test CommandAT+CGEQMIN=

Response+CGEQMIN ltPDP_typegt(list of supported ltTraffic classgts)(list ofsupported ltMaximum bitrate ULgts)(list of supported ltMaxim umbitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(list ofsupported ltGuaranteed bitrate DLgts)(list of supported ltDeliv eryordergts)(list of supported ltMaximum SDU sizegts)(list of supportedltSDU error ratiogts)(list of supported ltResidual bit errorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(list ofsupported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 186451

OKorERROR

Read CommandAT+CGEQMIN

Response+CGEQMIN [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransfer DelaygtltTraffic handlingprioritygt][ltCRgtltLFgt+CGEQMIN ltcidgtltTraffic classgtltMaximumbitrate ULgtltMa ximum bitrate DLgtltGuaranteed bitrateULgtltGuaranteed bitrate DLgtltDelivery ordergtltMaximum SDUsizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery oferroneous SDUsgtltTransfer DelaygtltTraffic handlingprioritygt[hellip]]

OKorERROR

Write CommandAT+CGEQMIN=ltcidgt[ltTraffic classgt[ltMaximum bitrateULgt[ltMaximum bitrateDLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQMIN

ResponseOKorERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 187451

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size inoctetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only forconforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQMIN=5E3hellip)0E0 subscribed value1E27E31E31E41E5

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 188451

1E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQMIN=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 to 4000 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQMIN=+CGEQMIN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 189451

IP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)

OKAT+CGEQMIN+CGEQMIN

OK

8211 AT+CGDATA Enter data state

The command causes the MT to perform whatever actions are necessary to establish communicationbetween the TE and the network using one or more Packet Domain PDP types This may includeperforming a PS attach and one or more PDP context activations

AT+CGDATA Enter data stateTest CommandAT+CGDATA=

Response+CGDATA (list of supported ltL2Pgts)

OKorERROR

Write CommandAT+CGDATA=[ltL2Pgt[ltcidgt]]

ResponseNO CARRIERorOKorERRORor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 190451

+CME ERROR lterrgt

Defined Values

ltL2Pgt A string parameter that indicates the layer 2 protocol to be usedbetween the TE and MTPPP Point-to-point protocol for a PDP such as IP

lttextgt CONNECT result code string the string formats please referATXATVATampE command

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGDATA=+CGDATA (PPP)

OKAT+CGDATA=PPP1CONNECT 115200

8212 AT+CGPADDR Show PDP address

The write command returns a list of PDP addresses for the specified context identifiers

AT+CGPADDR Show PDP addressTest CommandAT+CGPADDR=

Response[+CGPADDR (list of defined ltcidgts)]

OKorERROR

Write CommandAT+CGPADDR=ltcidgt[ltcidgt[hellip]]

Response+CGPADDR ltcidgtltPDP_addrgt

OKorOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 191451

or+CME ERROR lterrgt

Execution CommandAT+CGPADDR

Response[+CGPADDR ltcidgtltPDP_addrgt]+CGPADDR ltcidgtltPDP_addrgt[]]]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) If no ltcidgt is specified theaddresses for all defined contexts are returned1hellip42

ltPDP_addrgt A string that identifies the MT in the address space applicable to thePDP The address may be static or dynamic For a static address itwill be the one set by the AT+CGDCONT command when the contextwas defined For a dynamic address it will be the one assigned duringthe last PDP context activation that used the context definition referredto by ltcidgt ltPDP_addrgt is omitted if none is available

Example

AT+CGPADDR=+CGPADDR (1)

OKAT+CGPADDR=1+CGPADDR 11023748122

OK

8213 AT+CGCLASS GPRS mobile station class

This command is used to set the MT to operate according to the specified GPRS mobile class

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 192451

AT+CGCLASS GPRS mobile station classTest CommandAT+CGCLASS=

Response+CGCLASS (list of supported ltclassgts)

OKorERROR

Read CommandAT+CGCLASS

Response+CGCLASS ltclassgt

OKorERROR

Write CommandAT+CGCLASS=ltclassgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandSet default valueAT+CGCLASS

ResponseOKorERROR

Defined Values

ltclassgt A string parameter which indicates the GPRS mobile class (indescending order of functionality)A class A (highest)

Example

AT+CGCLASS=+CGCLASS (A)

OKAT+CGCLASS+CGCLASS A

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 193451

8214 AT+CGEREP GPRS event reporting

The write command enables or disables sending of unsolicited result codes +CGEV from MT to TE in thecase of certain events occurring in the Packet Domain MT or the network ltmodegt controls the processingof unsolicited result codes specified within this command ltbfrgt controls the effect on buffered codeswhen ltmodegt 1 or 2 is entered If a setting is not supported by the MT ERRORor +CME ERROR isreturned

Read command returns the current ltmodegt and buffer settings

Test command returns the modes and buffer settings supported by the MT as compound values

AT+CGEREP GPRS event reportingTest CommandAT+CGEREP=

Response+CGEREP (list of supported ltmodegts)(list of supported ltbfrgts)

OKorERROR

Read CommandAT+CGEREP

Response+CGEREP ltmodegtltbfrgt

OKorERROR

Write CommandAT+CGEREP=ltmodegt[ltbfrgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEREP

ResponseOKorERROR

Defined Values

ltmodegt 0 ndash buffer unsolicited result codes in the MT if MT result code buffer isfull the oldest ones can be discarded No codes are forwarded tothe TE

1 ndash discard unsolicited result codes when MT-TE link is reserved (egin on- line data mode) otherwise forward them directly to the TE

2 ndash buffer unsolicited result codes in the MT when MT-TE link is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 194451

reserved (eg in on- line data mode) and flush them to the TEwhen MT-TE link becomes available otherwise forward themdirectly to the TE

ltbfrgt 0 ndash MT buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 or 2 is entered1 ndash MT buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 or 2 is entered (OK responseshall be given before flushing the codes)

Example

AT+CGEREP=+CGEREP (0-2)

OKAT+CGEREP+CGEREP 00

OK

8215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

This command is used to set type of authentication for PDP-IP connections of GPRS

AT+CGAUTH Set type of authentication for PDP-IP connections of GPRSTest CommandAT+CGAUTH=

Response+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (range of supportedltcidgts)(list of supported ltauth_typegts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CGAUTH

Response+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt

hellip

OKor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 195451

ERRORor+CME ERROR lterrgt

Write CommandAT+CGAUTH=ltcidgt[ltauth_typegt[ltpasswdgt[ltusergt]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGAUTH

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt Parameter specifies a particular PDP context definition This is alsoused in other PDP context-related commands1hellip42

ltauth_typegt Indicate the type of authentication to be used for the specified contextIf CHAP is selected another parameter ltpasswdgt needs to bespecified If PAP is selected two additional parameters ltpasswdgt andltusergt need to specified0 none1 PAP2 CHAP3 PAP or CHAP

ltpasswdgt Parameter specifies the password used for authenticationltusergt Parameter specifies the user name used for authentication

Example

AT+CGAUTH=+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (1-42)(0-3)127127

OKAT+CGAUTH=11123SIMCOMOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 196451

83 Summary of Unsolicited Result Codes

Unsolicited codes Description+CGEV PDN ACTltcidgt When the PDP in ltcidgt channel is

activated this unsolicited result codewill be reported

+CGEV REJECT ltPDP_typegtltPDP_addrgt A network request for PDP contextactivation occurred when the MT wasunable to report it to the TE with a+CRING unsolicited result code and wasautomatically rejected

+CGEV NW REACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has requested a contextreactivation The ltcidgt that was used toreactivate the context is provided ifknown to the MT

+CGEV NW DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has forced a contextdeactivation The ltcidgt that was used toactivate the context is provided if knownto the MT

+CGEV ME DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The mobile equipment has forced acontext deactivation The ltcidgt that wasused to activate the context is provided ifknown to the MT

+CGEV NW DETACH The network has forced a PacketDomain detach This implies that allactive contexts have been deactivatedThese are not reported separately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV NW CLASS ltclassgt The network has forced a change of MSclass The highest available class isreported (see AT+CGCLASS)

+CGEV ME CLASS ltclassgt The mobile equipment has forced achange of MS class The highestavailable class is reported (see

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 197451

AT+CGCLASS)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 198451

9 AT Commands for SMS

91 Overview of AT Commands for SMS

Command DescriptionAT+CSMS Select message serviceAT+CPMS Preferred message storageAT+CMGF Select SMS message formatAT+CSCA SMS service center addressAT+CSCB Select cell broadcast message indicationAT+CSMP Set text mode parametersAT+CSDH Show text mode parametersAT+CNMA New message acknowledgement to METAAT+CNMI New message indications to TEAT+CGSMS Select service for MO SMS messagesAT+CMGL List SMS messages from preferred storeAT+CMGR Read messageAT+CMGS Send messageAT+CMSS Send message from storageAT+CMGW Write message to memoryAT+CMGD Delete messageAT+CMGMT Change message statusAT+CMVP Set message valid periodAT+CMGRD Read and delete messageAT+CMGSEX Send messageAT+CMSSEX Send multi messages from storage

92 Detailed Description of AT Commands for SMS

921 AT+CSMS Select message service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 199451

This command is used to select messaging service ltservicegtNote This command not support in CDMAEVDO mode

AT+CSMS Select message service

Test CommandAT+CSMS=

Responsea)+CSMS (range of supported ltservicegts)

OKb)If failedERROR

Read CommandAT+CSMS

Response+CSMS ltservicegtltmtgtltmogtltbmgt

OK

Write CommandAT+CSMS=ltservicegt

Responsea)+CSMS ltmtgtltmogtltbmgt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt 0 SMS at command is compatible with GSM phase 21 SMS at command is compatible with GSM phase 2+

ltmtgt Mobile terminated messages0 type not supported1 type supported

ltmogt Mobile originated messages0 type not supported1 type supported1 SMS at command is compatible with GSMphase 2+

ltbmgt Broadcast type messages0 type not supported1 type supported

Example

AT+CSMS=0+CSMS 111

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 200451

922 AT+CPMS Preferred message storage

This command is used to select memory storages ltmem1gtltmem2gt and ltmem3gt to be used for readingwriting etc

AT+CPMS Preferred message storage

Test CommandAT+CPMS=

Responsea)+CPMS (list of supportedltmem1gts)(list ofsupportedltmem2gts)(list of supportedltmem3gts)

OKb)If failedERROR

Read CommandAT+CPMS

Response+CPMSltmem1gtltused1gtlttotal1gtltmem2gtltused2gtlttotal2gtltmem3gtltused3gtlttotal3gt

OK

Write CommandAT+CPMS=ltmem1gt[ltmem2gt[ltmem3gt]]

Responsea)+CPMS ltused1gtlttotal1gtltused2gtlttotal2gtltused3gtlttotal3gt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltmem1gt String type memory from which messages are read and deleted(commands List Messages AT+CMGL Read Message AT+CMGRand Delete Message AT+CMGD)ME and MT FLASH message storageSM SIM message storageSR Status report storage (not used in CDMAEVDOmode)

ltmem2gt String type memory to which writing and sending operations aremade (commands Send Message from Storage AT+CMSS and WriteMessage to Memory AT+CMGW)ME and MT FLASH message storageSM SIM message storage

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 201451

ltmem3gt String type memory to which received SMS is preferred to be stored(unless forwarded directly to TE refer command New MessageIndications AT+CNMI)ME FLASH message storageSM SIM message storage GSM phase 2+

ltusedXgt Integer type number of messages currently in ltmemXgtlttotalXgt Integer type total number of message locations in ltmemXgt

Example

AT+CPMS=+CPMS (MEMTSMSR)(MEMTSM)(SMME)

OKAT+CPMS+CPMS ME 023ME 023ME 023

OKAT+CPMS=SMSMSM+CPMS 350350350

OK

923 AT+CMGF Select SMS message format

This command is used to specify the input and output format of the short messages

AT+CMGF Select SMS message format

Test CommandAT+CMGF=

Responsea)+CMGF (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CMGF

Responsea)+CMGF ltmodegt

OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 202451

Write CommandAT+CMGF=ltmodegt

Responsea)OKb)If failedERROR

Execution CommandAT+CMGF

Responsea)Set default value (ltmodegt=0)OKb)If failedERROR

Defined Values

ltmodegt 0 PDU mode1 Text mode

Example

AT+CMGF=1OK

924 AT+CSCA SMS service center address

This command is used to update the SMSC address through which mobile originated SMS are transmittedNote This command not support in CDMAEVDO mode

AT+CSCA SMS service center addressTest CommandAT+CSCA=

ResponseOK

Read CommandAT+CSCA

Response+CSCA ltscagtlttoscagt

OKWrite CommandAT+CSCA=ltscagt[lttoscagt]

ResponseOK

Defined Values

ltscagt Service Center Address value field in string format BCD numbers (orGSM 7 bit default alphabet characters) are converted to characters ofthe currently selected TE character set (refer to command AT+CSCS)type of address given by lttoscagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 203451

lttoscagt SC address Type-of-Address octet in integer format when firstcharacter of ltscagt is + (IRA 43) default is 145 otherwise default is129

Example

AT+CSCA=+8613012345678OKAT+CSCA+CSCA +8613012345678145

OK

925 AT+CSCB Select cell broadcast message indication

The test command returns the supported ltmodegts as a compound valueThe read command displays the accepted message typesDepending on the ltmodegt parameter the write command adds or deletes the message types acceptedNote This command not support in CDMAEVDO mode

AT+CSCB Select cell broadcast message indication

Test CommandAT+CSCB=

Responsea)+CSCB (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CSCB

Responsea)+CSCB ltmodegtltmidsgtltdcssgt

OKb)If failedERROR

Write CommandAT+CSCB=ltmodegt[ltmidsgt[ltdcssgt]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 204451

Defined Values

ltmodegt 0 message types specified in ltmidsgt and ltdcssgt are accepted1 message types specified in ltmidsgt and ltdcssgt are not accepted

ltmidsgt String type all different possible combinations of CBM messageidentifiers

ltdcssgt String type all different possible combinations of CBM data codingschemes(default is empty string)

Example

AT+CSCB=+CSCB (0-1)

OK

926 AT+CSMP Set text mode parameters

This command is used to select values for additional parameters needed when SM is sent to the network orplaced in storage when text format message mode is selectedNote This command not support in CDMAEVDO mode

AT+CSMP Set text mode parametersTest CommandAT+CSMP=

ResponseOK

Read CommandAT+CSMP

Response+CSMP ltfogtltvpgtltpidgtltdcsgt

OK

Write CommandAT+CSMP=[ltfogt[ltvpgt[ltpidgt[ltdcsgt]]]]

Responsea)OKb)If failedERROR

Defined Values

ltfogt Depending on the Command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17) SMS-STATUS-REPORTor SMS-COMMAND (default 2) in integer format SMS status report issupported under text mode if ltfogt is set to 49

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 205451

ltvpgt Depending on SMS-SUBMIT ltfogt setting GSM0340TP-Validity-Period either in integer format (default 167) intime-string format or if is supported in enhanced format(hexadecimal coded string with quotes)(ltvpgt is in range 0 255)

ltpidgt GSM 0340 TP-Protocol-Identifier in integer format (default 0)ltdcsgt GSM 0338 SMS Data Coding Scheme (default 0) or Cell Broadcast

Data Coding Scheme in integer format depending on the command orresult code

Example

AT+CSMP=172364244OK

927 AT+CSDH Show text mode parameters

This command is used to control whether detailed header information is shown in text mode result codesNote This command not support in CDMAEVDO mode

AT+CSDH Show text mode parameters

Test CommandAT+CSDH=

Responsea)+CSDH (range of supported ltshowgts)

OKb)If failedERROR

Read CommandAT+CSDH

Response+CSDH ltshowgt

OK

Write CommandAT+CSDH=ltshowgt

Responsea)OKb)If failedERROR

Execution CommandAT+CSDH

Responsea)Set default value (ltshowgt=0)OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 206451

Defined Values

ltshowgt 0 do not show header values defined in commands AT+CSCA andAT+CSMP (ltscagtlttoscagtltfogtltvpgtltpidgt and ltdcsgt) norltlengthgtlttodagtorlttooagt in +CMT AT+CMGL AT+CMGR resultcodes for SMS-DELIVERs and SMS-SUBMITs in text mode forSMS-COMMANDs in AT+CMGR result code do not showltpidgtltmngtltdagtlttodagtltlengthgtorltdatagt1 show the values in result codes

Example

AT+CSDH=1OK

928 AT+CNMA New message acknowledgement to META

This command is used to confirm successful receipt of a new message (SMS-DELIVER orSMS-STATUSREPORT) routed directly to the TE If ME does not receive acknowledgement within requiredtime (network timeout) it will send RP-ERROR to the networkNOTE The execute write command shall only be used when AT+CSMS parameter ltservicegt equals 1 (=phase 2+) and appropriate URC has been issued by the module ielt+CMTgt for ltmtgt=2 incoming message classes 0 1 3 and nonelt+CMTgt for ltmtgt=3 incoming message classes 0 and 3lt+CDSgt for ltdsgt=1Note This command not support in CDMAEVDO mode

AT+CNMA New message acknowledgement to META

Test CommandAT+CNMA=

Responseif text mode(AT+CMGF=1)OKif PDU mode (AT+CMGF=0)+CNMA (list of supported ltngts)

OK

Write CommandAT+CNMA=ltngt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR ltERRgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 207451

Execution CommandAT+CNMA

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltngt Parameter required only for PDU mode0 Command operates similarly as execution command in textmode1 Send positive (RP-ACK) acknowledgement to the networkAccepted only in PDU mode2 Send negative (RP-ERROR) acknowledgement to the networkAccepted only in PDU mode

Example

AT+CNMI=12000OK+CMT 1380022xxxx020403110638+32ltCRgtltLFgtTesting(receive new short message)AT+CNMA(send ACK to the network)OKAT+CNMA+CMS ERROR 340(the second time return error it needs ACK only once)

929 AT+CNMI New message indications to TE

This command is used to select the procedure how receiving of new messages from the network isindicated to the TE when TE is active eg DTR signal is ON If TE is inactive (eg DTR signal is OFF) If set

ltmtgt=3 orltdsgt=1 make sure ltmodegt=1 If set ltmtgt=2 make sure ltmodegt=1 or 2 otherwise it will

return error

AT+CNMI New message indications to TE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 208451

Test CommandAT+CNMI=

Response+CNMI (list of supported ltmodegts)(list of supported ltmtgts)(list ofsupported ltbmgts)(list of supported ltdsgts)(list of supported ltbfrgts)

OK

Read CommandAT+CNMI

Response+CNMI ltmodegtltmtgtltbmgtltdsgtltbfrgt

OK

Write CommandAT+CNMI=ltmodegt[ltmtgt[ltbmgt[ltdsgt [ltbfrgt]]]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Execution CommandAT+CNMI

ResponseSet default valueOK

Defined Values

ltmodegt 0 Buffer unsolicited result codes in the TA If TA result code bufferis full indications can be buffered in some other place or the oldestindications may be discarded and replaced with the new receivedindications1 Discard indication and reject new received message unsolicitedresult codes when TA-TE link is reserved (eg in on-line data mode)Otherwise forward them directly to the TE2 Buffer unsolicited result codes in the TA when TA-TE link isreserved (eg in on-line data mode) and flush them to the TE afterreservation Otherwise forward them directly to the TE

ltmtgt The rules for storing received SMS depend on its data codingscheme preferred memory storage (AT+CPMS) setting and thisvalue0 No SMS-DELIVER indications are routed to the TE1 If SMS-DELIVER is stored into META indication of the memorylocation is routed to the TE using unsolicited result code +CMTIltmem3gtltindexgt2 SMS-DELIVERs (except class 2 messages and messages inthe message waiting indication group (store message)) are routeddirectly to the TE using unsolicited result code+CMT [ltalphagt]ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled)or

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 209451

+CMTltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt(text mode enabled about parameters in italics refer command ShowText Mode Parameters AT+CSDH)3 Class 3 SMS-DELIVERs are routed directly to TE usingunsolicited result codes defined in ltmtgt=2 Messages of other datacoding schemes result in indication as defined in ltmtgt=1

ltbmgt (not used in CDMAEVDO mode)The rules for storing received CBMs depend on its data codingscheme the setting of Select CBM Types (AT+CSCB) and this value0 No CBM indications are routed to the TE2 New CBMs are routed directly to the TE using unsolicited resultcode+CBM ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CBM ltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt(text mode enabled)

ltdsgt (not used in CDMAEVDO mode)0 No SMS-STATUS-REPORTs are routed to the TE1 SMS-STATUS-REPORTs are routed to the TE using unsolicitedresult code+CDS ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CDS ltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt(text mode enabled)2 If SMS-STATUS-REPORT is stored into META indication of thememory location is routed to the TE using unsolicited result code+CDSI ltmem3gtltindexgt

ltbfrgt 0 TA buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 to 2 is entered (OK responseshall be given before flushing the codes)1 TA buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 to 2 is entered

Example

AT+CNMI=21 (unsolicited result codes after received messages)OK

9210 AT+CGSMS Select service for MO SMS messages

The write command is used to specify the service or service preference that the MT will use to send MOSMS messages

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 210451

The test command is used for requesting information on which services and service preferences can be setby using the AT+CGSMS write commandThe read command returns the currently selected service or service preferenceNote This command not support in CDMAEVDO mode

AT+CGSMS Select service for MO SMS messages

Test CommandAT+CGSMS=

Response+CGSMS (range of supported ltservicegts)

OK

Read CommandAT+CGSMS

Response+CGSMS ltservicegt

OK

Write CommandAT+CGSMS=ltservicegt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt A numeric parameter which indicates the service or servicepreference to be used0 GPRS(value is not really supported and is internally mapped to 2)1 circuit switched(value is not really supported and is internallymapped to 3)2 GPRS preferred (use circuit switched if GPRS not available)3 circuit switched preferred (use GPRS if circuit switched notavailable)

Example

AT+CGSMS+CGSMS 3

OK

9211 AT+CMGL List SMS messages from preferred store

This command is used to return messages with status value ltstatgt from message storage ltmem1gt to the

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 211451

TEIf the status of the message is received unread the status in the storage changes to received read

AT+CMGL List SMS messages from preferred store

Test CommandAT+CMGL=

Response+CMGL (list of supported ltstatgts)

OK

Write CommandAT+CMGL=ltstatgt

Responsea)If text mode (AT+CMGF=1) command successful andSMS-SUBMITs andor SMS-DELIVERs+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[]]

OKb)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORTs+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[ltCRgtltLFgt+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[]]

OKc)If text mode (AT+CMGF=1) command successful and SMS-COMMANDs+CMGL ltindexgtltstatgtltfogtltctgt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltfogtltctgt[]]

OKd)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[]]

OKe)If PDU mode (AT+CMGF=0) and Command successful+CMGL

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 212451

ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt[ltCRgtltLFgt+CMGL ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

[hellip]]

OKf)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)lttooagt TP-Originating-Address Type-of-Address octet in integer format

(default refer lttodagt)lttodagt TP-Destination-Address Type-of-Address octet in integer format

(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 213451

(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt Status

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 214451

GSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGL=ALL+CMGL 9REC READ+861310jeck200520093100+32145000+86131452hi+CMGL 10REC READ+861310leo200520093225+32145000+86131454Fine

OK

9212 AT+CMGR Read message

This command is used to return message with location value ltindexgt from message storage ltmem1gt tothe TE

AT+CMGR Read messageTest CommandAT+CMGR=

ResponseOK

Write CommandAT+CMGR=ltindexgt

a)If text mode (AT+CMGF=1) command successful and SMS-DELIVER+CMGRltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 215451

OKb)If text mode (AT+CMGF=1) command successful and SMS-SUBMIT+CMGRltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORT+CMGR ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode (AT+CMGF=1) command successful and SMS-COMMAND+CMGRltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgt]ltCRgtltLFgtltdatagt

OKe)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGRltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode (AT+CMGF=0) and Command successful+CMGR ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 216451

3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltpidgt Protocol IdentifierGSM 0340 TP-Protocol-Identifier in integer format0hellip255

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltdcsgt Depending on the command or result code SMS Data CodingScheme (default 0) or Cell Broadcast Data Coding Scheme ininteger format

ltscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

lttoscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)ltdagt Destination-Address Address-Value field in string format BCD

numbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 217451

b If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltvpgt Depending on SMS-SUBMIT ltfogt setting TP-Validity-Period eitherin integer format (default 167) or in time-string format (refer ltdtgt)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt StatusGSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 218451

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmngt Message NumberGSM 0340 TP-Message-Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGR=1+CMGR STO UNSENT+100111451700167+861380010050014511Hello World

OK

9213 AT+CMGS Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)

AT+CMGS Send messageTest CommandAT+CMGS=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGS=ltdagt[lttodagt]ltCRgtText is enteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGS=ltlengthgtltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGS ltmrgt[lttime_stampgt]

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 219451

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMGS=13012832788ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGS 46

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9214 AT+CMSS Send message from storage

This command is used to send message with location value ltindexgt from preferred message storageltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)

AT+CMSS Send message from storageTest CommandAT+CMSS=

ResponseOK

Write CommandAT+CMSS=ltindexgt [ltdagt[lttodagt]]

Responsea)+CMSS ltmrgt[lttime_stampgt]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 220451

b)If failedERRORc)If sending fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

Example

AT+CMSS=3+CMSS 0

OKAT+CMSS=313012345678+CMSS 55

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9215 AT+CMGW Write message to memory

This command is used to store message (either SMS-DELIVER or SMS-SUBMIT) to memory storageltmem2gt

AT+CMGW Write message to memoryTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 221451

AT+CMGW= OK

Write CommandIf text mode (AT+CMGF=1)AT+CMGW=ltoagtltdagt[lttooagtlttodagt[ltstatgt]]ltCRgtText isenteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGW=ltlengthgt[ltstatgt]ltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If write successfully+CMGW ltindexgt

OKb)If cancel writeOKc)If write failsERRORd)If write fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltstatgt 1 Text ModeSTO UNSENT stored unsent messageSTO SENT stored sent message2 PDU Mode2 stored unsent message3 stored sent message

Example

AT+CMGW=13012832788 ltCRgt (TEXT MODE)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 222451

ABCDltctrl-ZESCgt+CMGW 1

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9216 AT+CMGD Delete message

This command is used to delete message from preferred message storage ltmem1gt location ltindexgt Ifltdelflaggt is present and not set to 0 then the ME shall ignore ltindexgt and follow the rules for ltdelflaggtshown below

AT+CMGD Delete message

Test CommandAT+CMGD=

Response+CMGD (list of supported ltindexgts)[(list of supportedltdelflaggts)]

OK

Write CommandAT+CMGD=ltindexgt[ltdelflaggt]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdelflaggt 0 (or omitted) Delete the message specified in ltindexgt1 Delete all read messages from preferred message storageleaving unread messages and stored mobile originated messages(whether sent or not) untouched2 Delete all read messages from preferred message storage andsent mobile originated messages leaving unread messages andunsent mobile originated messages untouched

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 223451

3 Delete all read messages from preferred message storage sentand unsent mobile originated messages leaving unread messagesuntouched4 Delete all messages from preferred message storage includingunread messages

Example

AT+CMGD=1OK

If set ltdelflaggt=1 2 3 or 4 ltindexgt is omitted such as AT+CMGD=1

9217 AT+CMGMT Change message status

This command is used to change the message status If the status is unread it will be changed read Other

statuses donrsquot change

Note This command not support in CDMAEVDO mode

AT+CMGMT Change message statusTest CommandAT+CMGMT=

ResponseOK

Write CommandAT+CMGMT=ltindexgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

Example

AT+CMGMT=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 224451

9218 AT+CMVP Set message valid period

This command is used to set valid period for sending short messageNote This command not support in CDMAEVDO mode

AT+CMVP Set message valid period

Test CommandAT+CMVP=

Response+CMVP (range of supported ltvpgts)

OK

Read CommandAT+CMVP

Response+CMVP ltvpgt

OK

Write CommandAT+CMVP=ltvpgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltvpgt Validity period value0 to 143 (ltvpgt+1) x 5 minutes (up to 12 hours)144 to 167 12 hours + (ltvpgt-143) x 30 minutes168 to 196 (ltvpgt-166) x 1 day197 to 255 (ltvpgt-192) x 1 week

Example

AT+CMVP=167OK

9219 AT+CMGRD Read and delete message

This command is used to read message and delete the message at the same time It integrate AT+CMGR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 225451

and AT+CMGD but it doesnrsquot change the message status

Note This command not support in CDMAEVDO mode

AT+CMGRD Read and delete messageTest CommandAT+CMGRD=

ResponseOK

Write CommandAT+CMGRD=ltindexgt

Responsea)If text mode(AT+CMGF=1)command successful andSMS-DE-LIVER+CMGRDltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKb)If text mode(AT+CMGF=1)command successful and SMS-SU-BMIT+CMGRDltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode(AT+CMGF=1)command successful and SMS-STA-TUS- REPORT+CMGRD ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode(AT+CMGF=1)command successful andSMS-CO-MMAND+CMGRDltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgtltCRgtltLFgtltdatagt]

OKe)If text mode(AT+CMGF=1)command successful and CBM sto-rage+CMGRDltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode(AT+CMGF=0) and command successful+CMGRD ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 226451

ERRORh)If failed+CMS ERROR lterrgt

Defined Values

Refer to command AT+CMGR

Example

AT+CMGRD=6+CMGRD REC READ+8613917787249060710120938+32145400+86138002105001455HELLO

OK

9220 AT+CMGSEX Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)Note This command not support in CDMAEVDO mode

AT+CMGSEX Send messageTest CommandAT+CMGSEX=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGSEX=ltdagt[lttodagt][ltmrgtltmsg_seggtltmsg_totalgt]ltCRgtText is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGSEX ltmrgt

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 227451

address given by lttodagtlttodagt TP-Destination-Address Type-of-Address octet in integer format

(When first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format Themaximum length is 255

ltmsg_seggt The segment number for long smsltmsg_totalgt The total number of the segments for long sms Its range is from 2 to

255

Example

AT+CMGSEX=13012832788 190 1 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 190

OKAT+CMGSEX=13012832788 190 2 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 191

OK

In text mode the maximum length of an SMS depends on the used coding scheme For single SMS itis 160 characters if the 7 bit GSM coding scheme is used For multiple long sms it is 153 characters ifthe 7 bit GSM coding scheme is used

9221 AT+CMSSEX Send multi messages from storage

This command is used to send messages with location value ltindex1gtltindex2gtltindex3gt hellip from

preferred message storage ltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)The max count ofindex is 13 one time Set AT+CNMI parameter ltdsgt equal to 0Note This command not support in CDMAEVDO mode

AT+CMSSEX Send multi messages from storageTest CommandAT+CMSSEX=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 228451

Write CommandAT+CMSSEX=ltindexgt[ltindex

gt[hellip ]]

Responsea)

+CMSSEX ltmrgt[ltmrgt[hellip]]

OKb)If failedERRORc)If sending fails

[+CMSSEX ltmrgt[ltmrgt[hellip]]]

+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMSSEX=01+CMSSEX 239240

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 229451

10AT Commands for SSL

101 Overview of AT Commands for SSL

Command DescriptionAT+CCHSTART Start SSL serviceAT+CCHSTOP Stop SSL serviceAT+CCHOPEN Connect to SSL serverAT+CCHCLOSE Disconnect from SSL serverAT+CCHSEND Send data to SSL serverAT+CCHRECV Read the cached data that received from the SSL serverAT+CCHCFG Configure the client contextAT+CCHSSLCFG Set the SSL contextAT+CCHSET Configure the report mode of sending and receiving dataAT+CCHMODE Configure the mode of sending and receiving dataAT+CCHADDR Get the IPV4 addressAT+CSSLCFG Configure the SSL contextAT+CCERTDOWN Download certificate into the moduleAT+CCERTLIST List certificatesAT+CCERTDELE Delete certificates

102 Detailed Description of AT Commands for SSL

1021 AT+CCHSTART Start SSL service

AT+CCHSTART Start SSL service

Execution CommandAT+CCHSTART

Responsea)If start SSL service successfullyOK

+CCHSTART 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 230451

b)If start SSL service successfully+CCHSTART 0

OKc)If failedERRORd)If failedOK

+CCHSTART lterrgtParameter Saving Mode -Max Response Time 120000msReference

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTARTOK

+CCHSTART 0

You must execute AT+CCHSTART before any other SSL related operations

1022 AT+CCHSTOP Stop SSL service

AT+CCHSTOP Stop SSL service

Execution CommandAT+CCHSTOP

Responsea)If stop SSL service successfully+CCHSTOP 0

OKb)If stop SSL service successfullyOK

+CCHSTOP 0c)If failed

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 231451

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTOPOK

+CCHSTOP 0

1023 AT+CCHOPEN Connect to SSL server

AT+CCHOPEN Connect to SSL serverTest CommandAT+CCHOPEN=

Response+CCHOPEN (01)ADDRESS(1-65535)[(1-2)[(1-65535)]]

OKRead CommandAT+CCHOPEN

ResponseIf connect to a server it will show the connected information Otherwisethe connected information is empty+CCHOPEN 0lthostgtltportgtltclient_typegt[ltbind_portgt]+CCHOPEN 1lthostgtltportgtltclient_typegt[ltbind_portgt]

OKWrite CommandAT+CCHOPEN=ltsession_idgthostltportgt[ltclient_typegt[ltbind_portgt]]

Responsea)If connect successfully+CCHOPEN ltsession_idgt0

OKb)If connect successfullyOK

+CCHOPEN ltsession_idgt0c)If connect successfully in transparent modeCONNECT [lttextgt]d)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 232451

OK

+CCHOPEN ltsession_idgtlterrgte)If failedERRORf)If failed in transparent modeCONNECT FAIL

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lthostgt The server address maximum length is 256 bytesltportgt The server port which to be connected the range is from 1 to 65535ltclient_typegt The type of client

1 ndash TCP client2 ndash SSLTLS clientDefault value is 2

ltbind_portgt The local port for channel the range is from 1 to 65535 Deault isassigned by internal protocol stack

lttextgt CONNECT result code string the string formats please referATXATVATampE command

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CCHOPEN=0wwwbaiducom4432OK

+CCHOPEN 00

If you donrsquot set the SSL context by AT+CCHSSLCFG before connecting a SSLTLS server byAT+CCHOPEN it will use the ltsession_idgt(the 1rsquost parameter of AT+CCHOPEN) SSL context whenconnecting to the server

1024 AT+CCHCLOSE Disconnect from SSL server

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 233451

AT+CCHCLOSE Disconnect from SSL serverWrite CommandAT+CCHCLOSE=ltsession_idgt

Responsea)If successfully+CCHCLOSE ltsession_idgt0

OKb)If successfullyOK

+CCHCLOSE ltsession_idgt0c)If successfully in transparent modeOK

CLOSEDd)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CCHCLOSE=0OK

+CCHCLOSE 00

1025 AT+CCHSEND Send data to SSL server

AT+CCHSEND Send data to SSL serverTest CommandAT+CCHSEND=

Response+CCHSEND (01)(1-2048)

OKRead CommandAT+CCHSEND

Response+CCHSEND 0ltunsent_len_0gt1ltunsent_len_1gt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 234451

OKWrite CommandAT+CCHSEND=ltsession_idgtltlengt

Responsea)if parameter is rightgtltinput data heregtWhen the total size of the inputted data reaches ltlengt TA will reportthe following code Otherwise the serial port will be blockedOKb)If parameter is wrong or other errors occurERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1ltlengt The length of data to send Its range is from 1 to 2048 bytesltunsent_len_0gt The data of connection 0 cached in sending buffer which is waiting to

be sentltunsent_len_1gt The data of connection 1 cached in sending buffer which is waiting to

be sent

Example

AT+CCHSEND=0125gtGET HTTP11Host wwwgooglecomhkUser-Agent MAUI htp User AgentProxy-Connection keep-aliveContent-Length 0

OK

1026 AT+CCHRECV Read the cached data that received from the SSL server

AT+CCHRECV Read the cached data that received from the SSL serverRead CommandAT+CCHRECV

Response+CCHRECV LENltcache_len_0gtltcache_len_1gt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 235451

Write CommandAT+CCHRECV=ltsession_idgt[ltmax_recv_lengt]

Responsea)if parameter is right and there are cached dataOK

[+CCHRECV DATAltsession_idgtltlengthellip+CCHRECV DATAltsession_idgtltlengthellip]+CCHRECV ltsession_idgtlterrgtb) if session is busy+CCHRECV ltsession_idgtlterrgt

ERRORc) if parameter is not right or any other error occursERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltmax_recv_lengt Maximum bytes of data to receive in the current AT+CCHRECV

calling It will read all the received data when the value is greater thanthe length of RX data cached for session ltsession_idgt0 means the maximum bytes to receive is 2048 bytes (But when2048 is greater than the length of RX data cached for sessionltsession_idgt 0 means the length of RX data cached for sessionltsession_idgt)The default value is the length of RX data cached for sessionltsession_idgtIt will be not allowed when there is no data in the cache

ltcache_len_0gt The length of RX data cached for connection 0ltcache_len_1gt The length of RX data cached for connection 1ltlengt The length of data followedlterrgt String type displays the cause of occurring error please refer to

Chapter 103 for details

Example

AT+CCHRECV=1OK

+CCHRECV DATA1249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 236451

HTTP11 200 OKContent-Type texthtmlContent-Language zh-CNContent-Length 57Date Tue 31 Mar 2009 015605 GMTConnection CloseProxy-Connection Close

lthtmlgtltheadergttestltheadergtltbodygtTest bodyltbodygt+CCHRECV 10

1027 AT+CCHADDR Get the IPV4 address

AT+CCHADDR Get the IPV4 address

Execution CommandAT+CCHADDR

Response+CCHADDR ltip_addressgt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt A string parameter that identifies the IPv4 address after PDPactivated

Example

AT+CCHADDR+CCHADDR 1071155118

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 237451

1028 AT+CCHCFG Configure the client context

AT+CCHCFG Configure the client contextTest CommandAT+CCHCFG=

Response+CCHCFG sendtimeout(0-1)(60-150)+CCHCFG sslctx(0-1)(0-9)

OKRead CommandAT+CCHCFG

Response+CCHCFG 0ltsendtimeout_valgtltsslctx_indexgt+CCHCFG 1ltsendtimeout_valgtltsslctx_indexgt

OKWrite Command

Configure the timeout valueof the specified client whensending data

AT+CCHCFG=sendtimeoutltsession_idgtltsendtimeout_valgt

ResponseIf successfullyOKIf failedERROR

Write Command

Configure the SSL contextindex itrsquos as same asAT+CSSLCFG

AT+CCHCFG=sslctxltsession_idgtltsslctx_indexgt

ResponseIf successfullyOKIf failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltsendtimeout_valgt The timeout value used in sending data stage The range is 60-150

seconds The default value is 150ltsslctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHCFG=sendtimeout060

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 238451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSE

1029 AT+CCHSSLCFG Set the SSL context

AT+CCHSSLCFG Set the SSL contextTest CommandAT+CCHSSLCFG=

Response+CCHSSLCFG (01)(0-9)

OKRead CommandAT+CCHSSLCFG

Response+CCHSSLCFG ltsession_idgt[ssl_ctx_index]+CCHSSLCFG ltsession_idgt[ssl_ctx_index]

OKWrite CommandAT+CCHSSLCFG=ltsession_idgtltssl_ctx_indexgt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHSSLCFG=+CCHSSLCFG (01)(0-9)

OKAT+CCHSSLCFG=11

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 239451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSEIf you donrsquot set the SSL context by this command before connecting to SSLTLS server byAT+CCHOPEN the CCHOPEN operation will use the SSL context as same as index ltsession_idgt (the1st parameter of AT+CCHOPEN) when connecting to the server

10210AT+CCHMODE Configure the mode of sending and receiving data

AT+CCHMODE Configure the mode of sending and receiving modeTest CommandAT+CCHMODE=

Response+CCHMODE (01)

OKRead CommandAT+CCHMODE

Response+CCHMODE ltmodegt

OKWrite CommandAT+CCHMODE=ltmodegt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt The mode value0ndashNormal1ndashTransparent modeThe default value is 0

Example

AT+CCHMODE=+CCHMODE (01)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 240451

OKAT+CCHMODE=1OK

NOTE

This command must be called before AT+CCHSTARTThere is only one session in the transparent mode itrsquos the first session

10211 AT+CCHSET Configure the report mode of sending and receiving data

AT+CCHSET Configure the report mode of sending and receiving dataTest CommandAT+CCHSET=

Response+CCHSET (01)(01)

OKRead CommandAT+CCHSET

Response+CCHSET ltreport_send_resultgtltrecv_modegt

OKWrite CommandAT+CCHSET=ltreport_send_resultgt[ltrecv_modegt]

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltreport_send_resultgt Whether to report result of CCHSEND the default value is 00 ndash No1 ndash Yes Module will report +CCHSEND ltsession_idgtlterrgt to MCUwhen complete sending data

ltrecv_modegt The receiving mode the default value is 00 ndash Output the data to MCU whenever received data1 ndash Module caches the received data and notifies MCU with+CCHEVENT ltsession_idgt RECV EVENTMCU can useAT+CCHRECV to receive the cached data (only in manual receivingmode)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 241451

Example

AT+CCHSET=+CCHSET (01)(01)

OKAT+CCHSET=11OK

This command must be called before AT+CCHSTART

10212AT+CSSLCFG Configure the SSL context

AT+CSSLCFG Configure the SSL contextTest CommandAT+CSSLCFG=

Response+CSSLCFG sslversion(0-9)(0-4)+CSSLCFG authmode(0-9)(0-3)+CSSLCFG ignorelocaltime(0-9)(01)+CSSLCFG negotiatetime(0-9)(10-300)+CSSLCFG cacert(0-9)(5-128)+CSSLCFG clientcert(0-9)(5-128)+CSSLCFG clientkey(0-9)(5-128)+CSSLCFG enableSNI(0-9)(01)+CSSLCFG keypwd(0-9)(0-128)+CSSLCFG ciphersuites(0-9)(0x002F0xFFFF)

OKRead CommandAT+CSSLCFG

Response+CSSLCFG0ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG1ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG2ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 242451

+CSSLCFG3ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG4ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG5ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG6ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG7ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG8ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG9ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Query the configuration of thespecified SSL context AT+CSSLCFG=ltssl_ctx_indexgt

Response+CSSLCFGltssl_ctx_indexgtltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Configure the version of thespecified SSL context

AT+CSSLCFG=sslversionltssl_ctx_indexgtltsslversiongt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the authentication

Responsea)If successfully

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 243451

of the specified SSL context

AT+CSSLCFG=authmodeltssl_ctx_indexgtltauthmodegt

OKb)If failedERROR

Write Command Configure the ignore localtime flag of the specified SSLcontext

AT+CSSLCFG=ignorelocaltimeltssl_ctx_indexgtltignoreltimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the negotiatetimeout value of the specifiedSSL context

AT+CSSLCFG=negotiatetimeltssl_ctx_indexgtltnegotiatetimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the server root CAof the specified SSL context

AT+CSSLCFG=cacertltssl_ctx_indexgtltca_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client certificateof the specified SSL context

AT+CSSLCFG=clientcertltssl_ctx_indexgtltclientcert_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client key of thespecified SSL context

AT+CSSLCFG=clientkeyltssl_ctx_indexgtltclientkey_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the enableSNI flagof the specified SSL context

AT+CSSLCFG=enableSNIlt

Responsea)If successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 244451

ssl_ctx_indexgtltenableSNI_FlaggtWrite Command Configure the password ofthe specified SSL context

AT+CSSLCFG=keypwdltssl_ctx_indexgtltkeypwdgt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the ciphersuite ofthe specified SSL context

AT+CSSLCFG=ciphersuitesltssl_ctx_indexgtltciphersuitesgt

Responsea)If successfullyOKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltssl_ctx_indexgt The SSL context ID The range is 0-9ltsslversiongt The SSL version the default value is 4

0 ndash SSL301 ndash TLS102 ndash TLS113 ndash TLS124 ndash All

The configured version should be support by server So you shoulduse the default value if you canrsquot confirm the version which the serversupported

ltauthmodegt The authentication mode the default value is 00 ndash no authentication1 ndashserver authentication It needs the root CA of the server2 ndashserver and client authentication It needs the root CA of the server

the cert and key of the client3ndashclient authentication and no server authentication It needs the certand key of the client

ltignoreltimegt The flag to indicate how to deal with expired certificate the defaultvalue is 10 ndash care about time check for certification1 ndash ignore time check for certification

When set the value to 0 it need to set the right current date and time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 245451

by AT+CCLK when need SSL certificationltnegotiatetimegt The timeout value which is used in SSL negotiating stage The range

is 10-300 seconds The default value is 300ltca_filegt The root CA file name of SSL context The file name must have type

like pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientcert_filegt The client cert file name of SSL context The file name must have typelike pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientkey_filegt The client key file name of SSL context The file name must have typelike pem or derThe length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltenableSNI_flaggt The flag to indicate that enable the SNI flag or not the default value is00 ndash not enable SNI1 ndash enable SNI

ltkeypwdgt The password of the client key file of SSL context When the clientneeds to be authorized client key file is needed Because the clientkey file may be encrypted we need theltkeypwdgt to decrypt it The length of ltkeypwdgt is from 0 to 128bytes

ltciphersuitesgt Numeric type SSL ciphersuites The default value is 0xFFFF

0x002F TLS_RSA_WITH_AES_128_CBC_SHA

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 246451

0xFFFF Support all

Example

AT+CSSLCFG=sslversion11OK

10213AT+CCERTDOWN Download certificate into the module

AT+CCERTDOWN Download certificate into the moduleTest CommandAT+CCERTDOWN=

Response+CCERTDOWN (5-128)(1-10240)

OKWrite CommandAT+CCERTDOWN=ltfilenamegtltlengt

Responsea)If it can be downloadgtltinput data heregt

OKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

ltlengt The length of the file data to send The range is from 1 to 10240 bytes

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 247451

AT+CCERTDOWN=client_keyder611gtfile contenthelliphellipOK

10214AT+CCERTLIST List certificates

AT+CCERTLIST List certificatesExecution CommandAT+CCERTLIST

Response[+CCERTLIST ltfile_namegt[+CCERTLIST ltfile_namegt]hellipltCRgtltLFgt]OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfile_namegt The certificatekey files which has been downloaded to the moduleIf the filename contains non-ASCII characters it will show thenon-ASCII characters as UTF8 code

Example

AT+CCERTLIST+CCERTLIST ca_certder+CCERTLIST client_keypem

OK

10215AT+CCERTDELE Delete certificates

AT+CCERTDELE Delete certificatesWrite CommandAT+CCERTDELE=ltfilenamegt

Responsea)If delete successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 248451

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

Example

AT+CCERTDELE=server_caderOK

103 Command result lterrgt codes

Result Code Meaning0 Operation succeeded

1 Alerting state(reserved)

2 Unknown error

3 Busy

4 Peer closed

5 Operation timeout

6 Transfer failed

7 Memory error

8 Invalid parameter

9 Network error

10 Open session error

11 State error

12 Create socket error

13 Get DNS error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 249451

14 Connect socket error

15 Handshake error

16 Close socket error

17 Nonet

18 Send data timeout

19 Not set certificates

104 Unsolicited result codes

Information Description+CCHEVENT ltsession_idgtRECVEVENT

In manual receiving mode when new data of a connectionarriving to the module this unsolicited result code will bereported to MCU

+CCH_RECV_CLOSEDltsession_idgtlterrgt

When receive data occurred any error this unsolicited resultcode will be reported to MCU

+CCH_PEER_CLOSEDltsession_idgt

The connection is closed by the server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 250451

11AT Commands for TCPIP

111 Overview of AT Commands for TCPIP

Command DescriptionAT+NETOPEN Start TCPIP serviceAT+NETCLOSE Stop TCPIP serviceAT+CIPOPEN Setup TCPUDP client socket connectionAT+CIPCLOSE Destroy TCPUDP client socket connectionAT+CIPSEND Send TCPUDP dataAT+CIPRXGET Retrieve TCPUDP buffered dataAT+IPADDR Get IP address of PDP contextAT+CIPHEAD Add an IP header when receiving dataAT+CIPSRIP Show remote IP address and portAT+CIPMODE Select TCPIP application modeAT+CIPSENDMODE Set sending modeAT+CIPTIMEOUT Set TCPIP timeout valueAT+CIPCCFG Configure parameters of socketAT+SERVERSTART Startup TCP serverAT+SERVERSTOP Stop TCP serverAT+CIPACK Query TCP connection data transmitting statusAT+CDNSGIP Query the IP address of given domain nameAT+CDNSGHNAME Query the domain name of given IP addressAT+CIPDNSSET Set DNS query parametersAT+CPING Ping destination addressAT+CPINGSTOP Stop an ongoing ping session

112 Detailed Description of AT Commands for TCPIP

1121 AT+NETOPEN Start TCPIP service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 251451

AT+NETOPEN Start TCPIP serviceRead CommandAT+NETOPEN

Response+NETOPEN ltnet_stategt

OK

Execution CommandAT+NETOPEN

ResponseIf the PDP context has not been activated or the network closedabnormally responseOK

+NETOPEN lterrgtwhen the PDP context has been activated successfully if you executeAT+NETOPEN again response+IP ERROR Network is already opened

ERROR

otherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltnet_stategt Integer type which indicates the state of PDP context activation0 network close (deactivated)1 network open(activated)

lterrgt Integer type the result of operation 0 is success other value is failure

Example

AT+NETOPENOK

+NETOPEN 0AT+NETOPEN+NETOPEN 1

OK

You must execute AT+NETOPEN before any other TCPUDP related operations

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 252451

1122 AT+NETCLOSE Stop TCPIP service

AT+NETCLOSE Stop TCPIP service

Execution CommandAT+NETCLOSE

ResponseIf the PDP context has been activated responseOK

+NETCLOSE lterrgtIf the PDP context has not been activated response+NETCLOSE lterrgt

ERROR

otherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+NETCLOSEOK

+NETCLOSE 0

AT+NETCLOSE can close all the opened socket connections when you didnrsquot close theseconnections by AT+CIPCLOSE

1123 AT+CIPOPEN Setup TCPUDP client socket connection

AT+CIPOPEN Setup TCPUDP client socket connection

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 253451

Test CommandAT+CIPOPEN=

Response+CIPOPEN (0-9)(TCPUDP)

OKRead CommandAT+CIPOPEN

Response+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt]+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt][hellip]

OKIf a connection identified by ltlink_numgthas not been establishedsuccessfully +CIPOPEN ltlink_numgt will be returned

Write CommandTCP connectionAT+CIPOPEN=ltlink_numgtTCPltserverIPgtltserverPortgt[ltlocalPortgt]

Responseif PDP context has been activated successfully responseOK

+CIPOPEN ltlink_numgtlterrgtwhen the ltlink_numgt is greater than 10 response+IP ERROR Invalid parameter

ERROR

If PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for TCP connectionWhen you want to use transparent mode to transmit data you should setAT+CIPMODE=1 before AT+NETOPEN And if AT+CIPMODE=1 is setthe ltlink_numgt is restricted to be only 0if successCONNECT [lttextgt]

if failureCONNECT FAIL

otherERROR

Write CommandUDP connectionAT+CIPOPEN=ltlink_numgtUDPltlocalPortgt

if PDP context has been activated successfully response+CIPOPEN ltlink_numgt0

OKwhen the ltlink_numgt is greater than 10 response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 254451

+IP ERROR Invalid parameter

ERRORIf PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for UDP connectionWhen you want to use transparent mode to transmit UDP data youshould set AT+CIPMODE=1 before AT+NETOPEN And ifAT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0ltserverIPgt and ltserverPortgt should be set if AT+CIPMODE=1

if successCONNECT [lttextgt]

if failureCONNECT FAIL

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9If AT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0

lttypegt String type identifies the type of transmission protocolTCP Transmission Control ProtocolUDP User Datagram Protocol

ltserverIPgt String type identifies the IP address of server The IP address formatconsists of 4 octets separated by decimal point likeAAABBBCCCDDD Also the domain name is supported hereNOTEIf the domain name is inputted here the timeout value for theAT+CIPOPEN shall be decided by AT+CIPDNSSET

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalid

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 255451

operationltlocalPortgt Integer type identifies the port of local socket range is 0-65535ltindexgt Integer type which indicates whether the module is used as a client or

serverWhen used as server the range is 0-3ltindexgt is the server index towhich the client is linked(-1) ndash TCPUDP client(0-3) ndash TCP server index

lttextgt String type which indicates CONNECT result code Please refer toATXATVATampE command for the string formats

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPOPEN=0TCP11622822151100OK

+CIPOPEN 00AT+CIPOPEN=1UDP8080+CIPOPEN 10

OKAT+CIPOPEN=+CIPOPEN (0-9)(TCPUDP)

OKAT+CIPOPEN+CIPOPEN 0TCP11622822151100-1+CIPOPEN 1+CIPOPEN 2+CIPOPEN 3+CIPOPEN 4+CIPOPEN 5+CIPOPEN 6+CIPOPEN 7+CIPOPEN 8+CIPOPEN 9

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 256451

1124 AT+CIPCLOSE Destroy TCPUDP client socket connection

AT+CIPCLOSE Destroy TCPUDP client socket connectionTest CommandAT+CIPCLOSE=

Response+CIPCLOSE (0-9)

OKRead CommandAT+CIPCLOSE

Response+CIPCLOSEltlink0_stategtltlink1_stategtltlink2_stategtltlink3_stategtltlink4_stategtltlink5_stategtltlink6_stategtltlink7_stategtltlink8_stategtltlink9_stategt

OKWrite CommandAT+CIPCLOSE=ltlink_numgt

ResponseIf service type is TCP and the connection identified by ltlink_numgthas been established responseOK

+CIPCLOSE ltlink_numgtlterrgtIf service type is TCP and the access mode is transparent moderesponseOK

CLOSED

+CIPCLOSE ltlink_numgtlterrgtIf service type is UDP and the connection identified by ltlink_numgthas been established response+CIPCLOSE ltlink_numgt0

OKIf service type is UDP and access mode is transparent moderesponseCLOSED

+CIPCLOSE ltlink_numgtlterrgt

OKIf the connection has not been established abnormally closed orparameter is incorrect response+CIPCLOSE ltlink_numgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 257451

OtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type which identifies a connection Range is 0-9ltlink_stategt Integer type which indicates the state ofconnection identified by

ltlink_numgt Range is 0-10 ndash disconnected1 ndash connected

lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CIPCLOSE+CIPCLOSE 1000000000

OKAT+CIPCLOSE=+CIPCLOSE (0-9)

OKAT+CIPCLOSE=0OK

+CIPCLOSE 00

1125 AT+CIPSEND Send TCPUDP data

AT+CIPSEND Send TCPUDP dataTest CommandAT+CIPSEND=

Response+CIPSEND (0-9)(1-1500)

OKWrite CommandIf service type is TCP senddata with changeable length

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 258451

AT+CIPSEND=ltlink_numgt

Response gt then type datato send tap CTRL+Z to senddata tap ESC to cancel theoperation

gtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is TCP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with changeable length

AT+CIPSEND=ltlink_numgtltserverIPgtltserverPortgt

Response gt then type datato send tap CTRL+Z to send

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 259451

data tap ESC to cancel theoperation

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgtltserverIPgtltserverPortgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengthgt Integer type indicates the length of sending data range is 1-1500ltserverIPgt String type which identifies the IP address of server

The IP address format consists of 4 octets separated by decimalpoint like AAABBBCCCDDD

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalidoperation

ltreqSendlengthgt Integer typethe length of the data requested to be sentltcnfSendLengthgt Integer type the length of the data confirmed to have been sent

-1 the connection is disconnected0 own send buffer or other sidersquos congestion window are full

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 260451

Note If the ltcnfSendLengthgt is not equal to the ltreqSendLengthgtthe socket then cannot be used further

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPSEND=01gtSOK

+CIPSEND 011AT+CIPSEND=11116236221756775gtSOK

+CIPSEND 111AT+CIPSEND=2gtHelloltCtrl+ZgtOK

+CIPSEND 255AT+CIPSEND=3116236221756775gtHello WorldltCtrl+ZgtOK

+CIPSEND 31111AT+CIPSEND=2gtHelloltESCgtERRORAT+CIPSEND=+CIPSEND (0-9)(1-1500)

OK

Each ltCtrl+Zgt character present in the data should be coded as ltETXgtltCtrl+Zgt Each ltESCgtcharacter present in the data should be coded as ltETXgtltESCgt Each ltETXgt character will be codedas ltETXgtltETXgt Single ltCtrl+Zgt means end of the input data Single ltESCgt is used to cancel thesendingltETXgt is 0x03 and ltCtrl+Zgt is 0x1AandltESCgt is 0x1B

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 261451

1126 AT+CIPRXGET Retrieve TCPUDP buffered data

AT+CIPRXGET Retrieve TCPUDP buffered dataTest CommandAT+CIPRXGET=

Response+CIPRXGET (0-4)(0-9)(1-1500)

OKRead CommandAT+CIPRXGET

Response+CIPRXGET ltmodegt

OKWrite CommandAT+CIPRXGET=ltmodegtIn this case ltmodegt can onlybe 0 or 1

ResponseIf the parameter is correct responseOKElse responseERROR

Write CommandAT+CIPRXGET=2ltlink_numgt[ltlengt]Retrieve data in ACSII form

ResponseIf ltlengthgt field is empty the default value to read is 1500If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagtACSII form

OKIf the buffer is empty response+IP ERROR No data

ERRORIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=3ltlink_numgt[ltlengt]Retrieve data in hex form

ResponseIf ltlengthgt field is empty the default value to read is 750If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagthex form

OKIf the buffer is empty response+IP ERROR No data

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 262451

If the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=4ltlink_numgt

ResponseIf the parameter is correct response+CIPRXGET 4ltlink_numgtltrest_lengt

OKIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets the mode to retrieve data Default value is 00 set the way to get the network data automatically1 set the way to get the network data manually2 read data the max read length is 15003 read data in HEX form the max read length is 7504 get the rest data length

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengt Integer type the data length to be read

Not required the default value is 1500 when ltmodegt=2 and 750when ltmodegt=3

ltread_lengt Integer type the length of data that has been readltrest_lengt Integer type the length of data which has not been read in the bufferlterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPRXGET=+CIPRXGET (0-4)(0-9)(1-1500)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 263451

AT+CIPRXGET+CIPRXGET 1

OKAT+CIPRXGET=1OKAT+CIPRXGET=20100+CIPRXGET 2010013000123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789

OKAT+CIPRXGET=30100+CIPRXGET 30100120030313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839

OKAT+CIPRXGET=40+CIPRXGET 401200

OK

If set ltmodegt to 1 after receiving data the module will buffer it and report a URC as +CIPRXGET 1ltlink_numgt to notify the host Then host can retrieve data by AT+CIPRXGETIf set ltmodegt to 0 the received data will be outputted to COM port directly by URC as RECV FROMltIP ADDRESSgtltPORTgtltCRgtltLFgt+IPD(data length)ltCRgtltLFgtltdatagtIf the buffer is not empty and the module receives data again then it will not report a new URC until allthe received data has been retrieved by AT+CIPRXGET from bufferThe default value of ltmodegt is 0When ltmodegt is set to 1 and the 2-4 mode will take effectIf initially set ltmodegt to 1 after doing some data transmitting set ltmodegt to 0 then the buffered dataof the previously established connection will be output to the serial port directly and the maximumlength of output data at a time is 1500

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 264451

1127 AT+IPADDR Get IP address of PDP context

AT+IPADDR Get IP address of PDP context

Execution CommandAT+IPADDR

ResponseIf PDP context has been activated successfully response+IPADDR ltip_addressgt

OKElse response+IP ERROR Network not opened

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt String type identifies the IP address of current active socket PDP

Example

AT+IPADDR+IPADDR 1071155118

OK

1128 AT+CIPHEAD Add an IP header when receiving data

AT+CIPHEAD Add an IP header when receiving dataTest CommandAT+CIPHEAD=

Response+CIPHEAD (0-1)

OKRead CommandAT+CIPHEAD

Response+CIPHEAD ltmodegt

OKWrite CommandAT+CIPHEAD=ltmodegt

ResponseIf the parameter is correct responseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 265451

Else responseERROR

Execution CommandAT+CIPHEAD

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether adding an IP header or not whilereceiving data Default value is 10ndash not add IP header1ndash add IP header the format is +IPD(data length)

Example

AT+CIPHEAD=+CIPHEAD (0-1)

OKAT+CIPHEAD=0OK

1129 AT+CIPSRIP Show remote IP address and port

AT+CIPSRIP Show remote IP address and portTest CommandAT+CIPSRIP=

Response+CIPSRIP (0-1)

OKRead CommandAT+CIPSRIP

Response+CIPSRIP ltmodegt

OKWrite CommandAT+CIPSRIP=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 266451

Execution CommandAT+CIPSRIP

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether to show IP address and port of serveror not when receiving data Default value is 10ndashnot show1ndashshowthe format is as follows

RECV FROMltIP ADDRESSgtltPORTgt

Example

AT+CIPSRIP=+CIPSRIP (0-1)

OKAT+CIPSRIP=1OK

11210 AT+CIPMODE Select TCPIP application mode

AT+CIPMODE Select TCPIP application modeTest CommandAT+CIPMODE=

Response+CIPMODE (0-1)

OKRead CommandAT+CIPMODE

Response+CIPMODE ltmodegt

OKWrite CommandAT+CIPMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPMODE

ResponseSet default value(ltmodegt=0)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 267451

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets TCPIP application mode Default value is 00 ndash Non transparent mode1 ndash Transparent mode

Example

AT+CIPMODE=+CIPMODE (0-1)

OKAT+CIPMODE=1OK

11211 AT+CIPSENDMODE Set sending mode

AT+CIPSENDMODE Set sending modeTest CommandAT+CIPSENDMODE=

Response+CIPSENDMODE (0-1)

OKRead CommandAT+CIPSENDMODE

Response+CIPSENDMODE ltmodegt

OKWrite CommandAT+CIPSENDMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 268451

ltmodegt Integer type sets sending mode Default value is 00ndash Sending without waiting peer TCP ACK mode1ndash Sending wait peer TCP ACK mode

Example

AT+CIPSENDMODE=+CIPSENDMODE (0-1)

OKAT+CIPSENDMODE=1OK

11212 AT+CIPTIMEOUT Set TCPIP timeout value

AT+CIPTIMEOUT Set TCPIP timeout valueRead CommandAT+CIPTIMEOUT

Response+CIPTIMEOUTltnetopen_timeoutgtltcipopen_timeoutgtltcipsend_timeoutgt

OKWrite CommandAT+CIPTIMEOUT=[ltnetopen_timeoutgt][[ltcipopen_timeoutgt][[ltcipsend_timeoutgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltnetopen_timeoutgt Integer type timeout value for AT+NETOPENDefault is120000ms Range is 3000ms-120000ms

ltcipopen_timeoutgt Integer type timeout value for AT+CIPOPENDefault is120000ms Range is 3000ms-120000ms

ltcipsend_timeoutgt Integer type timeout value for AT+CIPSENDDefault is120000ms Range is 3000ms-120000ms

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 269451

AT+CIPTIMEOUT+CIPTIMEOUT 300002000040000

OKAT+CIPTIMEOUT=300002000040000OK

11213 AT+CIPCCFG Configure parameters of socket

AT+CIPCCFG Configure parameters of socketTest CommandAT+CIPCCFG=

Response+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKRead CommandAT+CIPCCFG

Response+CIPCCFGltNmRetrygtltDelayTmgtltAckgtlterrModegtltHeaderTypegtltAsyncModegtltTimeoutValgt

OKWrite CommandAT+CIPCCFG=[ltNmRetrygt][[ltDelayTmgt][[ltAckgt][[lterrModegt][[ltHeaderTypegt][[ltAsyncModegt][[ltTimeoutValgt]]]]]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPCCFG

ResponseSet default valueOK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltNmRetrygt Integer type number of retransmission to be made for an IP packetRange is 0-10 The default value is 10

ltDelayTmgt Integer type number of milliseconds to delay to output data ofReceiving Range is 0-1000 The default value is 0

ltAckgt Integer type it can only be set to 0Itrsquos used to be compatible with old TCPIP command set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 270451

lterrModegt Integer type sets mode of reporting lterr_infogt default value is 10 error result code with numeric values1 error result code with string values

ltHeaderTypegt Integer type select which data header is used when receiving data itonly takes effect in multi-client mode Default value is 00 add data header the format is +IPDltdata lengthgt1 add data header the format is +RECEIVEltlink numgtltdatalengthgt

ltAsyncModegt Integer type range is 0-1 Default value is 0Itrsquos used to be compatible with old TCPIP command set

ltTimeoutValgt Integer type set the minimum retransmission timeout value for TCPconnection Range is 500ms-120000ms Default is 500ms

Example

AT+CIPCCFG=+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKAT+CIPCCFG=35000111500OK

11214 AT+SERVERSTART Startup TCP server

AT+SERVERSTART Startup TCP serverTest CommandAT+SERVERSTART=

Response+SERVERSTART (0-65535)(0-3)

OKRead CommandAT+SERVERSTART

ResponseIf the PDP context has not been activated successfully response+CIPERROR lterrgt

ERRORIf there exists opened server response[+SERVERSTART ltserver_indexgtlt portgthellip]

OKOtherERROR

Write Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 271451

AT+SERVERSTART=ltportgtltserver_indexgt

If there is no error responseOKIf the PDP context has not been activated or the server identified byltserver_indexgt has been opened or the parameter is not correct orother errors response+CIPERROR lterrgt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltportgt Integer type identifies the listening port of module when used as aTCP server Range is 0-65535

ltserver_indexgt Integer type the TCP server index range is 0-3

Example

AT+SERVERSTART=+SERVERSTART (0-65535)(0-3)

OKAT+SERVERSTART=80801OK

After the AT+SERVERSTART executes successfully an unsolicited result code is returned when aclient tries to connect with module and module accepts request The unsolicited result code is+CLIENTlt link_numgtltserver_indexgtltclient_IPgtltportgt

11215 AT+SERVERSTOP Stop TCP server

AT+SERVERSTOP Stop TCP serverWrite CommandAT+SERVERSTOP=ltserver_indexgt

ResponseIf there exists open connection with the server identified byltserver_indexgt or the server identified by ltserver_indexgt has not

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 272451

been opened or the parameter is incorrect response+SERVERSTOP ltserver_indexgtlterrgt

ERRORIf the server socket is closed immediately response+SERVERSTOP ltserver_indexgt0

OK(In general the result is shown as below)If the server socket starts to close responseOK

+SERVERSTOP ltserver_indexgtlterrgtOtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltserver_indexgt Integer type the TCP server index range is 0-3lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+SERVERSTOP=0+SERVERSTOP 00

OK

Before stopping a TCP server all sockets ltserver_indexgt of which equals to the closing TCP serverindex must be closed first

11216 AT+CIPACK QueryTCP connection data transmitting status

AT+CIPACK Query TCP connection data transmitting statusTest CommandAT+CIPACK=

Response+CIPACK (0-9)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 273451

OKWrite CommandAT+CIPACK=ltlink_numgt

ResponseIf the PDP context has not been activated or the connectionidentified by ltlink_numgt has not been established abnormallyclosed or the parameter is incorrect or other errors response+IP ERROR lterr_infogt

ERRORIf the connection has been established and the service type isTCP response+CIPACK ltsent_data_sizegtltack_data_sizegtltrecv_data_sizegt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltsent_data_sizegt Integer type the total length of sent dataltack_data_sizegt Integer type the total length of acknowledged dataltrecv_data_sizegt Integer type the total length of received datalterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPACK=+CIPACK (0-9)

OKAT+CIPACK=0+CIPACK 16165

OK

113 DNS amp PING

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 274451

1131 AT+CDNSGIP Query the IP address of given domain name

AT+CDNSGIP Query the IP address of given domain nameTest CommandAT+CDNSGIP=

ResponseOK

Write CommandAT+CDNSGIP=ltdomainnamegt

ResponseIf the given domain name has related IP response+CDNSGIP 1ltdomain namegtltIP addressgt

OKIf the given name has no related IP response+CDNSGIP 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type indicates the IP address corresponding to the domainname

ltdns error codegt Integer type indicates the error code10 DNS GENERAL ERROR

Example

AT+CDNSGIP=wwwbaiducom+CDNSGIP 1wwwbaiducom6113516921

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 275451

1132 AT+CDNSGHNAME Query the domain name of given IP address

AT+CDNSGHNAME Query the domain name of given IP addressTest CommandAT+CDNSGHNAME=

ResponseOK

Write CommandAT+CDNSGHNAME=ltIPaddressgt

ResponseIf the given IP address has related domain name response+CDNSGHNAME ltindexgtltdomain namegtltIP addressgt

OKIf the given IP address has no related domain name response+CDNSGHNAME 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type (string should be included in quotation marks) indicatesthe IP address corresponding to the domain name

ltdns error codegt Integer type which indicates the error code10 DNS GENERAL ERROR

ltindexgt Integer type which indicates DNS result indexThis value is always 1 if performing successfully Currently only thefirst record returned from the DNS server will be reported

Example

AT+CDNSGHNAME=5832231148+CDNSGHNAME 1mailsimcom5832231148

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 276451

1133 AT+CIPDNSSET Set DNS query parameters

AT+CIPDNSSET Set DNS query parametersRead CommandAT+CIPDNSSET

Response+CIPDNSSET 3300007

OKWrite CommandAT+CIPDNSSET=[ltmax_net_retriesgt][[ltnetopen_timeoutgt][[ltmax_query_retriesgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmax_net_retriesgt Integer type maximum retry times for opening PS network to performDNS query Range is 0-3 Default is 3

ltnetopen_timeoutgt Integer type timeout value for each opening PS network operationwhen performing DNS query Range is 3000ms-120000ms Defaultvalue is 30000ms

ltmax_query_retriesgt Integer type maximum retry times for performing DNS query usingUDP packet Range is 0-7 Default value is 7

Example

AT+CIPDNSSET+CIPDNSSET 1300003

OKAT+CIPDNSSET=1300001OK

1134 AT+CPING Ping destination address

AT+CPING Ping destination address

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 277451

Test CommandAT+CPING=

Response+CPING IP address (list of supportedltdest_addr_typegts)(1-100)(4-188)(1000-10000)(10000-100000)(16-255)

OKWrite CommandAT+CPING=ltdest_addrgtltdest_addr_typegt[ltnum_pingsgt[ltdata_packet_sizegt[ltinterval_timegt[ltwait_timegt[ltTTLgt]]]]]

ResponseOK

If pingrsquos result_type = 1+CPINGltresult_typegtltresolved_ip_addrgtltdata_packet_sizegtltrttgtltTTLgt

If pingrsquos result_type = 2+CPING ltresult_typegt

If pingrsquos result_type = 3+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

Parameter Saving Mode -Max Response Time -Reference -

Defined values

ltdest_addrgt The destination is to be pinged it can be an IP address or a domainname

ltdest_addr_typegt Integer type Address family type of the destination address1 ndash IPv42 ndash IPv6(reserved)

ltnum_pingsgt Integer type The num_pings specifies the number of times the pingrequest (1-100) is to be sent The default value is 4

ltdata_packet_sizegt Integer type Data byte size of the ping packet (4-188) The defaultvalue is 64 bytes

ltinterval_timegt Integer type Interval between each ping Value is specified inmilliseconds (1000ms-10000ms) The default value is 2000ms

ltwait_timegt Integer type Wait time for ping response A ping response receivedafter the timeout shall not be processed Value specified inmilliseconds (10000ms-100000ms) The default value is 10000ms

ltTTLgt Integer type TTL (Time-To-Live) value for the IP packet over which theping (ICMP ECHO Request message) is sent (16-255) the defaultvalue is 255

ltresult_typegt 1 ndash Ping success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 278451

2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTTltresolved_ip_addrgt Indicates the resolved ip addressltrttgt Round Trip Time

Example

AT+CPING=wwwbaiducom1464100010000255OK

+CPING 1119752175664410255

+CPING 1119752175664347255

+CPING 1119752175664346255

+CPING 1119752175664444255

+CPING 3440346444386

1135 AT+CPINGSTOP Stop an ongoing ping session

AT+CPINGSTOP Stop an ongoing ping sessionTest CommandAT+CPINGSTOP=

ResponseOK

Execution CommandAT+CPINGSTOP

Success response+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

OKElseERROR

Parameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 279451

Max Response Time -Reference -

Defined values

ltresult_typegt 1 ndash Ping success2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltresolved_ip_addrgt Indicates the resolved ip addressltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTT

Example

AT+CPINGSTOP+CPING 3220464947

OK

114 Information Elements related to TCPIP

Information Description+CIPEVENT NETWORK CLOSEDUNEXPECTEDLY

Network is closed for network error (Out of service etc)When this event happens userrsquos application needs to checkand close all opened sockets and then usesAT+NETCLOSE to release the network library ifAT+NETOPEN shows the network library is still opened

+IPCLOSEltclient_indexgtltclose_reasongt

Socket is closed passivelyltclient_indexgt is the link numberltclose_reasongt0 - Closed by local active1 - Closed by remote passive2 - Closed for sending timeout

+CLIENT ltlink_numgtltserver_indexgtltclient_IP

While TCP server accepted a new socket client the indexisltlink_numgt The TCP server index is ltserver_indexgt The

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 280451

gtltportgt peer IP address is ltclient_IPgt The peer port is ltportgt

115 Description of lterr_infogt

The fourth parameter lterrModegt of AT+CIPCCFG is used to determine how lterr_infogt is displayedIf lterrModegt is set to 0 the lterr_infogt is displayed with numeric valueIf lterrModegtis set to 1 the lterr_infogt is displayed with string valueThe default is displayed with string value

Numeric Value String Value21 Operation failed0 Connection time out1 Bind port failed2 Port overflow

3 Create socket failed

4 Network is already opened

5 Network is already closed

6 No clients connected

7 No active client

8 Network not opened

9 Client index overflow

10 Connection is already created

11 Connection is not created

12 Invalid parameter

13 Operation not supported

14 DNS query failed

15 TCP busy

16 Netclose failed for socket opened

17 Sending time out

18 Sending failure for network error

19 Open failure for network error

20 Server is already listening

22 No data

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 281451

116 Description of lterrgt

lterrgt Description of lterrgt0 Operation succeeded1 Network failure2 Network not opened3 Wrong parameter4 Operation not supported5 Failed to create socket6 Failed to bind socket7 TCP server is already listening8 Busy9 Sockets opened10 Timeout11 DNS parse failed for AT+CIPOPEN12 Unknown error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 282451

12AT Commands for FTP(S)

121 Overview of AT Commands for FTP(S)

Command DescriptionAT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTOP Stop FTP(S) ServiceAT+CFTPSLOGIN Login to a FTP(S) serverAT+CFTPSLOGOUT Logout FTP(S) serverAT+CFTPSMKD Create a new directory on FTP(S) serverAT+CFTPSRMD Delete a directory on FTP(S) serverAT+CFTPSDELE Delete a file on FTP(S) serverAT+CFTPSCWD Change the current directory on FTP(S) serverAT+CFTPSPWD Get the current directory on FTP(S) serverAT+CFTPSTYPE Set the transfer type on FTP(S) serverAT+CFTPSLIST List the items in the directory on FTP(S) serverAT+CFTPSGETFILE Get a file from FTP(S) server to moduleAT+CFTPSPUTFILE Put a file from module to FTP(S) serverAT+CFTPSGET Get a file from FTP(S) server to serial portAT+CFTPSPUT Put a file to FTP(S) server through serial portAT+CFTPSSINGLEIP Set FTP(S) data socket address typeAT+CFTPSCACHERD Output cached data to MCUAT+CFTPSABORT Abort FTP(S) operationsAT+CFTPSSIZE Get the File Size on FTP(S) server

122 Detailed Description of AT Commands for FTP(S)

1221 AT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTART Start FTP(S) serviceExecution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 283451

AT+CFTPSSTART OK

+CFTPSSTART lterrcodegtor+CFTPSSTART lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of start FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTARTOK

+CFTPSSTART 0

1222 AT+CFTPSSTOP Stop FTP(S) Service

AT+CFTPSSTOP Stop FTP(S) ServiceExecution CommandAT+CFTPSSTOP

ResponseOK

+CFTPSSTOP lterrcodegtor+CFTPSSTOP lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 284451

Defined Values

lterrcodegt The result of stop FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTOPOK

+CFTPSSTOP 0

1223 AT+CFTPSLOGIN Login to a FTP(S) server

AT+CFTPSLOGIN Login to a FTP(S) serverTest CommandAT+CFTPSLOGIN=

Response+CFTPSLOGINADDRESS(1-65535)[USERNAMEPASSWORD[(0-3)]]

OKWrite CommandAT+CFTPSLOGIN=lthostgtltportgtltusernamegtltpasswordgt[ltserver_typegt]

ResponseOK

+CFTPSLOGIN lterrcodegtor+CFTPSLOGIN lterrcodegt

OKor+CFTPSLOGIN lterrcodegt

ERRORorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lthostgt Host address string type maximum length is 256ltportgt The host listening port for FTP(S) the range is from 1 to 65535

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 285451

ltusernamegt FTP(S) user name string type maximum length is 256ltpasswordgt The user password string type maximum length is 256ltserver_typegt FTP(S)server typenumericfrom0-3default is 3

0 FTP server1 Explicit FTPS server with AUTH SSL2 Explicit FTPS server with AUTH TLS3 Implicit FTPS server

lterrcodegt The result code of the FTPFTPS login 0 is success Others arefailure please refer to chapter 1231

Example

AT+CFTPSLOGIN=112749316321tmftmf1230OK

+CFTPSLOGIN 0

1224 AT+CFTPSLOGOUT Logout FTP(S) server

AT+CFTPSLOGOUT Logout FTP(S) serverTest CommandAT+CFTPSLOGOUT=

ResponseOK

Execution CommandAT+CFTPSLOGOUT

ResponseOK

+CFTPSLOGOUT lterrcodegtor+CFTPSLOGOUT lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result code of the FTPFTPS logout 0 is success Others arefailure please refer to chapter 1231

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 286451

Example

AT+CFTPSLOGOUTOK

+CFTPSLOGOUT 0

1225 AT+CFTPSMKD Create a new directory on FTP(S) server

AT+CFTPSMKD Create a new directory on FTP(S) serverTest CommandAT+CFTPSMKD=

Response+CFTPSMKD DIR

OKWrite CommandAT+CFTPSMKD=ltdirgt

ResponseOK

+CFTPSMKD 0orOK

+CFTPSMKD lterrcodegt

orERRORor+CFTPSMKD lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgt The directory to be created string type maximum length is 256lterrcodegt The result of create directory 0 is success others are failure please

refer to chapter 1231

Example

AT+CFTPSMKD=TEST

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 287451

OK

+CFTPSMKD 0

1226 AT+CFTPSRMD Delete a directory on FTP(S) server

AT+CFTPSRMD Delete a directory on FTP(S) serverTest CommandAT+CFTPSRMD=

Response+CFTPSRMD DIR

OKWrite CommandAT+CFTPSRMD=ltdirgt

Response1)if delete the directory successfullyOK

+CFTPSRMD 02)if delete the directory failedOK

+CFTPSRMD lterrcodegt3) if parameter format or any errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be removed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type maximum length is 256

lterrcodegtThe result of remove directory 0 is success others are failure pleaserefer to chapter 1231

Example

AT+CFTPSRMD=testOK

+CFTPSRMD 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 288451

1227 AT+CFTPSDELE Delete a file on FTP(S) server

AT+CFTPSDELE Delete a file on FTP(S)serverTest CommandAT+CFTPSDELE=

Response+CFTPSDELE FILENAME

OKWrite CommandAT+CFTPSDELE=ltfilenamegt

Response1)if delete file successfullyOK

+CFTPSDELE 02)if failedOK

+CFTPSDELE lterrcodegt3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt The name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegt The result of delete a file 0 is success others are failureplease referto chapter 1231

Example

AT+CFTPSDELE=TESTtxtOK

+CFTPSDELE 0

1228 AT+CFTPSCWD Change the current directory on FTP(S) server

AT+CFTPSCWD Change the current directory on FTP(S) serverTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 289451

AT+CFTPSCWD= +CFTPSCWD DIR

OKWrite CommandAT+CFTPSCWD=ltdirgt

Response1)if delete file successfullyOK

+CFTPSCWD 02)if failedOK

+CFTPSCWD lterrcodegt2)if failed+CFTPSCWD lterrcodegt

ERROR3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be changed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change the current directory 0 is success others arefailure please refer to chapter 1231

Example

AT+CFTPSCWD=luliuTEST7600

OK

+CFTPSCWD 0

1229 AT+CFTPSPWD Get the current directory on FTP(S) server

AT+CFTPSPWD Get the current directory on FTP(S) serverExecution CommandAT+CFTPSPWD

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 290451

+CFTPSPWD ltdirgtor+CFTPSPWD ltdirgt

OKor+CFTPSPWD lterrcodegt

ERRORorOK

+CFTPSPWD lterrcodegtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change current directory 0 is success others are failureplease refer to chapter 1231

Example

AT+CFTPSPWDOK

+CFTPSPWD test12

12210 AT+CFTPSTYPE Set the transfer type on FTP(S) server

AT+CFTPSTYPE Set the transfer type on FTP(S) serverTest CommandAT+CFTPSTYPE=

Response+CFTPSTYPE (AI)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 291451

Read CommandAT+CFTPSTYPE

Response+CFTPSTYPE lttypegt

OKWrite CommandAT+CFTPSTYPE=lttypegt

Responsea)if set type successfullyOK

+CFTPSTYPE 0b)if set type failedOK

+CFTPSTYPE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

lttypegtThe type of transferringA ASCIII Binary

lterrcodegtThe result of set type 0 is success others are failure please refer tochapter 1231

Example

AT+CFTPTYPE=AOK

+CFTPSTYPE 0

12211 AT+CFTPSLIST List the items in the directory on FTP(S) server

AT+CFTPSLIST List the items in the directory on FTP(S) serverWrite CommandAT+CFTPSLIST[=ltdirgt]

Responsea)if set type successfullyOK

+CFTPSLIST DATAltlengthellip+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 292451

b)if set type failedOK

+CFTPSLIST lterrcodegtc)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be listed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type the maximum length is 256

lterrcodegtThe result code of the listing0 is success others are failurepleaserefer to chapter1231

Example

AT+CFTPSLIST=OK

+CFTPSLIST DATA1480-rw-r--r-- 1 ftp ftp 10 Mar 191351 111TXT-rw-r--r-- 1 ftp ftp 7 Mar 181039 1111txt-rw-r--r-- 1 ftp ftp 10240 Mar 231020 112txt-rw-r--r-- 1 ftp ftp 10 Mar 161526 11K4txt-rw-r--r-- 1 ftp ftp 1434 Mar 181047 1434Btxt-rw-r--r-- 1 ftp ftp 307200 Mar 181040 300Ktxt-rw-r--r-- 1 ftp ftp 9 Mar 181053 333txt-rw-r--r-- 1 ftp ftp 16 Mar 171411 36txt

+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 293451

12212AT+CFTPSGETFILE Get a file from FTP(S) server to module

AT+CFTPSGETFILE Get a file from FTP(S) server to moduleTest CommandAT+CFTPSGETFILE=

Response+CFTPSGETFILE [non-ascii]FILEPATH[(1-4)]

OKWrite CommandAT+CFTPSGETFILE=ltfilepathgt[ltdirgt[ltoffsetgt]]

Responsea) if download file successfully OK

+CFTPSGETFILE 0b) if failedOK

+CFTPSGETFILE lterrcodegtc) if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt

The remote file path When the file path doesnrsquot contain thiscommand transfers file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parametershould contain a prefix of non-asciiString type maximum length is256

ltdirgt

The directory to save the downloaded fileNumeric type range is1-4default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

ltoffsetgtInteger type the download start position used forresume-from-break-point

lterrcodegtThe result code of download file from FTP(s) server0 is successothers are failureplease refer to chapter 1231

Example

AT+CFTPSGETFILE=settingsdat3OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 294451

+CFTPSGETFILE 0

12213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server

AT+CFTPSPUTFILE Put a file from module to FTP(S) serverTest CommandAT+CFTPSPUTFILE=

Response+CFTPSPUTFILE[non-ascii]FILEPATH[(1-3)(0-2147483647)]

OKWrite CommandAT+CFTPSPUTFILE=ltfilepathgt[ltdirgt[ltrest_sizegt]]

Responsea)if upload file successfully OK

+CFTPSPUTFILE 0b)if failedOK

+CFTPSPUTFILE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Valuesltfilepathgt The remote file path When the file path doesnrsquot contain this

command transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdirgt The directory that contains the uploaded file Numeric type range is1-3 default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload file to FTP(S)server0 is success others arefailureplease refer to chapter1231

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 295451

AT+CFTPSPUTFILE=LKLMsim_ZXXTXTOK

+CFTPSPUTFILE 0

12214 AT+CFTPSGET Get a file from FTP(S) server to serial port

AT+CFTPSGET Get a file from FTP(S) server to serial portTest CommandAT+CFTPSGET=

Response+CFTPSGET [non-ascii]FILEPATH[ltrest_sizegt[(01)]]

OKWrite CommandAT+CFTPSGET=ltfilepathgt[ltrest_sizegt[ltusing_cachegt]]

Responsea)ifltusing_cachegt is 0(default)and get file successfully

OK

+CFTPSGET DATAltlengthellip+CFTPSGET DATA ltlengthelliphellip+CFTPSGET 0b) if ltusing_cachegt is 1 and get file successfullyOK

+CFTPS RECV EVENT

AT+CFTPSCACHERDyou can use this command to check the size of the received data+CFTPSCACHERD 102400

OK

output cached data nowAT+CFTPSCACHERD+CFTPSGET DATAltlengthellipOKhellip+CFTPSGET 0c)if failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 296451

OK

+CFTPSGET lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfer file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

ltusing_cachegt Numeric rang is 0-10ndashDo not use cache module will output the items data to serial portwhen list successfully1 ndash Use cache module will report +CFTPS RECV EVENT when listsuccessfully (Data will be output using AT+CFTPSCACHERDcommand)

lterrcodegt The result code of download file from FTP(s) server0 is successothers are failure please refer to chapter 1231

Example

AT+CFTPSGET=BBBTXTOK

+CFTPSGET DATA110FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH+CFTPSGET 0

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port

AT+CFTPSPUT Put a file to FTP(S) server through serial portTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 297451

AT+CFTPSPUT= +CFTPSPUT [non-ascii]FILEPATH[ltdata_lengt[ltrest_sizegt]]

OKWrite CommandAT+CFTPSPUT=ltfilepathgt[ltdata_lengt[ltrest_sizegt]]

Responsea)if upload file through serial port successfullyOK

+CFTPSPUT 0

b)if failed before input data+CFTPSPUT lterrcodegt

ERROR

c)if failed after input dataOK

+CFTPSPUT lterrcodegtd)if parameter format i or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdata_lengt Numeric typeThe length of the data to send the maximum length is2048if parameterltdata_lengt is omitted Each ltCtrl+Zgtcharacterpresent in the data flow of serial port when downloading FTP data willbe coded as ltETXgtltCtrl+Zgt Each ltETXgt character will be coded asltETXgtltETXgt Single ltCtrl+Zgt means end of the FTP dataltETXgt is0x03 and ltCtrl+Zgt is 0x1A

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload data to FTP(s) server0 is success othersare failure please refer to chapter 1231

Example

AT+CFTPSPUT=LKLMLOTXT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 298451

gt123457860OK

+CFTPSPUT 0

12216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type

AT+CFTPSSINGLEIP Set FTP(S) data socket address typeTest CommandAT+CFTPSSINGLEIP=

Response+CFTPSSINGLEIP (01)

OKRead CommandAT+CFTPSSINGLEIP

Response+CFTPSSINGLEIP ltsingleipgt

OKWrite CommandAT+CFTPSSINGLEIP=ltsingleipgt

ResponseIf parameter format is right and set successfullyOK

If parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsingleipgtThe FTPS data socket IP address type0 decided by PORT response from FTPS server1 the same as the control socket

Example

AT+CFTPSSINGLEIP=1OK

12217 AT+CFTPSCACHERD Output cached data to MCU

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 299451

AT+CFTPSCACHERD Output cached data to MCURead CommandAT+CFTPSCACHERD

Response+CFTPSCACHERD ltlengt

OKExecution CommandAT+CFTPSCACHERD

ResponseIf cache data is AT+CFTPSGET and everything goes well

+CFTPSGET DATAltout_lengtltCRgtltLFgthellip

OKorOK

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltlengt Numeric type The bytes of data cached in FTPS module

ltout_lengtThe bytes of data to output The maximum value is 1024 for eachAT+CFTPSCACHERD calling

Example

AT+CFTPSCACHERD+CFTPSCACHERD 21078

OK

12218 AT+CFTPSABORT Abort FTP(S) Operations

AT+CFTPSABORT Abort FTP(S) OperationsExecution CommandAT+CFTPSABORT

Responseif abort FTP(S) operation successfullyOK

+CFTPSABORT 0

sometimes abort successfully returns+CFTPSABORT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 300451

OK

if failedOK

+CFTPSABORT lterrcodegt

if any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of abort FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSABORTOK

+CFTPSABORT 0

12219 AT+CFTPSSIZE Get the File Size on FTP(S) server

AT+CFTPSSIZE Get the File Size on FTP(S) serverTest CommandAT+CFTPSSIZE=

Response+CFTPSSIZE ltfilepathgt

OKWrite CommandAT+CFTPSSIZE=ltfilepathgt

ResponseOK

+CFTPSSIZE ltfilesizegtorOK

+CFTPSSIZE lterrcodegtor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 301451

ERRORor+CFTPSSIZE lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote filepath on FTP(S) serverString typemax length is 256ltfilesizegt Numeric typesize of the remote file on FTP(S) serverlterrcodegt The result code of get file size Please refer to chapter 1231

Example

AT+CFTPSSIZE=TESTtxtOK

+CFTPSSIZE 1024

123 Summary of result codes for FTPS

1231 Summary of Command result lterrcodegt

Code of lterrcodegt Meaning0 Success1 SSL alert2 Unknown error3 Busy4 Connection closed by server5 Timeout6 Transfer failed7 File not exists or any other memory error8 Invalid parameter9 Operation rejected by server10 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 302451

11 State error12 Failed to parse server name13 Create socket error14 Connect socket failed15 Close socket failed16 SSL session closed17 File errorfile not exist or other error421 Server response connection time out while received error code

421you need do AT+CFTPSLOGOUT to logout server thenAT+CFTPSLOGIN again for further operations

1232 Summary of Unsolicited Result Codes

Unsolicited codes Description+CFTPSNOTIFY PEERCLOSED

When client disconnect passively URC +CFTPSNOTIFY PEERCLOSED will be reported then user need to executeAT+CFTPSLOGOUT andlog in again

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 303451

13AT Commands for HTTPS

131 Overview of AT Commands for HTTPS

Command DescriptionAT+HTTPINIT Start HTTP(S) serviceAT+HTTPTERM Stop HTTP(S) serviceAT+HTTPPARA Set HTTP(S) Parameters valueAT+HTTPACTION HTTP(S) Method ActionAT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseAT+HTTPREAD Read the response Information of HTTP(S) ServerAT+HTTPDATA Input HTTP(S) DataAT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileAT+HTTPREADFILE Receive HTTP(S) Response Content to a file

132 DetailedDescription of AT Commands for HTTPS

1321 AT+HTTPINIT Start HTTP(S) service

AT+HTTPINIT is used to start HTTP service by activating PDP context You must execute AT+HTTPINITbefore any other HTTP related operations

AT+HTTPINIT Start HTTP(S) serviceExecution CommandAT+HTTPINIT

Responsea)If start HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 304451

AT+HTTPINITOK

1322 AT+HTTPTERM Stop HTTP(S) Service

AT+HTTPTERM is used to stop HTTP service

AT+HTTPTERM Stop HTTP(S) serviceExecution CommandAT+HTTPTERM

Responsea)If stop HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

AT+HTTPTERMOK

1323 AT+HTTPPARA Set HTTP(S) Parameters value

AT+HTTPPARA is used to set HTTP parameters value When you want to access to a HTTP server youshould input ltvaluegt like httprsquoserverrsquorsquopathrsquorsquotcpPortrsquo In addition httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquo is used toaccess to a HTTPS server

AT+HTTPPARA Set HTTP(S) Parameters valueWrite CommandAT+HTTPPARA=URLlturlgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=CONNECTTOltconn_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=RECVTOltrecv_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occur

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 305451

ERRORWrite CommandAT+HTTPPARA=CONTENTltcontent_typegt

Responsea)If parameter format is rightOKb) If parameter format is not rightor other errors occurERROR

Write CommandAT+HTTPPARA=ACCEPTltaccept-typegt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=UAltuser_agentgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=SSLCFGltsslcfg_idgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=USERDATAltuser_datagt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKltbreakgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKENDltbreakendgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=VERSIONltversiongt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time 120000msReference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 306451

Defined Values

lturlgt URL of network resourceStringstart with http orhttpsa)httprsquoserverrsquorsquopathrsquorsquotcpPortrsquob)httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquoserver DNS domain name or IP addresspath path to a file or directory of a servertcpPort http default value is 80https default value is 443(can beomitted)

ltconn_timeoutgt Timeout for accessing server Numeric type range is 20-120s defaultis 120s

ltrecv_timeoutgt Timeout for receiving data from server Numeric type range is 2-120sdefault is 10s

ltcontent_typegt This is for HTTP Content-Type tag String type max length is256default is textplain

ltaccept-typegt This is for HTTP Accept-type tag String type max length is256default is

ltuser_agentgt Parameter for HTTP header User-Agent informationString typemax length is 256

ltsslcfg_idgt This is setting SSL context id Numeric type range is 0-9 Default is 0ltuser_datagt The customized HTTP header information String typemax length is

512ltbreakgt Parameter for HTTP method GET used for resuming broken

transfer The start of the broken transfer Default is 0ltbreakendgt Parameter for HTTP method GET used for resuming broken

transfer The end of the broken transfer Default is 0If both break and breakend are 0 the resume broken transferfunction is disabledIf breakend is bigger than break the transfer scope is from breakto breakendIf breakend is smaller than break the transfer scope is from breakto the end of the file

ltversiongt Parameter for HTTP version numeric type0 HTTP101 HTTP11

Example

AT+HTTPPARA=USERDATASOK

1324 AT+HTTPACTION HTTP(S) Method Action

AT+HTTPACTION is used to perform a HTTP Method You can use HTTPACTION to send a getpost

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 307451

request to a HTTPHTTPS server

AT+HTTPACTION HTTP(S) Method ActionTest CommandAT+HTTPACTION=

Response+HTTPACTION (0-3)

OKWrite CommandAT+HTTPACTION=ltmethodgt

Responsea)If parameter format is right OK

+HTTPACTION ltmethodgtltstatuscodegtltdatalengtb)If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltmethodgt HTTP method specification0 GET1 POST2 HEAD3 DELETE

ltstatuscodegt Please refer to chapter 1331ltdatalengt The length of data received

Example

AT+HTTPACTION=1OK

+HTTPACTION 12002800

1325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response

AT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseExecution CommandAT+HTTPHEAD

Responsea)If read the header information successfully+HTTPHEAD DATAltdata_lengtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 308451

OKb)If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdata_lengt The length of HTTP headerltdatagt The header information of HTTP response

Example

AT+HTTPHEAD+HTTPHEAD DATA750HTTP11 200 OKDate Thu 29 Mar 2018 092112 GMTContent-Type texthtmlContent-Length 14615Last-Modified Thu 15 Mar 2018 082300GMTConnection Keep-AliveVary Accept-EncodingSet-CookieBAIDUID=EF38663A5539EBEAE702321037D5491BFG=1 expires=Thu 31-Dec-37235555 GMT max-age=2147483647 path=domain=baiducomSet-CookieBIDUPSID=EF38663A5539EBEAE702321037D5491B expires=Thu 31-Dec-37 235555GMT max-age=2147483647 path=domain=baiducomSet-Cookie PSTM=1522315272expires=Thu 31-Dec-37 235555 GMTmax-age=2147483647 path=domain=baiducomP3P CP= OTI DSP COR IVA OUR IND COM Server BWS11X-UA-Compatible IE=Edgechrome=1Pragma no-cacheCache-control no-cacheAccept-Ranges bytes

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 309451

OK

1326 AT+HTTPREAD Read the Response Information of HTTP(S) Server

After sending HTTP(S) GETPOST requests you can retrieve HTTP(S) response information from HTTP(S)server via UARTUSB port by AT+HTTPREAD When the ltdata_lengt of +HTTPACTIONltmethodgtltstatuscodegtltdata_lengt is not equal to 0 you can read the response information from HTTP(S)server by AT+HTTPREAD You can execute AT+HTTPREAD to check the total data saved in buffer thenAT+HTTPREAD=ltbyte_sizegt to read out data to port If parameter ltbyte_sizegt is set greater than the sizeof data saved in buffer all data in buffer will output to port

AT+HTTPREAD Read the Response Information of HTTP(S) ServerRead CommandAT+HTTPREAD

Responsea)If check successfully+HTTPREAD LENltlengt

OKb)If failed(no more data other error)ERROR

Write CommandAT+HTTPREAD=ltstart_offsetgtltbyte_sizegt

Responsea)If read the response info successfullyOK

+HTTPREAD DATAltdata_lengtltdatagt[+HTTPREAD DATAltdata_lengtltdatagthellip]+HTTPREAD 0If ltbyte_sizegt is bigger than the data size received module will onlyreturn actual data sizeb) If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstart_offsetgt The start position of readingltbyte_sizegt The length of data to readltdata_lengt The actual length of read dataltdatagt Response content from HTTP server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 310451

ltlengt Total size of data saved in buffer

Example

AT+HTTPREAD=010OK

+HTTPREAD DATA10ltdoctyped+HTTPREAD 0

1327 AT+HTTPDATA Input HTTP(S) Data

You can use AT+HTTPDATA to input data to post when you send a HTTPHTTPS POST request

AT+HTTPDATA Input HTTP(S) DataWrite CommandAT+HTTPDATA=ltsizegtlttimegt

Response

a)if parameter format is right

DOWNLOAD

ltinput data heregt

When the total size of the inputted data reaches ltsizegt TA willreport the following code Otherwise the serial port will be blocked

OK

b)If parameter format is wrong or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsizegt Size in bytes of the data to post range is 1- 153600 (bytes)lttimegt Maximum time in seconds to input data range is 10-65535

Example

AT+HTTPDATA=1410000DOWNLOAD1234567890qwerOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 311451

1328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File

You can send HTTP request in a file via AT+HTTPPOSTFILE command The URL must be set byAT+HTTPPARA before executing AT+HTTPPOSTFILE command if set ltsend_headergt to 0 you cancustomize any HTTP request in the file module will send the file as HTTP header and body else if setltsend_headergt to 1 modlue will package a HTTP request itself the file will be sent as HTTP body Theparameter ltpathgt can be used to set the file directory When module has received response from HTTPserver it will report the following URC+HTTPPOSTFILE ltmethodgt[lthttpstatuscodegt[ltcontent_lengthgt]]Note 1The parameterltmethodgtltsend_headergtltpathgtcan be omitted the default value ofltsend_headergt is 0 the defaultltpathgtis 1 (cache)default method is 1 (POST)

AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileTest CommandAT+HTTPPOSTFILE=

Response+HTTPPOSTFILE ltfilenamegt[(1-3)[(0-3)[(0-1)]]]

OKWrite CommandAT+HTTPPOSTFILE=ltfilenamegt[ltpathgt][ltmethodgt][ltsend_headergt]

Responsea)if parameter format is right and server connected successfullya1 server response and content is not null

OK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegtltcontent_lengta2 server response but has no contentOK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegt0

b)if parameter format is right but server connected unsuccessfullyOK

+HTTPPOSTFILE ltmethodgtlterrcodegt0

c)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgtThe directory where the sent file saved Numeric type range is 1-31 ndash F (cache)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 312451

2 ndash D(sd card)3 ndash E (datamedia)

ltmethodgt

HTTP method specification0 ndash GET1ndash POST2ndash HEAD3ndash DELETE

lthttpstatuscodegt Please refer to chapter 1331lterrcodegt Please refer to chapter1332

ltsend_headergt

Send file as HTTP header and Body or Only as Body Numeric typethe range is 0-1 the default is 00 ndashSend file as HTTP header and body1 ndash Send file as Body

Example

AT+HTTPPOSTFILE=baidutxt3OK

+HTTPPOSTFILE 17140

1329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file

After execute AT+HTTPACTIONAT+HTTPOSTFILE command You can receive the HTTP server responsecontent to a file via AT+HTTPREADFILE Before AT+HTTPREADFILE executed+HTTPACTIONltmethodgtlthttpstatuscodegtltcontent_lengt or +HTTPPOSTFILElthttpsatuscodegtltcontent_lengt must be received The parameter ltpathgt can be used to set the directorywhere to save the file If omit parameter ltpathgt the file will be save to cacheNote by setting ltpathgt to 4 you can download CA files which is used for SSL verification details pleaserefer SIM7500_SIM7600_SIM7800 Series_SSL_AT_Commands_Manual

AT+HTTPREADFILE Receive HTTP(S) Response Content to a FileTest CommandAT+HTTPREADFILE=

Response+HTTPREADTFILE ltfilenamegt[(1-4)]

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 313451

Write CommandAT+HTTPREADFILE=ltfilenamegt[ltpathgt]

Responsea)if parameter format is right OK

+HTTPREADFILE ltresultgt

b)if parameter format is right+HTTPREADFILE ltresultgt

OK

c)if failed+HTTPREADFILE ltresultgt

ERROR

d)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgt

1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

Example

AT+HTTPREADFILE=baidutxt3OK

+HTTPREADFILE 0

133 Summary of result codes for HTTPS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 314451

1331 Summary of HTTP(S) Response Code

Code of lthttpstatuscodegt Meaning100 Continue101 Switching Protocols200 OK201 Created201 Accepted203 Non-Authoritative Information204 No Content205 Reset Content206 Partial Content300 Multiple Choices301 Moved Permanently302 Found303 See Other304 Not Modified305 Use Proxy307 Temporary Redirect400 Bad Request401 Unauthorized402 Payment Required403 Forbidden404 Not Found405 Method Not Allowed406 Not Acceptable407 Proxy Authentication Required408 Request Timeout409 Conflict410 Gone411 Length Required412 Precondition Failed413 Request Entity Too Large414 Request-URI Too Large415 Unsupported Media Type416 Requested range not satisfiable417 Expectation Failed500 Internal Server Error501 Not Implemented502 Bad Gateway

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 315451

503 Service Unavailable504 Gateway timeout505 HTTP Version not supported600 Not HTTP PDU601 Network Error602 No memory603 DNS Error604 Stack Busy

1332 Summary of HTTP(S) error Code

HTTP error code Meaning+HTTP_PEER_CLOSED Itrsquos a notification messagewhile receivedit means the connection

has been closed by server+HTTP_NONET_EVENT Itrsquos a notification messagewhile received it means now the

network is unavailable

Code of lterrcodegt Meaning0 Success701 Alert state702 Unknown error703 Busy704 Connection closed error705 Timeout706 Receivesend socket data failed707 File not exists or other memory error708 Invalid parameter709 Network error710 start a new ssl session failed711 Wrong state712 Failed to create socket713 Get DNS failed714 Connect socket failed715 Handshake failed716 Close socket failed717 No network error718 Send data timeout719 CA missed720 Server response timeout

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 316451

14AT Commands for MQTT(S)

141 Overview of AT Commands for MQTT(S)

Command DescriptionAT+CMQTTSTART Start MQTT serviceAT+CMQTTSTOP STOP MQTT serviceAT+CMQTTACCQ Acquire a clientAT+CMQTTREL Release a clientAT+CMQTTSSLCFG Set the SSL contextAT+CMQTTWILLTOPIC Input the will topicAT+CMQTTWILLMSG Input the will messageAT+CMQTTDISC Disconnect from serverAT+CMQTTCONNECT Connect to MQTT serverAT+CMQTTTOPIC Input the publish message topicAT+CMQTTPAYLOAD Input the publish message bodyAT+CMQTTPUB Publish a message to serverAT+CMQTTSUBTOPIC Input a subscribe message topicAT+CMQTTSUB Subscribe a message to serverAT+CMQTTUNSUBTOPIC Input a unsubscribe message topicAT+CMQTTUNSUB Unsubscribe a message to serverAT+CMQTTCFG Configure the MQTT Context

142 Detailed Description of AT Commands for MQTT(S)

1421 AT+CMQTTSTART Start MQTT service

AT+CMQTTSTART Start MQTT serviceExecution CommandAT+CMQTTSTART

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 317451

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

OKorERROR

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTARTOK

+CMQTTSTART 0

It must be executed before any other MQTT related operations

1422 AT+CMQTTSTOP STOP MQTT service

AT+CMQTTSTOP STOP MQTT serviceExecution CommandAT+CMQTTSTOP

ResponseOK

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 318451

orERROR

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTOPOK

+CMQTTSTOP 0

1423 AT+CMQTTACCQ Acquire a client

AT+CMQTTACCQ Acquire a clientTest CommandAT+CMQTTACCQ=

Response+CMQTTACCQ (0-1)(1-128)(0-1)(3-4)

OKRead CommandAT+CMQTTACCQ

Response+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt

OKWrite CommandAT+CMQTTACCQ=ltclient_indexgtltclientIDgt[ltserver_typegt[ltmqtt_versiongt]]

ResponseOKor+CMQTTACCQ ltclient_indexgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 319451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltclientIDgt The UTF-encoded string It specifies a unique identifier for the clientThe string length is from 1 to 128 bytes

ltserver_typegt A numeric parameter that identifies the server type The default valueis 00 - MQTT server with TCP1 - MQTT server with SSLTLS

ltmqtt_versiongt A numeric parameter that identifies the MQTT protocol version Thepermitted value is 3 or 43 - MQTT version 314 - MQTT version 311

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTACCQ=0client test004OK

It must be called before all commands about MQTT connect and after AT+CMQTTSTART

1424 AT+CMQTTREL Release a client

AT+CMQTTREL Release a clientTest CommandAT+CMQTTREL=

Response+CMQTTREL (0-1)

OKRead CommandAT+CMQTTREL

ResponseOK

Write CommandAT+CMQTTREL=ltclient_indexgt

ResponseOKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 320451

+CMQTTREL ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTREL=0OK

It can be called when client does not connect to server

1425 AT+CMQTTSSLCFG Set the SSL context

AT+CMQTTSSLCFG Set the SSL contextTest CommandAT+CMQTTSSLCFG=

Response+CMQTTSSLCFG (01)(0-9)

OKRead CommandAT+CMQTTSSLCFG

Response+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]

OKWrite CommandAT+CMQTTSSLCFG=ltsession_idgtltssl_ctx_indexgt

ResponseOKorERROR

Defined Values

ltsession_idgt A numeric parameter that identifies a client The range of permitted

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 321451

values is 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CMQTTSSLCFG=01OK

If you donrsquot set the SSL context by this command before connecting to server byAT+CMQTTCONNECT the CMQTTCONNECT operation will use the SSL context as same as indexltsession_idgt (the 1st parameter of AT+ CMQTTCONNECT) when connecting to the server

1426 AT+CMQTTWILLTOPIC Input the will topic

AT+CMQTTWILLTOPIC Input the will topicTest CommandAT+CMQTTWILLTOPIC=

Response+CMQTTWILLTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTWILLTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTWILLTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic The will topic should be UTF-encoded stringThe range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 322451

AT+CMQTTWILLTOPIC=015gtsimcomwilltopicOK

1427 AT+CMQTTWILLMSG Input the will message

AT+CMQTTWILLMSG Input the will messageTest CommandAT+CMQTTWILLMSG=

Response+CMQTTWILLMSG (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTWILLMSG=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTWILLMSG ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input data The will message should be UTF-encodedstring The range is from 1 to 1024 bytes

ltqosgt The qos value of the will message The range is from 0 to 2lterrgt The result code please refer to chapter1431

Example

AT+CMQTTWILLMSG=0170gtsimcomwillmessageOK

1428 AT+CMQTTDISC Disconnect from server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 323451

AT+CMQTTDISC Disconnect from serverTest CommandAT+CMQTTDISC=

Response+CMQTTDISC (0-1)(060-180)

OKRead CommandAT+CMQTTDISC

Response+CMQTTDISC 0ltdisc_stategt+CMQTTDISC 1ltdisc_stategt

OKWrite CommandAT+CMQTTDISC=ltclient_indexgtlttimeoutgt

ResponseOK

+CMQTTDISC ltclient_indexgtlterrgtor+CMQTTDISC ltclient_indexgtlterrgt

OKor+CMQTTDISC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lttimeoutgt The timeout value for disconnection The unit is second The range is60s to 180s The default value is 0s (not set the timeout value)

ltdisc_stategt 1 - disconnection0 - connection

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTDISC=0120OK

+CMQTTDISC 00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 324451

1429 AT+CMQTTCONNECT Connect to MQTT server

AT+CMQTTCONNECT Connect to MQTT serverTest CommandAT+CMQTTCONNECT=

Response+CMQTTCONNECT (0-1)(9-256)(1-64800)(0-1)

OKRead CommandAT+CMQTTCONNECT

Response+CMQTTCONNECT0[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]+CMQTTCONNECT1[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]

OKWrite CommandAT+CMQTTCONNECT=ltclient_indexgtltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]

ResponseOK

+CMQTTCONNECT ltclient_indexgtlterrgtor+CMQTTCONNECT ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltserver_addrgt The string that described the server address and port The range ofthe string length is 9 to 256 bytes The string should be like thistcp1162471191655141 must begin with tcp If theltserver_addrgt not include the port the default port is 1883

ltkeepalive_timegt The time interval between two messages received from a client Theclient will send a keep-alive packet when there is no message sent toserver after song long time The range is from 1s to 64800s (18 hours)

ltclean_sessiongt The clean session flag The value range is from 0 to 1 and defaultvalue is 00 - the server must store the subscriptions of the client after itdisconnected This includes continuing to store QoS 1 and QoS 2messages for the subscribed topics so that they can be deliveredwhen the client reconnects The server must also maintain the state of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 325451

in-flight messages being delivered at the point the connection is lostThis information must be kept until the client reconnects1 - the server must discard any previously maintained informationabout the client and treat the connection as clean The server mustalso discard any state when the client disconnects

ltuser_namegt The user name identifies the name of the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

ltpasswordgt The password corresponding to the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTCONNECT=0tcphooleepingcom8883601OK

+CMQTTCONNECT 00

If you donrsquot set the SSL context by AT+CMQTTSSLCFG before connecting a SSLTLS MQTT server byAT+CMQTTCONNECT it will use the ltclient_indexgt (the 1st parameter of AT+CMQTTCONNECT)SSL context when connecting to the server

14210AT+CMQTTTOPIC Input the publish message topic

AT+CMQTTTOPIC Input the publish message topicTest CommandAT+CMQTTTOPIC=

Response+CMQTTTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTTOPIC ltclient_indexgtlterrgt

ERROR

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 326451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTTOPIC=011gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTPUB

14211 AT+CMQTTPAYLOAD Input the publish message body

AT+CMQTTPAYLOAD Input the publish message bodyTest CommandAT+CMQTTPAYLOAD=

Response+CMQTTPAYLOAD (0-1)(1-10240)

OKWrite CommandAT+CMQTTPAYLOAD=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOK+CMQTTPAYLOAD ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 327451

ltreq_lengthgt The length of input message data The publish message should beUTF-encoded string The range is from 1 to 10240 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPAYLOAD=013gtsimcompayloadOK

The payload will be clean after execute AT+CMQTTPUB

14212AT+CMQTTPUB Publish a message to server

AT+CMQTTPUB Publish a message to serverTest CommandAT+CMQTTPUB=

Response+CMQTTPUB (0-1)(0-2)(60-180)(0-1)(0-1)

OKWrite CommandAT+CMQTTPUB=ltclient_indexgtltqosgtltpub_timeoutgt[ltretainedgt [ltdupgt]]

ResponseOK

+CMQTTPUB ltclient_indexgtlterrgtor+CMQTTPUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltpub_timeoutgt The publishing timeout interval value Since the client publish amessage to server it will report failed if the client receive no response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 328451

from server after the timeout value seconds The range is from 60s to180s

ltretainedgt The retain flag of the publish message The value is 0 or 1 The defaultvalue is 0When a client sends a PUBLISH to a server if the retain flag is set to1 the server should hold on to the message after it has been deliveredto the current subscribers

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPUB=00120OK

+CMQTTPUB 00

14213AT+CMQTTSUBTOPIC Input a subscribe message topic

AT+CMQTTSUBTOPIC Input a subscribe message topicTest CommandAT+CMQTTSUBTOPIC=

Response+CMQTTSUBTOPIC (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTSUBTOPIC=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTSUBTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 329451

UTF-encoded string The range is from 1 to 1024 bytes

NOTE The max length of the total cached topics is 5120ltqosgt The publish messagersquos qos The range is from 0 to 2

0 ndash at most once1 ndash at least once2 ndash exactly once

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUBTOPIC=0110gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTSUB

14214AT+CMQTTSUB Subscribe a message to server

AT+CMQTTSUB Subscribe a message to serverTest CommandAT+CMQTTSUB=

Response+CMQTTSUB (0-1)(1-1024)(0-2)(0-1)

OKWrite Commandsubscribe one or more topicswhich input byAT+CMQTTSUBTOPICAT+CMQTTSUB=ltclient_indexgt[ltdupgt]

ResponseOK

+CMQTTSUB ltclient_indexgtlterrgtor+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command subcribe one topicAT+CMQTTSUB=ltclient_indexgtltreqLengthgtltqosgt[ltdupgt]

Responsegtltinput data heregtOK

+CMQTTSUB ltclient_indexgtlterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 330451

or+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUB=0OK

+CMQTTSUB 00

14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic

AT+CMQTTUNSUBTOPIC Input a unsubscribe message topicTest CommandAT+CMQTTUNSUBTOPIC=

Response+CMQTTUNSUBTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTUNSUBTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTUNSUBTOPIC ltclient_indexgtlterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 331451

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUBTOPIC=011gtsimcomtopicOK

The max length of the total cached topics is 5120The topic will be clean after execute AT+CMQTTUNSUB

14216AT+CMQTTUNSUB Unsubscribe a message to server

AT+CMQTTUNSUB Unsubscribe a message to serverTest CommandAT+CMQTTUNSUB=

Response+CMQTTUNSUB (0-1)(1-1024)(0-1)

OKWrite Command unsubscribe one or moretopics which input byAT+CMQTTUNSUBTOPICAT+CMQTTUNSUB=ltclient_indexgtltdupgt

ResponseOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 332451

unsubscribe one topicAT+CMQTTUNSUB=ltclient_indexgtltreqLengthgtltdupgt

gtltinput data heregtOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUB =00OK

+CMQTTUNSUB 00

14217AT+CMQTTCFG Configure the MQTT Context

AT+CMQTTCFG Configure the MQTT ContextTest CommandAT+CMQTTCFG=

Response+CMQTTCFG checkUTF8(0-1)(0-1)+CMQTTCFG optimeout(0-1)(20-120)+CMQTTCFGaliauth(0-1)productkeydevicenamedevicesecret

OKRead CommandAT+CMQTTCFG

Response+CMQTTCFG 0ltcheckUTF8_flaggtltoptimeout_valgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 333451

+CMQTTCFG 1ltcheckUTF8_flaggtltoptimeout_valgt

OKWrite CommandConfigure the check UTF8flag of the specified MQTTclient contextAT+CMQTTCFG=checkUTF8ltclient_indexgtltcheckUTF8_flaggt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the max timeoutinterval of the send or receivedata operationAT+CMQTTCFG=optimeoutltclient_indexgtltoptimeout_valgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the deviceinformation for Alibaba cloudAT+CMQTTCFG=aliauthltclient_indexgtltproductkeygtltdevicenamegtltdevicesecretgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcheckUTF8_flaggt The flag to indicate whether to check the string is UTF8 coding or notthe default value is 10 ndash Not check UTF8 coding1 ndash Check UTF8 coding

ltoptimeout_valgt The max timeout interval of sending or receiving data operation Therange is from 20 seconds to 120 seconds the default value is 120seconds

ltproductkeygt String type Product key issued by Alibaba Cloudltdevicenamegt String type Device name issued by Alibaba Cloudltdevicesecretgt String type Device secret key issued by Alibaba Cloudlterrgt The result code please refer to chapter 1431

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 334451

AT+CMQTTCFG=checkUTF800OKAT+CMQTTCFG=optimeout0120OK

It must be called before AT+CMQTTCONNECT and after AT+CMQTTACCQ The setting will be clearedafter AT+CMQTTREL

143 Summary of result codes for MQTT(S)

1431 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 operation succeeded1 failed2 bad UTF-8 string3 sock connect fail4 sock create fail5 sock close fail6 message receive fail7 network open fail8 network close fail9 network not opened10 client index error11 no connection12 invalid parameter13 not supported operation14 client is busy15 require connection fail16 sock sending fail17 timeout18 topic is empty19 client is used20 client not acquired

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 335451

21 client not released22 length out of range23 network is opened24 packet fail25 DNS error26 socket is closed by server27 connection refused unaccepted protocol version28 connection refused identifier rejected29 connection refused server unavailable30 connection refused bad user name or password31 connection refused not authorized32 handshake fail33 not set certificate34 open SSL session failed

1432 Summary of Unsolicited Result Codes

Unsolicited codes Description+CMQTTCONNLOSTltclient_indexgtltcausegt

When client disconnect passively URC +CMQTTCONNLOSTwill be reported then user need to connect MQTT server again

+CMQTTPINGltclient_indexgtlterrgt

When send ping (which keep-alive to the server) to server failedthe module will report this URCIf received this message you should disconnect the connectionand re-connect

+CMQTTNONET When the network is become no network the module will reportthis URCIf received this message you should restart the MQTT service byAT+CMQTTSTART

+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt

for long topic split to multiplepackets to report[ltCRgtltLFgt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt]+CMQTTRXPAYLOAD

If a client subscribes to one or more topics any messagepublished to those topics are sent by the server to the client Thefollowing URC is used for transmitting the message publishedfrom server to client1)+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengtAt the beginning of receiving published message the module willreport this to user and indicate client index with ltclient_indexgtthe topic total length with lttopic_total_lengt and the payload totallength with ltpayload_total_lengt2)+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtrnltsub_topicgtAfter the command +CMQTTRXSTART received the module will

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 336451

ltclient_indexgtltsub_payload_lengtltsub_payloadgtfor long payload split to multiplepackets to report[+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtltsub_payloadgt]+CMQTTRXEND ltclient_indexgt

report the second message to user and indicate client index withltclient_indexgt the topic packet length with ltsub_topic_lengt andthe topic content with ltsub_topicgt after rnFor long topic it will be split to multiple packets to report and thecommand +CMQTTRXTOPIC will be send more than once withthe rest of topic content The sum of ltsub_topic_lengt is equal tolttopic_total_lengt3)+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtrnltsub_payloadgtAfter the command +CMQTTRXTOPIC received the module willsend third message to user and indicate client index withltclient_indexgt the payload packet length withltsub_payload_lengt and the payload content with ltsub_payloadgtafter rnFor long payload the same as +CMQTTRXTOPIC4) +CMQTTRXEND ltclient_indexgtAt last the module will send fourth message to user and indicatethe topic and payload have been transmitted completely

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcausegt The cause of disconnection1 ndash Socket is closed passively2 ndash Socket is reset3 ndash Network is closed

lttopic_total_lengt The length of message topic received from MQTT server The range isfrom 1 to 1024 bytes

ltpayload_total_lengt The length of message body received from MQTT server The range isfrom 1 to 10240 bytes

ltsub_topic_lengt The sub topic packet length The sum of ltsub_topic_lengt is equal tolttopic_total_lengt

ltsub_topicgt The sub topic contentltsub_payload_lengt Max length is 1500 The sub message body packet length The sum of

ltsub_payload_lengt is equal to ltpayload_total_lengtltsub_payloadgt The sub message body contentlterrgt The result code please refer to chapter 1431

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 337451

15AT Commands for NTP

151 Overview of AT Commands for NTP

Command DescriptionAT+CNTP Update system time

152 Detailed Description of AT Commands for NTP

1521 AT+CNTP Update system time

AT+CNTP Update system timeTest CommandAT+CNTP=

Response+CNTP 255(-96~96)

OKRead CommandAT+CNTP

Response+CNTP lthostgtlttimezonegt

OK

Write CommandAT+CNTP=lthostgt[lttimezonegt]

ResponseOKorERROR

Execution CommandAT+CNTP

ResponseOK

+CNTP lterrgtorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 338451

Reference -

Defined Values

lthostgt NTP server addresslength is 255lttimezonegt Local time zonethe range is(-96 to 96) default value is 0

Example

AT+CNTP=202120210132OKAT+CNTPOK

+CNTP 0

1522 Unsolicited NTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error5 Time zone error6 Time out error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 339451

16AT Commands for HTP

161 Overview of AT Commands for HTP

Command DescriptionAT+CHTPSERV Set HTP server infoAT+CHTPUPDATE Updating date time using HTP protocol

162 Detailed Description of AT Commands for HTP

1621 AT+CHTPSERV Set HTP server info

AT+CHTPSERV Set HTP server infoTest CommandAT+CHTPSERV=

Response+CHTPSERV ADDHOST(1-65535)(0-1)[PROXY(1-65535)]+CHTPSERV DEL(0-15)

OK

Read CommandAT+CHTPSERV

Response+CHTPSERVltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]hellip+CHTPSERV ltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]

OKorOK (if HTP server not setted)

Write CommandAT+CHTPSERV=ltcmdgtlthost_or_idxgt[ltportgtlthttp_versiongt[ltproxygtltprox

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 340451

y_portgt]]

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltcmdgt This command to operate the HTP server listADD add a HTP server item to the listDEL delete a HTP server item from the list

lthost_or_idxgt If the ltcmdgt is ADD this field is the same as lthostgt needsquotation marks If the ltcmdgt is DEL this field is the index of theHTP server item to be deleted from the list does not need quotationmarks

lthostgt The HTP server addressltportgt The HTP server portlthttp_versiongt The HTTP version of the HTP server

0-HTTP 101-HTTP 11

ltproxygt The proxy addressltproxy_portgt The port of the proxyltindexgt The HTP server index

Example

AT+CHTPSERV=ADDwwwgooglecom801OK

1622 AT+CHTPUPDATE Updating date time using HTP protocol

AT+CHTPUPDATE Updating date time using HTP protocolTest CommandAT+CHTPUPDATE=

ResponseOK

Read CommandAT+CHTPUPDATE

Response+CHTPUPDATE ltstatusgt

OK

Execution CommandAT+CHTPUPDATE

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 341451

+CHTPUPDATE lterrgtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstatusgt The status of HTP moduleUpdating HTP module is synchronizing date timeNULL HTP module is idle now

lterrgt The result of the HTP updating

Example

AT+CHTPUPDATEOK

+CHTPUPDATE 0

1623 Unsolicited HTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 342451

17AT Commands for GPS

171 Overview of AT Commands for GPS

Command DescriptionAT+CGPS StartStop GPS sessionAT+CGPSINFO Get GPS fixed position informationAT+CGPSCOLD Cold start GPSAT+CGPSHOT Hot start GPSAT+CGPSURL Set AGPS default server URLAT+CGPSSSL Set AGPS transport securityAT+CGPSAUTO Start GPS automaticAT+CGPSNMEA Configure NMEA sentence typeAT+CGPSNMEARATE Set NMEA output rateAT+CGPSMD Configure AGPS MO methodAT+CGPSFTM Start GPS test modeAT+CGPSDEL Delete the GPS informationAT+CGPSXE EnableDisable GPS XTRA functionAT+CGPSXD Download XTRA assistant fileAT+CGPSXDAUTO Download XTRA assistant file automaticallyAT+CGPSPMD Configure positioning modeAT+CGPSMSB Configure based mode switch to standaloneAT+CGPSHOR Configure positioning desired accuracyAT+CGNSSINFO Get GNSS fixed position informationAT+CGNSSMODE Configure GNSS support mode

172 Detailed Description of AT Commands for GPS

1721 AT+CGPS StartStop GPS session

AT+CGPS StartStop GPS session

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 343451

Test CommandAT+CGPS=

Response+CGPS (scope ofltonoffgt)(scope ofltmodegt)

OKRead CommandAT+CGPS

Response+CGPS ltonoffgtltmodegt

OKWrite CommandAT+CGPS=ltonoffgt[ltmodegt]

ResponseOKIf UE-assisted mode when fixed will report indication+CAGPSINFO ltlatgtltlongtltaltgtltdategtlttimegtIf ltoffgt it will report indication+CGPS 0

Defined Values

ltonoffgt 0 stop GPS session1 start GPS session

ltmodegt Ignore - standalone mode1 standalone mode2 UE-based mode3 UE-assisted mode

ltlatgt Latitude of current position Unit is in 10^8 degreeltlongt Longitude of current position Unit is in 10^8 degreeltdategt UTC Date Output format is ddmmyyyylttimegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is meters

Example

AT+CGPS+CGPS 01

OKAT+CGPS=0OK

+CGPS 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 344451

1722 AT+CGPSINFO Get GPS fixed position information

AT+CGPSINFO Get GPS fixed position informationTest CommandAT+CGPSINFO=

Response+CGPSINFO (scope oflttimegt)

OKRead CommandAT+CGPSINFO

Response+CGPSINFO lttimegt

OKWrite CommandAT+CGPSINFO=lttimegt

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

If ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGPSINFO

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

Defined Values

ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltlongt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course Degreeslttimegt The range is 0-255 unit is second after set lttimegt will report the GPS

information every the seconds

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 345451

AT+CGPSINFO=+CGPSINFO (0-255)

OKAT+CGPSINFO+CGPSINFO 0

OKAT+CGPSINFOOK

+CGPSINFO 3113343286N12121234064E2503110728093441000

1723 AT+CGPSCOLD Cold Start GPS

AT+CGPSCOLD Cold Start GPSTest CommandAT+CGPSCOLD=

ResponseOK

Execution CommandAT+CGPSCOLD

ResponseOK

Example

AT+CGPSCOLD=OKAT+CGPSCOLDOK

Before using this command ensure GPS is off

1724 AT+CGPSHOT Hot Start GPS

AT+CGPSHOT Hot Start GPSTest CommandAT+CGPSHOT=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 346451

Execution CommandAT+CGPSHOT

ResponseOK

Example

AT+CGPSHOT=OKAT+CGPSHOTOK

Before using this command ensure GPS is off

1725 AT+CGPSURL Set AGPS default server URL

AT+CGPSURL Set AGPS default server URLTest CommandAT+CGPSURL=

ResponseOK

Read CommandAT+CGPSURL

Response+CGPSURL ltURLgt

OKWrite CommandAT+CGPSURL=ltURLgt

ResponseOKOrERROR

Defined Values

ltURLgt AGPS default server URL It needs double quotation marksNOTE Max length of URL is 128

Example

AT+CGPSURL=1231231231238888OKAT+CGPSURL+CGPSURL 1231231231238888

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 347451

It will take effect only after restarting

1726 AT+CGPSSSL Set AGPS transport security

AT+CGPSSSL Set AGPS transport securityTest CommandAT+CGPSSSL=

Response+CGPSSSL (list of supported ltSSLgt)

OKRead CommandAT+CGPSSSL

Response+CGPSSSL ltSSLgt

OKWrite CommandAT+CGPSSSL=ltSSLgt

ResponseOKOrERROR

Defined Values

ltSSLgt 0 donrsquot use certificate1 use certificate

Example

AT+CGPSSSL=0OK

This command is used to select transport security used certificate or not The certificate gets from localcarrier If the AGPS server doesnrsquot need certificate execute AT+CGPSSSL=0

1727 AT+CGPSAUTO Start GPS automatic

AT+CGPSAUTO Start GPS automaticTest Command Response

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 348451

AT+CGPSAUTO= +CGPSAUTO (list of supportedltautogt)

OKRead CommandAT+CGPSAUTO

Response+CGPSAUTO ltautogt

OKWrite CommandAT+CGPSAUTO=ltautogt

ResponseOKOrERROR

Defined Values

ltautogt 0 Non-automatic1 automatic

Example

AT+CGPSAUTO=1OK

If GPS start automatically its operation mode is standalone mode

1728 AT+CGPSNMEA Configure NMEA sentence type

AT+CGPSNMEA Configure NMEA sentence typeTest CommandAT+CGPSNMEA=

Response+CGPSNMEA (scope of ltnmeagt)

OKRead CommandAT+CGPSNMEA

Response+CGPSNMEA ltnmeagt

OKWrite CommandAT+CGPSNMEA=ltnmeagt

ResponseOKOrERROR

Defined Values

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 349451

ltnmeagt Range ndash 0 to 2147483647Each bit enables an NMEA sentence output as followsBit 0 ndash GPGGA (Fix data)Bit 1 ndash GPRMC (recommended minimum data)Bit 2 ndash GPGSV (GPS SVs in view)Bit 3 ndash GPGSA (GPS SV dop and active SV info)Bit 4 ndash GPVTG (Speed and heading info)Bit 5 ndash PQXFIBit 6 ndash PSTIS (proprietary sentence at beginning of each sess)Bit 7 ndash GLGSV (Glonass SV in view info)Bit 8 ndash GNGSA (Dop and Active SV info iff Glonass SVs are used)Bit 9 ndash GNGNS (new GGA message for GNSS)Bit 10 ndash GARMC (GAL recommended minimum data)Bit 11 ndash GAGSV (GAL SVs in view)Bit 12 ndash GAGSA (GAL SV dop and active SV info)Bit 13 ndash GAVTG (GAL Speed and heading info)Bit 14 ndash GAGGA (GAL Fix data)Bit 15 ndash PQGSA (QZSS Enable PQGSA)Bit 16 ndash PQGSV (QZSS Enable PQGSV)Bit 17 ndash DEBUG (NMEA debugging enable)Bit 18 ndash GPDTM (new DTM message for GAL)Bit 19 ndash GNGGA (Fix data)Bit 20 ndash GNRMC (recommended minimum data)Bit 21 ndash GNVTG (GNSS Speed and heading info)Bit 22 ndash GAGNS (GNS message for GAL)Bit 23 ndash GBGGA (BDS Fix data)Bit 24 ndash GBGSA (BDS SV dop and active SV info)Bit 25 ndash GBGSV (BDS SV in view info)Bit 26 ndash GBRMC (BDS recommended minimum data)Bit 27 ndash GBVTG (BDS Speed and heading info)Bit 28 ndash GQGSV (QZSS SV in view info)Bit 29 ndash GIGSV (NAVIC SV in view info)Bit 30 ndash GNDTM (GNSS Datum Message)

Set the desired NMEA sentence bit(s) If multiple NMEA sentenceformats are desired OR the desired bits together

Example

AT+CGPSNMEA=200191OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 350451

take effect next fix

1729 AT+CGPSNMEARATE Set NMEA output rate

AT+CGPSNMEARATE Set NMEA output rateTest CommandAT+CGPSNMEARATE=

Response+CGPSNMEARATE (list of supportedltrategt)

OKRead CommandAT+CGPSNMEARATE

Response+CGPSNMEARATE ltrategt

OKWrite CommandAT+CGPSNMEARATE=ltrategt

ResponseOKOrERROR

Defined Values

ltrategt 0 output rate 1HZ1 output rate 10HZ

Example

AT+CGPSNMEARATE=1OK

the command will effect next open gps

17210AT+CGPSMD Configure AGPS MO method

AT+CGPSMD Configure AGPS MO methodTest CommandAT+CGPSMD=

Response+CGPSMD (scope ofltmethodgt)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 351451

OKRead CommandAT+CGPSMD

Response+CGPSMD ltmethodgt

OKWrite CommandAT+CGPSMD=ltmethodgt

ResponseOK

Defined Values

ltmethodgt 0 Control plane1 User plane

17211 AT+CGPSFTM Start GPS test mode

AT+CGPSFTM Start GPS test modeTest CommandAT+CGPSFTM=

ResponseOK

Read CommandAT+CGPSFTM

Response+CGPSFTM ltonoffgt

OKWrite CommandAT+CGPSFTM=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Close test mode1 Start test mode

ltSVgt Satellite ID numberltCNogt Satellite CNo value Floating valueURC format $GPGSV[ltSVgtltCNogt][]

$GLGSV[ltSVgtltCNogt][]$GBGSV[ltSVgtltCNogt][]$GAGSV[ltSVgtltCNogt][]$GQGSV[ltSVgtltCNogt][]$GIGSV[ltSVgtltCNogt][]

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 352451

AT+CGPSFTM=1OK

$GPGSV3171626191801725619239282242004005001200

$GBGSV230235229274220269

$GQGSV193228195247

URC sentence will report every 1 second

17212AT+CGPSDEL Delete the GPS information

AT+CGPSDEL Delete the GPS informationTest CommandAT+CGPSDEL=

ResponseOK

Execution CommandAT+CGPSDEL

ResponseOK

Example

AT+CGPSDEL=OKAT+CGPSDELOK

This command must be executed after GPS stopped

17213AT+CGPSXE EnableDisable GPS XTRA function

AT+CGPSXE EnableDisable GPS XTRA functionTest CommandAT+CGPSXE=

Response+CGPSXE (list of supportedltonoffgt)

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 353451

OKRead CommandAT+CGPSXE

Response+CGPSXE ltonoffgt

OKWrite CommandAT+CGPSXE=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Disable GPS XTRA1 Enable GPS XTRA

Example

AT+CGPSXE=+CGPSXE (01)

OKAT+CGPSXE=0OK

XTRA function must download the assistant file from network by HTTP so the APN must be set byAT+CGDCONT commandIt will take effect only after restarting

17214AT+CGPSXD Download XTRA assistant file

AT+CGPSXD Download XTRA assistant fileTest CommandAT+CGPSXD=

Response+CGPSXD (list of supportedltservergt)

OKRead CommandAT+CGPSXD

Response+CGPSXD ltservergt

OKWrite Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 354451

AT+CGPSXD=ltservergt OK

+CGPSXD ltrespgt

OrERROR

Defined Values

ltservergt 0 XTRA primary server (precedence)1 XTRA secondary server2 XTRA tertiary server

ltrespgt refer to Unsolicited XTRA download Codes

Example

AT+CGPSXD=+CGPSXD (0-2)

OKAT+CGPSXD=0OK

+CGPSXD 0

17215AT+CGPSXDAUTO Download XTRA assistant file automatically

AT+CGPSXDAUTO Download XTRA assistant file automaticallyTest CommandAT+CGPSXDAUTO=

Response+CGPSXDAUTO (list of supportedltonoffgt)

OKRead CommandAT+CGPSXDAUTO

Response+CGPSXDAUTO ltonoffgt

OKWrite CommandAT+CGPSXDAUTO=ltonoffgt

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 355451

Defined Values

ltonoffgt 0 disable download automatically1 enable download automatically

Example

AT+CGPSXDAUTO=+CGPSXDAUTO (01)

OKAT+CGPSXDAUTO=0OK

17216AT+CGPSPMD Configure positioning mode

AT+CGPSPMD Configure positioning modeTest CommandAT+CGPSPMD=

Response+CGPSPMD (scope of ltmodegt)

OKRead CommandAT+CGPSPMD

Response+CGPSPMD ltmodegt

OKWrite CommandAT+CGPSPMD=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt Default - 65407Range - 1 to 65407Each bit enables a supported positioning mode as followsBit 0 ndash StandaloneBit 1 ndash UP MS-basedBit 2 ndash UP MS-assistedBit 3 ndash CP MS-based (2G)Bit 4 ndash CP MS-assisted (2G)Bit 5 ndash CP UE-based (3G)Bit 6 ndash CP UE-assisted (3G)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 356451

Bit 7 ndash NOT USEDBit 8 ndash UP MS-based (4G)Bit 9 ndash UP MS-assisted(4G)Bit 10 ndash CP MS-based (4G)Bit 11 ndash CP MS-assisted (4G)Set the desired mode sentence bit(s) If multiple modes are desiredOR the desired bits togetherExample support standalone UP MS-based and UP MS-assisted setBinary value 0000 0111 is 7

Example

AT+CGPSPMD=127OK

Need to restart the module after setting the mode

17217AT+CGPSMSB Configure based mode switch to standalone

AT+CGPSMSB Configure based mode switch to standaloneTest CommandAT+CGPSMSB=

Response+CGPSMSB (scope of ltmodegt)

OKRead CommandAT+CGPSMSB

Response+CGPSMSB ltmodegt

OKWrite CommandAT+CGPSMSB=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt 0 Donrsquot switch to standalone mode automatically1 Switch to standalone mode automatically

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 357451

AT+CGPSMSB=0OK

This command take effect next start gps

17218AT+CGPSHOR Configure positioning desired accuracy

AT+CGPSHOR Configure positioning desired accuracyTest CommandAT+CGPSHOR=

Response+CGPSHOR (scope of ltaccgt)

OKRead CommandAT+CGPSHOR

Response+CGPSHOR ltaccgt

OKWrite CommandAT+CGPSHOR=ltaccgt

ResponseOKOrERROR

Defined Values

ltaccgt Range ndash 0 to 1800000Default value is 50

Example

AT+CGPSHOR=50OK

This command take effect next start gps

17219AT+CGNSSINFO Get GNSS fixed position information

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 358451

AT+CGNSSINFO Get GNSS fixed position informationTest CommandAT+CGNSSINFO=

Response+CGNSSINFO (scope of lttimegt)

OKRead CommandAT+CGNSSINFO

Response+CGNSSINFO lttimegt

OKWrite CommandAT+CGNSSINFO=lttimegt

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][HDOP][VDOP]OrIf ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGNSSINFO

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][ltHDOPgt][ltVDOPgt]

Defined Values

ltmodegt Fix mode 2=2D fix 3=3D fixltGPS-SVsgt GPS satellite valid numbers scope 00-12ltGLONASS-SVsgt GLONASS satellite valid numbers scope 00-12ltBEIDOU-SVsgt BEIDOU satellite valid numbers scope 00-12ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltloggt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC-timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course DegreesltPDOPgt Position Dilution Of Precision

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 359451

ltHDOPgt Horizontal Dilution Of PrecisionltVDOPgt Vertical Dilution Of Precisionlttimegt The range is 0-255 unit is second after set lttimegt will report the

GNSS information every the seconds

Example

AT+CGNSSINFO=+CGNSSINFO (0-255)

OKAT+CGNSSINFO+CGNSSINFO 0

OKAT+CGNSSINFOOK

+CGNSSINFO20905003113330650N12121262554E1311170919180329002550110807

AT+CGNSSINFO(if not fixwill report null)OK

+CGNSSINFO

17220AT+CGNSSMODE Configure GNSS support mode

AT+CGNSSMODE Configure GNSS support modeTest CommandAT+CGNSSMODE=

Response+CGNSSMODE (scope of ltgnss_modegt)(scope of ltdpo_modegt)

OKRead CommandAT+CGNSSMODE

Response+CGNSSMODE ltgnss_modegtltdpo_modegt

OKWrite CommandAT+CGNSSMODE=ltgnss_modegt[ltdpo_modegt]

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 360451

Defined Values

ltgnss_modegt Range ndash 0 to 63Bit0 GLONASSBit1 BEIDOUBit2 GALILEOBit3 QZSSBit4 GPSBit5 NAVIC

ltdpo_modegt 1 enable DPO0 disable DPO

Example

AT+CGNSSMODE=151OK

Module should reboot to take effective

17221Unsolicited XTRA download Codes

Code of lterrgt

Code of lterrgt Description0 Assistant file download successfully1 Assistant file doesnrsquot exist2 Assistant file check error225 Memory error227 Network error

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 361451

18AT Commands for LBS

181 Overview of AT Commands for LBS

Command DescriptionAT+CLBS Base station LocationAT+CLBSCFG Base station Location configure

182 Detailed Description of AT Commands for LBS

1821 AT+CLBS Base station location

AT+CLBS Base station LocationTest CommandAT+CLBS=

Response+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OKWrite CommandAT+CLBS=lttypegt[ltcidgt[[ltlongitudegtltlatitudegt][ltlon_typegt]]]

ResponseOK1)lttypegt=1get longitude and latitude+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgt]

2)type = 2get detail address+CLBS ltret_codegt[ltdetail_addrgt]

3)type = 3get access times+CLBS ltret_codegt[lttimesgt]

4)type = 4get longitude latitude and date time+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgtltdategtlttimegt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 362451

5)type = 9 report positioning error+CLBS ltret_codegt

If error is related to ME functionality+CLBS ltret_codegt

ERRORReference

Defined Values

lttypegt A numeric parameter which specifies the location type1 use 3 cellrsquos information2 get detail address3 get access times4 get longitude latitude and date time9 report positioning error

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)

1hellip42ltlongitudegt Current longitude in degrees

-180000000-180000000ltlatitudegt Current latitude in degrees

-90000000-90000000ltdetail_addrgt Current detail address It based the UCS2 coding Each 4 characters

in the URC is for one UCS2 characterltaccgt Positioning accuracyltlon_typegt The type of longitude and latitude

0 WGS841 GCJ02

lttimesgt Access service times(UTCthe format is YYYYMMDDHHMMSS)ltdategt Service date(UTC the format is YYYYMMDD)lttimegt Service time(UTC the format is HHMMSS)ltret_codegt The result code

0 Success1 Parameter error returned by server2 Service out of time returned by server3 Location failed returned by server4 Query timeout returned by server5 Certification failed returned by server6 Server LBS error success7 Server LBS error failed8 LBS is busy9 Open network error10 Close network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 363451

11 Operation timeout12 DNSerror13 Create socket error14 Connect socket error15 Close socket error16 Get cell info error17 Get IMEI error18 Send data error19 Receive data error20 NONET error21 Net not opened80 Report LBS to server success81 Report LBS to server parameter error82 Report LBS to server failed110 Other Error

Example

AT+CLBS=+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OK

AT+CLBS=1OK

+CLBS 031228525121380295500

AT+CLBS=2OK

+CLBS04e0a6d775e020020957f5b81533a002091d1949f8def002097608fd166688baf79d162805927697c

AT+CLBS=3OK

+CLBS 020200430094856

AT+CLBS=4OK

+CLBS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 364451

03122852512138029550020250607104908

If customers feel that the positioning error is too large lttypegt=9 can be used to report this informationThe error can be improved by this informationThe LBS is only support in GSMWCDMACDMALTE5G net modeBefore use LBS please execute AT+NETACT to check urc If return +NETACT 0 please excuteAT+NETACT=1 firstly If return +NETACT 1 excute LBS commands directly

1822 AT+CLBSCFG Base station Location configure

AT+CLBSCFG Base station Location configureTest CommandAT+CLBSCFG=

Response+CLBSCFG (0-1)3 Param Value

OK

Write CommandAT+CLBSCFG=ltoperategtltparagt[ltvaluegt]

Response+CLBSCFG 0ltparagtltvaluegt

OK

If error is related to ME functionality+CLBSCFG ltret_codegt

ERRORReference

Defined Values

ltoperategt 0 Read operator1 Set operator

ltparagt 3 Servers addressltvaluegt String type The value of parameter

Servers address of lbs-simcomcom3002 is freeltret_codegt Please refer to the ltret_codegt of AT+CLBS

Example

AT+CLBSCFG=

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 365451

+CLBSCFG (0-1)3Param Value

OK

AT+CLBSCFG=03+CLBSCFG 03lbs-simcomcom3002

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 366451

19AT Commands for Hardware

191 Overview of AT Commands for Hardware

Command DescriptionAT+IPREX Set UART local baud rate permanentlyAT+CFGRI Indicate RI when using URCAT+CSCLK Control UART sleepAT+CMUX Enable the multiplexer over the UARTAT+CGFUNC Enabledisable the function for the special GPIOAT+CGDRT Set the direction of specified GPIOAT+CGSETV Set the value of specified GPIOAT+CGGETV Get the value of specified GPIOAT+CPCIEMODE Get or set the mode of PCIE

192 Detailed Description of AT Commands for Hardware

1921 AT+IPREX Set UART local baud rate permanently

AT+IPREX Set UART local baud rate permanentlyTest CommandAT+IPREX=

Response+IPREX (list of supported ltspeedgts)

OKRead CommandAT+IPREX

Response+IPREX ltspeedgt

OKorERROR

Write CommandAT+IPREX=ltspeedgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 367451

orERROR

Execution CommandAT+IPREX

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltspeedgt 3006001200240048009600192003840057600115200230400460800921600300000032000003686400

Example

AT+IPREX+IPREX 115200

OKAT+IPREX=+IPREX(3006001200240048009600192003840057600115200230400460800921600300000032000003686400)

OKAT+IPREX=115200OK

1922 AT+CFGRI Indicate RI when using URC

AT+CFGRI Indicate RI when using URCTest CommandAT+CFGRI=

Response+CFGRI (range of supported ltstatusgts)(range of supported ltURCtimegts)(range of supported ltSMS timegts)

OKRead CommandAT+CFGRI

Response+CFGRI ltstatusgtltURC timegtltSMS timegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 368451

orERROR

Write CommandAT+CFGRI=ltstatusgt[ltURCtimegtltSMS timegt]

ResponseOKorERROR

Execution CommandAT+CFGRI

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (default)1 on

ltURC timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 10 to 600060 (Default)

ltSMS timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 20 to 6000120 (Default)

Example

AT+CFGRI+CFGRI 060120

OKAT+CFGRI=+CFGRI (0-1)(10-6000)(20-6000)

OKAT+CFGRI=1OKAT+CFGRIOK

1923 AT+CSCLK Control UART sleep

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 369451

AT+CSCLK Control UART sleepTest CommandAT+CSCLK=

Response+CSCLK (range of supported ltstatusgts)

OKRead CommandAT+CSCLK

Response+CSCLK ltstatusgt

OKorERROR

Write CommandAT+CSCLK=ltstatusgt

ResponseOKorERROR

Execution CommandAT+CSCLK

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (Default)1 on

Example

AT+CSCLK+CSCLK 0

OKAT+CSCLK=+CSCLK (0-1)

OKAT+CSCLK=1OKAT+CSCLKOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 370451

1924 AT+CMUX Enable the multiplexer over the UART

AT+CMUX Enable the multiplexer over the UARTTest CommandAT+CMUX=

Response+CMUX (range of supported ltmodegts)(range of supportedltsubsetgts)(range of supported ltport_speedgts)(range of supportedltN1gts)(range of supported ltT1gts)(range of supportedltN2gts)(range of supported ltT2gts)

OKorERROR

Read CommandAT+CMUX

Response+CMUX ltmodegtltsubsetgtltport_speedgtltN1gtltT1gtltN2gtltT2gt

OKorERROR

Write CommandAT+CMUX=ltmodegt[ltsubsetgt[ltport_speedgt[ltN1gt[ltT1gt[ltN2gt[ltT2gt]]]]]]

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltmodegt 0 basic mode (default)ltsubsetgt 0 UIH frame type (default)ltport_speedgt 1-8

CMUX always use current bitrate the value only use for compatible1 9600 bits

2 19200 bits

3 38400 bits

4 57600 bits

5 115200 bits

6 230400 bitss

The default value is 5(115200 bits)ltN1gt Integer type Max frame size in bytes in Information field

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 371451

The parameter range is 1 to 1500118 bytes (Default)

ltT1gt Time UE waits for an acknowledgement before resorting to otheraction (Donrsquot Support Setting Currently)

ltN2gt The max re-tries (Donrsquot Support Setting Currently)ltT2gt Integer type The time in ms mux control channel waits before

re-transmitting a commandThe parameter range is 2 to 1000The default value is 600the mean is 6000 ms (Default)

Example

AT+CMUX+CMUX 005150000600

OKAT+CMUX=+CMUX (0)(0)(1-8)(1-1500)(0)(0)(2-1000)

OK

1925 AT+CGFUNC Enabledisable the function for the special GPIO

AT+CGFUNC Enable disable the function for the special GPIOTest CommandAT+CGFUNC=

Response+CGFUNC (list of supported ltgpiogts)(rang of supportedltfunctiongts)

OKWrite CommandAT+CGFUNC=ltgpiogt

Response+CGFUNC ltgpiogtltfunctiongt

OKorERROR

Write CommandAT+CGFUNC=ltgpiogtltfunctiongt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 372451

Defined Values

ltgpiogt Different hardware versions have the different valuesltfunctiongt GPIO function

0 function 11 function 2

Example

AT+CGFUNC=+CGFUNC (383940)(0-1)

OKAT+CGFUNC=40+CGFUNC 400

OKAT+CGFUNC=401OK

1926 AT+CGDRT Set the direction of specified GPIO

AT+CGDRT Set the direction of specified GPIOTest CommandAT+CGDRT=

Response+CGDRT (list of supported ltgpiogts)(list of supported ltgpio_iogts)

OKWrite CommandAT+CGDRT=ltgpiogt

Response+CGDRT ltgpiogtltgpio_iogt

OKorERROR

Write CommandAT+CGDTR=ltgpiogtltgpio_iogt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 373451

Defined Values

ltgpiogt Different hardware versions have the different valuesltgpio_iogt 0 in

1 out

Example

AT+CGDRT=400OK

1927 AT+CGSETV Set the value of specified GPIO

AT+CGSETV Set the value of specified GPIOTest CommandAT+CGSETV=

Response+CGSETV (list of supported ltgpiogts)(rang of supported ltvaluegts)

OKWrite CommandAT+CGSETV=ltgpiogtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGSETV=+CGSETV (383940)(0-1)

OKAT+CGSETV=401OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 374451

1928 AT+CGGETV Get the value of specified GPIO

AT+CGGETV Get the value of specified GPIOTest CommandAT+CGGETV=

Response+CGGETV (list of supported ltgpiogts)

OKWrite CommandAT+CGGETV=ltgpiogt

Response+CGGETV ltgpiogtltvaluesgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGGETV=+CGGETV (383940)

OKAT+CGGETV=40+CGGETV 401

OK

1929 AT+CPCIEMODE Get or set the mode of PCIE

This command use to set or get PCIE modethe command only support on M2 board when the AT settingis successful the module will be restarted

AT+CPCIEMODE Get or set the mode of PCIETest CommandAT+CPCIEMODE=

Response+CPCIEMODE (list of supported ltmodegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 375451

OKRead CommandAT+CPCIEMODE

Response+CPCIEMODE ltmodegt

OKorERROR

Write CommandAT+CPCIEMODE=ltmodegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt EP EP modeHOST HOST mode

Example

AT+CPCIEMODE=+CPCIEMODE EPHOST

OKAT+CPCIEMODE=EPOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 376451

20 Hardware Related Commands

201 Overview of Hardware Related Commands

Command DescriptionAT+CVALARM Set overvoltage and undervoltage alarmAT+CADC Read the value of ADCAT+CADC2 Read the value of ADC2AT+CMTE Set the power action when over the critical temperatureAT+CPMVT Set the power action when overvoltage and undervoltageAT+CDELTA Set module reboot to recovery modeAT+CBC Read the voltage value of the power supplyAT+CPMUTEMP Read the temperature of the modulesAT+CUSBCFG Set usbidadb modeedl mode and bootloader modeAT+CCPUTEMP Read the temperature of CPU different zones

202 Detailed Description of AT Commands for Hardware

2021 AT+CVALARM Set overvoltage and undervoltage alarm

This command is used to open or close the low voltage alarm function

AT+CVALARM Set overvoltage and undervoltage alarmTest CommandAT+CVALARM=

Response+CVALARM (list of supported ltenablegts)(range of supportedltlow_voltagegts)(range of supported lthigh_voltagegts)

OKRead CommandAT+CVALARM

Response+CVALARM ltenablegtltlow_voltagegtlthigh_voltagegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 377451

orERROR

Write CommandAT+CVALARM=ltenablegt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablegt 0 close alarm(Default)1 open alarm

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3300mV to 4000mV depending on hardwaredesign3300mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CVALARM=+CVALARM (01)(3300-4000)(4001-4300)

OKAT+CVALARM+CVALARM 134004300

OKAT+CVALARM=134004300OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING every 10s If voltage lthighvoltagegt it will report OVER-VOLTAGE WARNNING every 10s

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 378451

2022 AT+CADC Read the value of ADC

This command is used to read the ADC value from modem ME supports 2 types of value which are rawtype and voltage type

AT+CADC Read the value of ADCTest CommandAT+CADC=

Response+CADC (list of supported lttypegts)

OKWrite CommandAT+CADC=lttypegt

Response+CADC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC=+CADC (02)

OKAT+CADC=0+CADC 187

OK

2023 AT+CADC2 Read the value of ADC2

This command is used to read the ADC2 value from modem ME supports 2 types of value which are rawtype and voltage type

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 379451

AT+CADC2 Read the value of ADC2Test CommandAT+CADC2=

Response+CADC2 (list of supported lttypegts)

OKWrite CommandAT+CADC2=lttypegt

Response+CADC2 ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC2=+CADC2 (02)

OKAT+CADC2=0+CADC2 187

OK

2024 AT+CMTE Set the power action when over the critical temperature

This command is used to control the module whether power off when temperature upon the criticaltemperature

AT+CMTE Set the power action when over the critical temperatureTest CommandAT+CMTE=

Response+CMTE (list of supported ltpower_offgts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 380451

OKRead CommandAT+CMTE

Response+CMTE ltpower_offgt

OKorERROR

Write CommandAT+CMTE=ltpower_offgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

Example

AT+CMTE=+CMTE (01)

OK

AT+CMTE+CMTE 1

OKAT+CMTE=0OK

2025 AT+CPMVT Set the power action when overvoltage and undervoltage

This command is used to open or close the power off action when undervoltage and overvoltage

AT+CPMVT Set the power action when overvoltage and undervoltageTest CommandAT+CPMVT=

Response+CPMVT (list of supported ltpower_offgts)(list of supportedltlow_voltagegts)(list of supported lthigh_voltagegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 381451

OKRead CommandAT+CPMVT

Response+CPMVT ltpower_offgtltlow_voltagegtlthigh_voltagegt

OKorERROR

Write CommandAT+CPMVT=ltpower_offgt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3200mV to 4000mV depending on hardwaredesign3200mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CPMVT=+CPMVT (01)(3200-4000)(4001-4300)

OKAT+CPMVT+CPMVT 134004300

OKAT+CPMVT=1OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING POWER DOWN and power off

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 382451

the module If voltage lthigh voltagegt it will report OVER-VOLTAGE WARNNING POWER DOWNand power off the module

2026 AT+CDELTA Set module reboot to recovery mode

AT+CDELTA Set module reboot to recovery modeExecution CommandAT+CDELTA

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Example

AT+CDELTAOK

This command will write a flag to the module and restart Check the flag during the next boot and enterrecovery mode to prepare for the firmware upgrade

2027 AT+CBC Read the voltage value of the power supply

AT+CBC Read the voltage value of the power supplyExecution CommandAT+CBC

Response+CBC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltvaluegt The voltage value such as 38V

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 383451

Example

AT+CBC+CBC 3657V

OK

2028 AT+CPMUTEMP Read the temperature of the modules

AT+CPMUTEMP Read the temperature of the moduleExecution CommandAT+CPMUTEMP

Response+CPMUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt Char type

Example

AT+CPMUTEMP+CPMUTEMP 28

OK

2029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode

AT+CUSBCFG Set usbidadb modeedl mode and bootloader modeTest CommandAT+CUSBCFG=

ResponseBOOTLDRBOOTEDLUSBADB (list of supportedltadb_stategts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 384451

USBID ltvendor_idgt(list of supportedltproduct_idgts)

OKRead CommandAT+CUSBCFG

ResponseUSBADB ltadb_stategtUSBID ltvendor_idgtltproduct_idgt

OKorERROR

Write CommandAT+CUSBCFG=bootldr

Response

AT+CUSBCFG=bootedlAT+CUSBCFG=usbadbltadb_stategt

OKorERROR

AT+CUSBCFG=usbidltvendor_idgtltproduct_idgt

OKorERROR

AT+CUSBCFG=USBMODE USBMODE ltusb_stategtParameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltvendor_idgt 1e0eltproduct_idgt 9001

9011ltadb_stategt 0

1ltusb_stategt USB30

USB20

Example

AT+CUSBCFG=BOOTLDRBOOTEDLUSBADB (01)USBID 1E0E(90019011)

OKAT+CUSBCFGUSBADB 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 385451

USBID 0X1E0E0x9001

OKAT+CUSBCFG=bootldrOKAT+CUSBCFG=bootedlOKAT+CUSBCFG=usbadb1OKAT+CUSBCFG=usbid1e0e9011OKAT+CUSBCFG=usbmodeUSBMODE USB30

OK

1When default composition is 9011 you may need to execute AT+NETACT=1 to turn on networkAfter AT+CUSBCFG=usbadb10 not need to excute AT+CRESET2AT+CUSBCFG=bootldr and AT+CUSBCFG=booted no responsewhen use those commandsthedevice directly enters the corresponding mode

20210AT+CCPUTEMP Read the temperature of CPU different zones

AT+CCPUTEMP Read the temperature of CPU different zonesTest CommandAT+CCPUTEMP=

Response+CCPUTEMP (0-6)

OKWrite CommandAT+CCPUTEMP=ltzonegt

Response+CCPUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt int type

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 386451

ltzonegt 0-6

Example

AT+CCPUTEMP=2+CCPUTEMP 28

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 387451

21AT Commands for UIM hot swap

211 Overview of AT Commands for UIM hot swap

Command DescriptionAT+UIMHOTSWAPON Set UIM hot swap function onAT+UIMHOTSWAPLEVEL Set UIM card detection level

212 Detailed Description of AT Commands for UIM hot swap

2121 AT+UIMHOTSWAPON Set UIM hot swap function on

AT+UIMHOTSWAPON Set UIM hot swap function onRead CommandAT+UIMHOTSWAPON

Response+UIMHOTSWAPON ltonoffgt

OK

Write CommandAT+UIMHOTSWAPON=ltonoffgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltonoffgt 0 The UIM hot swap function is disabled1 The UIM hot swap function is enabled

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 388451

AT+UIMHOTSWAPON+UIMHOTSWAPON 0

OKAT+UIMHOTSWAPON=1OK

Module reset to take effect

2122 AT+UIMHOTSWAPLEVEL Set UIM card detection level

AT+UIMHOTSWAPLEVEL Set UIM card detection levelRead CommandAT+UIMHOTSWAPLEVEL

Response+UIMHOTSWAPLEVEL ltlevelgt

OK

Write CommandAT+UIMHOTSWAPLEVEL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltlevelgt 0 ACTIVE LOW1 ACTIVE HIGH

Example

AT+UIMHOTSWAPLEVEL+UIMHOTSWAPLEVEL 0

OKAT+UIMHOTSWAPLEVEL=1OK

Module reset to take effect

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 389451

UIM card detection level depends on the SIM card holder usually itrsquos a normal open kind oneThe default value 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 390451

22AT Commands for File System

The file system is used to store files in a hierarchical (tree) structure and there are some definitions andconventions to use the Module

Local storage space is mapped to C D for TF card E for multimedia F for cache

General rules for naming (both directories and files)The length of actual fully qualified names of directories and files can not exceed 254Directory and file names can not include the following characters ltgt | Between directory name and filedirectory name use character as list separator so it can not appearin directory name or file nameThe first character of names must be a letter or a numeral or underline and the last character can notbe period and oblique

221 Overview of AT Commands for File System

Command DescriptionAT+FSCD Select directory as current directoryAT+FSMKDIR Make new directory in current directoryAT+FSRMDIR Delete directory in current directoryAT+FSLS List directoriesfiles in current directoryAT+FSDEL Delete file in current directoryAT+FSRENAME Rename file in current directoryAT+FSATTRI Request file attributesAT+FSMEM Check the size of available memoryAT+FSLOCA Select storage placeAT+FSCOPY Copy an appointed fileAT+CFTRANRX Transfer a file to EFSAT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 391451

222 Detailed Description of AT Commands for File System

2221 AT+FSCD Select directory as current directory

This command is used to select a directory The Module supports absolute path and relative pathRead Command will return current directory without double quotation marks Support C D E F

AT+FSCD Select directory as current directoryTest CommandAT+FSCD=

ResponseOK

Read CommandAT+FSCD

Response+FSCD ltcurr_pathgt

OK

Write CommandAT+FSCD=ltpathgt

Response+FSCD ltcurr_pathgt

OKorERROR

Defined Values

ltpathgt String without double quotes directory for selectionltcurr_pathgt String without double quotes current directory

If ltpathgt is it will go back to previous level of directory

Example

AT+FSCD=C+FSCD C

OKAT+FSCD=C+FSCD C

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 392451

AT+FSCD+FSCD C

OKAT+FSCD=+FSCD C

OKAT+FSCD=D+FSCD D

OKAT+FSCD+FSCD D

OK

2222 AT+FSMKDIR Make new directory in current directory

This command is used to create a new directory in current directory Support C D E F

AT+FSMKDIR Make new directory in current directoryTest CommandAT+FSMKDIR=

ResponseOK

Write CommandAT+FSMKDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes directory name which does not alreadyexist in current directory

Example

AT+FSMKDIR=SIMTechOKAT+FSCD+FSCD E

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 393451

AT+FSLS+FSLS SUBDIRECTORIESAudioSIMTech

OK

2223 AT+FSRMDIR Delete directory in current directory

This command is used to delete existing directory in current directory Support C D E F

AT+FSRMDIR Delete directory in current directoryTest CommandAT+FSRMDIR=

ResponseOK

Write CommandAT+FSRMDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes

Example

AT+FSRMDIR=SIMTechOKAT+FSCD+FSCD E

OKAT+FSLS+FSLS SUBDIRECTORIESAudio

OK

2224 AT+FSLS List directoriesfiles in current directory

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 394451

This command is used to list information of directories andor files in current directory Support C DE F

AT+FSLS List directoriesfiles in current directoryTest CommandAT+FSLS=

Response+FSLS (list of supported lttypegt)

OKRead CommandAT+FSLS

Response+FSLS SUBDIRECTORIESltdir_numgtFILESltfile_numgt

OK

Write CommandAT+FSLS=lttypegt

Response[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Execution CommandAT+FSLS

[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Defined Values

ltdir_numgt Integer type the number of subdirectories in current directoryltfile_numgt Integer type the number of files in current directorylttypegt 0 list both subdirectories and files

1 list subdirectories only2 list files only

Example

AT+FSLS+FSLS SUBDIRECTORIES2FILES2

OKAT+FSLS+FSLS SUBDIRECTORIESFirstDir

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 395451

SecondDir

+FSLS FILESimage_0jpgimage_1jpg

OKAT+FSLS=2+FSLS FILESimage_0jpgimage_1jpg

OK

2225 AT+FSDEL Delete file in current directory

This command is used to delete a file in current directory Before do that it needs to use AT+FSCD selectthe father directory as current directory Support C D E F

AT+FSDEL Delete file in current directoryTest CommandAT+FSDEL=

ResponseOK

Write CommandAT+FSDEL=ltfilenamegt

ResponseOKorERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is relative andalready existingIf ltfilenamegt is it means delete all files in current directoryIf the file path contains non-ASCII characters the filename parametershould contain a prefix of non-ascii and the quotation mark

Example

AT+FSDEL=image_0jpgOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 396451

2226 AT+FSRENAME Rename file in current directory

This command is used to rename a file in current directory Support C D E F

AT+FSRENAME Rename file in current directoryTest CommandAT+FSRENAME=

ResponseOK

Write CommandAT+FSRENAME=ltold_namegtltnew_namegt

ResponseOKorERROR

Defined Values

ltold_namegt String with or without double quotes file name which is existed incurrent directory If the file path contains non-ASCII characters the filepath parameter should contain a prefix of non-ascii and the quotationmark

ltnew_namegt New name of specified file string with or without double quotes If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-ascii and the quotation mark

Example

AT+FSRENAME=image_0jpgimage_1jpgOKAT+FSRENAME=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067OK

2227 AT+FSATTRI Request file attributes

This command is used to request the attributes of file which exists in current directory Support C DE F

AT+FSATTRI Request file attributesTest CommandAT+FSATTRI=

ResponseOK

Write CommandAT+FSATTRI=ltfilenamegt

Response+FSATTRI ltfile_sizegtltcreate_dategt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 397451

orERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is in currentdirectory If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltfile_sizegt The size of specified file and the unit is in Byteltcreate_dategt Create date and time of specified file the format is YYYYMMDD

HHMMSS WeekWeek Mon Tue Wed Thu Fri Sat Sun

Example

AT+FSATTRI=image_0jpg+FSATTRI 860420080428 102446 Tue

OKAT+FSATTRI=non-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSATTRI 629620120106 000000 Sun

OK

2228 AT+FSMEM Check the size of available memory

This command is used to check the size of available memory The response will list total size and used sizeof local storage space if present and mounted Support C D E F

AT+FSMEM Check the size of available memoryTest CommandAT+FSMEM=

ResponseOK

Execution CommandAT+FSMEM

Response+FSMEM ltloctypegt(lttotalgtltusedgt)

OK

Defined Values

ltloctypegt Support C D E Flttotalgt The total size of local storage spaceThe unit of storage space size is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 398451

in Byteltusedgt The used size of local storage spaceThe unit of storage space size is

in Byte

Example

AT+FSMEM+FSMEM C(113484802201600)

OK

2229 AT+FSLOCA Select storage place

This command is used to set the storage place for media files Support C

AT+FSLOCA Select storage placeTest CommandAT+FSLOCA=

Response+FSLOCA (list of supported ltlocagts)

OKRead CommandAT+FSLOCA

+FSLOCA ltlocagt

OK

Write CommandAT+FSLOCA=ltlocagt

ResponseOKorERROR

Defined Values

ltlocagt 0 store media files to local storage space (namely C)

Example

AT+FSLOCA=0OKAT+FSLOCA+FSLOCA 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 399451

22210AT+FSCOPY Copy an appointed file

This command is used to copy an appointed file on C to an appointed directory on C the new file nameshould give in parameter Support CD E F but copying from C to D E F or from DE F to C is not supported

AT+FSCOPY Copy an appointed fileTest CommandAT+FSCOPY=

ResponseOK

Write CommandAT+FSCOPY=ltfile1gtltfile2gt[ltsync_modegt]

ResponseSync mode+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]OK

Async modeOK+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]+FSCOPY ENDltCRgtltLFgtOrWhen error shows one of the following errors and ERRORSD CARD NOT PLUGGED INFILE IS EXISTINGFILE NOT EXISTINGDIRECTORY IS EXISTEDDIRECTORY NOT EXISTEDFORBID CREATE DIRECTORY UNDER CFORBID DELETE DIRECTORYINVALID PATH NAMEINVALID FILE NAMESD CARD HAVE NO ENOUGH MEMORYEFS HAVE NO ENOUGH MEMORYFILE CREATE ERRORREAD FILE ERRORWRITE FILE ERROR

ERROR

Defined Values

ltfile1gt The sources file name or the whole path name with sources file nameIf the file path contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 400451

ltfile2gt The destination file name or the whole path name with destination filename If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltpercentgt The percent of copy done The range is 00 to 1000ltsync_modegt The execution mode of the command

0 synchronous mode Default 01 asynchronous mode

1 The ltfile1gt and ltfile2gt should give the whole path and name if only given file name it will refer tocurrent path (AT+FSCD) and check the filersquos validity2 If ltfile2gt is a whole path and name make sure the directory exists make sure that the file namedoes not exist or the file name is not the same name as the sub folder name otherwise return error3 ltpercentgt report refer to the copy file size The big file maybe report many times and little file reportless4 If ltsync_modegt is 1 the command will return OK immediately and report final result with+FSCOPY END

Example

AT+FSCD+FSCD C

OKAT+FSCOPY=CTESTFILECOPYFILE (Copy file TESTFILE on C to CCOPYFILE)+FSCOPY 10

+FSCOPY 1000

OKAT+FSCOPY=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSCOPY 10

+FSCOPY 1000

OK

22211 AT+CFTRANRX Transfer a file to EFS

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 401451

This command is used to transfer a file to EFSSupport SDcard

AT+CFTRANRX Transfer a file to EFSTest CommandAT+CFTRANRX=

Response+CFTRANRX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANRX=ltfilepathgtltlengt

ResponsegtOKorgtERRORorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the file data to send The range is from 0 to 2147483647

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANRX=CMyDirt1txt10gtltinput data heregt

OKAT+CFTRANRX=DMyDirt1txt10gtltinput data heregt

OK

22212AT+CFTRANTX Transfer a file from EFS to host

This command is used to transfer a file from EFS to host Before using this command the AT+CATR mustbe used to set the correct port used Support SDcard

AT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 402451

Test CommandAT+CFTRANTX=

Response+CFTRANTX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANTX=ltfilepathgt[ltlocationgtltsizegt]

Response[+CFTRANTX DATAltlengthellip+CFTRANTX DATAltlengt]

+CFTRANTX 0

OKorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the following file data to outputltlocationgt The beginning of the file data to outputltsizegt The length of the file data to output

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANTX=CMyDirt1txt+CFTRANTX DATA11Testcontent

+CFTRANTX 0

OKAT+CFTRANTX=DMyDirt1txt14+CFTRANTX DATA4estc

+CFTRANTX 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 403451

23AT Commands for AUDIO

231 Overview of AT Commands for AUDIO

Command DescriptionAT+CREC Record wav audio fileAT+CRECAMR Record amr audio fileAT+CCMXPLAY Play audio fileAT+CCMXSTOP Stop playing audio file

232 Detailed Description of AT Commands for AUDIO

2321 AT+CREC Record wav audio file

AT+CREC Record wav audio fileRead CommandAT+CREC

Response+CREC ltstatusgt

OK

Write CommandAT+CREC=ltrecord_pathgtltfilenamegt

Response+CREC 1

OKorERROR

Write CommandAT+CREC=ltmodegt

Response+CREC 0

OK

+RECSTATE crec stopor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 404451

+CREC 0

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt Indicate whether the recording is going on0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path3 ndash local and remote sound mixing

ltfilenamegt The location and name of wav fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2 or 3

Example

AT+CREC=1erecwav+CREC 1

OK

AT+CREC=0+CREC 0

OK

+RECSTATE crec stop

2322 AT+CRECAMR Record amr audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 405451

AT+CRECAMR Record amr audio fileRead CommandAT+CRECAMR

Response+CRECAMR ltstatusgt

OK

Write CommandAT+CRECAMR=ltrecord_pathgtltfilenamegt

Response+CRECAMR ltstatusgt

OKorERROR

Write CommandAT+CRECAMR=ltmodegt

Response+CRECAMR ltstatusgt

OK

+RECSTATE crecamr stopor+CRECAMR ltstatusgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltstatusgt Indicate whether the recording is going on

0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path

ltfilenamegt The location and name of amr fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 406451

AT+CRECAMR=1erecamr+CRECAMR 1

OK

AT+CRECAMR=0+CRECAMR 0

OK

+RECSTATE crecamr stop

2323 AT+CCMXPLAY Play audio file

AT+CCMXPLAY Play audio fileTest CommandAT+CCMXPLAY=

Response+CCMXPLAY (0-1)(0-255)

OK

Read CommandAT+CCMXPLAY

Response+CCMXPLAY ltstatusgt

OK

Write CommandAT+CCMXPLAY=ltfilenamegt[ltplay_pathgt][ltrepeatgt]

Response+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stoporERRORor+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play errorParameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 407451

Max Response Time -Reference -

Defined Values

ltplay_pathgt Play to local or to remote Default 00 ndash local1 ndash remote

ltrepeatgt How much times can be played Default 0ltfilenamegt The location and name of wav fileltstatusgt Indicate playing thread status Default value is 0

0 ndash idle1 ndash busy playing

ltfilenamegtThe wav audio file should be located at E Maximum filename length is 240 bytes(including ) Support audio file format mp3 aac amr wavltplay_pathgtOnly during the call ltplay_pathgtcan be set to 1 successfullyOnly 8k 16bit wav audio andamr audio can be played to remote at presentltrepeatgtThis parameter is reservednot used at present you can input this parameter or not (0-255)

Example

AT+CCMXPLAY=+CCMXPLAY (0-1)(0-255)

OK

AT+CCMXPLAY=Erecmp300+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stop

2324 AT+CCMXSTOP Stop playing audio file

AT+CCMXSTOP Stop playing audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 408451

Test CommandAT+CCMXSTOP=

ResponseOK

Execution CommandAT+CCMXSTOP

Response+CCMXSTOP

OK

+AUDIOSTATE audio play stopParameter Saving Mode -

Max Response Time -Reference -

Defined Values

- -

Example

AT+CCMXSTOP+CCMXSTOP

OK

+AUDIOSTATE audio play stop

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 409451

24AT Commands for TTS

241 Overview of AT Commands for TTS

Command DescriptionAT+CDTAM TTS play path local or remoteAT+CTTS TTS operation play or stopAT+CTTSPARAM TTS parameters set or get

242 Detailed Description of AT Commands for TTS

2421 AT+CDTAM TTS play path local or remote

AT+CDTAM TTS play path local or remoteTest CommandAT+CDTAM=

Response+CDTAM (0-1)

OKRead CommandAT+CDTAM

Response+CDTAM ltstatusgt

OK

Write CommandAT+CDTAM=ltmodegt

Response+CDTAM

OKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 410451

Defined Values

ltstatusgt Indicate play path play TTS to local or play to remote0 ndash local path1 ndash remote path

ltmodegt Set TTS play path local or remote Default value is 00 ndash local path1 ndash remote path

Example

AT+CDTAM=1+CDTAM

OK

2422 AT+CTTS TTS operation play or stop

AT+CTTS TTS operation play or stopTest CommandAT+CTTS=

ResponseOK

Read CommandAT+CTTS

Response+CTTS ltstatusgt

OK

Write CommandAT+CTTS=ltmodegt[lttextgt]

ResponseIf ltmodegtis 0 thenlttextgt is not required When TTS is playingreturn+CTTS0

OK

If ltmodegtis 0 then lttextgt is not required When TTS is not playingreturnOK

If ltmodegtis 1 or 2 then lttextgt is must be required returnOK

+CTTS0orERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 411451

orOK

+CTTS1Write CommandAT+CTTS=ltmodegt[lttextgt][ltfilenamegt]

ResponseIf ltmodegtis 3 or 4 then lttextgt and ltfilenamegt are must be requiredreturnOK

+CTTS0orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltstatusgt Indicate playing thread status Default value is 00 ndash NO_WORKING1 ndash PLAY_WAV_WORKING2 ndash AMR_WORKING3 ndash MP3_WORKING4 ndash AAC_WORKING5 ndash WAV_WORKING6 ndash TTS_WORKING8 ndash CREC_WORKING

ltmodegt Stop or play TTS0 ndash stop TTS1 ndash lttextgt is in UCS2 coding format Start to synth and play2 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play3 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play and save pcm data as wav file4 ndash lttextgtis in UCS2 coding format Start to synth and play and savepcm data as wav file

ltfilenamegt Location and filename for wav file

lttextgt which is synthetized to speed to be playedmaximum data length is 512 bytes (including )ltfilenamegtThe file should be put into the Efilenamewav Maximum filename length is 240 bytes(including )

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 412451

AT+CTTS=16B228FCE4F7F75288BED97F3540862107CFB7EDFOK

+CTTS0

AT+CTTS=3欢迎使用语音合成系统EttswavOK

+CTTS0

AT+CTTS=0OK

2423 AT+CTTSPARAM TTS Parameters set or get

AT+CTTSPARAM TTS Parameters set or getTest CommandAT+CTTSPARAM=

Response+CTTSPARAM (0-2)(0-3)(0-3)(0-2)(0-2)

OKRead CommandAT+CTTSPARAM

Response+CTTSPARAMltvolumegtltsysvolumegtltdigitmodegtltpitchgtltspeedgt

OKWrite CommandAT+CTTSPARAM=ltvolumegt[ltsysvolumegt[ltdigitmodegt[ltpitchgt[ltspeedgt]]]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltvolumegt TTS Speech Volume default20 ndash the mix volume1 ndash the normal volume2 ndash the max volume

ltsysvolumegt The module system volumedefault30 ndash the mix system volume1 ndash the small system volume

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 413451

2 ndash the normal system volume3 ndash the max system volume

ltdigitmodegt The digit read mode default00 ndash auto read digit based on number rule first1 ndash auto read digit bases on telegram rule first2 ndash read digit based on telegram rule3 ndash read digit based on number rule

ltpitchgt The voice tone default10 ndash the mix voice tone1 ndash the normal voice tone2 ndash the max voice tone

ltspeedgt The voice speed default10 ndash the mix speed1 ndash the normal speed2 ndash the max speed

ltsysvolumegtIt takes no effect to setltsysvolumegtreserved at present

Example

AT+CTTSPARAM=23011OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 414451

25AT Commands for Bluetooth

251 Overview of AT Commands for Bluetooth

Command DescriptionAT+BTINIT Init Bluetooth serviceAT+BTTERM Stop Bluetooth serviceAT+BTPOWER OpenClose BluetoothAT+BTHOST Get or Set host nameAT+BTSCAN Scan BT devicesAT+BTPAIR Pair with other BT deviceAT+BTPAIRED Get Paired BT devicesAT+BTUNPAIR Unpair with the paired BT deviceAT+BTOPPREG OPP RegisterAT+BTOPPSEND OPP send file+BTOPPRECVING OPP receive file notificationAT+BTOPPACCEPT OPP accept or refuse received fileAT+BTGATTREG GATT registerAT+BTGATTCRESRV GATT create serviceAT+BTGATTCRECHAR GATT create service characteristicAT+BTGATTCRECHARDES GATT create service characteristic descriptionAT+BTGATTSTARTSRV GATT startstop serviceAT+BTGATTSTARTADV GATT start advertisementAT+BTGATTDELSRV GATT delete service+BTGATTCONN GATT client connect status+BTGATTWRIND GATT receive client write requestAT+BTGATTWRCFM GATT response to BTGATTWRIND+BTGATTREADIND GATT receive client read requestAT+BTGATTREADCFM GATT response to BTGATTREADINDAT+BTGATTNOTIFY GATT send notification to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 415451

252 Detailed Description of AT Commands for Bluetooth

2521 AT+BTINIT Init Bluetooth service

AT+BTINIT Init Bluetooth serviceExecution CommandAT+BTINIT

Response

a)If init Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

AT+BTINITOK

It must be the first of all the Bluetooth AT commands to be calledIf we want to power on BTwe shouldexecute this command before we execute AT+BTPOWER=1

2522 AT+BTTERM Stop Bluetooth service

AT+BTTERM Stop Bluetooth serviceExecution CommandAT+BTTERM

Response

a)If stop Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 416451

AT+BTTERMOK

It must be the last of all the Bluetooth AT commands to be calledIf we want to power off BTwe shouldexecute this command before we execute AT+BTPOWER=0

2523 AT+BTPOWER OpenClose Bluetooth

AT+ BTPOWER OpenClose BluetoothTest CommandAT+BTPOWER=

Response+BTPOWER (0-1)

OKRead CommandAT+BTPOWER

Response+BTPOWER ltflaggt

OKWrite CommandAT+BTPOWER=ltflaggt

ResponseOK

+BTPOWER ltflaggtorOKorERROR

Defined Values

ltflaggt 1 ndash Start BT Application0 ndash Stop BT Application

Example

AT+BTPOWER=+BTPOWER (0-1)

OKAT+BTPOWER+BTPOWER 0

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 417451

OKAT+BTPOWER=1OK

+BTPOWER 1

2524 AT+BTHOST Get or Set host name

AT+BTHOST Get or Set host nameRead CommandAT+BTHOST

ResponseOK

+BTHOST lthost namegtlthost mac addrgtWrite CommandAT+BTHOST=ltbtnamegt

ResponseOK

Defined Values

ltbtnamegt New Bluetooth name string Max length is 64lthost namegt Current Bluetooth host namelthost mac addrgt Bluetooth mac address format(xxxxxxxxxxxx) x(0-9A-F)

Example

AT+BTHOSTOK

+BTHOST MDM_Fluoride 2222AE4AA2E8AT+BTHOST=SIM8200_BTOK

2525 AT+BTSCAN Scan BT devices

AT+BTSCAN Scan BT devicesTest CommandAT+BTSCAN=

Response+BTSCAN (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 418451

Write CommandAT+BTSCAN=ltdoscangt

ResponseOK+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt[]]+BTSCAN 1 scan end flag

Defined Values

ltdoscangt 0stop scan1scan

ltscan statusgt 0scanning1scan ended

ltBT namegt The bluetooth name of remote deviceltMac Addrgt The bluetooth mac address of the remote deviceltRSSI levelgt The rssi level of the remote device

Example

AT+BTSCAN=+BTSCAN (0-1)

OKAT+BTSCAN=1OK+BTSCAN 0 MiKettle 7811DCC0E683 173+BTSCAN 0 LE-Bose wei 4C875DCA4D37 175

+BTSCAN 0小米手机 7CD661B868D0 179

+BTSCAN 0 ofo F7513B1FAFB5 163+BTSCAN 1

2526 AT+BTPAIR Pair with other BT device

AT+BTPAIR Pair with other BT deviceTest CommandAT+BTPAIR=

Response+BTPAIR 0(BT Address) Or +BTPAIR 1(0-1)

OKWrite CommandAT+BTPAIR=0ltMac Addrgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 419451

+BTPAIRING ltdevice namegtltdevice macgtltpasskeygtor+BTPAIR 0orERROR

Write CommandAT+BTPAIR=1ltacceptgt

ResponseOK+BTPAIR ltdevice namegtltdevice macgtor+BTPAIR 0orERROR

Defined Values

ltMac Addrgt The bluetooth mac address of the remote deviceltdevice namegt The bluetooth name of connected deviceltdevice macgt The bluetooth mac address of the connected deviceltpasskeygt Random generate numeric codeltacceptgt 0reject

1accept

Example

AT+BTPAIR=0123131231231OK

+BTPAIRING Acer E380 123131231231 412711AT+BTPAIR=11OK+BTPAIR Acer E380 123131231231

The URC +BTPAIR 0 indicates pairing failed

2527 AT+BTPAIRED Get Paired BT devices

AT+BTPAIRED Get Paired BT devicesRead CommandAT+BTPAIRED

ResponseOK+BTPAIRED ltindexgt[ltBT namegtltMAC addrgt]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 420451

Defined Values

ltindexgt The index of current bond deviceltBT namegt The bluetooth name of paired deviceltMAC addrgt The bluetooth mac address of the paired device

Example

AT+BTPAIREDOK+BTPAIRED 1 Acer E380 123131231231

2528 AT+BTUNPAIR Unpair with the paired BT device

AT+BTUNPAIR Unpair with the paired BT deviceTest CommandAT+BTUNPAIR=

Response+BTUNPAIR (BT Address)

OKWrite CommandAT+BTUNPAIR=ltMacAddrgt

Response+BTUNPAIR ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltstatusgt 0fail

1success

Example

AT+BTUNPAIR=123131231231+BTUNPAIR 1

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 421451

2529 AT+BTOPPREG OPP Register

AT+BTOPPREG OPP RegisterExecution CommandAT+BTOPPREG

Response+BTOPPREG ltstatusgt

OKParameter Saving Mode -

Max Response Time

Defined Values

ltstatusgt 0fail1success

Example

AT+BTOPPREG+BTOPPREG 1

OK

25210AT+BTOPPSEND OPP send file

AT+BTOPPSEND OPP send fileTest CommandAT+BTOPPSEND=

Response+BTOPPSEND (BT Address)(File Name)

OKWrite CommandAT+BTOPPSEND=ltMacAddrgtltfile namegt

Response+BTOPPSEND ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltfile namegt The file name which you want to sendltstatusgt 0fail

1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 422451

Example

AT+BTOPPSEND=123131231231IMG_20130110_004138jpg+BTOPPSEND 1

OK

25211 +BTOPPRECVING OPP receive file notification

+BTOPPRECVING OPP receive file notificationResponse+BTOPPRECVING ltfile namegt

Defined Values

ltfile namegt The received file name

Example

+BTOPPRECVING IMG_20130110_004138jpg

25212AT+BTOPPACCEPT OPP accept or refuse received file

AT+BTOPPACCEPT OPP accept or refuse received fileTest CommandAT+BTOPPACCEPT=

Response+BTOPPACCEPT (0-1)

OKWrite CommandAT+BTOPPACCEPT=ltflaggt

ResponseOK

+BTOPPRECEIVED ltresultgt

Defined Values

ltflaggt 1 ndash Accept the received file0 ndash Refuse the received file

ltresultgt 0fail1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 423451

Example

+BTOPPRECVING IMG_20130110_004138jpgAT+BTOPPACCEPT=1OK

+BTOPPRECEIVED 1

25213AT+BTGATTREG GATT register

AT+BTGATTREG GATT registerTest CommandAT+BTGATTREG=

Response+BTGATTREG (0-1)

OKRead CommandAT+BTGATTREG

Response+BTGATTREG ltstategt

OKWrite CommandAT+BTGATTREG=ltstategt

ResponseOK

+BTGATTREG ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the register action0 - unregister1 - register

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTREG=+BTGATTREG (0-1)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 424451

OK

AT+BTGATTREG=1OK

+BTGATTREG 1

AT+BTGATTREG+BTGATTREG 1

OK

It must be called before all commands about GATT connect and after AT+BTPOWER

25214AT+BTGATTCRESRV GATT create service

AT+BTGATTCRESRV GATT create serviceWrite CommandAT+BTGATTCRESRV=ltuuidgt

ResponseOK

+BTGATTCRESRV ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service A string with hex value The length can only be 4or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRESRV=1166

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 425451

OK

+BTGATTCRESRV10X00000000000000000000000000001166

AT+BTGATTCRESRV=31323334353637383930616263646566OK

+BTGATTCRESRV10X31323334353637383930616263646566

It must be called after AT+BTGATTREG

25215AT+BTGATTCRECHAR GATT create service characteristic

AT+BTGATTCRECHAR GATT create service characteristicWrite CommandAT+BTGATTCRECHAR=ltuuidgtltpropertygtltpermissiongt

ResponseOK

+BTGATTCRECHAR ltresultgt[lt0Xuuidgtlthandlegt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this characteristic A string with hex value The length can onlybe 4 or 32

ltpropertygt Properties of this characteristic Refer to the following Table 1ltpermissiongt Permission of this characteristic Refer to the following Table 1lthandlegt A numeric parameter characteristic handlelterrgt The error code please refer to chapter 2531

NoteThe before Properties and Permission represent not support now

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 426451

Table 1 Format Map of Properties and Permission

Properties Format MapDefault 0Broadcast 1(0x01)Read 2(0x02)Write without Response 4(0x04)

Write 8(0x08)Notify 16(0x10)Indicate 32(0x20)Signed Write 64(0x40)

Extended Properties 128(0x80)

Permission Format MapNone 0(0x0000)

Read 1(0x0001)ReadEncrypted 2(0x0002)ReadEncryptedMitm 4(0x0004)Write 16(0x0010)

WriteEncrypted 32(0x0020)WriteEncryptedMitm 64(0x0040)WriteSigned 128(0x0080)WriteSignedMitm 256(0x0100)

Example

AT+BTGATTCRECHAR=1166816OK

+BTGATTCRECHAR10X0000000000000000000000000000116658

AT+BTGATTCRECHAR=31323334353637383930616263646566816OK

+BTGATTCRECHAR10X3132333435363738393061626364656660

It must be called after AT+BTGATTREG

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 427451

25216AT+BTGATTCRECHARDES GATT create service characteristic description

AT+BTGATTCRECHARDES GATT create service characteristic descriptionWrite CommandAT+BTGATTCRECHARDES=ltuuidgt

ResponseOK

+BTGATTCRECHARDES ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service characteristic description A string with hex valueThe length can only be 4 or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRECHARDES=1166OK

+BTGATTCRECHARDES10X00000000000000000000000000001166

AT+BTGATTCRECHARDES=31323334353637383930616263646566OK

+BTGATTCRECHARDES10X31323334353637383930616263646566

This command usually follows +BTGATTCRECHAR command whose characteristicrsquos property is notify

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 428451

or indicate and the function of this command is to allow client to config whether accept thenotification(indication) or not

25217AT+BTGATTSTARTSRV GATT startstop service

AT+BTGATTSTARTSRV GATT startstop serviceTest CommandAT+BTGATTSTARTSRV=

Response+BTGATTSTARTSRV (0-1)

OKWrite CommandAT+BTGATTSTARTSRV=ltstategt

ResponseOK

+BTGATTSTARTSRV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop service action0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTSRV=+BTGATTSTARTSRV (0-1)

OK

AT+BTGATTSTARTSRV=1OK

+BTGATTSTARTSRV 1

AT+BTGATTSTARTSRV=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 429451

+BTGATTSTARTSRV 0

It must be called before all commands about GATT connect and after AT+BTGATTCRESRV

25218AT+BTGATTSTARTADV GATT start advertisement

AT+BTGATTSTARTADV GATT start advertisementTest CommandAT+BTGATTSTARTADV=

Response+BTGATTSTARTADV (0-1)

OKWrite CommandAT+BTGATTSTARTADV=ltstategt

ResponseOK

+BTGATTSTARTADV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop advertisementaction0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTADV=+BTGATTSTARTADV (0-1)

OK

AT+BTGATTSTARTADV=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 430451

+BTGATTSTARTADV 1

AT+BTGATTSTARTADV=0OK

+BTGATTSTARTADV 0

Note

25219AT+BTGATTDELSRV GATT delete service

AT+BTGATTDELSRV GATT delete serviceExecution CommandAT+BTGATTDELSRV

ResponseOK

+BTGATTDELSRV ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTDELSRVOK

+BTGATTDELSRV 1

It must be called after AT+BTGATTCRESRV

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 431451

25220+BTGATTCONN GATT client connect status

+BTGATTCONN GATT client connect statusResponse+BTGATTCONN ltstategtltaddressgt

Defined Values

ltstategt A numeric parameter that identifies the connect status0 disconnected1 connected

ltaddressgt A string with hex value the address of connected client

Example

+BTGATTCONN 165A26CE7E8BF

+BTGATTCONN 065A26CE7E8BF

25221+BTGATTWRIND GATT receive client write request

+BTGATTWRIND GATT receive client write requestResponse+BTGATTWRIND lthandlegtltdatagt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string with hex value data to be written

Example

+BTGATTWRIND 426162636465

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 432451

25222AT+BTGATTWRCFM GATT response to BTGATTWRIND

AT+BTGATTWRCFM GATT response to BTGATTWRINDWrite CommandAT+BTGATTWRCFM=ltstategt

ResponseOK

+BTGATTWRCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the write action0 - write successfullyOther - Not support

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

+BTGATTWRIND 426162636465

AT+BTGATTWRCFM=0OK

+BTGATTWRCFM 1

The command act as the response of +BTGATTWRIND if the module receives BTGATTWRINDwithout sending out this command after a while the connection will be disconnected

25223+BTGATTREADIND GATT receive client read request

+BTGATTREADIND GATT receive client read request

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 433451

Response+BTGATTREADIND lthandlegtltis_longgt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltis_longgt A numeric parameter that identifies if there is a following request0 - no following request1 - have following request

Example

+BTGATTREADIND 420

25224AT+BTGATTREADCFM GATT response to BTGATTREADIND

AT+BTGATTREADCFM GATT response to BTGATTREADINDWrite CommandAT+BTGATTREADCFM=ltstategtltdatagt

ResponseOK

+BTGATTREADCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the read action0 - read successfullyOther - Not support

ltdatagt A string value Data need to be read(max length is 512)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 434451

+BTGATTREADIND 420

AT+BTGATTREADCFM=023456OK

+BTGATTREADCFM 1

The command act as the response of +BTGATTREADIND if the module receives BTGATTREADINDwithout sending out this command after a while the connection will be disconnected

25225AT+BTGATTNOTIFY GATT send notification to client

AT+BTGATTNOTIFY GATT send notification to clientWrite CommandAT+BTGATTNOTIFY=lthandlegtltdatagt

ResponseOK

+BTGATTNOTIFY ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string value notify data to be send to client(max length is 20)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTNOTIFY=58456OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 435451

+BTGATTNOTIFY 1

253 Summary of result codes for GATT

2531 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 Unregistered1 Registered2 Service created3 Service characteristic created4 Service characteristic description created5 Service deleted6 Service stopped7 Service started8 Advertisement stopped9 Advertisement started10 Client disconnected11 Client connected12 Receive client read request13 Response to BTGATTREADIND14 Receive client write request15 Response to BTGATTWRIND16 Send notification to client17 Send indication to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 436451

26AT Commands for MiFi

261 Overview of AT Commands for MiFi

Command DescriptionAT+CWMAP OpenClose MiFiAT+CWSSID SSID settingAT+CWBCAST Broadcast settingAT+CWAUTH Authentication type encrypt mode and password settingAT+CWMOCH 80211 mode and channel settingAT+CWISO Client isolation settingAT+CWDHCP Get the current DHCP configurationAT+CWNAT NAT type settingAT+CWCLICNT Get client number connected to the MiFiAT+CWRSTD Restore to default settingAT+CWMAPCFG MiFi configuration settingAT+CWMACADDR Get MAC addressAT+CWNETCNCT Query the connection to the networkAT+CWSTASCAN Scan WIFI networkAT+CWSTACFG STAmode configuration settingAT+CWSTAIP Get STAmode IP address

262 Detailed Description of AT Commands for MiFi

2621 AT+CWMAP OpenClose MiFi

AT+CWMAP OpenClose MiFiTest CommandAT+CWMAP=

Response+CWMAP(0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 437451

Read CommandAT+CWMAP

Response+CWMAPltflaggt

OK

Write CommandAT+CWMAP=ltflaggt

Response

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltflaggt Indicate MiFi statedefault is 10 ndash close1 ndash open

ExampleAT+CWMAP+CWMAP 1

OK

AT+CWMAP=0OK

2622 AT+CWSSID SSID setting

AT+CWSSID SSID settingRead CommandAT+CWSSID

Response+CWSSIDltssidgt

OK

Write CommandAT+CWSSID=ltssidgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 438451

Reference -

Defined Values

ltssidgt Ssid string1 The max length of ltssidgt is 32 bytes when the ltssidgt include only

ASCII characters2 The max length of ltssidgt is 20 bytes when ltssidgt include only

Chinese (One Chinese characters is 2 bytes so the max Chinesecount is 10)

3 The max length of ltssidgt is 22 bytes when ltssidgt include ASCIIand Chinese characters (One Chinese character is 2 bytes oneASCII character is 1 byte)The default ssid is SIM8X00AP

Example

AT+CWSSID+CWSSID SIM8X00AP

OK

AT+CWSSID=SIM8200OK

2623 AT+CWBCAST Broadcast setting

AT+CWBCAST Broadcast settingTest CommandAT+CWBCAST=

Response+CWBCAST (0-1)

OKRead CommandAT+CWBCAST

Response+CWBCAST ltbroadcastgt

OK

Write CommandAT+CWBCAST=ltbroadcastgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 439451

Reference -

Defined Values

ltbroadcastgt Broadcast parameter default10 ndash disabled1 ndash enabled

Example

AT+CWBCAST+CWBCAST 1

OK

AT+CWBCAST=0OK

2624 AT+CWAUTH Authentication setting

AT+CWAUTH Authentication type encrypt mode and password settingRead CommandAT+CWAUTH

Response+CWAUTH ltauthgtltencryptgt[ltpasswordgt]

OK

Write CommandAT+CWAUTH=ltauthgtltencryptgt[ltpasswordgt]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltauthgt Authentication type parameter default40 - auto1 - open2 - share3 - wpa4 - wpa25 - wpawpa2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 440451

ltencryptgt Encrypt mode default30 - null1 - WEP2 - TKIP3 - AES4 - TKIP-AES

ltpasswordgt password string the length is 5 or between 8 to 64 The char in thepassword is only allow the ASCII lsquos decimal code between 32 to 126

The parameter need to meet the following conditions1 If (auth = 0 or auth = 1) then (encrypt = 0 or encrypt = 1)2 If (auth =2) then (encrypt = 1)3 If (auth gt=3) then (encrypt gt=2)4 If(encrypt = 0) then (password is null)5 If(encrypt = 1) then1) password canrsquot be set null2) password format (5 ASCII characters) or (10 hexadecimalnumbers) or(13 ASCII characters) or(26 hexadecimal numbers)6 if(encrypt gt= 2) then1) password canrsquot be set null2) password format ( 8~63 ASCII characters or 64 hexadecimalnumbers)

Example

AT+CWAUTH+CWAUTH 431234567890

OK

AT+CWAUTH=54abcd1234OK

2625 AT+CWMOCH 80211 mode and channel setting

AT+CWMOCH 80211 mode and channel settingRead CommandAT+CWMOCH

Response+CWMOCH ltmodegtltchannelgtltbandwidthgt

OK

Write CommandAT+CWMOCH=ltmodegtltch

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 441451

annelgtltbandwidthgt orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt 80211 mode parameter default41 an 5G mode2 b 24G mode3 bg 24G mode4 bgn 24G mode5 acn 5G mode6 ax WIFI6 mode

ltchannelgt Channel parameter default 00 auto select1~11 24G mode channel number36404448149153157161165 5G mode channel number

If ltmodegt is 1 (an) ltchannelgt can be set36404448149153157161165If ltmodegt is 5 (acn) ltchannelgt can be set149153157161165

If ltmodegt is 234 ltchannelgt range is 0~11If ltmodegt is 15 the client must be support 5G modeIf ltmodegt is 6 (ax) the client must be support WiFi6 mode ltchannelgtcan be set 0-11 or 149153157161165

ltbandwidthgt MiFi band width it is an optional paramter0 20MHz band widthvht_oper_chwidth is 0 and vht_capab is HT20

1 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40+

2 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40-

3 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40+

4 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40-

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 442451

Only when mode is set as 15or 6 bandwidth can be set

Example

AT+CWMOCH+CWMOCH 46

OK

AT+CWMOCH=40OK

2626 AT+CWISO Client isolation setting

AT+CWISO Client isolation settingTest CommandAT+CWISO=

Response+CWISO (0-1)

OKRead CommandAT+CWISO

Response+CWISO ltisolationgt

OK

Write CommandAT+CWISO=ltisolationgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltisolationgt Isolation parameter default 00 ndash close1 ndash open

Example

AT+CWISO+CWISO 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 443451

OK

AT+CWISO=1OK

2627 AT+CWDHCP Get the current DHCP configuration

AT+CWDHCP Get the current DHCP configurationRead CommandAT+CWDHCP

Response+CWDHCPlthost_ipgtltrange_start_ipgtltrange_end_ipgtltleasetimegt

OKParameter Saving Mode -

Max Response Time -Reference -

Defined Values

lthost_ipgt The AP IP addressltrange_start_ipgt The start IP of the IP range that assigned to the clientltrange_end_ipgt The end IP of the IP range that assigned to the clientltleasetimegt The lease time

Example

AT+CWDHCP+CWDHCP1921682251192168225201921682256012h

OK

2628 AT+CWNAT NAT type setting

AT+CWNAT NAT type settingTest CommandAT+CWNAT=

Response+CWNAT (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 444451

Read CommandAT+CWNAT

Response+CWNAT lttypegt

OK

Write CommandAT+CWNAT=lttypegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt NAT type parameter default00 Symmetric1 Cone

Example

AT+CWNAT+CWNAT 0

OKAT+CWNAT=1OK

2629 AT+CWCLICNT Get client number connected to the MiFi

AT+CWCLICNT Get client number connected to the MiFiRead CommandAT+CWCLICNT

Response+CWCLICNTltcntgt

OK

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltcntgt the connected client count range is from 0 to 32

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 445451

Example

AT+CWCLICNT+CWCLICNT 1

OK

26210AT+CWRSTD Restore to default setting

AT+CWRSTD Restore to default settingExecution CommandAT+CWRSTD

ResponseOK

Parameter Saving Mode -

Max Response Time -Reference -The module will reboot after restore

Defined Values

Example

AT+CWRSTDOK

26211 AT+CWMAPCFG MiFi configuration setting

AT+CWMAPCFG configuration settingTest CommandAT+CWMAPCFG=

Response+CWMAPCFG(enablessid2configselect)(0-2)

OK

Read CommandAT+CWMAPCFG

Response+CWMAPCFG ltenablessid2_valuegtltconfigselect_valuegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 446451

Write CommandAT+CWMAPCFG=ltoptiongtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablessid2_valuegt 0 ndash AP mode1 ndash AP-AP mode2 ndash STA-AP mode

ltconfigselect_valuegt Current AP ID 012ltoptiongt enablessid2rdquo set MiFi mode

configselectrdquo set the current AP IDltvaluegt The value of the options

If (option=rdquoenablessid2rdquo)0 AP mode1 AP-AP mode2 STA-AP mode

If (option=rdquoconfigselectrdquo)Current AP ID (0 or 1 or 2) to be set

When current AP ID is 0 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISOAT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thefirst APrsquos settings

When current AP ID is 1 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thesecond APrsquos settings

When current AP ID is 2 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thethird APrsquos settings theAT+CWSTAIPAT+CWSTASCANAT+CWSTACFGwill modify the STArsquos settings

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 447451

It canrsquot set the configselect value to 1 when enablessid2 is 0 The configselect value will be changed due to enablessid2enablessid2 configselect0 01 0 or 12 2

Example

AT+CWMAPCFG=+CWMAPCFG (enablessid2configselect)(0-2)

OKAT+CWMAPCFG+CWMAPCFG 00

OKAT+CWMAPCFG=enablessid21OKAT+CWMAPCFG=configselect1OKAT+CWMAPCFG=enablessid20OK

26212AT+CWMACADDR Get MAC address

AT+CWMACADDR Get MAC addressRead CommandAT+CWMACADDR

ResponseOK

+CWMACADDRltnumbergtltmac_addrgt[ ]orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltnumbergt 0 ndash host mac addr

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 448451

1ndash client mac addr client mac addr

ltmac_addrgt Device mac address

Example

AT+CWMACADDROK

+CWMACADDR002037F9362621cc29f5e0eff3

26213AT+CWNETCNCT Query the connection to the network

AT+CWNETCNCT Query the connection to the networkRead CommandAT+CWNETCNCT

Response+CWNETCNCT ltflaggt

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflaggt 0 disconnect1 connect

Example

AT+CWNETCNCT+CWNETCNCT 1

OK

26214AT+CWSTASCAN Scan WIFI network

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 449451

AT+CWSTASCAN Scan WIFI networkRead CommandAT+CWSTASCAN

Response+CWSTASCAN ltflag_show_signalgt

OK

Write CommandAT+CWSTASCAN=ltflag_show_signalgt

ResponseOKorERROR

Execute CommandAT+CWSTASCAN

OK

[+CWSTASCANltbssidgtltssidgt[ltsignalgt][hellip hellip]]orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflag_show_signalgt 0 ndashDonrsquot show the signal level Itrsquos the default value1 ndashShow the signal level

ltbssidgt The MAC address of external wireless networkltssidgt The SSID name of external wireless networkltsignalgt The signal level of external wireless network

Example

AT+CWSTASCANOK

+CWSTASCAN4ce676492a48simtest

AT+CWSTASCAN=1OKAT+CWSTASCAN+CWSTASCAN 1

OKAT+CWSTASCANOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 450451

+CWSTASCANf483cdd824c8TP-LINK_24C8-5280891710e623TP-LINK_SW2-58142d27249861Public-58bc469938e2caTP-LINK_E2CA-640c72d949258bnubia-WD670-258B-92502b73c0aad9Tenda_C0AAD9-68

26215AT+CWSTACFG STAmode configuration setting

AT+CWSTACFG STAmode configuration settingRead CommandAT+CWSTACFG

Response+CWSTACFGltssidgt[ltsecuritygtltprotogtltpskgt]

OK

Write CommandAT+CWSTACFG=ltssidgt[ltsecuritygtltprotogtltpskgt]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltssidgt The SSID name of external wireless networkltsecuritygt Reserved valueltprotogt Reserved valueltpskgt The password of external wireless network

Example

AT+CWSTACFG=simtest211234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 451451

AT+CWSTACFG=simtest1234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

26216AT+CWSTAIP Get STAmode IP address

AT+CWSTAIP Get STAmode IP addressRead CommandAT+CWSTAIP

Response[+CWSTAIP ltip addressgt]

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltip addressgt The station IP address

Example

AT+CWSTAIP+CWSTAIP 1921681127

OK

  • Version History
  • Contents
  • 1Introduction
    • 11Scope of the document
    • 12Related documents
    • 13Conventions and abbreviations
    • 14AT Command syntax
      • 141Basic syntax
      • 142S Parameter syntax
      • 143Extended Syntax
      • 144Combining AT commands on the same Command line
      • 145Entering successive AT commands on separate lines
        • 15Supported character sets
        • 16Flow control
          • 161Hardware flow control (RTSCTS flow control)
            • 17Definitions
              • 171Parameter Saving Mode
              • 172Max Response Time
                  • 2AT Commands According to V25TER
                    • 21Overview of AT Commands According to V25TER
                    • 22Detailed Description of AT Commands According to V
                      • 221A Re-issues the Last Command Given
                      • 222ATD Mobile Originated Call to Dial A Number
                      • 223ATDgtltmemgtltngt Originate call from specified memory
                      • 224ATDgtltngt Originate call from active memory(1)
                      • 225ATDgtltstrgt Originate call from active memory(2)
                      • 226ATA Call answer
                      • 227ATH Disconnect existing call
                      • 228ATS0 Automatic answer incoming call
                      • 229+++ Switch from data mode to command mode
                      • 2210ATO Switch from command mode to data mode
                      • 2211ATI Display product identification information
                      • 2212AT+IPR Set local baud rate temporarily
                      • 2213AT+ICF Set control character framing
                      • 2214AT+IFC Set local data flow control
                      • 2215ATampC Set DCD function mode
                      • 2216ATE Enable command echo
                      • 2217ATampV Display current configuration
                      • 2218ATampD Set DTR function mode
                      • 2219ATV Set result code format mode
                      • 2220ATampF Set all current parameters to manufacturer d
                      • 2221ATQ Set Result Code Presentation Mode
                      • 2222ATX Set CONNECT Result Code Format
                      • 2223ATV Set CONNECT Result Code Format About Protoco
                      • 2224ATampE Set CONNECT Result Code Format About Speed
                      • 2225ATampW Save the user setting to ME
                      • 2226ATZ Restore the user setting from ME
                      • 2227AT+CGMI Request manufacturer identification
                      • 2228AT+CGMM Request model identification
                      • 2229AT+CGMR Request revision identification
                      • 2230AT+CGSN Request product serial number identificat
                      • 2231AT+CSCS Select TE character set
                      • 2232AT+CIMI Request international mobile subscriber i
                      • 2233AT+GCAP Request overall capabilities
                          • 3AT Commands for Status Control
                            • 31Overview of AT Commands for Status Control
                            • 32Detailed Description of AT Commands for Status Con
                              • 321AT+CFUN Set phone functionality
                              • 322AT+CPIN Enter PIN
                              • 323AT+CICCID Read ICCID from SIM card
                              • 324AT+CSIM Generic SIM access
                              • 325AT+CRSM Restricted SIM access
                              • 326AT+SPIC Times remain to input SIM PINPUK
                              • 327AT+CSPN Get service provider name from SIM
                              • 328AT+CSQ Query signal quality
                              • 329AT+AUTOCSQ Set CSQ report
                              • 3210AT+CSQDELTA Set RSSI delta change threshold
                              • 3211AT+CATR Configure URC destination interface
                              • 3212AT+CPOF Power down the module
                              • 3213AT+CRESET Reset the module
                              • 3214AT+CACM Accumulated call meter
                              • 3215AT+CAMM Accumulated call meter maximum
                              • 3216AT+CPUC Price per unit and currency table
                              • 3217AT+CCLK Real time clock management
                              • 3218AT+CMEE Report mobile equipment error
                              • 3219AT+CPAS Phone activity status
                              • 3220AT+SIMEI Set IMEI for the module
                              • 3221AT+CSVM Voice Mail Subscriber number
                              • 3222Indication of Voice Mail
                                • 33Summary of CME ERROR codes
                                • 34Summary of CMS ERROR codes
                                  • 4AT Commands for Network
                                    • 41Overview of AT Commands for Network
                                    • 42Detailed Description of AT Commands for Network
                                      • 421AT+CREG Network registration
                                      • 422AT+COPS Operator selection
                                      • 423AT+CLCK Facility lock
                                      • 424AT+CPWD Change password
                                      • 425AT+CCUG Closed user group
                                      • 426AT+CUSD Unstructured supplementary service data
                                      • 427AT+CAOC Advice of Charge
                                      • 428AT+CSSN Supplementary service notifications
                                      • 429AT+CPOL Preferred operator list
                                      • 4210AT+COPN Read operator names
                                      • 4211AT+CNMP Preferred mode selection
                                      • 4212AT+CNAOP Acquisitions order preference
                                      • 4213AT+CPSI Inquiring UE system information
                                      • 4214AT+CNSMOD Show network system mode
                                      • 4215AT+CEREG EPS network registration status
                                      • 4216AT+CTZU Automatic time and time zone update
                                      • 4217AT+CTZR Time and time zone reporting
                                      • 4218AT+CNWINFO Inquiring extra network info
                                      • 4219AT+C5GREG NR5G network registration status
                                      • 4220AT+CSYSSEL Set system selection pref
                                      • 4221AT+CCELLCFG Set lte cell configuration
                                      • 4222AT+C5GCELLCFG Set NR5G cell configuration
                                          • 5AT Commands According to Call Control
                                            • 51Overview of AT Commands According to 3GPP Call Con
                                            • 52Detailed Description of AT Commands According to C
                                              • 521AT+CVHU Voice hang up control
                                              • 522AT+CHUP Hang up call
                                              • 523AT+CBST Select bearer service type
                                              • 524AT+CRLP Radio link protocol
                                              • 525AT+CR Service reporting control
                                              • 526AT+CRC Cellular result codes
                                              • 527AT+CLCC List current calls
                                              • 528AT+CEER Extended error report
                                              • 529AT+CCWA Call waiting
                                              • 5210AT+CHLD Call related supplementary services
                                              • 5211AT+CCFC Call forwarding number and conditions
                                              • 5212AT+CLIP Calling line identification presentation
                                              • 5213AT+CLIR Calling line identification restriction
                                              • 5214AT+COLP Connected line identification presentatio
                                              • 5215AT+VTS DTMF and tone generation
                                              • 5216AT+VTD Tone duration
                                              • 5217AT+CSTA Select type of address
                                              • 5218AT+CMOD Call mode
                                              • 5219AT+VMUTE Speaker mute control
                                              • 5220AT+CMUT Microphone mute control
                                              • 5221AT+MORING Enable or disable report MO ring URC
                                              • 5222AT+CLVL Loudspeaker volume level
                                              • 5223AT+CRXVOL Adjust RX voice output speaker volume
                                              • 5224AT+CTXVOL Adjust TX voice mic volume
                                              • 5225AT+CTXMICGAIN Adjust TX voice mic gain
                                              • 5226AT+CECH Inhibit far-end echo
                                              • 5227AT+CECDT Inhibit echo during doubletalk
                                                  • 6AT Commands for Phonebook
                                                    • 61Overview of AT Commands for Phonebook
                                                    • 62Detailed Description of AT Commands for Phonebook
                                                      • 621AT+CPBS Select Phonebook memory storage
                                                      • 622AT+CPBR Read Phonebook entries
                                                      • 623AT+CPBF Find Phonebook entries
                                                      • 624AT+CPBW Write Phonebook entry
                                                      • 625AT+CNUM Subscriber number
                                                          • 7AT Commands for SIM Application Toolkit
                                                            • 71Overview of AT Commands for SIM Application Toolki
                                                            • 72Detailed Description of AT Commands for SIM Applic
                                                              • 721AT+STIN SAT Indication
                                                              • 722AT+STGI Get SAT information
                                                              • 723AT+STGR SAT respond
                                                              • 724AT+STK STK switch
                                                              • 725AT+STKFMT Set STK pdu format
                                                              • 726AT+STENV Original STK PDU Envelope Command
                                                              • 727AT+STSM Get STK Setup Menu List with PDU Mode
                                                                  • 8AT Commands for GPRS
                                                                    • 81Overview of AT Commands for GPRS
                                                                    • 82Detailed Description of AT Commands for GPRS
                                                                      • 821AT+CGREG GPRS network registration status
                                                                      • 822AT+CGATT Packet domain attach or detach
                                                                      • 823AT+CGACT PDP context activate or deactivate
                                                                      • 824AT+CGDCONT Define PDP context
                                                                      • 825AT+CGDSCONT Define Secondary PDP Context
                                                                      • 826AT+CGTFT Traffic Flow Template
                                                                      • 827AT+CGQREQ Quality of service profile (requested)
                                                                      • 828AT+CGEQREQ 3G quality of service profile (request
                                                                      • 829AT+CGQMIN Quality of service profile (minimum acc
                                                                      • 8210AT+CGEQMIN 3G quality of service profile (minimum
                                                                      • 8211AT+CGDATA Enter data state
                                                                      • 8212AT+CGPADDR Show PDP address
                                                                      • 8213AT+CGCLASS GPRS mobile station class
                                                                      • 8214AT+CGEREP GPRS event reporting
                                                                      • 8215AT+CGAUTH Set type of authentication for PDP-IP c
                                                                        • 83Summary of Unsolicited Result Codes
                                                                          • 9AT Commands for SMS
                                                                            • 91Overview of AT Commands for SMS
                                                                            • 92Detailed Description of AT Commands for SMS
                                                                              • 921AT+CSMS Select message service
                                                                              • 922AT+CPMS Preferred message storage
                                                                              • 923AT+CMGF Select SMS message format
                                                                              • 924AT+CSCA SMS service center address
                                                                              • 925AT+CSCB Select cell broadcast message indication
                                                                              • 926AT+CSMP Set text mode parameters
                                                                              • 927AT+CSDH Show text mode parameters
                                                                              • 928AT+CNMA New message acknowledgement to META
                                                                              • 929AT+CNMI New message indications to TE
                                                                              • 9210AT+CGSMS Select service for MO SMS messages
                                                                              • 9211AT+CMGL List SMS messages from preferred store
                                                                              • 9212AT+CMGR Read message
                                                                              • 9213AT+CMGS Send message
                                                                              • 9214AT+CMSS Send message from storage
                                                                              • 9215AT+CMGW Write message to memory
                                                                              • 9216AT+CMGD Delete message
                                                                              • 9217AT+CMGMT Change message status
                                                                              • 9218AT+CMVP Set message valid period
                                                                              • 9219AT+CMGRD Read and delete message
                                                                              • 9220AT+CMGSEX Send message
                                                                              • 9221AT+CMSSEX Send multi messages from storage
                                                                                  • 10AT Commands for SSL
                                                                                    • 101Overview of AT Commands for SSL
                                                                                    • 102Detailed Description of AT Commands for SSL
                                                                                      • 1021AT+CCHSTART Start SSL service
                                                                                      • 1022AT+CCHSTOP Stop SSL service
                                                                                      • 1023AT+CCHOPEN Connect to SSL server
                                                                                      • 1024AT+CCHCLOSE Disconnect from SSL server
                                                                                      • 1025AT+CCHSEND Send data to SSL server
                                                                                      • 1026AT+CCHRECV Read the cached data that received fro
                                                                                      • 1027AT+CCHADDR Get the IPV4 address
                                                                                      • 1028AT+CCHCFG Configure the client context
                                                                                      • 1029AT+CCHSSLCFG Set the SSL context
                                                                                      • 10210AT+CCHMODE Configure the mode of sending and rece
                                                                                      • 10211AT+CCHSET Configure the report mode of sending an
                                                                                      • 10212AT+CSSLCFG Configure the SSL context
                                                                                      • 10213AT+CCERTDOWN Download certificate into the module
                                                                                      • 10214AT+CCERTLIST List certificates
                                                                                      • 10215AT+CCERTDELE Delete certificates
                                                                                        • 103Command result lterrgt codes
                                                                                        • 104Unsolicited result codes
                                                                                          • 11AT Commands for TCPIP
                                                                                            • 111Overview of AT Commands for TCPIP
                                                                                            • 112Detailed Description of AT Commands for TCPIP
                                                                                              • 1121AT+NETOPEN Start TCPIP service
                                                                                              • 1122AT+NETCLOSE Stop TCPIP service
                                                                                              • 1123AT+CIPOPEN Setup TCPUDP client socket connection
                                                                                              • 1124AT+CIPCLOSE Destroy TCPUDP client socket connect
                                                                                              • 1125AT+CIPSEND Send TCPUDP data
                                                                                              • 1126AT+CIPRXGET Retrieve TCPUDP buffered data
                                                                                              • 1127AT+IPADDR Get IP address of PDP context
                                                                                              • 1128AT+CIPHEAD Add an IP header when receiving data
                                                                                              • 1129AT+CIPSRIP Show remote IP address and port
                                                                                              • 11210AT+CIPMODE Select TCPIP application mode
                                                                                              • 11211AT+CIPSENDMODE Set sending mode
                                                                                              • 11212AT+CIPTIMEOUT Set TCPIP timeout value
                                                                                              • 11213AT+CIPCCFG Configure parameters of socket
                                                                                              • 11214AT+SERVERSTART Startup TCP server
                                                                                              • 11215AT+SERVERSTOP Stop TCP server
                                                                                              • 11216AT+CIPACK QueryTCP connection data transmitting s
                                                                                                • 113DNS amp PING
                                                                                                  • 1131AT+CDNSGIP Query the IP address of given domain n
                                                                                                  • 1132AT+CDNSGHNAME Query the domain name of given IP a
                                                                                                  • 1133AT+CIPDNSSET Set DNS query parameters
                                                                                                  • 1134AT+CPING Ping destination address
                                                                                                  • 1135AT+CPINGSTOP Stop an ongoing ping session
                                                                                                    • 114Information Elements related to TCPIP
                                                                                                    • 115Description of lterr_infogt
                                                                                                    • 116Description of lterrgt
                                                                                                      • 12AT Commands for FTP(S)
                                                                                                        • 121Overview of AT Commands for FTP(S)
                                                                                                        • 122Detailed Description of AT Commands for FTP(S)
                                                                                                          • 1221AT+CFTPSSTART Start FTP(S) service
                                                                                                          • 1222AT+CFTPSSTOP Stop FTP(S) Service
                                                                                                          • 1223AT+CFTPSLOGIN Login to a FTP(S) server
                                                                                                          • 1224AT+CFTPSLOGOUT Logout FTP(S) server
                                                                                                          • 1225AT+CFTPSMKD Create a new directory on FTP(S) serv
                                                                                                          • 1226AT+CFTPSRMD Delete a directory on FTP(S) server
                                                                                                          • 1227AT+CFTPSDELE Delete a file on FTP(S) server
                                                                                                          • 1228AT+CFTPSCWD Change the current directory on FTP(S
                                                                                                          • 1229AT+CFTPSPWD Get the current directory on FTP(S) s
                                                                                                          • 12210AT+CFTPSTYPE Set the transfer type on FTP(S) serv
                                                                                                          • 12211AT+CFTPSLIST List the items in the directory on F
                                                                                                          • 12212AT+CFTPSGETFILE Get a file from FTP(S) server to
                                                                                                          • 12213AT+CFTPSPUTFILE Put a file from module to FTP(S)
                                                                                                          • 12214AT+CFTPSGET Get a file from FTP(S) server to seri
                                                                                                          • 12215AT+CFTPSPUT Put a file to FTP(S) server through s
                                                                                                          • 12216AT+CFTPSSINGLEIP Set FTP(S) data socket address t
                                                                                                          • 12217AT+CFTPSCACHERD Output cached data to MCU
                                                                                                          • 12218AT+CFTPSABORT Abort FTP(S) Operations
                                                                                                          • 12219AT+CFTPSSIZE Get the File Size on FTP(S) server
                                                                                                            • 123Summary of result codes for FTPS
                                                                                                              • 1231Summary of Command result lterrcodegt
                                                                                                              • 1232Summary of Unsolicited Result Codes
                                                                                                                  • 13AT Commands for HTTPS
                                                                                                                    • 131Overview of AT Commands for HTTPS
                                                                                                                    • 132DetailedDescription of AT Commands for HTTPS
                                                                                                                      • 1321AT+HTTPINIT Start HTTP(S) service
                                                                                                                      • 1322AT+HTTPTERM Stop HTTP(S) Service
                                                                                                                      • 1323AT+HTTPPARA Set HTTP(S) Parameters value
                                                                                                                      • 1324AT+HTTPACTION HTTP(S) Method Action
                                                                                                                      • 1325AT+HTTPHEAD Read the HTTP(S) Header Information o
                                                                                                                      • 1326AT+HTTPREAD Read the Response Information of HTTP
                                                                                                                      • 1327AT+HTTPDATA Input HTTP(S) Data
                                                                                                                      • 1328AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) serv
                                                                                                                      • 1329AT+HTTPREADFILE Receive HTTP(S) Response Content
                                                                                                                        • 133Summary of result codes for HTTPS
                                                                                                                          • 1331Summary of HTTP(S) Response Code
                                                                                                                          • 1332Summary of HTTP(S) error Code
                                                                                                                              • 14AT Commands for MQTT(S)
                                                                                                                                • 141Overview of AT Commands for MQTT(S)
                                                                                                                                • 142Detailed Description of AT Commands for MQTT(S)
                                                                                                                                  • 1421AT+CMQTTSTART Start MQTT service
                                                                                                                                  • 1422AT+CMQTTSTOP STOP MQTT service
                                                                                                                                  • 1423AT+CMQTTACCQ Acquire a client
                                                                                                                                  • 1424AT+CMQTTREL Release a client
                                                                                                                                  • 1425AT+CMQTTSSLCFG Set the SSL context
                                                                                                                                  • 1426AT+CMQTTWILLTOPIC Input the will topic
                                                                                                                                  • 1427AT+CMQTTWILLMSG Input the will message
                                                                                                                                  • 1428AT+CMQTTDISC Disconnect from server
                                                                                                                                  • 1429AT+CMQTTCONNECT Connect to MQTT server
                                                                                                                                  • 14210AT+CMQTTTOPIC Input the publish message topic
                                                                                                                                  • 14211AT+CMQTTPAYLOAD Input the publish message body
                                                                                                                                  • 14212AT+CMQTTPUB Publish a message to server
                                                                                                                                  • 14213AT+CMQTTSUBTOPIC Input a subscribe message topic
                                                                                                                                  • 14214AT+CMQTTSUB Subscribe a message to server
                                                                                                                                  • 14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message to
                                                                                                                                  • 14216AT+CMQTTUNSUB Unsubscribe a message to server
                                                                                                                                  • 14217AT+CMQTTCFG Configure the MQTT Context
                                                                                                                                    • 143Summary of result codes for MQTT(S)
                                                                                                                                      • 1431Summary of Command result lterrgt codes
                                                                                                                                      • 1432Summary of Unsolicited Result Codes
                                                                                                                                          • 15AT Commands for NTP
                                                                                                                                            • 151Overview of AT Commands for NTP
                                                                                                                                            • 152Detailed Description of AT Commands for NTP
                                                                                                                                              • 1521AT+CNTP Update system time
                                                                                                                                              • 1522Unsolicited NTP Codes
                                                                                                                                                  • 16AT Commands for HTP
                                                                                                                                                    • 161Overview of AT Commands for HTP
                                                                                                                                                    • 162Detailed Description of AT Commands for HTP
                                                                                                                                                      • 1621AT+CHTPSERV Set HTP server info
                                                                                                                                                      • 1622AT+CHTPUPDATE Updating date time using HTP protoc
                                                                                                                                                      • 1623Unsolicited HTP Codes
                                                                                                                                                          • 17AT Commands for GPS
                                                                                                                                                            • 171Overview of AT Commands for GPS
                                                                                                                                                            • 172Detailed Description of AT Commands for GPS
                                                                                                                                                              • 1721AT+CGPS StartStop GPS session
                                                                                                                                                              • 1722AT+CGPSINFO Get GPS fixed position information
                                                                                                                                                              • 1723AT+CGPSCOLD Cold Start GPS
                                                                                                                                                              • 1724AT+CGPSHOT Hot Start GPS
                                                                                                                                                              • 1725AT+CGPSURL Set AGPS default server URL
                                                                                                                                                              • 1726AT+CGPSSSL Set AGPS transport security
                                                                                                                                                              • 1727AT+CGPSAUTO Start GPS automatic
                                                                                                                                                              • 1728AT+CGPSNMEA Configure NMEA sentence type
                                                                                                                                                              • 1729AT+CGPSNMEARATE Set NMEA output rate
                                                                                                                                                              • 17210AT+CGPSMD Configure AGPS MO method
                                                                                                                                                              • 17211AT+CGPSFTM Start GPS test mode
                                                                                                                                                              • 17212AT+CGPSDEL Delete the GPS information
                                                                                                                                                              • 17213AT+CGPSXE EnableDisable GPS XTRA function
                                                                                                                                                              • 17214AT+CGPSXD Download XTRA assistant file
                                                                                                                                                              • 17215AT+CGPSXDAUTO Download XTRA assistant file automa
                                                                                                                                                              • 17216AT+CGPSPMD Configure positioning mode
                                                                                                                                                              • 17217AT+CGPSMSB Configure based mode switch to standal
                                                                                                                                                              • 17218AT+CGPSHOR Configure positioning desired accuracy
                                                                                                                                                              • 17219AT+CGNSSINFO Get GNSS fixed position information
                                                                                                                                                              • 17220AT+CGNSSMODE Configure GNSS support mode
                                                                                                                                                              • 17221Unsolicited XTRA download Codes
                                                                                                                                                                  • 18AT Commands for LBS
                                                                                                                                                                    • 181 Overview of AT Commands for LBS
                                                                                                                                                                    • 182Detailed Description of AT Commands for LBS
                                                                                                                                                                      • 1821AT+CLBS Base station location
                                                                                                                                                                      • 1822AT+CLBSCFG Base station Location configure
                                                                                                                                                                          • 19AT Commands for Hardware
                                                                                                                                                                            • 191Overview of AT Commands for Hardware
                                                                                                                                                                            • 192Detailed Description of AT Commands for Hardware
                                                                                                                                                                              • 1921AT+IPREX Set UART local baud rate permanently
                                                                                                                                                                              • 1922AT+CFGRI Indicate RI when using URC
                                                                                                                                                                              • 1923AT+CSCLK Control UART sleep
                                                                                                                                                                              • 1924AT+CMUX Enable the multiplexer over the UART
                                                                                                                                                                              • 1925AT+CGFUNC Enabledisable the function for the spe
                                                                                                                                                                              • 1926AT+CGDRT Set the direction of specified GPIO
                                                                                                                                                                              • 1927AT+CGSETV Set the value of specified GPIO
                                                                                                                                                                              • 1928AT+CGGETV Get the value of specified GPIO
                                                                                                                                                                              • 1929AT+CPCIEMODE Get or set the mode of PCIE
                                                                                                                                                                                  • 20 Hardware Related Commands
                                                                                                                                                                                    • 201Overview of Hardware Related Commands
                                                                                                                                                                                    • 202Detailed Description of AT Commands for Hardware
                                                                                                                                                                                      • 2021AT+CVALARM Set overvoltage and undervoltage alarm
                                                                                                                                                                                      • 2022AT+CADC Read the value of ADC
                                                                                                                                                                                      • 2023AT+CADC2 Read the value of ADC2
                                                                                                                                                                                      • 2024AT+CMTE Set the power action when over the critic
                                                                                                                                                                                      • 2025AT+CPMVT Set the power action when overvoltage an
                                                                                                                                                                                      • 2026AT+CDELTA Set module reboot to recovery mode
                                                                                                                                                                                      • 2027AT+CBC Read the voltage value of the power supply
                                                                                                                                                                                      • 2028AT+CPMUTEMP Read the temperature of the modules
                                                                                                                                                                                      • 2029AT+CUSBCFG Set usbidadb modeedl mode and bootlo
                                                                                                                                                                                      • 20210AT+CCPUTEMP Read the temperature of CPU different
                                                                                                                                                                                          • 21AT Commands for UIM hot swap
                                                                                                                                                                                            • 211Overview of AT Commands for UIM hot swap
                                                                                                                                                                                            • 212Detailed Description of AT Commands for UIM hot sw
                                                                                                                                                                                              • 2121AT+UIMHOTSWAPON Set UIM hot swap function on
                                                                                                                                                                                              • 2122AT+UIMHOTSWAPLEVEL Set UIM card detection level
                                                                                                                                                                                                  • 22AT Commands for File System
                                                                                                                                                                                                    • 221Overview of AT Commands for File System
                                                                                                                                                                                                    • 222Detailed Description of AT Commands for File Syste
                                                                                                                                                                                                      • 2221AT+FSCD Select directory as current directory
                                                                                                                                                                                                      • 2222AT+FSMKDIR Make new directory in current director
                                                                                                                                                                                                      • 2223AT+FSRMDIR Delete directory in current directory
                                                                                                                                                                                                      • 2224AT+FSLS List directoriesfiles in current directo
                                                                                                                                                                                                      • 2225AT+FSDEL Delete file in current directory
                                                                                                                                                                                                      • 2226AT+FSRENAME Rename file in current directory
                                                                                                                                                                                                      • 2227AT+FSATTRI Request file attributes
                                                                                                                                                                                                      • 2228AT+FSMEM Check the size of available memory
                                                                                                                                                                                                      • 2229AT+FSLOCA Select storage place
                                                                                                                                                                                                      • 22210AT+FSCOPY Copy an appointed file
                                                                                                                                                                                                      • 22211AT+CFTRANRX Transfer a file to EFS
                                                                                                                                                                                                      • 22212AT+CFTRANTX Transfer a file from EFS to host
                                                                                                                                                                                                          • 23AT Commands for AUDIO
                                                                                                                                                                                                            • 231Overview of AT Commands for AUDIO
                                                                                                                                                                                                            • 232Detailed Description of AT Commands for AUDIO
                                                                                                                                                                                                              • 2321AT+CREC Record wav audio file
                                                                                                                                                                                                              • 2322AT+CRECAMR Record amr audio file
                                                                                                                                                                                                              • 2323AT+CCMXPLAY Play audio file
                                                                                                                                                                                                              • 2324AT+CCMXSTOP Stop playing audio file
                                                                                                                                                                                                                  • 24AT Commands for TTS
                                                                                                                                                                                                                    • 241Overview of AT Commands for TTS
                                                                                                                                                                                                                    • 242Detailed Description of AT Commands for TTS
                                                                                                                                                                                                                      • 2421AT+CDTAM TTS play path local or remote
                                                                                                                                                                                                                      • 2422AT+CTTS TTS operation play or stop
                                                                                                                                                                                                                      • 2423AT+CTTSPARAM TTS Parameters set or get
                                                                                                                                                                                                                          • 25AT Commands for Bluetooth
                                                                                                                                                                                                                            • 251Overview of AT Commands for Bluetooth
                                                                                                                                                                                                                            • 252Detailed Description of AT Commands for Bluetooth
                                                                                                                                                                                                                              • 2521AT+BTINIT Init Bluetooth service
                                                                                                                                                                                                                              • 2522AT+BTTERM Stop Bluetooth service
                                                                                                                                                                                                                              • 2523AT+BTPOWER OpenClose Bluetooth
                                                                                                                                                                                                                              • 2524AT+BTHOST Get or Set host name
                                                                                                                                                                                                                              • 2525AT+BTSCAN Scan BT devices
                                                                                                                                                                                                                              • 2526AT+BTPAIR Pair with other BT device
                                                                                                                                                                                                                              • 2527AT+BTPAIRED Get Paired BT devices
                                                                                                                                                                                                                              • 2528AT+BTUNPAIR Unpair with the paired BT device
                                                                                                                                                                                                                              • 2529AT+BTOPPREG OPP Register
                                                                                                                                                                                                                              • 25210AT+BTOPPSEND OPP send file
                                                                                                                                                                                                                              • 25211+BTOPPRECVING OPP receive file notification
                                                                                                                                                                                                                              • 25212AT+BTOPPACCEPT OPP accept or refuse received file
                                                                                                                                                                                                                              • 25213AT+BTGATTREG GATT register
                                                                                                                                                                                                                              • 25214AT+BTGATTCRESRV GATT create service
                                                                                                                                                                                                                              • 25215AT+BTGATTCRECHAR GATT create service characterist
                                                                                                                                                                                                                              • 25216AT+BTGATTCRECHARDES GATT create service character
                                                                                                                                                                                                                              • 25217AT+BTGATTSTARTSRV GATT startstop service
                                                                                                                                                                                                                              • 25218AT+BTGATTSTARTADV GATT start advertisement
                                                                                                                                                                                                                              • 25219AT+BTGATTDELSRV GATT delete service
                                                                                                                                                                                                                              • 25220+BTGATTCONN GATT client connect status
                                                                                                                                                                                                                              • 25221+BTGATTWRIND GATT receive client write request
                                                                                                                                                                                                                              • 25222AT+BTGATTWRCFM GATT response to BTGATTWRIND
                                                                                                                                                                                                                              • 25223+BTGATTREADIND GATT receive client read request
                                                                                                                                                                                                                              • 25224AT+BTGATTREADCFM GATT response to BTGATTREADIND
                                                                                                                                                                                                                              • 25225AT+BTGATTNOTIFY GATT send notification to client
                                                                                                                                                                                                                                • 253Summary of result codes for GATT
                                                                                                                                                                                                                                  • 2531Summary of Command result lterrgt codes
                                                                                                                                                                                                                                      • 26AT Commands for MiFi
                                                                                                                                                                                                                                        • 261Overview of AT Commands for MiFi
                                                                                                                                                                                                                                        • 262Detailed Description of AT Commands for MiFi
                                                                                                                                                                                                                                          • 2621AT+CWMAP OpenClose MiFi
                                                                                                                                                                                                                                          • 2622AT+CWSSID SSID setting
                                                                                                                                                                                                                                          • 2623AT+CWBCAST Broadcast setting
                                                                                                                                                                                                                                          • 2624AT+CWAUTH Authentication setting
                                                                                                                                                                                                                                          • 2625AT+CWMOCH 80211 mode and channel setting
                                                                                                                                                                                                                                          • 2626AT+CWISO Client isolation setting
                                                                                                                                                                                                                                          • 2627AT+CWDHCP Get the current DHCP configuration
                                                                                                                                                                                                                                          • 2628AT+CWNAT NAT type setting
                                                                                                                                                                                                                                          • 2629AT+CWCLICNT Get client number connected to the Mi
                                                                                                                                                                                                                                          • 26210AT+CWRSTD Restore to default setting
                                                                                                                                                                                                                                          • 26211AT+CWMAPCFG MiFi configuration setting
                                                                                                                                                                                                                                          • 26212AT+CWMACADDR Get MAC address
                                                                                                                                                                                                                                          • 26213AT+CWNETCNCT Query the connection to the network
                                                                                                                                                                                                                                          • 26214AT+CWSTASCAN Scan WIFI network
                                                                                                                                                                                                                                          • 26215AT+CWSTACFG STA mode configuration setting
                                                                                                                                                                                                                                          • 26216AT+CWSTAIP Get STA mode IP address
Page 4: SIM8200Series ATCommandManual

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 4451

V10017 2020930

5219 AT+CLVL Loudspeakervolume level5220 AT+VMUTE Speakermute control5221 AT+CMUT Microphonemute control

Add these commands

V10019 20201111

5222 AT+CRXVOL Adjust RXvoice output speaker volume5223 AT+CTXVOL Adjust TXvoice mic volume5224 AT+CTXMICGAIN AdjustTX voice mic gain5225 AT+CECH Inhibit far-endecho5226 AT+CECDT Inhibit echoduring doubletalk2521 AT+BTINIT Init Bluetoothservice2522 AT+BTTERM StopBluetooth service1929 AT+CPCIEMODE Get orset the mode of PCIE

Add these commands

V10020 202011235227 AT+CSTA Select type ofaddress

Add these commands

V101 20201234220 AT+CBANDCFG4212 AT+CNBP

Delete these commands

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 5451

Contents

Version History3

Contents 5

1 Introduction1611 Scope of the document1612 Related documents1613 Conventions and abbreviations1614 AT Command syntax16

141 Basic syntax17142 S Parameter syntax17143 Extended Syntax17144 Combining AT commands on the same Command line 18145 Entering successive AT commands on separate lines18

15 Supported character sets 1816 Flow control19

161 Hardware flow control (RTSCTS flow control)1917 Definitions19

171 Parameter Saving Mode19172 Max Response Time19

2 AT Commands According to V25TER2121 Overview of AT Commands According to V25TER2122 Detailed Description of AT Commands According to V25TER22

221 A Re-issues the Last Command Given22222 ATD Mobile Originated Call to Dial A Number 22223 ATDgtltmemgtltngt Originate call from specified memory24224 ATDgtltngt Originate call from active memory(1)25225 ATDgtltstrgt Originate call from active memory(2)26226 ATA Call answer27227 ATH Disconnect existing call28228 ATS0 Automatic answer incoming call 29229 +++ Switch from data mode to command mode 302210 ATO Switch from command mode to data mode302211 ATI Display product identification information312212 AT+IPR Set local baud rate temporarily322213 AT+ICF Set control character framing332214 AT+IFC Set local data flow control342215 ATampC Set DCD function mode 352216 ATE Enable command echo 362217 ATampV Display current configuration36

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 6451

2218 ATampD Set DTR function mode372219 ATV Set result code format mode372220 ATampF Set all current parameters to manufacturer defaults 382221 ATQ Set Result Code Presentation Mode392222 ATX Set CONNECT Result Code Format 402223 ATV Set CONNECT Result Code Format About Protocol402224 ATampE Set CONNECT Result Code Format About Speed 412225 ATampW Save the user setting to ME 422226 ATZ Restore the user setting from ME422227 AT+CGMI Request manufacturer identification432228 AT+CGMM Request model identification442229 AT+CGMR Request revision identification442230 AT+CGSN Request product serial number identification452231 AT+CSCS Select TE character set462232 AT+CIMI Request international mobile subscriber identity472233 AT+GCAP Request overall capabilities48

3 AT Commands for Status Control 4931 Overview of AT Commands for Status Control4932 Detailed Description of AT Commands for Status Control49

321 AT+CFUN Set phone functionality49322 AT+CPIN Enter PIN51323 AT+CICCID Read ICCID from SIM card52324 AT+CSIM Generic SIM access53325 AT+CRSM Restricted SIM access54326 AT+SPIC Times remain to input SIM PINPUK 58327 AT+CSPN Get service provider name from SIM59328 AT+CSQ Query signal quality60329 AT+AUTOCSQ Set CSQ report613210 AT+CSQDELTA Set RSSI delta change threshold623211 AT+CATR Configure URC destination interface633212 AT+CPOF Power down the module643213 AT+CRESET Reset the module653214 AT+CACM Accumulated call meter 653215 AT+CAMM Accumulated call meter maximum 673216 AT+CPUC Price per unit and currency table683217 AT+CCLK Real time clock management 693218 AT+CMEE Report mobile equipment error703219 AT+CPAS Phone activity status 713220 AT+SIMEI Set IMEI for the module723221 AT+CSVM Voice Mail Subscriber number733222 Indication of Voice Mail74

33 Summary of CME ERROR codes7534 Summary of CMS ERROR codes77

4 AT Commands for Network7941 Overview of AT Commands for Network79

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 7451

42 Detailed Description of AT Commands for Network79421 AT+CREG Network registration79422 AT+COPS Operator selection81423 AT+CLCK Facility lock 83424 AT+CPWD Change password85425 AT+CCUG Closed user group86426 AT+CUSD Unstructured supplementary service data87427 AT+CAOC Advice of Charge89428 AT+CSSN Supplementary service notifications 90429 AT+CPOL Preferred operator list 924210 AT+COPN Read operator names 934211 AT+CNMP Preferred mode selection944212 AT+CNAOP Acquisitions order preference954213 AT+CPSI Inquiring UE system information 964214 AT+CNSMOD Show network system mode 1004215 AT+CEREG EPS network registration status1014216 AT+CTZU Automatic time and time zone update1034217 AT+CTZR Time and time zone reporting1044218 AT+CNWINFO Inquiring extra network info1064219 AT+C5GREG NR5G network registration status 1074220 AT+CSYSSEL Set system selection pref 1094221 AT+CCELLCFG Set lte cell configuration1124222 AT+C5GCELLCFG Set NR5G cell configuration 113

5 AT Commands According to Call Control11551 Overview of AT Commands According to 3GPP Call Control 11552 Detailed Description of AT Commands According to Call Control116

521 AT+CVHU Voice hang up control116522 AT+CHUP Hang up call 117523 AT+CBST Select bearer service type117524 AT+CRLP Radio link protocol 119525 AT+CR Service reporting control 120526 AT+CRC Cellular result codes121527 AT+CLCC List current calls123528 AT+CEER Extended error report 125529 AT+CCWA Call waiting 1255210 AT+CHLD Call related supplementary services1275211 AT+CCFC Call forwarding number and conditions1285212 AT+CLIP Calling line identification presentation 1305213 AT+CLIR Calling line identification restriction1325214 AT+COLP Connected line identification presentation1335215 AT+VTS DTMF and tone generation1345216 AT+VTD Tone duration 1355217 AT+CSTA Select type of address1365218 AT+CMOD Call mode 1385219 AT+VMUTE Speaker mute control 139

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 8451

5220 AT+CMUT Microphone mute control1405221 AT+MORING Enable or disable report MO ring URC1415222 AT+CLVL Loudspeaker volume level 1415223 AT+CRXVOL Adjust RX voice output speaker volume1425224 AT+CTXVOL Adjust TX voice mic volume1435225 AT+CTXMICGAIN Adjust TX voice mic gain1445226 AT+CECH Inhibit far-end echo1455227 AT+CECDT Inhibit echo during doubletalk 146

6 AT Commands for Phonebook14861 Overview of AT Commands for Phonebook14862 Detailed Description of AT Commands for Phonebook148

621 AT+CPBS Select Phonebook memory storage148622 AT+CPBR Read Phonebook entries 150623 AT+CPBF Find Phonebook entries 151624 AT+CPBW Write Phonebook entry152625 AT+CNUM Subscriber number153

7 AT Commands for SIM Application Toolkit15571 Overview of AT Commands for SIM Application Toolkit15572 Detailed Description of AT Commands for SIM Application Toolkit155

721 AT+STIN SAT Indication155722 AT+STGI Get SAT information 156723 AT+STGR SAT respond 159724 AT+STK STK switch160725 AT+STKFMT Set STK pdu format 161726 AT+STENV Original STK PDU Envelope Command161727 AT+STSM Get STK Setup Menu List with PDU Mode162

8 AT Commands for GPRS 16481 Overview of AT Commands for GPRS16482 Detailed Description of AT Commands for GPRS164

821 AT+CGREG GPRS network registration status 164822 AT+CGATT Packet domain attach or detach166823 AT+CGACT PDP context activate or deactivate167824 AT+CGDCONT Define PDP context 168825 AT+CGDSCONT Define Secondary PDP Context 170826 AT+CGTFT Traffic Flow Template 172827 AT+CGQREQ Quality of service profile (requested)175828 AT+CGEQREQ 3G quality of service profile (requested)178829 AT+CGQMIN Quality of service profile (minimum acceptable) 1828210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)1858211 AT+CGDATA Enter data state 1898212 AT+CGPADDR Show PDP address1908213 AT+CGCLASS GPRS mobile station class1918214 AT+CGEREP GPRS event reporting 1938215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS194

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 9451

83 Summary of Unsolicited Result Codes196

9 AT Commands for SMS19891 Overview of AT Commands for SMS19892 Detailed Description of AT Commands for SMS 198

921 AT+CSMS Select message service198922 AT+CPMS Preferred message storage 200923 AT+CMGF Select SMS message format201924 AT+CSCA SMS service center address 202925 AT+CSCB Select cell broadcast message indication203926 AT+CSMP Set text mode parameters204927 AT+CSDH Show text mode parameters205928 AT+CNMA New message acknowledgement to META 206929 AT+CNMI New message indications to TE2079210 AT+CGSMS Select service for MO SMS messages2099211 AT+CMGL List SMS messages from preferred store2109212 AT+CMGR Read message 2149213 AT+CMGS Send message2189214 AT+CMSS Send message from storage 2199215 AT+CMGW Write message to memory2209216 AT+CMGD Delete message 2229217 AT+CMGMT Change message status2239218 AT+CMVP Set message valid period2249219 AT+CMGRD Read and delete message 2249220 AT+CMGSEX Send message 2269221 AT+CMSSEX Send multi messages from storage 227

10 AT Commands for SSL229101 Overview of AT Commands for SSL229102 Detailed Description of AT Commands for SSL229

1021 AT+CCHSTART Start SSL service 2291022 AT+CCHSTOP Stop SSL service 2301023 AT+CCHOPEN Connect to SSL server2311024 AT+CCHCLOSE Disconnect from SSL server 2321025 AT+CCHSEND Send data to SSL server2331026 AT+CCHRECV Read the cached data that received from the SSL server 2341027 AT+CCHADDR Get the IPV4 address2361028 AT+CCHCFG Configure the client context2371029 AT+CCHSSLCFG Set the SSL context 23810210 AT+CCHMODE Configure the mode of sending and receiving data23910211 AT+CCHSET Configure the report mode of sending and receiving data 24010212 AT+CSSLCFG Configure the SSL context24110213 AT+CCERTDOWN Download certificate into the module24610214 AT+CCERTLIST List certificates24710215 AT+CCERTDELE Delete certificates 247

103 Command result lterrgt codes248104 Unsolicited result codes249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 10451

11 AT Commands for TCPIP250111 Overview of AT Commands for TCPIP250112 Detailed Description of AT Commands for TCPIP 250

1121 AT+NETOPEN Start TCPIP service2501122 AT+NETCLOSE Stop TCPIP service2521123 AT+CIPOPEN Setup TCPUDP client socket connection 2521124 AT+CIPCLOSE Destroy TCPUDP client socket connection2561125 AT+CIPSEND Send TCPUDP data2571126 AT+CIPRXGET Retrieve TCPUDP buffered data2611127 AT+IPADDR Get IP address of PDP context2641128 AT+CIPHEAD Add an IP header when receiving data2641129 AT+CIPSRIP Show remote IP address and port26511210 AT+CIPMODE Select TCPIP application mode26611211 AT+CIPSENDMODE Set sending mode26711212 AT+CIPTIMEOUT Set TCPIP timeout value26811213 AT+CIPCCFG Configure parameters of socket 26911214 AT+SERVERSTART Startup TCP server27011215 AT+SERVERSTOP Stop TCP server27111216 AT+CIPACK QueryTCP connection data transmitting status272

113 DNS amp PING2731131 AT+CDNSGIP Query the IP address of given domain name2741132 AT+CDNSGHNAME Query the domain name of given IP address2751133 AT+CIPDNSSET Set DNS query parameters 2761134 AT+CPING Ping destination address2761135 AT+CPINGSTOP Stop an ongoing ping session 278

114 Information Elements related to TCPIP279115 Description of lterr_infogt280116 Description of lterrgt281

12 AT Commands for FTP(S)282121 Overview of AT Commands for FTP(S) 282122 Detailed Description of AT Commands for FTP(S)282

1221 AT+CFTPSSTART Start FTP(S) service 2821222 AT+CFTPSSTOP Stop FTP(S) Service2831223 AT+CFTPSLOGIN Login to a FTP(S) server2841224 AT+CFTPSLOGOUT Logout FTP(S) server2851225 AT+CFTPSMKD Create a new directory on FTP(S) server2861226 AT+CFTPSRMD Delete a directory on FTP(S) server2871227 AT+CFTPSDELE Delete a file on FTP(S) server2881228 AT+CFTPSCWD Change the current directory on FTP(S) server2881229 AT+CFTPSPWD Get the current directory on FTP(S) server28912210 AT+CFTPSTYPE Set the transfer type on FTP(S) server29012211 AT+CFTPSLIST List the items in the directory on FTP(S) server29112212 AT+CFTPSGETFILE Get a file from FTP(S) server to module29312213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server29412214 AT+CFTPSGET Get a file from FTP(S) server to serial port295

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 11451

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port 29612216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type29812217 AT+CFTPSCACHERD Output cached data to MCU29812218 AT+CFTPSABORT Abort FTP(S) Operations 29912219 AT+CFTPSSIZE Get the File Size on FTP(S) server300

123 Summary of result codes for FTPS 3011231 Summary of Command result lterrcodegt3011232 Summary of Unsolicited Result Codes302

13 AT Commands for HTTPS 303131 Overview of AT Commands for HTTPS 303132 DetailedDescription of AT Commands for HTTPS303

1321 AT+HTTPINIT Start HTTP(S) service 3031322 AT+HTTPTERM Stop HTTP(S) Service3041323 AT+HTTPPARA Set HTTP(S) Parameters value3041324 AT+HTTPACTION HTTP(S) Method Action3061325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response3071326 AT+HTTPREAD Read the Response Information of HTTP(S) Server3091327 AT+HTTPDATA Input HTTP(S) Data3101328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File3111329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file 312

133 Summary of result codes for HTTPS 3131331 Summary of HTTP(S) Response Code3141332 Summary of HTTP(S) error Code315

14 AT Commands for MQTT(S)316141 Overview of AT Commands for MQTT(S)316142 Detailed Description of AT Commands for MQTT(S) 316

1421 AT+CMQTTSTART Start MQTT service3161422 AT+CMQTTSTOP STOP MQTT service 3171423 AT+CMQTTACCQ Acquire a client3181424 AT+CMQTTREL Release a client3191425 AT+CMQTTSSLCFG Set the SSL context3201426 AT+CMQTTWILLTOPIC Input the will topic3211427 AT+CMQTTWILLMSG Input the will message3221428 AT+CMQTTDISC Disconnect from server 3221429 AT+CMQTTCONNECT Connect to MQTT server 32414210 AT+CMQTTTOPIC Input the publish message topic 32514211 AT+CMQTTPAYLOAD Input the publish message body32614212 AT+CMQTTPUB Publish a message to server32714213 AT+CMQTTSUBTOPIC Input a subscribe message topic32814214 AT+CMQTTSUB Subscribe a message to server 32914215 AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic33014216 AT+CMQTTUNSUB Unsubscribe a message to server33114217 AT+CMQTTCFG Configure the MQTT Context332

143 Summary of result codes for MQTT(S)3341431 Summary of Command result lterrgt codes334

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 12451

1432 Summary of Unsolicited Result Codes335

15 AT Commands for NTP337151 Overview of AT Commands for NTP 337152 Detailed Description of AT Commands for NTP337

1521 AT+CNTP Update system time 3371522 Unsolicited NTP Codes 338

16 AT Commands for HTP339161 Overview of AT Commands for HTP 339162 Detailed Description of AT Commands for HTP339

1621 AT+CHTPSERV Set HTP server info3391622 AT+CHTPUPDATE Updating date time using HTP protocol 3401623 Unsolicited HTP Codes 341

17 AT Commands for GPS342171 Overview of AT Commands for GPS342172 Detailed Description of AT Commands for GPS342

1721 AT+CGPS StartStop GPS session3421722 AT+CGPSINFO Get GPS fixed position information3441723 AT+CGPSCOLD Cold Start GPS3451724 AT+CGPSHOT Hot Start GPS 3451725 AT+CGPSURL Set AGPS default server URL3461726 AT+CGPSSSL Set AGPS transport security3471727 AT+CGPSAUTO Start GPS automatic 3471728 AT+CGPSNMEA Configure NMEA sentence type3481729 AT+CGPSNMEARATE Set NMEA output rate35017210 AT+CGPSMD Configure AGPS MO method 35017211 AT+CGPSFTM Start GPS test mode35117212 AT+CGPSDEL Delete the GPS information 35217213 AT+CGPSXE EnableDisable GPS XTRA function35217214 AT+CGPSXD Download XTRA assistant file35317215 AT+CGPSXDAUTO Download XTRA assistant file automatically35417216 AT+CGPSPMD Configure positioning mode35517217 AT+CGPSMSB Configure based mode switch to standalone35617218 AT+CGPSHOR Configure positioning desired accuracy35717219 AT+CGNSSINFO Get GNSS fixed position information35717220 AT+CGNSSMODE Configure GNSS support mode 35917221 Unsolicited XTRA download Codes 360

18 AT Commands for LBS361181 Overview of AT Commands for LBS361182 Detailed Description of AT Commands for LBS361

1821 AT+CLBS Base station location3611822 AT+CLBSCFG Base station Location configure 364

19 AT Commands for Hardware366191 Overview of AT Commands for Hardware366

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 13451

192 Detailed Description of AT Commands for Hardware3661921 AT+IPREX Set UART local baud rate permanently3661922 AT+CFGRI Indicate RI when using URC3671923 AT+CSCLK Control UART sleep3681924 AT+CMUX Enable the multiplexer over the UART 3701925 AT+CGFUNC Enabledisable the function for the special GPIO3711926 AT+CGDRT Set the direction of specified GPIO3721927 AT+CGSETV Set the value of specified GPIO3731928 AT+CGGETV Get the value of specified GPIO3741929 AT+CPCIEMODE Get or set the mode of PCIE374

20 Hardware Related Commands 376201 Overview of Hardware Related Commands 376202 Detailed Description of AT Commands for Hardware376

2021 AT+CVALARM Set overvoltage and undervoltage alarm3762022 AT+CADC Read the value of ADC 3782023 AT+CADC2 Read the value of ADC23782024 AT+CMTE Set the power action when over the critical temperature3792025 AT+CPMVT Set the power action when overvoltage and undervoltage3802026 AT+CDELTA Set module reboot to recovery mode 3822027 AT+CBC Read the voltage value of the power supply3822028 AT+CPMUTEMP Read the temperature of the modules3832029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode38320210 AT+CCPUTEMP Read the temperature of CPU different zones 385

21 AT Commands for UIM hot swap387211 Overview of AT Commands for UIM hot swap387212 Detailed Description of AT Commands for UIM hot swap 387

2121 AT+UIMHOTSWAPON Set UIM hot swap function on 3872122 AT+UIMHOTSWAPLEVEL Set UIM card detection level 388

22 AT Commands for File System 390221 Overview of AT Commands for File System 390222 Detailed Description of AT Commands for File System391

2221 AT+FSCD Select directory as current directory 3912222 AT+FSMKDIR Make new directory in current directory3922223 AT+FSRMDIR Delete directory in current directory3932224 AT+FSLS List directoriesfiles in current directory3932225 AT+FSDEL Delete file in current directory 3952226 AT+FSRENAME Rename file in current directory 3962227 AT+FSATTRI Request file attributes 3962228 AT+FSMEM Check the size of available memory3972229 AT+FSLOCA Select storage place 39822210 AT+FSCOPY Copy an appointed file39922211 AT+CFTRANRX Transfer a file to EFS40022212 AT+CFTRANTX Transfer a file from EFS to host 401

23 AT Commands for AUDIO403

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 14451

231 Overview of AT Commands for AUDIO403232 Detailed Description of AT Commands for AUDIO403

2321 AT+CREC Record wav audio file4032322 AT+CRECAMR Record amr audio file4042323 AT+CCMXPLAY Play audio file4062324 AT+CCMXSTOP Stop playing audio file407

24 AT Commands for TTS409241 Overview of AT Commands for TTS409242 Detailed Description of AT Commands for TTS409

2421 AT+CDTAM TTS play path local or remote4092422 AT+CTTS TTS operation play or stop4102423 AT+CTTSPARAM TTS Parameters set or get412

25 AT Commands for Bluetooth414251 Overview of AT Commands for Bluetooth 414252 Detailed Description of AT Commands for Bluetooth415

2521 AT+BTINIT Init Bluetooth service4152522 AT+BTTERM Stop Bluetooth service4152523 AT+BTPOWER OpenClose Bluetooth4162524 AT+BTHOST Get or Set host name4172525 AT+BTSCAN Scan BT devices 4172526 AT+BTPAIR Pair with other BT device4182527 AT+BTPAIRED Get Paired BT devices4192528 AT+BTUNPAIR Unpair with the paired BT device 4202529 AT+BTOPPREG OPP Register42125210 AT+BTOPPSEND OPP send file 42125211 +BTOPPRECVING OPP receive file notification 42225212 AT+BTOPPACCEPT OPP accept or refuse received file42225213 AT+BTGATTREG GATT register 42325214 AT+BTGATTCRESRV GATT create service42425215 AT+BTGATTCRECHAR GATT create service characteristic42525216 AT+BTGATTCRECHARDES GATT create service characteristic description42725217 AT+BTGATTSTARTSRV GATT startstop service42825218 AT+BTGATTSTARTADV GATT start advertisement 42925219 AT+BTGATTDELSRV GATT delete service43025220 +BTGATTCONN GATT client connect status43125221 +BTGATTWRIND GATT receive client write request43125222 AT+BTGATTWRCFM GATT response to BTGATTWRIND43225223 +BTGATTREADIND GATT receive client read request43225224 AT+BTGATTREADCFM GATT response to BTGATTREADIND43325225 AT+BTGATTNOTIFY GATT send notification to client434

253 Summary of result codes for GATT4352531 Summary of Command result lterrgt codes435

26 AT Commands for MiFi436261 Overview of AT Commands for MiFi436

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 15451

262 Detailed Description of AT Commands for MiFi4362621 AT+CWMAP OpenClose MiFi 4362622 AT+CWSSID SSID setting 4372623 AT+CWBCAST Broadcast setting4382624 AT+CWAUTH Authentication setting4392625 AT+CWMOCH 80211 mode and channel setting 4402626 AT+CWISO Client isolation setting4422627 AT+CWDHCP Get the current DHCP configuration4432628 AT+CWNAT NAT type setting4432629 AT+CWCLICNT Get client number connected to the MiFi44426210 AT+CWRSTD Restore to default setting44526211 AT+CWMAPCFG MiFi configuration setting44526212 AT+CWMACADDR Get MAC address44726213 AT+CWNETCNCT Query the connection to the network44826214 AT+CWSTASCAN Scan WIFI network44826215 AT+CWSTACFG STAmode configuration setting45026216 AT+CWSTAIP Get STAmode IP address451

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 16451

THIS DOCUMENT IS A REFERENCE GUIDE TO ALL THE AT COMMANDS

1 Introduction

11 Scope of the document

This document presents the AT Command Set for SIMCom SIM8200ampSIM8300 Series

12 Related documents

You can visit the SIMCom Website using the following linkhttpwwwsimcomcom

13 Conventions and abbreviations

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)

In application controlling device controls the GSM engine by sending AT Command via its serial interfaceThe 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

14 AT Command syntax

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 17451

The AT or at or aT or At prefix must be set at the beginning of each Command line To terminate aCommand line enter ltCRgtCommands are usually followed by a response that includes ltCRgtltLFgtltresponsegtltCRgtltLFgtThroughout this document only the responses are presented ltCRgtltLFgt are omitted intentionally

The AT Command set implemented by SIM8200 Series is a combination of 3GPP TS 27005 3GPP TS27007 and ITU-T recommendation V25ter and the AT commands developed by SIMCom

Only enter AT Command through serial port after SIM8200 Series is powered on and Unsolicited ResultCode RDY is received from serial port If auto-bauding is enabled the Unsolicited Result CodesRDY and so on are not indicated when you start up the ME and the AT prefix orat prefix must beset at the beginning of each command line

All these AT commands can be split into three categories syntactically basic S parameter andextended These are as follows

141 Basic syntax

These AT commands have the format of ATltxgtltngt orATampltxgtltngt where ltxgtis the Command andltngtisare the argument(s) for that Command An example of this is ATEltngt which tells the DCEwhether received characters should be echoed back to the DTE according to the value of ltngt ltngt isoptional and a default will be used if missing

142 S Parameter syntax

These AT commands have the format of ATSltngt=ltmgt where ltngt is the index of the S register to setand ltmgtis the value to assign to it ltmgt is optional if it is missing then a default value is assigned

143 Extended Syntax

These commands can operate in several modes as in the following table

Table 1 Types of AT commands and responsesTest CommandAT+ltxgt=

The mobile equipment returns the list of parameters and value ranges setwith the corresponding Write Command or by internal processes

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 18451

Read CommandAT+ltxgt

This command returns the currently set value of the parameter orparameters

Write CommandAT+ltxgt=lthellipgt

This command sets the user-definable parameter values

Execution CommandAT+ltxgt

The execution command reads non-variable parameters affected by internalprocesses in the GSM engine

144 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 AToratprefix before every command Instead you only need type ATorat the beginning of the command linePlease note to use a semicolon as the command delimiter after an extended command in basic syntax or Sparameter syntax the semicolon need not enter for exampleATE1Q0S0=1S3=13V1X4+IFC=00+IPR=115200

145 Entering successive AT commands on separate lines

When you need to enter a series of AT commands on separate lines please Note that you need to wait thefinal response (for example OK CME error CMS error) of last AT Command you entered before you enterthe next AT Command

15 Supported character sets

The SIM8200 Series AT Command interface defaults to the IRA character set The SIM8200 Seriessupports the following character sets GSM format UCS2 IRAThe character set can be set and interrogated using the AT+CSCS Command (3GPP TS 27007) Thecharacter set is defined in GSM specification 3GPP TS 27005

The character set affects transmission and reception of SMS and SMS Cell Broadcast messages the entryand display of phone book entries text field and SIM Application Toolkit alpha strings

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 19451

16 Flow control

Flow control is very important for correct communication between the GSM engine and DTE For in thecase such as a data or fax call the sending device is transferring data faster than the receiving side is readyto accept When the receiving buffer reaches its capacity the receiving device should be capable to causethe sending device to pause until it catches up

There are basically two approaches to achieve data flow control software flow control and hardware flowcontrol SIM8200 Series support both two kinds of flow controlIn Multiplex mode it is recommended to use the hardware flow control

161 Hardware flow control (RTSCTS flow control)

Hardware flow control achieves the data flow control by controlling the RTSCTS line When the datatransfer should be suspended the CTS line is set inactive until the transfer from the receiving buffer hascompleted When the receiving buffer is OK to receive more data CTS goes active once again

To achieve hardware flow control ensure that the RTSCTS lines are present on your application platform

17 Definitions

171 Parameter Saving Mode

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 doesnt have parameter AUTO_SAVE The parameter of the current AT command will be kept in NVRAM automatically and

take in effect immediately and it wont 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 wont be lost if module is rebooted

172 Max Response Time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 20451

Max response time is estimated maximum time to get response the unit is seconds

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 21451

2 AT Commands According toV25TER

21 Overview of AT Commands According to V25TER

Command DescriptionA Re-issues the last command given

ATD Mobile originated call to dial a numberATDgtltmemgtltngt Originate call from specified memoryATDgtltngt Originate call from active memoryATDgtltngt Originate call from active memoryATA Call answerATH Disconnect existing callATS0 Automatic answer incoming call+++ Switch from data mode to command modeATO Switch from command mode to data modeATI Display product identification information

AT+IPR Set local baud rate temporarilyAT+ICF Set control character framingAT+IFC Set local data flow controlATampC Set DCD function modeATE Enable command echoATampV Display current configurationATampD Set DTR function modeATV Set result code format modeATampF Set all current parameters to manufacturer defaultsATQ Set Result Code Presentation ModeATX Set CONNECT Result Code FormatATV Set CONNECT Result Code Format About ProtocolATampE Set CONNECT Result Code Format About SpeedATampW Save the user setting to MEATZ Restore the user setting from MEAT+CGMI Request manufacturer identificationAT+CGMM Request model identificationAT+CGMR Request revision identification

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 22451

AT+CGSN Request product serial number identificationAT+CSCS Select TE character setAT+CIMI Request international mobile subscriber identityAT+GCAP Request overall capabilities

22 Detailed Description of AT Commands According to V25TER

221 A Re-issues the Last Command Given

A Re-issues the Last Command GivenExecution CommandA

ResponseRe-issues the previous Command

Parameter Saving Mode NO_SAVE

Max Response Time 120000msReference

Example

A+GCAP +CGSM+FCLASS+DS

OK

222 ATD Mobile Originated Call to Dial A Number

This command can be used to set up outgoing data calls It also serves to control supplementary services

ATD Mobile Originated Call to Dial A NumberExecution CommandATDltngt[ltmgsm][]

ResponseIf originate a voice call successfullyOK

VOICE CALL BEGIN

If error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 23451

+CME ERROR lterrgt

If no dial tone and (parameter setting ATX2 or ATX4)NO DIALTONE

If busy and (parameter setting ATX3 or ATX4)BUSY

If a connection cannot be establishedNO CARRIER

If the remote station does not answerNO ANSWER

If connection successful and non-voice callCONNECTlttextgtTA switches to data modeNote lttextgt output only if ATXltvaluegt parameter setting with theltvaluegtgt0

When TA returns to command mode after call releaseOK

Parameter Saving Mode NO_SAVE

Max Response TimeReference

Defined Values

ltngt String of dialing digits and optionally V25ter modifiers dialing digits0-9 +ABCFollowing V25ter modifiers are ignored(comma)TPW

Emergency callltngt Standardized emergency number 112 (no SIM needed)ltmgsmgt String of GSM modifiers

I Actives CLIR (Disables presentation of own number to calledparty)i Deactivates CLIR (Enable presentation of own number to calledparty)G Activates Closed User Group invocation for this call onlyg Deactivates Closed User Group invocation for this call only

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 24451

ATD10086OKVOICE CALL BEGIN

This command may be aborted generally by receiving an ATH Command or a character duringexecution The aborting is not possible during some states of connection establishment such ashandshaking

223 ATDgtltmemgtltngt Originate call from specified memory

This command is used to originate a call using specified memory and index number

ATDgtltmemgtltngt Originate call from specified memoryExecution CommandATDgtltmemgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

Max Response TimeReferenceV25ter

Defined Values

ltmemgtPhonebook storage (For detailed description of storages seeAT+CPBS)

DC ME dialed calls list

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 25451

MC ME missed (unanswered received) calls listRC ME received calls listSM SIM phonebookME UE phonebookFD SIM fixed dialing phonebookON MSISDN listLD Last number dialed phonebookEN Emergency numbers

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtSM3 Specify the ltmemgtOK

VOICE CALL BEGIN

224 ATDgtltngt Originate call from active memory(1)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltngt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

c)Originate a call unsuccessfully during command executionERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 26451

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltngtInteger type memory location in the range of locations available in theselected memory ie the index returned by AT+CPBR

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgt2OK

VOICE CALL BEGIN

225 ATDgtltstrgt Originate call from active memory(2)

This command is used to originate a call to specified number

ATDgtltngt Originate call from active memoryExecution CommandATDgtltstrgt[]

Responsea)If originate a voice call successfullyOK

VOICE CALL BEGIN

b)If Originate a data call successfullyCONNECT lttextgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 27451

c)Originate a call unsuccessfully during command executionERROR

d)Originate a call unsuccessfully for failed connection recoveryNO CARRIER

e)Originate a call unsuccessfully for error related to the MT+CME ERROR lterrgt

ReferenceV25ter

Defined Values

ltstrgt

String type value which should equal to an alphanumeric field in atleast one phone book entry in the searched memories ltstrgtformattedas current TE character set specified by AT+CSCSltstrgt must bedouble quoted

ltgtThe termination character is mandatory to set up voice calls It mustnot be used for data and fax calls

lttextgtCONNECT result code string the string formats please referATXATVATampE command

lterrgtService failure result code string the string formats please refer +CMEERROR result code and AT+CMEE command

Example

ATDgtkobeOK

VOICE CALL BEGIN

226 ATA Call answer

This command is used to make remote station to go off-hook eg answer an incoming call If there is no anincoming call and entering this command to TA it will be return NO CARRIER to TA

ATA Call answerExecution CommandATA

Responsea)If originate a voice call successfullyOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 28451

VOICE CALL BEGIN

b)For data call and TA switches to data modeCONNECT

c)No connection or no incoming callNO CARRIER

ReferenceV25ter

Example

ATAVOICE CALL BEGIN

OK

227 ATH Disconnect existing call

This command is used to disconnect existing call Before using ATH command to hang up a voice call itmust set AT+CVHU=0 Otherwise ATH command will be ignored and OK response is given onlyThis command is also used to disconnect PS data call and in this case it doesnrsquot depend on the value ofAT+CVHU

ATH Disconnect existing callExecution CommandATH

Responsea) If AT+CVHU=0OK

VOICE CALL END lttimegtb) If ATD99OK

+PPPD DISCONNECTEDc) No any callOK

ReferenceV25ter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 29451

Defined Values

lttimegtVoice call connection time

Format HHMMSS (HH hour MM minute SS second)

Example

AT+CVHU=0OKATHOK

VOICE CALL END 000017

228 ATS0 Automatic answer incoming call

The S-parameter command controls the automatic answering feature of the Module If set to 000 automaticanswering is disabled otherwise it causes the Module to answer when the incoming call indication (RING)has occurred the number of times indicated by the specified value and the setting will not be stored uponpower-off ie the default value will be restored after restart

ATS0 Automatic answer incoming callRead CommandATS0

Responsea) If successltngt

OK

d) If failedERROR

Write commandATS0=ltngt

Responsea) If successOK

b) If failedERROR

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 30451

ltngt000 Automatic answering mode is disable (default value when

power-on)001ndash255 Enable automatic answering on the ring number specified

Example

ATS0000

OKATS0=003OK

1The S-parameter command is effective on voice call and data call2If ltngt is set too high the remote party may hang up before the call can be answered automatically

229 +++ Switch from data mode to command mode

This command is only available during a connecting PS data call The +++ character sequence causes theTA to cancel the data flow over the AT interface and switch to Command Mode This allows to enter ATcommands while maintaining the data connection to the remote device

+++ Switch from data mode to command modeExecution Command+++

ResponseOK

ReferenceV25ter

To prevent the +++ escape sequence from being misinterpreted as data it must be preceded andfollowed by a pause of at least 1000 milliseconds and the interval between two lsquo+rsquo character canrsquotexceed 900 milliseconds

2210 ATO Switch from command mode to data mode

ATO is the corresponding command to the +++ escape sequence When there is a PS data call connected

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 31451

and the TA is in Command Mode ATO causes the TA to resume the data and takes back to Data Mode

ATO Switch from command mode to data modeExecution CommandATO

Responsea) TADCE switches to Data Mode from Command ModeCONNECT[ltbaud rategt]

b) If connection is not successfully resumedNO CARRIERorERROR

ReferenceV25ter

Example

ATOCONNECT 115200

2211 ATI Display product identification information

This command is used to request the product information which consists of manufacturer identificationmodel identification revision identification International Mobile station Equipment Identity (IMEI) andoverall capabilities of the product

ATI Display product identification informationExecution CommandATI

ResponseManufacturer ltmanufacturergtModel ltmodelgtRevision ltrevisiongtIMEI [ltsngt]+GCAP list of ltnamegts

OKReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturerltmodelgt The identification of modelltrevisiongt The revision identification of firmware

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 32451

ltsngtSerial number identification which consists of a single line containingIMEI (International Mobile station Equipment Identity) number

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

ATIManufacturer SIMCOMINCORPORATEDModel SIMCOM_SIM8200GRevision SIM8200G _V10IMEI 351602000330570+GCAP +CGSM+FCLASS+DS

OK

2212 AT+IPR Set local baud rate temporarily

This command sets the baud rate of modulersquos serial interface temporarily after reboot the baud rate is set tovalue of IPREX

AT+IPR Set local baud rate temporarilyTest CommandAT+IPR=

Response+IPR (list of supportedltspeedgts)

OKRead CommandAT+IPR

Response+IPR ltspeedgt

OKWrite CommandAT+IPR=ltspeedgt

ResponseOKorERROR

Execution Command Set the value to boot value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 33451

AT+IPR OK

Defined Values

ltspeedgtBaud rate per second300 600 1200 2400 4800 9600 19200 38400 57600 115200230400 921600 3000000 3200000 3686400

2213 AT+ICF Set control character framing

This command sets character framing which contains data bit stop bit and parity bit

AT+ICF Set control character framingTest CommandAT+ICF=

Response+ICF (list of supportedltformatgts)(list of supportedltparitygts)

OKRead CommandAT+ICF

Response+ICF ltformatgtltparitygt

OKWrite CommandAT+ICF=ltformatgt[ltparitygt]

ResponseOKorERROR

Execution CommandAT+ICF

Set default valueOK

ReferenceV25ter

Defined Values

ltformatgt

1 data bit 8 stop bit 22 data bit 8 parity bit 1stop bit 13 data bit 8 stop bit 14 data bit 7 stop bit 25 data bit 7 parity bit 1stop bit 16 data bit 7 stop bit 1

ltparitygt

0 Odd1 Even2 Space3 none

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 34451

Example

AT+ICF+ICF 33

OKAT+ICF=+ICF (1-6)(0-3)

OKAT+ICF=33OK

2214 AT+IFC Set local data flow control

The command sets the flow control mode of the module

AT+IFC Set local data flow controlTest CommandAT+IFC=

Response+IFC (list of supportedltDCEgts)(list of supportedltDTEgts)

OKorERROR

Read CommandAT+IFC

Response+IFC ltDCEgtltDTEgt

OKorERROR

Write CommandAT+IFC=ltDCEgt[ltDTEgt]

ResponseOKorERROR

Execution CommandAT+IFC

Set default valueOK

ReferenceV25ter

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 35451

ltDCEgt0 none (default)2 RTS hardware flow control

ltDTEgt0 none (default)2 CTS hardware flow control

Example

AT+IFC+IFC 00

OKAT+IFC=+IFC (02)(02)

OKAT+IFC=22OK

2215 ATampC Set DCD function mode

This command determines how the state of DCD PIN relates to the detection of received line signal from thedistant end

ATampC Set DCD function modeExecution CommandATampC[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 DCD line shall always be on1 DCD line shall be on only when data carrier signal is present2 Setting winks(briefly transitions offthen back on)the DCD line when data calls end

Example

ATampC1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 36451

2216 ATE Enable command echo

This command sets whether or not the TA echoes characters

ATE Enable command echoExecution CommandATE[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Echo mode off1 Echo mode on

Example

ATE1OK

2217 ATampV Display current configuration

This command returns some of the base configuration parameters settings

ATampV Display current configurationExecution CommandATampV

Responselttextgt

OKorERROR

ReferenceV25ter

Defined Values

lttextgt All relative configuration information

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 37451

Example

ATampVampC 0 ampD 2 ampF 0 E 1 L 0 M 0 Q0 V 1 X 0 Z 0 S0 0S3 13 S4 10 S5 8 S6 2 S7 50 S82 S9 6 S10 14 S11 95+FCLASS 0 +ICF 33 +IFC 22+IPR 115200 +DR 0 +DS 0020486+WS46 12 +CBST 001helliphellipOK

2218 ATampD Set DTR function mode

This command determines how the TA responds when DTR PIN is changed from the ON to the OFFcondition during data mode

ATampD Set DTR function modeExecution CommandATampD[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 TA ignores status on DTR1 ON-gtOFF on DTR Change to Command mode with remaining the connected call2 ON-gtOFF on DTR Disconnect call change to Command modeDuring state DTR =OFF is auto-answer off

Example

ATampD1OK

2219 ATV Set result code format mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 38451

This parameter setting determines the contents of the header and trailer transmitted with result codes andinformation responses

ATV Set result code format modeExecution CommandATV[ltvaluegt]

ResponseIf ltvaluegt =00If ltvaluegt =1OK

ReferenceV25ter

Defined Values

ltvaluegt

0 Information response lttextgtltCRgtltLFgtShort result code format ltnumeric codegtltCRgt

1 Information response ltCRgtltLFgtlttextgtltCRgtltLFgtLong result code format ltCRgtltLFgtltverbose codegtltCRgtltLFgt

Example

ATV1OK

2220 ATampF Set all current parameters to manufacturer defaults

This command is used to set all current parameters to the manufacturer defined profile

ATampF Set all current parameters to manufacturer defaultsExecution CommandATampF[ltvaluegt]

ResponseOKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Set some temporary TA parameters to manufacturer defaults The setting afterpower on or reset is same as value 0

Default Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 39451

TA Parameters VALUESAT+CNMP[1] 2AT+CNAOP[1] 7912532411AT+CTZU[2] 0AT+CGPSSSL[2] 0AT+CGPSURL[2] [1] takes effect immediately[2] takes effect after a modem reboot

Example

ATampFOK

2221 ATQ Set Result Code Presentation Mode

Specify whether the TA transmits any result code to the TE or not Text information transmitted in responseis not affected by this setting

ATQ Set Result Code Presentation ModeExecution CommandATQltngt

ResponseIf ltngt=0OK

If ltngt=1No Responses

Execution CommandATQ

Set default value 0OK

ReferenceV25ter

Defined Values

ltngt0 DCE transmits result code1 DCE not transmits result code

Example

ATQ0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 40451

2222 ATX Set CONNECT Result Code Format

This parameter setting determines whether the TA transmits unsolicited result codes or not The unsolicitedresult codes areltCONNECTgtltSPEEDgtltCOMMUNICATION PROTOCOLgt[ltTEXTgt]

ATX Set CONNECT Result Code FormatExecution CommandATXltngt

ResponseOKorERROR

Execution CommandATX

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltngt0 CONNECT result code returned1234 May be transmits extern result codes according to ATampE and ATV settingsRefer to ATampE

Example

ATX1OK

2223 ATV Set CONNECT Result Code Format About Protocol

This parameter setting determines whether report the communication protocol If PS call it also determineswhether report APN uplink rate downlink rate

ATV Set CONNECT Result Code Format About ProtocolExecution CommandATVltvaluegt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 41451

Execution CommandATV

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt

0 Donrsquot report1 Report communication protocol And report APN uplink rate downlink rate if PS callRefer to ATampE The maybe communication protocol report includeNONEPPPoverUDAV32KAV64KPACKET And APN in string format whileuplink rate and downlink rate in integer format with kb unit

Example

ATV0OK

2224 ATampE Set CONNECT Result Code Format About Speed

This parameter setting determines to report Serial connection rate or Wireless connection speed It is validonly ATX above 0

ATampE Set CONNECT Result Code Format About SpeedExecution CommandATampEltvaluegt

ResponseOKorERROR

Execution CommandATampE

Set default value 1OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt0 Wireless connection speed in integer format1 Serial connection rate in integer format Such as 115200

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 42451

Example

ATampE0OK

2225 ATampW Save the user setting to ME

This command will save the user settings to ME which set by ATE ATQ ATV ATX ATampC ATampD ATVAT+IFC and ATS0

ATampW Save the user setting to MEExecution CommandATampWltvaluegt

ResponseOKorERROR

Execution CommandATampW

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Save

Example

ATampW0OK

2226 ATZ Restore the user setting from ME

This command will restore the user setting from ME which set by ATE ATQ ATV ATX ATampC ATampD ATampSATQ ATV and ATS0

ATZ Restore the user setting from MEExecution CommandATZltvaluegt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 43451

orERROR

Execution CommandATZ

Set default value 0OKorERROR

ReferenceV25ter

Defined Values

ltvaluegt 0 Restore

Example

ATZ0OK

2227 AT+CGMI Request manufacturer identification

This command is used to request the manufacturer identification text which is intended to permit the user ofthe Module to identify the manufacturer

AT+CGMI Request manufacturer identificationTest CommandAT+CGMI=

ResponseOK

Execution CommandAT+CGMI

Responseltmanufacturergt

OKorERROR

ReferenceV25ter

Defined Values

ltmanufacturergt The identification of manufacturer

Example

AT+CGMI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 44451

SIMCOM INCORPORATED

OK

2228 AT+CGMM Request model identification

This command is used to requests model identification text which is intended to permit the user of theModule to identify the specific model

AT+CGMM Request model identificationTest CommandAT+CGMM=

ResponseOK

Execution CommandAT+CGMM

Responseltmodelgt

OKorERROR

ReferenceV25ter

Defined Values

ltmodelgt The identification of model

Example

AT+CGMMSIMCOM_SIM8200G

OK

2229 AT+CGMR Request revision identification

This command is used to request product firmware revision identification text which is intended to permitthe user of the Module to identify the version

AT+CGMR Request revision identificationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 45451

AT+CGMR= OKExecution CommandAT+CGMR

Response+CGMR ltrevisiongt

OKorERROR

ReferenceV25ter

Defined Values

ltrevisiongt The revision identification of firmware

Example

AT+CGMR+CGMR LE11B03SIM8200G

OK

2230 AT+CGSN Request product serial number identification

This command requests product serial number identification text which is intended to permit the user of theModule to identify the individual ME to which it is connected to

AT+CGSN Request product serial number identificationTest CommandAT+CGSN=

ResponseOK

Execution CommandAT+CGSN

Responseltsngt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltsngtSerial number identification which consists of a single line containingthe IMEI (International Mobile station Equipment Identity) number of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 46451

the MTIf in CDMAEVDO mode it will show ESN(Electronic Serial Number)

Example

AT+CGSN351602000330570

OK

2231 AT+CSCS Select TE character set

Write command informs TA which character set ltchestgt is used by the TE TA is then able to convertcharacter strings correctly between TE and MT character setsRead command shows current setting and test command displays conversion schemes implemented in theTA

AT+CSCS Select TE character setTest CommandAT+CSCS=

Response+CSCS (list of supported ltchsetgts)

OKRead CommandAT+CSCS

Response+CSCS ltchsetgt

OKWrite CommandAT+CSCS=ltchsetgt

ResponseOKorERROR

Execution CommandAT+CSCS

Set subparameters as default valueOK

ReferenceV25ter

Defined Values

ltchsetgt

Character set the definition as followingIRA International reference alphabetGSM GSM default alphabet this setting causes easily

software flow control (XON XOFF) problemsUCS2 16-bit universal multiple-octet coded character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 47451

UCS2 character strings are converted to hexadecimal numbers from0000 to FFFF

Example

AT+CSCS=IRAOK

2232 AT+CIMI Request international mobile subscriber identity

Execution command causes the TA to return ltIMSIgt which is intended to permit the TE to identify theindividual SIM card which is attached to MTNOTE If USIM card contains two apps like China Telecom 4G card one RUIMCSIM app and anotherUSIM app so there are two IMSI in it AT+CIMI will return the RUIMCSIM IMSI AT+CIMIM will return theUSIM IMSI

AT+CIMI Request international mobile subscriber identityTest CommandAT+CIMI=

ResponseOK

Execution CommandAT+CIMI

ResponseltIMSIgt

OKor+CME ERROR memory failure

ReferenceV25ter

Defined Values

ltIMSIgtInternational Mobile Subscriber Identity (string without doublequotes)

ExampleAT+CIMI460010222028133

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 48451

2233 AT+GCAP Request overall capabilities

Execution command causes the TA reports a list of additional capabilities

AT+GCAP Request overall capabilitiesTest CommandAT+GCAP=

ResponseOK

Execution CommandAT+GCAP

Response+GCAP (list of ltnamegts)

OKReferenceV25ter

Defined Values

ltnamegt

List of additional capabilities+CGSM GSM function is supported+FCLASS FAX function is supported+DS Data compression is supported+ES Synchronous data mode is supported+CIS707-A CDMA data service command set+CIS-856 EVDO data service command set+MS Mobile Specific command set

Example

AT+GCAP+GCAP +CGSM+FCLASS+DS

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 49451

3 AT Commands for Status Control

31 Overview of AT Commands for Status Control

Command DescriptionAT+CFUN Set phone functionality

AT+CPIN Enter PINAT+CICCID Read ICCID from SIM cardAT+CSIM Generic SIM accessAT+CRSM Restricted SIM accessAT+SPIC Times remain to input SIM PINPUKAT+CSPN Get service provider name from SIMAT+CSQ Query signal qualityAT+AUTOCSQ Set CSQ reportAT+CSQDELTA Set RSSI delta change thresholdAT+CATR Configure URC destination interfaceAT+CPOF Power down the moduleAT+CRESET Reset the moduleAT+CACM Accumulated call meterAT+CAMM Accumulated call meter maximumAT+CPUC Price per unit and currency tableAT+CCLK Real time clock managementAT+CMEE Report mobile equipment errorAT+CPAS Phone activity statusAT+SIMEI Set IMEI for the moduleAT+CSVM Voice Mail Subscriber number

32 Detailed Description of AT Commands for Status Control

321 AT+CFUN Set phone functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 50451

DescriptionThis command is used to select the level of functionality ltfungt in the ME Level fullfunctionality is where the highest level of power is drawn Minimum functionality is whereminimum power is drawn Level of functionality between these may also be specified bymanufacturers When supported by manufacturers ME resetting with ltrstgt parameter maybe utilized

NOTE AT+CFUN=6 must be used after setting AT+CFUN=7 If module in offline modemust execute AT+CFUN=6 or restart module to online mode

AT+CFUN Set phone functionalityTest CommandAT+CFUN=

Response+CFUN (list of supported ltfungts)(list of supported ltrstgts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CFUN

Response+CFUN ltfungt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CFUN=ltfungt[ltrstgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltfungt 0 minimum functionality1 full functionality online mode4 disable phone both transmit and receive RF circuits5 Factory Test Mode6 Reset7 Offline Mode

ltrstgt 0 do not reset the ME before setting it to ltfungt power level

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 51451

1 reset the ME before setting it to ltfungt power level This value only takeseffect when ltfungt equals 1

Example

AT+CFUN+CFUN 1

OKAT+CFUN=0OK

322 AT+CPIN Enter PIN

DescriptionThis command is used to send the ME a password which is necessary before it can beoperated (SIM PIN SIM PUK PH-SIM PIN etc) If the PIN is to be entered twice the TAshall automatically repeat the PIN If no PIN request is pending no action is taken towardsMT and an error message +CME ERROR is returned to TEIf the PIN required is SIM PUK or SIM PUK2 the second pin is required This second pinltnewpingt is used to replace the old pin in the SIM

AT+CPIN Enter PINTest CommandAT+CPIN=

ResponseOK

Read CommandAT+CPIN

Response+CPIN ltcodegt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPIN=ltpingt[ltnewpingt]

ResponseOKorERRORor+CME ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 52451

Defined Valuesltpingt String type valuesltnewpingt String type valuesltcodegt Values reserved by the present document

READY ndash ME is not pending for any passwordSIM PIN ndash ME is waiting SIM PIN to be givenSIM PUK ndash ME is waiting SIM PUK to be givenPH-SIM PIN ndash ME is waiting phone- to- SIM card password to be givenSIM PIN2 ndash ME is waiting SIM PIN2 to be givenSIM PUK2 ndash ME is waiting SIM PUK2 to be givenPH-NET PIN ndash ME is waiting network personalization password to be given

Example

AT+CPIN+CPIN SIM PUK2

OK

323 AT+CICCID Read ICCID from SIM card

DescriptionThis command is used to Read the ICCID from SIM card

AT+CICCID Read ICCID from SIM cardTest CommandAT+CICCID=

ResponseOK

Execution CommandAT+CICCID

Response+ICCID ltICCIDgt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 53451

ltICCIDgt Integrate circuit card identity a standard ICCID is a 20-digit serial number of theSIM card it presents the publish state network code publish area publish datepublish manufacture and press serial number of the SIM card

Example

AT+CICCID+ICCID 898600700907A6019125

OK

324 AT+CSIM Generic SIM access

Description

This command is used to control the SIM card directlyCompared to restricted SIM access command AT+CRSM AT+CSIM allows the ME to takemore control over the SIM interfaceFor SIMndashME interface please refer 3GPP TS 1111NOTEThe SIM Application Toolkit functionality is not supported by AT+CSIM Therefore

the following SIM commands can not be used TERMINAL PROFILEENVELOPE FETCH and TEMINAL RESPONSE

AT+CSIM Generic SIM accessTest CommandAT+CSIM=

ResponseOK

Write CommandAT+CSIM=ltlengthgtltcommandgt

Response+CSIM ltlengthgtltresponsegt

OKorERRORor+CME ERROR lterrgt

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 54451

ltlengthgt Integer type length of characters that are sent to TE in ltcommandgtorltresponsegtltcommandgt Command passed from MT to SIM cardltresponsegt Response to the command passed from SIM card to MT

Example

AT+CSIM=OK

325 AT+CRSM Restricted SIM access

DescriptionBy using AT+CRSM instead of Generic SIM Access AT+CSIM TE application has easierbut more limited access to the SIM databaseWrite command transmits to the MT the SIM ltcommandgt and its required parameters MThandles internally all SIM-MT interface locking and file selection routines As response tothe command MT sends the actual SIM information parameters and response data MTerror result code +CME ERROR may be returned when the command cannot be passed tothe SIM but failure in the execution of the command in the SIM is reported in ltsw1gt andltsw2gt parameters

AT+CRSM Restricted SIM accessTest CommandAT+CRSM=

ResponseOK

Write CommandAT+CRSM=ltcommandgt[ltfileIDgt[ltp1gtltp2gtltp3gt[ltdatagt]]]

Response+CRSM ltsw1gtltsw2gt[ltresponsegt]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcommandgt Command passed on by the MT to the SIM176 READ BINARY178 READ RECORD

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 55451

192 GET RESPONSE214 UPDATE BINARY220 UPDATE RECORD242 STATUS203 RETRIEVE DATA219 SET DATA

ltfileIDgt Identifier for an elementary data file on SIM if used by ltcommandgtThe following list the fileID hex value user needs to convert them to decimalEFs under MF0x2FE2 ICCID0x2F05 Extended Language Preferences0x2F00 EF DIR0x2F06 Access Rule Reference

EFs under USIM ADF0x6F05 Language Indication0x6F07 IMSI0x6F08 Ciphering and Integrity keys0x6F09 C and I keys for pkt switched domain0x6F60 User controlled PLMN selector wAcc Tech0x6F30 User controlled PLMN selector0x6F31 HPLMN search period0x6F37 ACM maximum value0x6F38 USIM Service table0x6F39 Accumulated Call meter0x6F3E Group Identifier Level0x6F3F Group Identifier Level 20x6F46 Service Provider Name0x6F41 Price Per Unit and Currency table0x6F45 Cell Bcast Msg identifier selection0x6F78 Access control class0x6F7B Forbidden PLMNs0x6F7E Location information0x6FAD Administrative data0x6F48 Cell Bcast msg id for data download0x6FB7 Emergency call codes0x6F50 Cell bcast msg id range selection0x6F73 Packet switched location information0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F49 Service dialling numbers0x6F4B Extension 20x6F4C Extension 30x6F47 SMS reports

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 56451

0x6F80 Incoming call information0x6F81 Outgoing call information0x6F82 Incoming call timer0x6F83 Outgoing call timer0x6F4E Extension 50x6F4F Capability Config Parameters 20x6FB5 Enh Multi Level Precedence and Pri0x6FB6 Automatic answer for eMLPP service0x6FC2 Group identity0x6FC3 Key for hidden phonebook entries0x6F4D Barred dialling numbers0x6F55 Extension 40x6F58 Comparison Method information0x6F56 Enabled services table0x6F57 Access Point Name Control List0x6F2C De-personalization Control Keys0x6F32 Co-operative network list0x6F5B Hyperframe number0x6F5C Maximum value of Hyperframe number0x6F61 OPLMN selector with access tech0x6F5D OPLMN selector0x6F62 HPLMN selector with access technology0x6F06 Access Rule reference0x6F65 RPLMN last used access tech0x6FC4 Network Parameters0x6F11 CPHS Voice Mail Waiting Indicator0x6F12 CPHS Service String Table0x6F13 CPHS Call Forwarding Flag0x6F14 CPHS Operator Name String0x6F15 CPHS Customer Service Profile0x6F16 CPHS CPHS Information0x6F17 CPHS Mailbox Number0x6FC5 PLMN Network Name0x6FC6 Operator PLMN List0x6F9F Dynamic Flags Status0x6F92 Dynamic2 Flag Setting0x6F98 Customer Service Profile Line20x6F9B EF PARAMS - Welcome Message0x4F30 Phone book reference file0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier0x4F20 GSM ciphering key Kc0x4F52 GPRS ciphering key0x4F63 CPBCCH information0x4F64 Investigation scan

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 57451

0x4F40 MExE Service table0x4F41 Operator Root Public Key0x4F42 Administrator Root Public Key0x4F43 Third party Root public key0x6FC7 Mail Box Dialing Number0x6FC8 Extension 60x6FC9 Mailbox Identifier0x6FCA Message Waiting Indication Status0x6FCD Service Provider Display Information0x6FD2 UIM_USIM_SPT_TABLE0x6FD9 Equivalent HPLMN0x6FCB Call Forwarding Indicator Status0x6FD6 GBA Bootstrapping parameters0x6FDA GBA NAF List0x6FD7 MBMS Service Key0x6FD8 MBMS User Key0x6FCE MMS Notification0x6FD0 MMS Issuer connectivity parameters0x6FD1 MMS User Preferences0x6FD2 MMS User connectivity parameters0x6FCF Extension 80x5031 Object Directory File0x5032 Token Information File0x5033 Unused space Information File

EFs under Telecom DF0x6F3A Abbreviated Dialing Numbers0x6F3B Fixed dialling numbers0x6F3C Short messages0x6F3D Capability Configuration Parameters0x6F4F Extended CCP0x6F40 MSISDN0x6F42 SMS parameters0x6F43 SMS Status0x6F44 Last number dialled0x6F49 Service Dialling numbers0x6F4A Extension 10x6F4B Extension 20x6F4C Extension 30x6F4D Barred Dialing Numbers0x6F4E Extension 40x6F47 SMS reports0x6F58 Comparison Method Information0x6F54 Setup Menu elements0x6F06 Access Rule reference0x4F20 Image0x4F30 Phone book reference file

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 58451

0x4F22 Phone book synchronization center0x4F23 Change counter0x4F24 Previous Unique Identifier

ltp1gtltp2gtltp3gt Integer type parameters to be passed on by the Module to the SIMltdatagt Information which shall be written to the SIM (hexadecimal character format refer

AT+CSCS)ltsw1gtltsw2gt Status information from the SIM about the execution of the actual command It is

returned in both cases on successful or failed execution of the commandltresponsegt Response data in case of a successful completion of the previously issued

commandSTATUS and GET RESPONSE commands return data which gives informationabout the currently selected elementary data field This information includes thetype of file and its sizeAfter READ BINARY or READ RECORD commands the requested data will bereturnedltresponsegt is empty after UPDATE BINARY or UPDATE RECORD commands

Example

AT+CRSM=OK

326 AT+SPIC Times remain to input SIM PINPUK

DescriptionThis command is used to inquire times remain to input SIM PINPUK

AT+SPIC Times remain to input SIM PINPUKTest CommandAT+SPIC=

ResponseOK

Execution CommandAT+SPIC

Response+SPIC ltpin1gtltpuk1gtltpin2gtltpuk2gt

OK

Defined Values

ltpin1gt Times remain to input PIN1 code

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 59451

ltpuk1gt Times remain to input PUK1 codeltpin2gt Times remain to input PIN2 codeltpuk2gt Times remain to input PUK2 code

Example

AT+SPIC=OKAT+SPIC+SPIC 310010

OK

327 AT+CSPN Get service provider name from SIM

DescriptionThis command is used to get service provider name from SIM card

AT+CSPN Get service provider name from SIMTest CommandAT+CSPN=

ResponseOKorERROR

Read CommandAT+CSPN

Response+CSPN ltspngtltdisplay modegt

OKorERRORor+CME ERROR lterrgt

Defined Values

ltspngt String type service provider name on SIMltdisplay modegt 0 doesnrsquot display PLMN Already registered on PLMN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 60451

1 display PLMN

Example

AT+CSPN=OKAT+CSPN+CSPN CMCC0

OK

328 AT+CSQ Query signal quality

DescriptionThis command is used to return received signal strength indication ltrssigt and channel biterror rate ltbergt from the ME Test command returns values supported by the TA ascompound values

AT+CSQ Query signal qualityTest CommandAT+CSQ=

Response+CSQ (list of supported ltrssigts)(list of supported ltbergts)

OK

Execution CommandAT+CSQ

Response+CSQ ltrssigtltbergt

OKorERROR

Defined Values

ltrssigt 0 -113 dBm or less1 - 111 dBm230 - 109 - 53 dBm31 -51 dBm or greater99 not known or not detectable100 - 116 dBm or less

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 61451

101 -115 dBm102hellip191 -114 - 26dBm191 -25 dBm or greater199 not known or not detectable100hellip199 expand to TDSCDMA indicate RSCP received

ltbergt (in percent)0 lt0011 001 --- 012 01 --- 053 05 --- 104 10 --- 205 20 --- 406 40 --- 807 gt=8099 not known or not detectable

Example

AT+CSQ+CSQ 220

OK

329 AT+AUTOCSQ Set CSQ report

DescriptionThis command is used to enable or disable automatic report CSQ information whenautomatic report enabled the module reports CSQ information every five seconds or onlyafter ltrssigt or ltbergt is changed the format of automatic report is +CSQ ltrssigtltbergt

AT+AUTOCSQ Set CSQ reportTest CommandAT+AUTOCSQ=

Response+AUTOCSQ (list of supportedltautogts)(list of supportedltmodegts)

OK

Read CommandAT+AUTOCSQ

Response+AUTOCSQ ltautogtltmodegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 62451

Write CommandAT+AUTOCSQ=ltautogt[ltmodegt]

ResponseOKorERROR

Defined Values

ltautogt 0 disable automatic report1 enable automatic report

ltmodegt 0 CSQ automatic report every five seconds1 CSQ automatic report only after ltrssigt or ltbergt is changed

NOTEIf the parameter of ltmodegt is omitted when executing write command ltmodegtwill be set to default value

Example

AT+AUTOCSQ=+AUTOCSQ (0-1)(0-1)

OKAT+AUTOCSQ+AUTOCSQ 11

OKAT+AUTOCSQ=11OK

+CSQ 230 (when ltrssigt or ltbergt changing)

3210 AT+CSQDELTA Set RSSI delta change threshold

DescriptionThis command is used to set RSSI delta threshold for signal strength reporting

AT+CSQDELTA Set RSSI delta change threshold

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 63451

Test CommandAT+CSQDELTA=

Response+CSQDELTA (list of supported ltdeltagts)

OK

Read CommandAT+CSQDELTA

Response+CSQDELTA ltdeltagt

OKorERROR

Write CommandAT+CSQDELTA=ltdeltagt

ResponseOKorERROR

Execution CommandAT+CSQDELTA

ResponseSet default value(ltdeltagt=5)OK

Defined Values

ltdeltagt Range from 0 to 5

Example

AT+CSQDELTA+CSQDELTA 5

OK

3211 AT+CATR Configure URC destination interface

DescriptionThis command is used to configure the serial port which will be used to output URCs Werecommend configure a destination port for receiving URC in the system initializationphase in particular in the case that transmitting large amounts of data eg use TCPUDPand MT SMS related AT command

AT+CATR Configure URC destination interface

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 64451

Test CommandAT+CATR=

Response+CATR (list of supported ltportgts)

OK

Read CommandAT+CATR

Response+CATR ltportgt

OKWrite CommandAT+CATR=ltportgt

ResponseOKorERROR

Defined Values

ltportgt 0 all ports1 use UART port to output URCs2 use MODEM port to output URCs3 use ATCOM port to output URCs4 use cmux virtual port1 to output URCs5 use cmux virtual port2 to output URCs6 use cmux virtual port3 to output URCs7 use cmux virtual port4 to output URCs

Example

AT+CATR=1OKAT+CATR+CATR 1

OK

3212 AT+CPOF Power down the module

DescriptionThis command is used to power off the module Once the AT+CPOF command is executedThe module will store user data and deactivate from network and then shutdown

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 65451

AT+CPOF Power down the moduleTest CommandAT+CPOF=

ResponseOK

Execution CommandAT+CPOF

ResponseOK

Example

AT+CPOFOK

3213 AT+CRESET Reset the module

DescriptionThis command is used to reset the module

AT+CRESET Reset the moduleTest CommandAT+CRESET=

ResponseOK

Execution CommandAT+CRESET

ResponseOK

Example

AT+CRESET=OKAT+CRESETOK

3214 AT+CACM Accumulated call meter

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 66451

DescriptionThis command is used to reset the Advice of Charge related accumulated call meter valuein SIM file EFACM

AT+CACM Accumulated call meterTest CommandAT+CACM=

ResponseOKorERROR

Read CommandAT+CACM

Response+CACM ltacmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CACM=ltpasswdgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CACM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltpasswdgt String type SIM PIN2ltacmgt String type accumulated call meter value similarly coded as ltccmgt under +CAOC

Example

AT+CACM+CACM 000000

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 67451

3215 AT+CAMM Accumulated call meter maximum

DescriptionThis command is used to set the Advice of Charge related accumulated call metermaximum value in SIM file EFACMmax

AT+CAMM Accumulated call meter maximumTest CommandAT+CAMM=

ResponseOKorERROR

Read CommandAT+CAMM

Response+CAMM ltacmmaxgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CAMM=ltacmmaxgt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CAMM

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltacmmaxgt String type accumulated call meter maximum value similarly coded as ltccmgtunder AT+CAOC value zero disables ACMmax feature

ltpasswdgt String type SIM PIN2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 68451

Example

AT+CAMM+CAMM 000000

OK

3216 AT+CPUC Price per unit and currency table

DescriptionThis command is used to set the parameters of Advice of Charge related price per unit and currencytable in SIM file EFPUCT

AT+CPUC Price per unit and currency tableTest CommandAT+CPUC=

ResponseOKorERROR

Read CommandAT+CPUC

Response+CPUC [ltcurrencygtltppugt]

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CPUC=ltcurrencygtltppugt[ltpasswdgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcurrencygt String type three-character currency code (eg GBP DEM) character setas specified by command Select TE Character Set AT+CSCS

ltppugt String type price per unit dot is used as a decimal separator (eg 266)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 69451

ltpasswdgt String type SIM PIN2

Example

AT+CPUC+CPUC GBP266

OK

3217 AT+CCLK Real time clock management

DescriptionThis command is used to manage Real Time Clock of the module

AT+CCLK Real time clock managementTest CommandAT+CCLK=

ResponseOK

Read CommandAT+CCLK

Response+CCLK lttimegt

OKWrite CommandAT+CCLK=lttimegt

ResponseOKorERROR

Defined Values

lttimegt String type value format is yyMMddhhmmssplusmnzz where characters indicate year(two last digits) month day hour minutes seconds and time zone (indicates thedifference expressed in quarters of an hour between the local time and GMT threelast digits are mandatory range -47hellip+48) Eg 6thof May 2008 142810 GMT+8equals to 080506142810+32NOTE 1 Time zone is nonvolatile and the factory value is invalid time zone2 Command +CCLK will return time zone when time zone is valid and if time zone is

00 command +CCLK will return +00 but not -00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 70451

Example

AT+CCLK=081128123033+32OKAT+CCLK+CCLK 081128123035+32

OKAT+CCLK=081126101500OKAT+CCLK+CCLK 081126101502+32

OK

3218 AT+CMEE Report mobile equipment error

DescriptionThis command is used to disable or enable the use of result code +CME ERROR lterrgtor +CMS ERROR lterrgt as an indication of an error relating to the functionality of MEwhen enabled the format of lterrgt can be set to numeric or verbose string

AT+CMEE Report mobile equipment errorTest CommandAT+CMEE=

Response+CMEE (list of supported ltngts)

OK

Read CommandAT+CMEE

Response+CMEE ltngt

OKWrite CommandAT+CMEE=ltngt

ResponseOKorERROR

Execution CommandAT+CMEE

ResponseSet default valueOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 71451

Defined Values

ltngt 0 ndash Disable result codeie only ERROR will be displayed1 ndash Enable error result code with numeric values2 ndash Enable error result code with string values

Example

AT+CMEE+CMEE 2

OKAT+CPIN=12341234+CME ERROR incorrect passwordAT+CMEE=0OKAT+CPIN=12341234ERRORAT+CMEE=1OKAT+CPIN=12341234+CME ERROR 16

3219 AT+CPAS Phone activity status

DescriptionThis command is used to return the activity status ltpasgt of the ME It can be used tointerrogate the ME before requesting action from the phoneNOTE This command is same as AT+CLCC but AT+CLCC is more commonly used SoAT+CLCC is recommended to use

AT+CPAS Phone activity statusTest CommandAT+CPAS=

Response+CPAS (list of supported ltpasgts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 72451

Execution CommandAT+CPAS

Response+CPAS ltpasgt

OK

Defined Values

ltpasgt 0 ready (ME allows commands from TATE)3 ringing (ME is ready for commands from TATE but the ringer is active)4 call in progress (ME is ready for commands from TATE but a call is in progress)

Example

RING (with incoming call)AT+CPAS+CPAS 3

OKAT+CPAS=+CPAS (034)

OK

3220 AT+SIMEI Set IMEI for the module

DescriptionThis command is used to set the modulersquos IMEI value

AT+SIMEI Set IMEI for the moduleTest CommandAT+SIMEI=

ResponseOK

Read CommandAT+SIMEI

Response+SIMEI ltimeigt

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 73451

Write CommandAT+SIMEI=ltimeigt

ResponseOKorERROR

Defined Values

ltimeigt The 15-digit IMEI value

Example

AT+SIMEI=357396012183170OKAT+SIMEI+SIMEI 357396012183170

OKAT+SIMEI=OK

3221 AT+CSVM Voice Mail Subscriber number

DescriptionExecute the following command returns the voice mail number related to the subscriber

AT+CSVM Voice Mail Subscriber numberTest CommandAT+CSVM=

Response+CSVM (0-1)(0-9+)(128-255)

OKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 74451

Read CommandAT+CSVM

Response

+CSVM ltvalidgtltnumbergtlttypegt

OK

orERROR

Write CommandAT+CSVM=ltvalidgtltnumbergtlttypegt

ResponseOKorERROR

Defined Values

ltvalidgt Whether voice mail number is valid0 Voice mail number is invalid1 Voice mail number is valid

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format see also AT+CPBR lttypegt

Example

AT+CSVM+CSVM 113697252277129

OK

3222 Indication of Voice Mail

This module supports voice mail function the subscriber number is configured by AT+CSVM commandthe following table shows the URC related Voice Mail

Indication of Voice MailBox Empty+VOICEMAIL EMPTY

DescriptionThis indication means the voice mail box is empty

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 75451

New Message+VOICEMAIL NEW MSG

DescriptionThis indication means there is a new voice mail message notificationreceived This is for CPHS

Voice Mail Status Updated+VOICEMAIL WAITINGltcountgt

DescriptionThis indication means that there are ltcountgt number of voice mailmessages that needs to be got

Defined Values

ltcountgt Count of voice mail message that waits to be got

Example

+VOICEMAIL WAITINGltcountgt+VOICEMAIL WAITING5

33 Summary of CME ERROR codes

This result code is similar to the regular ERROR result code The format of lterrgt can be ethier numeric orverbose string by setting AT+CMEE command

lterrgt of numeric format lterrgt of verbose format0 Phone failure1 no connection to phone2 phone adaptor link reserved3 operation not allowed4 operation not supported5 PH-SIM PIN required6 PH-FSIM PIN required7 PH-FSIM PUK required10 SIM not inserted11 SIM PIN required12 SIM PUK required13 SIM failure14 SIM busy15 SIM wrong

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 76451

16 incorrect password17 SIM PIN2 required18 SIM PUK2 required20 memory full21 invalid index22 not found23 memory failure24 text string too long25 invalid characters in text string26 dial string too long27 invalid characters in dial string30 no network service31 network timeout32 network not allowed ndash emergency calls only40 network personalization PIN required41 network personalization PUK required42 network subset personalization PIN required43 network subset personalization PUK required44 service provider personalization PIN required45 service provider personalization PUK required46 corporate personalization PIN required47 corporate personalization PUK required100 Unknown103 Illegal message106 Illegal ME107 GPRS services not allowed111 PLMN not allowed112 Location area not allowed113 Roaming not allowed in this location area132 service option not supported133 requested service option not subscribed134 service option temporarily out of order148 unspecified GPRS error149 PDP authentication failure150 invalid mobile class257 network rejected request258 retry operation259 invalid deflected to number260 deflected to own number261 unknown subscriber262 service not available

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 77451

263 unknown class specified264 unknown network message273 minimum TFTS per PDP address violated274 TFT precedence index not unique275 invalid parameter combinationCME ERROR codes of FTP201 Unknown error for FTP202 FTP task is busy203 Failed to resolve server address204 FTP timeout205 Failed to read file206 Failed to write file207 Itrsquos not allowed in current state208 Failed to login209 Failed to logout210 Failed to transfer data211 FTP command rejected by server212 Memory error213 Invalid parameter214 Network error

Example

AT+CPIN=12341234+CME ERROR incorrect password

34 Summary of CMS ERROR codes

Final result code +CMS ERROR lterrgt indicates an error related to mobile equipment or network Theoperation is similar to ERROR result code None of the following commands in the same command line isexecuted Neither ERROR nor OK result code shall be returned ERROR is returned normally when error isrelated to syntax or invalid parameters The format of lterrgt can be either numeric or verbose This is setwith command AT+CMEE

lterrgt of numeric format lterrgt of verbose format300 ME failure301 SMS service of ME reserved

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 78451

302 Operation not allowed303 Operation not supported304 Invalid PDU mode parameter305 Invalid text mode parameter310 SIM not inserted311 SIM PIN required312 PH-SIM PIN required313 SIM failure314 SIM busy315 SIM wrong316 SIM PUK required317 SIM PIN2 required318 SIM PUK2 required320 Memory failure321 Invalid memory index322 Memory full330 SMSC address unknown331 No network service332 Network timeout340 NO +CNMAACK EXPECTED341 Buffer overflow342 SMS size more than expected500 Unknown error

Example

AT+CMGS=02112345678+CMS ERROR 304

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 79451

4 AT Commands for Network

41 Overview of AT Commands for Network

Command DescriptionAT+CREG Network RegistrationAT+COPS Operator selectionAT+CLCK Facility lockAT+CPWD Change passwordAT+CCUG Closed User GroupAT+CUSD Unstructured supplementary service dataAT+CAOC Advice of ChargeAT+CSSN Supplementary service notificationsAT+CPOL Preferred operator listAT+COPN Read operator namesAT+CNMP Preferred mode selectionAT+CNAOP Acquisitions order preferenceAT+CPSI Inquiring UE system informationAT+CNSMOD Show network system modeAT+CEREG EPS network registration statusAT+CTZU Automatic time and time zone updateAT+CTZR Time and time zone reportingAT+CNWINFO Inquiring extra network infoAT+C5GREG NR5G network registration statusAT+CSYSSEL Set system selection pref

AT+CCELLCFG Set lte cell configurationAT+C5GCELLCFG Set NR5G cell configuration

42 Detailed Description of AT Commands for Network

421 AT+CREG Network registration

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 80451

This command is used to control the presentation of an unsolicited result code +CREG ltstatgt when ltngt=1and there is a change in the ME network registration status or code +CREG ltstatgt[ltlacgtltcigt] whenltngt=2 and there is a change of the network cellRead command returns the status of result code presentation and an integer ltstatgt which shows whetherthe network has currently indicated the registration of the ME Location information elements ltlacgt andltcigt are returned only when ltngt=2 and ME is registered in the network

AT+CREG Network registrationTest CommandAT+CREG=

Response+CREG (list of supported ltngts)

OKRead CommandAT+CREG

Response+CREG ltngtltstatgt[ltlacgtltcigt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CREG

Response (Set default value ltngt=0)OK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CREG ltstatgt2 enable network registration and location information unsolicitedresult code +CREG ltstatgt[ltlacgtltcigt]

ltstatgt 0 not registered ME is not currently searching a new operator toregister to1 registered home network2 not registered but ME is currently searching a new operator toregister to3 registration denied4 unknown5 registered roaming

ltlacgt Two byte location area code in hexadecimal format(eg00C3 equals193 in decimal)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 81451

NOTE The ltlacgt not supported in CDMAHDR modeltcigt Cell Identify in hexadecimal format

GSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

NOTE The ltcigt not supported in CDMAHDR mode

Example

AT+CREG+CREG 01

OK

Location information elements ltlacgt and ltcigt are returned only when ltngt=2 and ME is registered inthe network

422 AT+COPS Operator selection

Write command forces an attempt to select and register the GSMUMTS network operator ltmodegt is usedto select whether the selection is done automatically by the ME or is forced by this command to operatorltopergt (it shall be given in format ltformatgt) If the selected operator is not available no other operatorshall be selected (except ltmodegt=4) The selected operator name format shall apply to further readcommands (AT+COPS) also ltmodegt=2 forces an attempt to deregister from the network The selectedmode affects to all further network registration (eg after ltmodegt=2 ME shall be unregistered untilltmodegt=0or1 is selected)Read command returns the current mode and the currently selected operator If no operator is selectedltformatgt and ltopergt are omittedTest command returns a list of quadruplets each representing an operator present in the networkQuadruplet consists of an integer indicating the availability of the operator ltstatgt long and shortalphanumeric format of the name of the operator and numeric format representation of the operator Any ofthe formats may be unavailable and should then be an empty field The list of operators shall be in orderhome network networks referenced in SIM and other networksIt is recommended (although optional) that after the operator list TA returns lists of supported ltmodegts andltformatgts These lists shall be delimited from the operator list by two commas

AT+COPS Operator selectionTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 82451

AT+COPS= [+COPS [list of supported (ltstatgtlong alphanumeric ltopergtshort alphanumeric ltopergtnumeric ltopergt[lt AcTgt])s][(list of supportedltmodegts)(list of supportedltformatgts)]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Read CommandAT+COPS

Response+COPS ltmodegt[ltformatgtltopergt[lt AcTgt]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+COPS=ltmodegt[ltformatgt[ltopergt[ltAcTgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+COPS

ResponseOK

Defined Values

ltmodegt 0 automatic1 manual2 force deregister3 set only ltformatgt4 manualautomatic

NOTE if ltmodegt is set to 1 4 in write command the ltopergt isneeded

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt2 numeric ltopergt

ltopergt string type ltformatgt indicates if the format is alphanumeric ornumeric

ltstatgt 0 unknown1 available2 current3 forbidden

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 83451

ltAcTgt Access technology selected0 GSM1 GSM Compact2 UTRAN6 UTRAN_HSDPA_HSUPA7 EUTRAN8 EC_GSM_IOT9 EUTRAN_NB_S111 NR_5GCN (NR connected to 5G core Network)12 NGRAN (NG-RAN access technology)13 EUTRA_NR (Dual connectivity of LTE with NR)

NOTE the value 8 do not follow the 3gpp spec we add this value todistinguish cdmahdr

Example

AT+COPS+COPS 00China Mobile Com0

OK

AT+COPS=+COPS (2China UnicomUnicom460010)(3China Mobile ComDGTMPT460000)(01234)(012)

OK

When executing AT+COPS= any input from serial port will stop this command

423 AT+CLCK Facility lock

This command is used to lock unlock or interrogate a ME or a network facility ltfacgt Password is normallyneeded to do such actions When querying the status of a network service (ltmodegt=2) the response linefor not active case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt

AT+CLCK Facility lockTest CommandAT+CLCK=

Response+CLCK (list of supportedltfacgts)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 84451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CLCK=ltfacgtltmodegt[ltpasswdgt[ltclassgt]]

Response (When ltmodegt=2 and command successful)[+CLCK ltstatusgt[ltclass1gt[ltCRgtltLFgt+CLCK ltstatusgtltclass2gt[]]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfacgt PF lock Phone to the First inserted SIM card or USIM cardSC lock SIM card or USIM cardAO Barr All Outgoing CallsOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home CountryAI Barr All Incoming CallsIR Barr Incoming Calls when roaming outside the home countryAB All Barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AC All inComing barring services (only for ltmodegt=0)FD SIM fixed dialing memory featurePN Network PersonalizationPU network subset PersonalizationPP service Provider PersonalizationPC Corporate Personalization

ltmodegt 0 unlock1 lock2 query status

ltstatusgt 0 not active1 active

ltpasswdgt Passwordstring type shall be the same as password specified for the facilityfrom the ME user interface or with command Change Password+CPWD

ltclassXgt It is a sum of integers each representing a class of information1 voice (telephony)2 data (refers to all bearer services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 85451

4 fax (facsimile services)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

Example

AT+CLCK=SC2+CLCK 0

OK

When querying the status of a network service (ltmodegt=2) the response line for not active case(ltstatusgt=0) should be returned only if service is not active for any ltclassgt

424 AT+CPWD Change password

Write command sets a new password for the facility lock function defined by command Facility LockAT+CLCKTest command returns a list of pairs which present the available facilities and the maximum length of theirpassword

AT+CPWD Change passwordTest CommandAT+CPWD=

Response+CPWD (list of supported (ltfacgtltpwdlengthgt)s)

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPWD=ltfacgtltoldpwdgtltnewpwdgt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 86451

Defined Values

ltfacgt Refer Facility Lock +CLCK for other valuesSC SIM or USIM PIN1P2 SIM or USIM PIN2AB All Barring servicesAC All inComing barring services (only for ltmodegt=0)AG All outGoing barring services (only for ltmodegt=0)AI Barr All Incoming CallsAO Barr All Outgoing CallsIR Barr Incoming Calls when roaming outside the home countryOI Barr Outgoing International CallsOX Barr Outgoing International Calls except to Home Country

ltoldpwdgt String type it shall be the same as password specified for the facilityfrom the ME user interface or with command Change PasswordAT+CPWD

ltnewpwdgt String type it is the new password maximum length of password canbe determined with ltpwdlengthgt

ltpwdlengthgt Integer type max length of password

Example

AT+CPWD=+CPWD (AB4)(AC4)(AG4)(AI4)(AO4)(IR4)(OI4)(OX4)(SC8)(P28)

OK

425 AT+CCUG Closed user group

This command allows control of the Closed User Group supplementary service Set command enables theserved subscriber to select a CUG index to suppress the Outgoing Access (OA) and to suppress thepreferential CUG

AT+CCUG Closed user groupTest CommandAT+CCUG=

ResponseOKorERROR

Read CommandAT+CCUG

Response+CCUG ltngtltindexgtltinfogt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 87451

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CCUG=ltngt[ltindexgt[ltinfogt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CCUG

Response (Set default value)OK

Defined Values

ltngt 0 disable CUG temporary mode1 enable CUG temporary mode

ltindexgt 09 CUG index10 no index (preferred CUG taken from subscriber data)

ltinfogt 0 no information1 suppress OA2 suppress preferential CUG3 suppress OA and preferential CUG

Example

AT+CCUG+CCUG 000

OK

This command not supported in CDMAHDR mode

426 AT+CUSD Unstructured supplementary service data

This command allows control of the Unstructured Supplementary Service Data (USSD) Both network andmobile initiated operations are supported Parameter ltngt is used to disableenable the presentation of anunsolicited result code (USSD response from the network or network initiated operation) +CUSDltmgt[ltstrgtltdcsgt] to the TE In addition value ltngt=2 is used to cancel an ongoing USSD session

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 88451

AT+CUSD Unstructured supplementary service dataTest CommandAT+CUSD=

Response+CUSD (list of supportedltngts)

OKRead CommandAT+CUSD

Response+CUSD ltngt

OKWrite CommandAT+CUSD=ltngt[ltstrgt[ltdcsgt]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CUSD

Response (Set default value)OK

Defined Values

ltngt 0 disable the result code presentation in the TA1 enable the result code presentation in the TA2 cancel session (not applicable to read command response)

ltstrgt String type USSD stringltdcsgt Cell Broadcast Data Coding Scheme in integer format (default 0)ltmgt 0 no further user action required (network initiated USSD Notify or

no further information needed after mobile initiated operation)1 further user action required (network initiated USSD Request orfurther information needed after mobile initiated operation)2 USSD terminated by network4 operation not supported5 network time out

Example

AT+CUSD+CUSD 1

OK

AT+CUSD=0OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 89451

This command not supported in CDMAHDR mode

427 AT+CAOC Advice of Charge

This command refers to Advice of Charge supplementary service that enables subscriber to get informationabout the cost of calls With ltmodegt=0 the execute command returns the current call meter value from theMEThis command also includes the possibility to enable an unsolicited event reporting of the CCM informationThe unsolicited result code +CCCM ltccmgt is sent when the CCM value changes but not more that every10 seconds Deactivation of the unsolicited event reporting is made with the same command

AT+CAOC Advice of ChargeTest CommandAT+CAOC=

Response+CAOC (list of supportedltmodegts)

OKRead CommandAT+CAOC

Response+CAOC ltmodegt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CAOC=ltmodegt

Response+CAOC ltccmgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CAOC

Response (Set default value)OKorERROR

Defined Values

ltmodegt 0 query CCM value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 90451

1 deactivate the unsolicited reporting of CCM value2 activate the unsolicited reporting of CCM value

ltccmgt String type three bytes of the current call meter value in hexadecimalformat (eg 00001E indicates decimal value 30) value is in homeunits and bytes are similarly coded as ACMmax value in the SIM

Example

AT+CAOC=0+CAOC 000000

OK

This command not supported in CDMAHDR mode

428 AT+CSSN Supplementary service notifications

This command refers to supplementary service related network initiated notifications The set commandenablesdisables the presentation of notification result codes from TA to TEWhen ltngt=1 and a supplementary service notification is received after a mobile originated call setupintermediate result code +CSSI ltcode1gt[ltindexgt] is sent to TE before any other MO call setup resultcodes presented in the present document When several different ltcode1gts are received from the networkeach of them shall have its own +CSSI result codeWhenltmgt=1 and a supplementary service notification is received during a mobile terminated call setup orduring a call or when a forward check supplementary service notification is received unsolicited resultcode +CSSU ltcode2gt[ltindexgt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt]]] is sent to TE In case ofMT call setup result code is sent after every +CLIP result code (refer command Calling line identificationpresentation +CLIP) and when several different ltcode2gts are received from the network each of themshall have its own +CSSU result code

AT+CSSN Supplementary service notificationsTest CommandAT+CSSN=

Response+CSSN (list of supportedltngts)(list of supportedltmgts)

OK

Read CommandAT+CSSN

Response+CSSN ltngtltmgt

OKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 91451

ERROR

Write CommandAT+CSSN=ltngt[ltmgt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltngt Parameter setsshows the +CSSI result code presentation status inthe TA0 disable1 enable

ltmgt Parameter setsshows the +CSSU result code presentation status inthe TA0 disable1 enable

ltcode1gt 0 unconditional call forwarding is active1 some of the conditional call forwarding are active2 call has been forwarded3 call is waiting5 outgoing calls are barred

ltindexgt Refer Closed user group +CCUGltcode2gt 0 this is a forwarded call (MT call setup)

2 call has been put on hold (during a voice call)3 call has been retrieved (during a voice call)5 call on hold has been released (this is not a SS notification) (duringa voice call)

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer format default 145 when dialing string

includes international access code character + otherwise 129ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128

Example

AT+CSSN=1OK

AT+CSSN+CSSN 11

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 92451

This command not supported in CDMAHDR mode

429 AT+CPOL Preferred operator list

This command is used to edit the SIM preferred list of networks

AT+CPOL Preferred operator listTest CommandAT+CPOL=

Response+CPOL (list of supportedltindexgts)(list of supportedltformatgts)

OK

Read CommandAT+CPOL

Response[+CPOLltindex1gtltformatgtltoper1gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][ltCRgtltLFgt+CPOLltindex2gtltformatgtltoper2gt[ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt][]]]

OKorERROR

Write CommandAT+CPOL=ltindexgt[ltformatgt[ltopergt][ltGSM_AcT1gtltGSM_Compact_AcT1gtltUTRAN_AcT1gtltLTE_AcT1gt ]]NOTE If using USIM card thelast four parameters must set

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type the order number of operator in the SIM preferredoperator listIf only input ltindexgt command will delete the value indicate byltindexgt

ltformatgt 0 long format alphanumeric ltopergt1 short format alphanumeric ltopergt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 93451

2 numeric ltopergtltoperXgt String typeltGSM_AcTngt GSM access technology

0 access technology not selected1 access technology selected

ltGSM_Compact_AcTngt GSM access technology0 access technology not selected1 access technology selected

ltUTRA_AcTngt UTRA access technology0 access technology not selected1 access technology selected

ltLTE_AcTngt LTE access technology0 access technology not selected1 access technology selected

Example

AT+CPOL+CPOL 12460010010

OK

AT+CPOL=+CPOL (1-8)(0-2)

OK

4210 AT+COPN Read operator names

This command is used to return the list of operator names from the ME Each operator code ltnumericXgtthat has an alphanumeric equivalent ltalphaXgt in the ME memory shall be returned

AT+COPN Read operator namesTest CommandAT+COPN=

ResponseOK

ERROR

Execution CommandAT+COPN

Response[+COPN ltnumeric1gtltalpha1gt[ltCRgtltLFgt+COPN ltnumeric2gtltalpha2gt[]]]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 94451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltnumericXgt String type operator in numeric format (see AT+COPS)ltalphaXgt String type operator in long alphanumeric format (see AT+COPS)

Example

AT+COPN+COPN 46000China Mobile Com+COPN 46001China Unicom

helliphellip

OK

4211 AT+CNMP Preferred mode selection

This command is used to select or set the state of the mode preference

AT+CNMP Preferred mode selectionTest CommandAT+CNMP=

Response+CNMP (list of supportedltmodegts)

OK

Read CommandAT+CNMP

Response+CNMP ltmodegt

OK

Write CommandAT+CNMP=ltmodegt

ResponseOKor(If ltmodegt not supported by module this command will returnERROR)ERROR

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 95451

ltmodegt 2 Automatic13 GSM Only14 WCDMA Only38 LTE Only71 NR5G19 GSM+WCDMA Only48 Any modes but LTE39 GSM+WCDMA+LTE Only51 GSM+LTE Only54 WCDMA+LTE Only55 WCDMA+LTE+NR5G109 LTE+NR5G100 UNKNOW

Example

AT+CNMP=13OK

AT+CNMP+CNMP 13

OK

The set value in Write Command will take efficient immediately The set value will retain after moduleresetThe response will be returned immediately for Test Command and Read Command The MaxResponse Time for Write Command is 10 seconds

4212 AT+CNAOP Acquisitions order preference

This command is used to reset the state of acquisitions order preference

AT+CNAOP Acquisitions order preferenceRead CommandAT+CNAOP

Response+CNAOPltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 96451

Write CommandAT+CNAOP=ltmodegt[ltsys_mode1gt[ltsys_mode2gt[ltsys_mode3gt[ltsys_mode4gt[ltsys_mode5gt[ltsys_mode6gt]]]]]]

ResponseOKorERROR

Defined Values

ltmodegt 7 Acquistion by priority order list ltsys_modengtsltsys_modegt sys_mode values

2 CDMA3 GSM4 HDR5 WCDMA9 LTE11 TDSCDMA12 NR5G

Example

AT+CNAOP=79531124OK

AT+CNAOP+CNAOP 79531124

OK

4213 AT+CPSI Inquiring UE system information

AT+CPSI Inquiring UE system informationTest CommandAT+CPSI=

Response+CPSI (scope oflttimegt)

OK

Read CommandAT+CPSI

ResponseIf camping on a cdmaevdo cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 97451

+CPSI EVDOltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on a gsm cell+CPSIltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltAbsolute RF ChNumgtltRxLevgtltTrack LO AdjustgtltC1-C2gt

OKIf camping on a wcdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltPSCgtltFreqgtltSSCgtltECIOgtltRSCPgtltQualgtltRxLevgtltTXPWRgt

OKIf camping on a tds-cdma cell+CPSI ltSystem ModegtltOperationModegtltMCCgt-ltMNCgtltLACgtltCell IDgtltFrequencyBandgtltUarfcngtltCpidgt

OKIf camping on a lte cell+CPSI ltSystem ModegtltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OK

If camping on a cdmaehrpd cell+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI eHRPDltOperation Modegt[ltMCCgt-ltMNCgtltEVDO chnumgtltEVDO RX Chain 0 AGCgtltEVDO RX Chain 1 AGCgtltEVDO TX AGCgtltEVDO Serving PNgtltEVDO Rel0 SCIgtltEVDORelA SCIgtltEVDO ECIOgt]

OKIf camping on 1xlte cell

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 98451

+CPSI CDMAltOperation Modegt[ltMCCgt-ltMNCgtltCDMA chnumgtltCDMA pilot PNgtltCDMA RX Chain 0 AGCgtltCDMA RXChain 1 AGCgtltCDMA Chain 0 LNAgtltCDMA Chain 1LNAgtltCDMA TX AGCgtltSIDgtltNIDgtltCDMA ECIOgtltBIDgt]+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]

OKIf no service+CPSI NO SERVICE ltOperation modegt

OKIf camping on EN-DC connected mode+CPSI LTEltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltdlbwgtltulbwgtltRSRQgtltRSRPgtltRSSIgtltRSSNRgt]+CPSI NR5G_NSA [ltPCellIDgtltFrequencyBandgtltearfcnssbgtltRSRPgtltRSRQgtltSNRgt]

OK

If camping on NR5G only mode+CPSI NR5G_SAltOperationModegt[ltMCCgt-ltMNCgtltTACgtltSCellIDgtltPCellIDgtltFrequencyBandgtltearfcngtltRSRPgtltRSRQgtltSNRgt]

OK

ERROR

Write CommandAT+CPSI=lttimegt

ResponseOKorERROR

Defined Values

lttimegt The range is 0-255 unit is second after set lttimegt will report thesystem information every the seconds

ltSystem modegt System mode values NO SERVICE GSM WCDMA LTE TDShellipIf module in LIMITED SERVICE state and +CNLSA command is set to1 the system mode will display as GSM-LIMITED

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 99451

WCDMA-LIMITEDhellipltOperation modegt UE operation mode values Unknown Online Offline Factory

Test Mode Reset Low Power ModeltMCCgt Mobile Country Code (first part of the PLMN code)ltMNCgt Mobile Network Code (second part of the PLMN code)ltLACgt Location Area Code (hexadecimal digits)ltCell IDgt Service-cell IdentifyltAbsolute RF Ch Numbergt AFRCN for service-cellltTrack LO Adjustgt Track LO AdjustltC1gt Coefficient for base station selectionltC2gt Coefficient for Cell re-selectionltFrequency Bandgt Frequency Band of active setltPSCgt Primary synchronization code of active setltFreqgt Downlink frequency of active setltSSCgt Secondary synchronization code of active setltECIOgt EcIo valueReceived Signal Code PowerltRSCPgt Received Signal Code PowerltQualgt Quality value for base station selectionltRxLevgt RX level value for base station selectionltTXPWRgt UE TX power in dBm If no TX the value is 500ltCpigt Cell Parameter IDltTACgt Tracing Area CodeltPCellIDgt Physical Cell IDltearfcngt E-UTRA absolute radio frequency channel number for searching LTE

cellsltdlbwgt Transmission bandwidth configuration of the serving cell on the

downlinkltulbwgt Transmission bandwidth configuration of the serving cell on the uplinkltRSRPgt Current reference signal receive power in dBm x10 as measured by

L1Range -44 to -140ltRSRQgt Current reference signal receive quality as measured by L1The

quantities are in dB x10 Range -200 to -30 dBltRSSIgt Current received signal strength indicator as measured by L1Values

are in dBm x10 Range -1200 to 0ltRSSNRgt SINR(Signal to Interference Noise Ratio) Range of values [0 30]

The higher the value the betterltSNRgt SIGNAL-NOISE RATIO Range of values [-230 400] which

represents -230 dB to 400 dB The higher the value the betterltBIDgt Base ID

Example

AT+CPSI

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 100451

+CPSI GSMOnline460-000x182d1240127 EGSM 900-64211042-42

OK

AT+CPSI+CPSI WCDMAOnline460-010xA80911122855WCDMA IMT 200027910663015623352500

OK

AT+CPSI=+CPSI (0-255)

OKAT+CPSI+CPSI LTEOnline460-110x5A1E187214780257EUTRAN-BAND3185055-94-850-54515+CPSI NR5G_NSA644NR5G_BAND78627264-960-12095

OK

4214 AT+CNSMOD Show network system mode

This command is used to return the current network system mode

AT+CNSMOD Show network system modeTest CommandAT+CNSMOD=

Response+CNSMOD (list of supportedltngts)

OK

Read CommandAT+CNSMOD

Response+CNSMOD ltngtltstatgt

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CNSMOD=ltngt

ResponseOKorERRORIf error is related to ME functionality

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 101451

+CME ERROR lterrgt

Defined Values

ltngt 0 disable auto report the network system mode information1 auto report the network system mode information command+CNSMOD ltstatgt

ltstatgt 0 no service1 GSM2 GPRS3 EGPRS (EDGE)4 WCDMA5 HSDPA only(WCDMA)6 HSUPA only(WCDMA)7 HSPA (HSDPA and HSUPA WCDMA)8 LTE9 TDS-CDMA10 TDS-HSDPA only11 TDS- HSUPA only12 TDS- HSPA (HSDPA and HSUPA)13 CDMA14 EVDO15 HYBRID (CDMA and EVDO)16 1XLTE(CDMA and LTE)23 eHRPD24 HYBRID(CDMA and eHRPD)36 NR5G

Example

AT+CNSMOD+CNSMOD 02

OK

4215 AT+CEREG EPS network registration status

The set command controls the presentation of an unsolicited result code +CEREG ltstatgt when ltngt=1and there is a change in the MTs EPS network registration status in E-UTRAN or unsolicited result code+CEREG ltstatgt[lttacgtltcigt[ltAcTgt]] when ltngt=2 and there is a change of the network cell in E-UTRANin this latest case ltAcTgtlttacgt and ltcigt are sent only if availableNOTE 1 If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and +CGREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 102451

result codes apply to the registration status and location information for those servicesThe read command returns the status of result code presentation and an integer ltstatgt which showswhether the network has currently indicated the registration of the MT Location information elementslttacgtltcigt and ltAcTgt if available are returned only when ltngt=2 and MT is registered in the network

AT+CEREG EPS network registration statusTest CommandAT+CEREG=

Response+CEREG (list of supportedltngts)

OKorERROR

Read CommandAT+CEREG

Response+CEREG ltngtltstatgt[lttacgtltcigt[ltAcTgt]]

OKorERROR

Write CommandAT+CEREG[=ltngt]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CEREG

Response (Set default valueltngt=0)OKorERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CEREGltstatgt2 enable network registration and location information unsolicitedresult code +CEREG ltstatgt[lttacgtltcigt[ltAcTgt]]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of E-UTRAN coverage)5 registered roaming6 registered for SMS only home network (not applicable)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 103451

7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN

Example

AT+CEREG+CEREG 04

OK

If the EPS MT in GERANUTRANE-UTRAN also supports circuit mode services andor GPRSservices the +CREG command and +CREG result codes andor the +CGREG command and+CGREG result codes apply to the registration status and location information for those services

4216 AT+CTZU Automatic time and time zone update

This command is used to enable and disable automatic time and time zone update via NITZ

AT+CTZU Automatic time and time zone updateTest CommandAT+CTZU=

Response+CTZU (list of supportedltonoffgts)

OK

Read CommandAT+CTZU

Response+CTZU ltonoff gt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 104451

orIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CTZU=ltonoffgt

ResponseOKorERROR

Defined Values

ltonoffgt Integer type value indicating0 Disable automatic time zone update via NITZ1 Enable automatic time zone update via NITZNOTE 1 The value of lt onoff gt is nonvolatile and factory value is 02 For automatic time and time zone update is enabled (+CTZU=1)If time zone is only received from network and it isnrsquot equal to localtime zone (AT+CCLK) time zone is updated automatically and realtime clock is updated based on local time and the difference betweentime zone from network and local time zone (Local time zone must bevalid)If Universal Time and time zone are received from network both timezone and real time clock is updated automatically and real time clockis based on Universal Time and time zone from network

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CTZU+CTZU 0

OK

AT+CTZU=1OK

4217 AT+CTZR Time and time zone reporting

This command is used to enable and disable the time zone change event reporting If the AT+CTZR=1 theMT returns the unsolicited result code+CTZV lttzgt whenever time zone received from network isnrsquot equal tolocal time zone If AT+CTZR=2 report +CTZE lttzgtltdstgtlttimegt whenever the time zone and time ischanged

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 105451

AT+CTZR Time and time zone reportingTest CommandAT+CTZR=

Response+CTZR (list of supported ltonoffgts)

OK

Read CommandAT+CTZR

Response+CTZR ltonoffgt

OK

Write CommandAT+CTZR=ltonoffgt

ResponseOKorERROR

Execution CommandAT+CTZR

Response (Set default value)OK

Defined Values

ltonoffgt Integer type value indicating0 Disable time zone change event reporting (default)1 Enable time zone change event reporting2 Display ltdstgtlttimegt

lttzgt Local time zone received from network its a integer and the format is+tz

ltdstgt Network daylight saving time and if it is received from network itindicates the value that has been used to adjust the local time zoneThe values as following0 No adjustment for Daylight Saving Time1 +1 hour adjustment for Daylight Saving Time2 +2 hours adjustment for Daylight Saving Time

lttimegt Universal time received from network and the format isyyMMddhhmmss where characters indicate year (two last digits)month day hour minutes and secondsNOTEHere inlttimegt is Universal Time or NITZ time

Example

AT+CTZR+CTZR 0

OK

AT+CTZR=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 106451

+CTZV +32AT+CTZR=2OK

+CTZE +32020200319151946

The time zone reporting is not affected by the Automatic Time and Time Zone command AT+CTZU

4218 AT+CNWINFO Inquiring extra network info

AT+CNWINFO Inquiring extra network info

Read CommandAT+CNWINFO

Response+CNWINFOltSYS_MODEgtltEGCIgtlteNBIDgtltMCSgtltDL_MODgtltUL_MODgtltCQIgtltTX_POWERgt

OKorERROR

Write CommandAT+CNWINFO=ltongt

Response

OKorERROR

Defined Values

ltSYS_MODEgt System modeLTENR5G

ltEGCIgt A decimal value contain PLMN+cellIdentitylteNBIDgt eNodeB ID itrsquos a hex valueltMCSgt Modulation and Coding Scheme a decimal value(0-31)ltDL_MODgtltUL_MODgt DL modulation type

QPSK16QAM64QAM256QAM

ltCQIgt Channel quality indication a decimal value(0-15)ltTX_POWERgt UL Tx power a decimal value(-99-30)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 107451

ltongt On or Off ltDL_MODgtltUL_MODgt display0 Close1 Open

Example

AT+CNWINFO+CNWINFO NR5G4600190886410x123452264QAM16QAM115

OK

AT+CNWINFO+CNWINFO LTE46011953338900x5AEAE1QPSK16QAM159

OK

4219 AT+C5GREG NR5G network registration status

The set command controls the presentation of an unsolicited result code +C5GREG ltstatgt when ltngt=1or unsolicited result code +C5GREG ltstatgt[lttacgtltcigtltAcTgtltoctec_lengtltnssaigt] when ltngt=2

AT+C5GREG NR5G network registration statusTest CommandAT+C5GREG=

Response+C5GREG (list of supportedltngts)

OKorERROR

Read CommandAT+C5GREG

Response+C5GREG ltngtltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

OKorERROR

Write CommandAT+C5GREG=ltngt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+C5GREG

Response (Set default value(ltngt=0)OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 108451

orERROR

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +C5GREGltstatgt2 enable network registration and location information unsolicitedresult code +C5GREGltstatgt[lttacgtltcigtltAcTgtltoctet_lengtltnssaigt]

ltstatgt 0 not registered MT is not currently searching an operator to registerto1 registered home network2 not registered but MT is currently trying to attach or searching anoperator to register to3 registration denied4 unknown (eg out of 5GC coverage)5 registered roaming6 registered for SMS only home network (not applicable)7 registered for SMS only roaming (not applicable)8 attached for emergency bearer services only (See NOTE 2)

lttacgt string type two byte tracking area code in hexadecimal format (eg00C3 equals 195 in decimal)

ltcigt string type four byte E-UTRAN cell identify in hexadecimal formatltAcTgt A numberic parameter that indicates the access technology of serving

cell0 GSM (not applicable)1 GSM Compact (not applicable)2 UTRAN (not applicable)3 GSM wEGPRS (see NOTE 3) (not applicable)4 UTRAN wHSDPA (see NOTE 4) (not applicable)5 UTRAN wHSUPA (see NOTE 4) (not applicable)6 UTRAN wHSDPA and HSUPA (see NOTE 4) (not applicable)7 E-UTRAN10 EUTRA_5GCN11 NR_5GCN12 NGRAN13 EUTRA_NR

ltoctet_lengt The length of ltnssaigtltnssaigt Network slice selection assistance information a string value

Example

AT+C5GREG

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 109451

+C5GREG 01

OK

AT+C5GREG=2OK

AT+C5GREG+C5GREG 00GeeflexNetwork11

OK

4220 AT+CSYSSEL Set system selection pref

AT+CSYSSEL Set system selection pref

Test CommandAT+CSYSSEL=

Response+CSYSSEL nr5g_disable(list of supportedltnr5g_disable_modegt)+CSYSSEL nr5g_band(list of supported ltsa_nr5gbandgt)+CSYSSEL nsa_nr5g_band(list of supported ltnsa_nr5gbandgt)+CSYSSEL lte_band(list of supported ltlte_bandgt)+CSYSSEL w_band(list of supported ltw_bandgt)

OKExecution CommandAT+CSYSSEL

Restore all band to default band capabilityOK

Write CommandAT+CSYSSEL=nr5g_disable[ltnr5g_disable_modegt]

ResponseIf the parameterltnr5g_disable_modegt is omitted return currentconfiguration+CSYSSEL nr5g_disableltnr5g_disable_modegt

OKThis command was applied to disable NSA or SA mode

Write CommandAT+CSYSSEL=nr5g_band[ltnr5g_bandgt]

ResponseIf the parameter ltnr5g_bandgt is omitted return current configuration+CSYSSEL nr5g_bandlt sa_nr5gband gt

OKIf the parameter ltnr5g_bandgt is specified configure the preferred SANR5G bands to be searchedOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 110451

Write CommandAT+CSYSSEL=nsa_nr5g_band[ltnsa_nr5gbandgt]

ResponseIf the parameter ltnsa_nr5gbandgt is omitted return currentconfiguration+CSYSSEL nsa_nr5g_bandltnsa_nr5gbandgt

OKIf the parameter ltnsa_nr5gbandgt is specified configure thepreferred NSA NR5G bands to be searchedOKorERROR

Write CommandAT+CSYSSEL=lte_band[ltlte_bandgt]

ResponseIf the parameter ltlte_bandgt is omitted return current configuration+CSYSSEL lte_bandltlte_bandgt

OKIf the parameter ltlte_bandgt is specified configure the preferred LTEbands to be searchedOKorERRORThis command was applied to configure LTE bands

Write CommandAT+CSYSSEL=w_band[ltwbandgt]

ResponseIf the parameter ltw_bandgt is omitted return current configuration+CSYSSEL w_bandltw_bandgt

OKIf the parameter ltw_bandgt is specified configure the preferredWCDMA bands to be searchedOKorERRORThis command was applied to configure WCDMA bands

Defined Values

ltnr5g_disable_modegt NR5G SANSA disable setting0 None is disabled1 Disable SA2 Disable NSA

lt sa_nr5gband gt String type Use the colon as a separator to list NR5G bands to beconfigured The parameter format is B1B2B3hellipBN

ltnsa_nr5gbandgt String type Use the colon as a separator to list NSA NR5G bands tobe configured The parameter format is B1B2B3hellipBN

ltlte_bandgt String type Use the colon as a separator to list LTE bands to be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 111451

configured The parameter format is B1B2B3hellipBNltw_bandgt String type Use the colon as a separator to list WCDMA bands to be

configured The parameter format is B1B2B3hellipBN

B1 WCDMA_I_IMT_2000B2 WCDMA_II_PCS_1900B3 WCDMA_III_1700B4 WCDMA_IV_1700B5 WCDMA_V_850B6 WCDMA_VI_800B7 WCDMA_VII_2600B8 WCDMA_VIII_900B9 WCDMA_IX_1700B11 WCDMA_XI_1500B19 WCDMA_XIX_850

Example

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable0

OK

AT+CSYSSEL=nr5g_disable2OK

AT+CSYSSEL=nr5g_disable+CSYSSEL nr5g_disable2

OK

AT+CSYSSEL=nr5g_band+CSYSSEL nr5g_band1284178

OK

AT+CSYSSEL=nr5g_band4178OK

AT+CSYSSEL=lte_band+CSYSSELlte_band12345781213141718192025262829303234383940414243486671

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 112451

AT+CSYSSEL=lte_band123OK

AT+CSYSSEL=w_band+CSYSSEL w_band123456

OKAT+CSYSSEL=w_band1234568OK

4221 AT+CCELLCFG Set lte cell configuration

AT+CCELLCFG Set lte cell configuration

Write CommandAT+CCELLCFG=ltenablegt[ltpcigtltfreqgt]

ResponseOKorERROR

Read CommandAT+CCELLCFG

Response+CCELLCFG ltpcigtltfreqgt

OKorERROR

Defined Values

ltenablegt0 ndash Clean cell lock1 ndash Set cell lock with pci and freq

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

Example

AT+CCELLCFG =12551850OK

AT+CCELLCFG=0 Clean cell lock setOKAT+CCELLCFG+CCELLCFG 2551850

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 113451

4222 AT+C5GCELLCFG Set NR5G cell configuration

AT+C5GCELLCFG Set NR5G cell configurationWrite CommandAT+C5GCELLCFG=pciltpcigtltfreqgtltscsgtltbandgt

AT+C5GCELLCFG=arfcnltarfcn_list_lengtltscsfreqgt[hellip]]

AT+C5GCELLCFG=unlock

ResponseOKorERROR

Read CommandAT+C5GCELLCFG

ResponseIf lock cell id was set+C5GCELLCFG pciltpcigtltfreqgtltscsgtltbandgt

OK

If arfcn list was set+C5GCELLCFGarfcnltarfcn_list_lengtltfreqgtltscsfreqgt[hellip]]

OKorERROR

Defined Values

ltpcigt Physical cell id unsigned shortltfreqgt Frequency unsigned long int

ltscsgt

0x00 ndashSUB_CARRIER_SPACING_SSB_15KHZ0x01 ndashSUB_CARRIER_SPACING_SSB_30KHZ0x02ndashSUB_CARRIER_SPACING_SSB_60KHZ0x03ndashSUB_CARRIER_SPACING_SSB_120KHZ0x04ndashSUB_CARRIER_SPACING_SSB_240KHZ0x05ndashSUB_CARRIER_SPACING_SSB_SPARE30x06ndashSUB_CARRIER_SPACING_SSB_SPARE20x07ndashSUB_CARRIER_SPACING_SSB_SPARE1

ltbandgt NR bandltarfcn_list_lengt A integer value 1-32

Example

AT+C5GCELLCFG=pci100 518670141

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 114451

OKAT+C5GCELLCFG+C5GCELLCFG pci100 5186701 41

AT+C5GCELLCFG=arfcn1100518670OK

AT+C5GCELLCFG+C5GCELLCFG arfcn1100518670

OK

AT+C5GCELLCFG=unlockOK

This command was not verified test so suggest customer not use it now until SIMCom test it ok

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 115451

5 AT Commands According to CallControl

51 Overview of AT Commands According to 3GPP Call Control

Command DescriptionAT+CVHU Voice hang up controlAT+CHUP Hang up callAT+CBST Select bearer service typeAT+CRLP Radio link protocolAT+CR Service reporting controlAT+CRC Cellular result codesAT+CLCC List current callsAT+CEER Extended error reportAT+CCWA Call waitingAT+CHLD Call related supplementary servicesAT+CCFC Call forwarding number and conditionsAT+CLIP Calling line identification presentationAT+CLIR Calling line identification restrictionAT+COLP Connected line identification presentationAT+VTS DTMF and tone generationAT+VTD Tone durationAT+CSTA Select type of addressAT+CMOD Call modeAT+VMUTE Speaker mute controlAT+CMUT Microphone mute controlAT+MORING Enable or disable report MO ring URCAT+CLVL Loudspeaker volume levelAT+CRXVOL Adjust RX voice output speaker volumeAT+ CTXVOL Adjust TX voice mic volumeAT+ CTXMICGAIN Adjust TX voice mic gainAT+CECH Inhibit far-end echoAT+CECDT Inhibit echo during doubletalk

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 116451

52 Detailed Description of AT Commands According to Call Control

521 AT+CVHU Voice hang up control

Write command selects whether ATH or drop DTR shall cause a voice connection to be disconnected ornot By voice connection is also meant alternating mode calls that are currently in voice mode

AT+CVHU Voice hang up control

Test CommandAT+CVHU=

Response+CVHU (range of supported ltmodegts)

OK

Read CommandAT+CVHU

Response+CVHU ltmodegt

OK

Write CommandAT+CVHU=ltmodegt

ResponseOKorERROR

Execution CommandAT+CVHU

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 Drop DTR ignored but OK response given ATH disconnects1 Drop DTR and ATH ignored but OK response given

Example

AT+CVHU=0OKAT+CVHU+CVHU 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 117451

522 AT+CHUP Hang up call

This command is used to cancel voice calls If there is no call it will do nothing but OK response is givenAfter running AT+CHUP multiple VOICE CALL END may be reported which relies on how many callsexist before calling this command

AT+CHUP Hang up callTest CommandAT+CHUP=

ResponseOK

Execution CommandAT+CHUP

ResponseOK

VOICE CALL END lttimegt[hellipVOICE CALL END lttimegt]

No callOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

lttimegt Voice call connection timeFormat HHMMSS (HH hour MM minute SS second)

Example

AT+CHUPOK

VOICE CALL END 000017

523 AT+CBST Select bearer service type

Write command selects the bearer service ltnamegt with data rate ltspeedgt and the connection elementltcegt to be used when data calls are originated Values may also be used during mobile terminated data callsetup especially in case of single numbering scheme calls

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 118451

AT+CBST Select bearer service type

Test CommandAT+CBST=

Response+CBST (list of supported ltspeedgts)(list of supported ltnamegts)(listof supported ltcegts)

OK

Read CommandAT+CBST

Response+CBST ltspeedgtltnamegtltcegt

OK

Write CommandAT+CBST=ltspeedgt[ltnamegt[ltcegt]]

ResponseOKorERROR

Execution CommandAT+CBST

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltspeedgt 0 autobauding(automatic selection of the speed this setting ispossible in case of 31 kHz modem and non-transparent service)7 ndash 9600 bps (V32)12 ndash 9600 bps (V34)14 ndash 14400 bps(V34)16 ndash 28800 bps(V34)17 ndash 33600 bps(V34)39 ndash 9600 bps(V120)43 ndash 14400 bps(V120)48 ndash 28800 bps(V120)51 ndash 56000 bps(V120)71 ndash 9600 bps(V110)75 ndash 14400 bps(V110)80 ndash 28800 bps(V110 or X31 flag stuffing)81 ndash 38400 bps(V110 or X31 flag stuffing)83 ndash 56000 bps(V110 or X31 flag stuffing)84 ndash 64000 bps(X31 flag stuffing)116 ndash 64000 bps(bit transparent)134 ndash 64000 bps(multimedia)

ltnamegt 0 Asynchronous modem1 Synchronous modem4 data circuit asynchronous (RDI)

ltcegt 0 transparent

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 119451

1 non-transparentNOTE If ltspeedgt is set to 116 or 134 it is necessary that ltnamegt is equal to 1 and ltcegt is equal to 0

Example

AT+CBST=001OKAT+CBST

+CBST 001

OK

524 AT+CRLP Radio link protocol

Radio Link Protocol(RLP) parameters used when non-transparent data calls are originated may be alteredwith write command

Read command returns current settings for each supported RLP version ltverXgt Only RLP parametersapplicable to the corresponding ltverXgt are returned

Test command returns values supported by the TA as a compound value If META supports several RLPversions ltverXgt the RLP parameter value ranges for each ltverXgt are returned in a separate line

AT+CRLP Radio link protocol

Test CommandAT+CRLP=

Response+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver1gt[(list of supportedltT4gts)]][ltCRgtltLFgt+CRLP (list of supported ltiwsgts)(list of supported ltmwsgts)(list ofsupported ltT1gts)(list of supported ltN2gts)[ltver2gt[(list of supportedltT4gts)]][]]

OK

Read CommandAT+CRLP

Response+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver1gt[ltT4gt]][ltCRgtltLFgt+CRLP ltiwsgtltmwsgtltT1gtltN2gt[ltver2gt[ltT4gt]][]]

OKWrite CommandAT+CRLP=ltiwsgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 120451

[ltmwsgt[ltT1gt[ltN2gt[ltvergt[ltT4gt]]]]]

orERROR

Execution CommandAT+CRLP

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvergtltverXgt RLP version number in integer format and it can be 0 1 or 2 whenversion indication is not present it shall equal 1

ltiwsgt IWF to MS window sizeltmwsgt MS to IWF window sizeltT1gt Acknowledgement timerltN2gt Retransmission attemptsltT4gt Re-sequencing period in integer formatNOTEltT1gt and ltT4gt are in units of 10 ms

Example

AT+CRLP+CRLP 61614860+CRLP 61614861+CRLP 2402405262

OK

525 AT+CR Service reporting control

Write command controls whether or not intermediate result code +CR ltservgt is returned from the TA tothe TE If enabled the intermediate result code is transmitted at the point during connect negotiation atwhich the TA has determined which speed and quality of service will be used before any error control ordata compression reports are transmitted and before the intermediate result code CONNECT istransmitted

AT+CR Service reporting control

Test CommandAT+CR=

Response+CR (list of supported ltmodegts)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 121451

Read CommandAT+CR

Response+CR ltmodegt

OK

Write CommandAT+CR=ltmodegt

ResponseOKorERROR

Execution CommandAT+CR

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 disables reporting1 enables reporting

ltservgt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL sync synchronous non-transparentGPRS [ltL2Pgt] GPRSThe optional ltL2Pgt proposes a layer 2 protocol to use between theMT and the TEs

Example

AT+CR=1OK

AT+CR+CR 1

OK

526 AT+CRC Cellular result codes

Write command controls whether or not the extended format of incoming call indication or GPRS networkrequest for PDP context activation is used When enabled an incoming call is indicated to the TE withunsolicited result code +CRING lttypegt instead of the normal RINGTest command returns values supported by the TA as a compound value

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 122451

AT+CRC Cellular result codes

Test CommandAT+CRC=

Response+CRC (list of supported ltmodegts)

OK

Read CommandAT+CRC

Response+CRC ltmodegt

OK

Write CommandAT+CRC=ltmodegt

ResponseOKorERROR

Execution CommandAT+CRC

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash disable extended format1 ndash enable extended format

lttypegt ASYNC asynchronous transparentSYNC synchronous transparentREL ASYNC asynchronous non-transparentREL SYNC synchronous non-transparentFAX facsimileVOICE normal voiceVOICEXXX voice followed by data(XXX is ASYNC SYNC RELASYNC or REL SYNC)ALT VOICEXXX alternating voicedata voice firstALT XXXVOICE alternating voicedata data firstALT FAXVOICE alternating voicefax fax firstGPRS GPRS network request for PDP context activation

Example

AT+CRC=1OK

AT+CRC+CRC 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 123451

OK

527 AT+CLCC List current calls

This command issued to return list of current calls of ME If command succeeds but no calls are availableno information response is sent to TE

AT+CLCC List current calls

Test CommandAT+CLCC=

Response+CLCC (range of supported ltngts)

OK

Read CommandAT+CLCC

Response+CLCC ltngt

OK

Write CommandAT+CLCC=ltngt

ResponseOKorERROR

Execution CommandAT+CLCC

Response+CLCCltid1gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][ltCRgtltLFgt+CLCCltid2gtltdirgtltstatgtltmodegtltmptygt[ltnumbergtlttypegt[ltalphagt]][]]

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Donrsquot report a list of current calls of ME automatically when thecurrent call status changes1 Report a list of current calls of ME automatically when the currentcall status changes

ltidXgt Integer type call identification number this number can be used in+CHLD command operations

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 124451

ltdirgt 0 mobile originated (MO) call1 mobile terminated (MT) call

ltstatgt State of the call0 active1 held2 dialing (MO call)3 alerting (MO call)4 incoming (MT call)5 waiting (MT call)6 disconnect

ltmodegt bearerteleservice0 voice1 data2 fax9 unknown

ltmptygt 0 call is not one of multiparty (conference) call parties1 call is one of multiparty (conference) call parties

ltnumbergt String type phone number in format specified by lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is

optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phonebook used character set should be the oneselected with command Select TE Character Set AT+CSCS

Example

ATD10011OK

AT+CLCC+CLCC 1000010011129sm

OK

RING (with incoming call)

AT+CLCC+CLCC 1140002152063113128gongsi

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 125451

528 AT+CEER Extended error report

Execution command causes the TA to return the information text ltreportgt which should offer the user of theTA an extended report of the reason for

1 The failure in the last unsuccessful call setup(originating or answering) or in-call modification

2 The last call release

3 The last unsuccessful GPRS attach or unsuccessful PDP context activation

The last GPRS detach or PDP context deactivation

AT+CEER Extended error reportTest CommandAT+CEER=

ResponseOK

Execution CommandAT+CEER

Response+CEER ltreportgt

OKParameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreportgt Wrong information which is possibly occurred

Example

AT+CEER+CEER Invalidincomplete number

OK

529 AT+CCWA Call waiting

This command allows control of the Call Waiting supplementary service Activation deactivation and statusquery are supported When querying the status of a network service (ltmodegt=2) the response line for notactive case (ltstatusgt=0) should be returned only if service is not active for any ltclassgt Parameter ltngt isused to disableenable the presentation of an unsolicited result code +CCWA ltnumbergtlttypegtltclassgt to

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 126451

the TE when call waiting service is enabled Command should be abortable when network is interrogated

AT+CCWA Call waiting

Test CommandAT+CCWA=

Response+CCWA (range of supported ltngts)

OK

Read CommandAT+CCWA

Response+CCWA ltngt

OK

Write CommandAT+CCWA=ltngt[ltmodegt[ltclassgt]]

ResponseWhen ltmodegt=2 and command successful+CCWA ltstatusgtltclassgt[ltCRgtltLFgt+CCWA ltstatusgtltclassgt[]]

OKorERROR

Execution CommandAT+CCWA

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Setsshows the result code presentation status in the TA0 disable1 enable

ltmodegt When ltmodegt parameter is not given network is not interrogated0 disable1 enable2 query status

ltclassgt It is a sum of integers each representing a class of information (default7)

1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)7 voicedata and fax(1+2+4)8 short message service16 data circuit sync32 data circuit async64 dedicated packet access128 dedicated PAD access

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 127451

255 The value 255 covers all classesltstatusgt 0 not active

1 activeltnumbergt String type phone number of calling address in format specified by

lttypegtlttypegt Type of address octet in integer format

128 Restricted number type includes unknown type and format145 International number type129 Otherwise

Example

AT+CCWA=+CCWA (0-1)

OK

AT+CCWA+CCWA 0

OK

5210 AT+CHLD Call related supplementary services

This command allows the control the following call related services1 A call can be temporarily disconnected from the ME but the connection is retained by the network2 Multiparty conversation (conference calls)3 The served subscriber who has two calls (one held and the other either active or alerting) can connectthe other parties and release the served subscribers own connectionCalls can be put on hold recovered released added to conversation and transferred This is based on theGSMUMTS supplementary services

AT+CHLD Call related supplementary servicesTest CommandAT+CHLD=

Response+CHLD (list of supported ltngts)

OKWrite CommandAT+CHLD=ltngt

ResponseOKorERROR

Execution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 128451

AT+CHLDDefault to ltngt=2

OKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 Terminate all held calls or set User Determined User Busy for awaiting call1 Terminate all active calls and accept the other call (waiting call orheld call)1X Terminate a specific call X2 Place all active calls on hold and accept the other call (waiting callor held call) as the active call2X Place all active calls except call X on hold3 Add the held call to the active calls4 Connect two calls and cut off the connection between users andthem simultaneously

Example

AT+CHLD=+CHLD (011x22x34)

OK

5211 AT+CCFC Call forwarding number and conditions

This command allows control of the call forwarding supplementary service Registration erasure activationdeactivation and status query are supported

AT+CCFC Call forwarding number and conditionsTest CommandAT+CCFC=

Response+CCFC (list of supported ltreasongts)

OKWrite Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 129451

AT+CCFC=ltreasongtltmodegt[ltnumbergt[lttypegt[ltclassgt[ltsubaddrgt[ltsatypegt[lttimegt ]]]]]]

When ltmodegt=2 and command successful+CCFC ltstatusgtltclass1gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][ltCRgtltLFgt+CCFC ltstatusgtltclass2gt[ltnumbergtlttypegt[ltsubaddrgtltsatypegt[lttimegt]]][]]

OK

When ltmodegt=2 and command successfulOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltreasongt 0 unconditional1 mobile busy2 no reply3 not reachable4 all call forwarding5 all conditional call forwarding

ltmodegt 0 disable1 enable2 query status3 registration4 erasure

ltnumbergt String type phone number of forwarding address in format specified bylttypegt

lttypegt Type of address octet in integer format145 dialing string ltnumbergt includes international access codecharacter lsquo+rsquo129 otherwise

ltsubaddrgt String type sub address of format specified by ltsatypegtltsatypegt Type of sub address octet in integer format default 128ltclassXgt It is a sum of integers each representing a class of information (default

7)1 voice (telephony)2 data (refers to all bearer services)4 fax (facsimile services)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 130451

16 data circuit sync32 ndash data circuit async64 dedicated packet access128 dedicated PAD access255 The value 255 covers all classes

lttimegt 130 when no reply is enabled or queried this gives the time inseconds to wait before call is forwarded default value 20

ltstatusgt 0 not active1 active

Example

AT+CCFC=+CCFC (012345)

OKAT+CCFC=02+CCFC 0255

OK

5212 AT+CLIP Calling line identification presentation

This command refers to the GSMUMTS supplementary service CLIP (Calling Line IdentificationPresentation) that enables a called subscriber to get the calling line identity (CLI) of the calling party whenreceiving a mobile terminated callWrite command enables or disables the presentation of the CLI at the TE It has no effect on the executionof the supplementary service CLIP in the networkWhen the presentation of the CLI at the TE is enabled (and calling subscriber allows) +CLIPltnumbergtlttypegt[[ltalphagt][ltCLI validitygt]] response is returned after every RING (or +CRING lttypegtrefer sub clause Cellular result codes +CRC) result code sent from TA to TE It is manufacturer specific ifthis response is used when normal voice call is answered

AT+CLIP Calling line identification presentationTest CommandAT+CLIP=

Response+CLIP (range of supported ltngts)

OKRead CommandAT+CLIP

Response+CLIP ltngtltmgt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 131451

orERRORor+CME ERROR lterrgt

Write CommandAT+CLIP=ltngt

ResponseOKorERROR

Execution CommandAT+CLIP

ResponseSet default value(ltngt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 CLIP not provisioned1 CLIP provisioned2 unknown (eg no network etc)

ltnumbergt String type phone number of calling address in format specified bylttypegt

lttypegt Type of address octet in integer format128 Restricted number type includes unknown type and format145 International number type161 national numberThe network support for this type is optional177 network specific numberISDN format129 Otherwise

ltalphagt String type alphanumeric representation of ltnumbergt correspondingto the entry found in phone book

ltCLI validitygt 0 CLI valid1 CLI has been withheld by the originator2 CLI is not available due to interworking problems or limitations oforiginating network

Example

AT+CLIP=1OKRING (with incoming call)+CLIP 02152063113128gongsi0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 132451

5213 AT+CLIR Calling line identification restriction

This command refers to CLIR service that allows a calling subscriber to enable or disable the presentationof the CLI to the called party when originating a callWrite command overrides the CLIR subscription (default is restricted or allowed) when temporary mode isprovisioned as a default adjustment for all following outgoing calls This adjustment can be revoked byusing the opposite command If this command is used by a subscriber without provision of CLIR inpermanent mode the network will actRead command gives the default adjustment for all outgoing calls (given in ltngt) and also triggers aninterrogation of the provision status of the CLIR service (given in ltmgt)Test command returns values supported as a compound value

AT+CLIR Calling line identification restrictionTest CommandAT+CLIR=

Response+CLIR (range of supported ltngts)

OKRead CommandAT+CLIR

Response+CLIR ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+CLIR=ltngt

ResponseOKorERRORor+CME ERROR lterrgt

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt 0 presentation indicator is used according to the subscription of theCLIR service1 CLIR invocation2 CLIR suppression

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 133451

ltmgt 0 CLIR not provisioned1 CLIR provisioned in permanent mode2 unknown (eg no network etc)3 CLIR temporary mode presentation restricted4 CLIR temporary mode presentation allowed

Example

AT+CLIR=+CLIR (0-2)

OK

5214 AT+COLP Connected line identification presentation

This command refers to the GSMUMTS supplementary service COLP(Connected Line IdentificationPresentation) that enables a calling subscriber to get the connected line identity (COL) of the called partyafter setting up a mobile originated call The command enables or disables the presentation of the COL atthe TE It has no effect on the execution of the supplementary service COLR in the networkWhen enabled (and called subscriber allows) +COLPltnumbergtlttypegt [ltsubaddrgtltsatypegt [ltalphagt]]intermediate result code is returned from TA to TE before any +CR ResponseIt is manufacturer specific ifthis response is used when normal voice call is establishedWhen the AT+COLP=1 is set any data input immediately after the launching of ATDXXX will stop theexecution of the ATD command which may cancel the establishing of the call

AT+COLP Connected line identification presentationTest CommandAT+COLP=

Response+COLP (range of supported ltngts)

OKRead CommandAT+COLP

Response+COLP ltngtltmgt

OKorERRORor+CME ERROR lterrgt

Write CommandAT+COLP=ltngt

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 134451

or+CME ERROR lterrgt

Execution CommandAT+COLP

ResponseSet default value(ltngt=0 ltmgt=0)OK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Parameter setsshows the result code presentation status in the TA0 disable1 enable

ltmgt 0 COLP not provisioned1 COLP provisioned2 unknown (eg no network etc)

Example

AT+COLP+COLP 10

OKATD10086VOICE CALL BEGIN

+COLP 10086129

OK

5215 AT+VTS DTMF and tone generation

This command allows the transmission of DTMF tones and arbitrary tones which cause the MobileSwitching Center (MSC) to transmit tones to a remote subscriber The command can only be used in voicemode of operation (active voice call)NOTE The END event of voice call will terminate the transmission of tones and as an operator option thetone may be ceased after a pre-determined time whether or not tone duration has been reached

AT+VTS DTMF and tone generationTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 135451

AT+VTS= +VTS (list of supportedltdtmfgts)

OKWrite CommandAT+VTS=ltdtmfgt[ltdurationgt]

AT+VTS=ltdtmf-stringgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltdtmfgt A single ASCII character in the set 0-9 A B C Dltdurationgt Tone duration in 110 seconds from 0 to 255 This is interpreted as a

DTMF tone of different duration from that mandated by the AT+VTDcommand otherwise the duration which be set the AT+VTDcommand will be used for the tone (ltdurationgt is omitted)

ltdtmf-stringgt A sequence of ASCII character in the set 0-9 A B C D andmaximal length of the string is 29 The string must be enclosed indouble quotes () and separated by commas between the ASCIIcharacters (eg 13579) Each of the tones with a duration whichis set by the AT+VTD command

Example

AT+VTS=1OKAT+VTS=120OKAT+VTS=135OKAT+VTS=+VTS (0-9ABCD)

OK

5216 AT+VTD Tone duration

This refers to an integer ltngt that defines the length of tones emitted as a result of the AT+VTS command A

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 136451

value different than zero causes a tone of duration ltngt10 seconds

AT+VTD Tone durationTest CommandAT+VTD=

Response+VTD (list of supported ltngts)

OKRead CommandAT+VTD

Response+VTD ltngt

OKWrite CommandAT+VTD=ltngt

ResponseOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltngt Tone duration in integer format from 0 to 255 and 0 is factory value0 Tone duration of every single tone is dependent on thenetwork1hellip255 one duration of every single tone in 110 seconds

Example

AT+VTD=+VTD (0-255)

OKAT+VTD+VTD 0

OKAT+VTD=5OK

5217 AT+CSTA Select type of address

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of number

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 137451

Test command returns values supported by the Module as a compound value

AT+CSTA Select type of addressTest CommandAT+CSTA=

Response+CSTA (list of supported lttypegts)

OKRead CommandAT+CSTA

Response+CSTA lttypegt

OKWrite CommandAT+CSTA=lttypegt

ResponseOKorERROR

Execution CommandAT+CSTA

ResponseOK

Parameter Saving Mode NO_SAVE

Maximum Response Time -Reference

Defined Values

lttypegt Type of address octet in integer format145 ndash when dialing string includes international access codecharacter ldquo+rdquo161 ndash national numberThe network support for this type is optional177 ndash network specific numberISDN format129 ndash otherwise

Because the type of address is automatically detected on the dial string of dialing command commandAT+CSTA has really no effect

Example

AT+CSTA+CSTA 129

OKAT+CSTA=145OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 138451

5218 AT+CMOD Call mode

Write command is used to select the type of number for further dialing commands (ATD) according toGSMUMTS specificationsRead command returns the current type of numberTest command returns values supported by the Module as a compound value

AT+CMOD Call modeTest CommandAT+CMOD=

Response+CMOD (list of supported ltmodegts)

OKRead CommandAT+CMOD

Response+CMOD ltmodegt

OKWrite CommandAT+CMOD=ltmodegt

ResponseOKorERROR

Execution CommandAT+CMOD

ResponseSet default valueOK

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 single mode(only supported)

Example

AT+CMOD+CMOD 0

OKAT+CMOD=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 139451

The value of ltmodegt shall be set to zero after a successfully completed alternating mode call It shallbe set to zero also after a failed answering The power-on factory and user resets shall also set thevalue to zero This reduces the possibility that alternating mode calls are originated or answeredaccidentally

5219 AT+VMUTE Speaker mute control

This command is used to control the loudspeaker to mute and unmute during a voice call which isconnected If there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+VMUTE Speaker mute controlTest CommandAT+VMUTE=

Response+VMUTE (range of supported ltmodegts)

OKRead CommandAT+VMUTE

Response+VMUTE ltmodegt

OKWrite CommandAT+VMUTE=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+VMUTE+VMUTE 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 140451

AT+VMUTE=1OK

5220 AT+CMUT Microphone mute control

This command is used to enable and disable the uplink voice muting during a voice call which is connectedIf there is not a connected call write command canrsquot be usedWhen all calls are disconnected the Module sets the subparameter as 0 automatically

AT+CMUT Microphone mute controlTest CommandAT+CMUT=

Response+CMUT (range of supported ltmodegts)

OKRead CommandAT+CMUT

Response+CMUT ltmodegt

OKWrite CommandAT+CMUT=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt 0 ndash mute off1 ndash mute on

Example

AT+CMUT+CMUT 0

OKAT+CMUT=1OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 141451

5221 AT+MORING Enable or disable report MO ring URC

This command is used to enable or disable report MO ring URC

AT+MORING Enable or disable report MO ring URCTest CommandAT+MORING=

Response+MORING (0-1)

OKRead CommandAT+MORING

Response+MORING ltmodegt

OKWrite CommandAT+MORING=ltmodegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt Enable or disable report MO ring report0 disable1 enable

Example

AT+MORING+CMORING 0

OKAT+MORING=1OK

5222 AT+CLVL Loudspeaker volume level

Write command is used to select the volume of the internal loudspeaker audio output of the deviceRead command returns the volume of the internal loudspeaker audio output of the device

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 142451

Test command returns supported values as compound value

AT+CLVL Loudspeaker volume levelTest CommandAT+CLVL=

Response+CLVL (range of supported ltlevelgts)

OKRead CommandAT+CLVL

Response+CLVL ltlevelgt

OKWrite CommandAT+CLVL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltlevelgt 05 Integer type value which represents loudspeaker volume levelThe range is from 0 to 5 and 0 represents the lowest loudspeakervolume level 5 is default factory value

Example

AT+CLVL+CLVL 5

OKAT+CLVL=1OK

ltlevelgt is not saved and it resets default value when restart

5223 AT+CRXVOL Adjust RX voice output speaker volume

This command is used to adjust digital Volume of output signal after speech decoder before summation of

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 143451

sidetone and DAC It modify the RX_VOICE_SPK_GAIN in DSP This command only be used during calland donrsquot save the parameter after call

AT+CRXVOL Adjust RX voice output speaker volumeTest CommandAT+CRXVOL=

Response+CRXVOL (range of supported ltvaluegts)

OKRead CommandAT+CRXVOL

Response+CRXVOL ltvaluegt

OKWrite CommandAT+CRXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CRXVOL+CRXVOL 0x3fd9

OKAT+CRXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5224 AT+CTXVOL Adjust TX voice mic volume

This command is used to adjust mic gain It modify the TX_VOICE_VOL in DSP This command only be

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 144451

used during call and donrsquot save the parameter after call

AT+ CTXVOL Adjust TX voice mic volumeTest CommandAT+CTXVOL=

Response+CTXVOL (range of supported ltvaluegts)

OKRead CommandAT+CTXVOL

Response+CTXVOL ltvaluegt

OKWrite CommandAT+CTXVOL=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt Gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXVOL+CTXVOL 0x2d33

OKAT+CTXVOL=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5225 AT+CTXMICGAIN Adjust TX voice mic gain

This command is used to adjust mic gain It modify the TX_VOICE_MIC_GAIN in DSP This command onlybe used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 145451

AT+ CTXMICGAIN Adjust TX voice mic gainTest CommandAT+CTXMICGAIN=

Response+CTXMICGAIN (list of supported ltmodegts)(list ofsupportedltvaluegts)

OKRead CommandAT+CTXMICGAIN

Response+CTXMICGAIN ltmodegtltvaluegt

OKWrite CommandAT+CTXMICGAIN=ltmodegtltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltmodegt mode value from 0-1 default value is not a fixed value It varies withdifferent versions

ltvaluegt gain value from 0x0000-0xffff default value is not a fixed value Itvaries with different versions

Example

AT+CTXMICGAIN+CTXMICGAIN 10x2000

OKAT+CTXMICGAIN=10x1234OK

This command only be used during call and donrsquot save the parameter after call

5226 AT+CECH Inhibit far-end echo

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 146451

This command is used to adjust additional muting gain applied in DES during far-end only It modify thepp_gamma_e_high of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECH Inhibit far-end echoTest CommandAT+CECH=

Response+CECH (rang of supported ltvaluegts)

OKRead CommandAT+CECH

Response+CECH ltvaluegt

OKWrite CommandAT+CECH=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECH+CECH 0x0200

OKAT+CECH=0x1234OK

This command only be used during call and donrsquot save the parameter after call

5227 AT+CECDT Inhibit echo during doubletalk

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 147451

This command is used to adjust additional muting gain applied in DES during doubletalk It modify thepp_gamma_e_dt of SMECNS_V2 MODULE TX in DSP The bigger the value the stronger theinhibition This command only be used during call and donrsquot save the parameter after call

AT+ CECDT Inhibit echo during doubletalkTest CommandAT+CECDT=

Response+CECDT (rang of supported ltvaluegts)

OKRead CommandAT+CECDT

Response+CECDT ltvaluegt

OKWrite CommandAT+CECDT=ltvaluegt

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference

Defined Values

ltvaluegt gain value from 0x0000-0x7fff default value is not a fixed value Itvaries with different versions

Example

AT+CECDT+CECDT 0x0100

OKAT+CECDT=0x1234OK

This command only be used during call and donrsquot save the parameter after call

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 148451

6 AT Commands for Phonebook

61 Overview of AT Commands for Phonebook

Command DescriptionAT+CPBS Select Phonebook memory storageAT+CPBR Read Phonebook entriesAT+CPBF Find Phonebook entriesAT+CPBW Write Phonebook entryAT+CNUM Subscriber number

62 Detailed Description of AT Commands for Phonebook

621 AT+CPBS Select Phonebook memory storage

AT+CPBS Select Phonebook memory storageTest CommandAT+CPBS=

Response+CPBS (list of supported ltstoragegts)

OKRead CommandAT+CPBS

Response+CPBS ltstoragegt[ltusedgtlttotalgt]

OKWrite CommandAT+CPBS=ltstoragegt

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Execution CommandAT+CPBS

Response (Set default value SM)OK

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 149451

ltstoragegt Values reserved by the present documentDC ME dialed calls list

Capacity max 20 entriesAT+CPBW command is not applicable to this storage

MC ME missed (unanswered received) calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

RC ME received calls listCapacity max 20 entriesAT+CPBW command is not applicable to this storage

SM SIM phonebookCapacity depending on SIM card

ME Mobile Equipment phonebookCapacity max 25 entries

FD SIM fixdialling-phonebookCapacitydepending on SIM card

ON MSISDN listCapacitydepending on SIM card

LD Last number dialed phonebookCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

EN Emergency numbersCapacity depending on SIM cardAT+CPBW command is not applicable to this storage

ltusedgt Integer type value indicating the number of used locations in selectedmemory

lttotalgt Integer type value indicating the total number of locations in selectedmemory

Example

AT+CPBS=+CPBS (SMDCFDLDMCMERCENON)

OKAT+CPBS=SMOKAT+CPBS+CPBS SM1200

OK

NOTE

Select the active phonebook storageiethe phonebook storage that all subsequent phonebook

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 150451

commands will be operating on

622 AT+CPBR Read Phonebook entries

AT+CPBR Read Phonebook entriesTest CommandAT+CPBR=

Response+CPBR (ltminIndexgt-ltmaxIndexgt)[ltnlengthgt][lttlengthgt]

OKIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBR=ltindex1gt[ltindex2gt]

Response[+CPBR ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBR ltindex2gtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindex1gt Integer type value in the range of location numbers of phonebookmemory

ltindex2gt Integer type value in the range of location numbers of phonebookmemory

ltindexgt Integer typethe current position number of the Phonebook indexltminIndexgt Integer type the minimum ltindexgt numberltmaxIndexgt Integer type the maximum ltindexgt numberltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 forrestricted number type including unknown type and format otherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 151451

AT+CPBS+CPBS SM2200

OKAT+CPBR=110+CPBR 11234567890129James+CPBR 20987654321129Kevin

OK

If the storage is selected as SM then the command will return the record in SIM phonebook the sameto others

623 AT+CPBF Find Phonebook entries

AT+CPBF Find Phonebook entriesTest CommandAT+CPBF=

Response+CPBF [ltnlengthgt][lttlengthgt]

OKWrite CommandAT+CPBF=[ltfindtextgt]

Response[+CPBF ltindex1gtltnumbergtlttypegtlttextgt[ltCRgtltLFgt+CPBF ltindexNgtltnumbergtlttypegtlttextgt[hellip]]]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltfindtextgt String type this value is used to find the record Character set shouldbe the one selected with command AT+CSCS

ltindexgt Integer typethe current position number of the Phonebook indexltnumbergt String type phone number of format lttypegt the maximum length is

ltnlengthgtlttypegt Type of phone number octet in integer format default 145 when

dialing string includes international access code character + 128 for

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 152451

restricted number type including unknown type and formatotherwise129

lttextgt String type field of maximum length lttlengthgt often this value is set asname

ltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBF=James+CPBF 11234567890129James

OK

If ltfindtextgt is null it will lists all the entries

624 AT+CPBW Write Phonebook entry

AT+CPBW Write Phonebook entryTest CommandAT+CPBW=

Response+CPBW (list of supported ltindexgts)[ltnlengthgt](list of supported lttypegts)[lttlengthgt]

OKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Write CommandAT+CPBW=[ltindexgt][ltnumbergt[lttypegt[lttextgt]]]

ResponseOKorERRORIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltindexgt Integer type values in the range of location numbers of phonebookmemoryIf ltindexgt is not giventhe first free entry will be used If

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 153451

ltindexgt is given as the only parameter the phonebook entry specifiedby ltindexgt is deletedIf record number ltindexgt already exists it willbe overwritten

ltnumbergt String type phone number of format lttypegt the maximum length isltnlengthgtIt must be an non-empty string

lttypegt Type of address octet in integer format The range of value is from 129to 255 If ltnumbergt contains a leading + lttypegt = 145 (international)is usedSupported value are145 when dialling string includes international access code character+161 national numberThe network support for this type is optional177 network specific numberISDN format129 otherwise

NOTE Other value refer TS 24008 [8] subclause 10547lttextgt String type field of maximum length lttlengthgt character set as

specified by command Select TE Character Set AT+CSCSltnlengthgt Integer type value indicating the maximum length of field ltnumbergtlttlengthgt Integer type value indicating the maximum length of field lttextgt

Example

AT+CPBW=388888888129JohnOKAT+CPBW=6666666129maryOKAT+CPBW=1OK

If the parameters of lttypegt and lttextgt are omitted and the first character of ltnumbergt is lsquo+rsquoit willspecify lttypegt as 145(129 if the first character isnrsquot lsquo+rsquo) and lttextgt as NULL

625 AT+CNUM Subscriber number

AT+CNUM Subscriber numberTest CommandAT+CNUM=

ResponseOK

Execution CommandAT+CNUM

Response[+CNUM ltalphagtltnumbergtlttypegt[ltCRgtltLFgt+CNUM ltalphagt ltnumbergtlttypegt []]]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 154451

OKorIf error is related to ME functionality+CME ERROR lterrgt

Defined Values

ltalphagt Optional alphanumeric string associated with ltnumbergt usedcharacter set should be the one selected with command Select TECharacter Set AT+CSCS

ltnumbergt String type phone number of format specified by lttypegtlttypegt Type of address octet in integer formatsee also AT+CPBR lttypegt

Example

AT+CNUM+CNUM 13697252277129

OK

If the subscriber has different MSISDN for different services each MSISDN is returned in a separateline

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 155451

7 AT Commands for SIM ApplicationToolkit

71 Overview of AT Commands for SIM Application Toolkit

Command DescriptionAT+STIN SAT IndicationAT+STGI Get SAT informationAT+STGR SAT respondAT+STK STK switchAT+STKFMT Set STK pdu formatAT+STENV Original STK PDU Envelope CommandAT+STSM Get STK Setup Menu List with PDU Mode

72 Detailed Description of AT Commands for SIM Application Toolkit

721 AT+STIN SAT Indication

AT+STIN SAT IndicationTest CommandAT+STIN=

ResponseOK

Read CommandAT+STIN

+STIN ltcmd_idgt

OK

Unsolicited Result Codes

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 156451

24 Select item+STIN 25 Notification that SIM Application has returned to main menu If user

doesnrsquot do any action in 2 minutes application will return to mainmenu automatically

Defined Values

ltcmd_idgt 21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end (pdu mode only)0 None command

lttimegt Service time

Example

AT+STIN+STIN 24

OK

Every time the SIM Application issues a Proactive Command via the ME the TA will receive anindication This indicates the type of Proactive Command issued

722 AT+STGI Get SAT information

AT+STGI Get SAT informationTest CommandAT+STGI=

ResponseOK

Write CommandAT+STGI=ltcmd_idgt

Response (PDU format)+STGI ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOK

AT+STGI=ltcmd_idgt Response (NOT PDU format listed below)If ltcmd_idgt=10OKIf ltcmd_idgt=21+STGI 21ltpriogtltclear_modegtlttext_lengtlttextgtOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 157451

If ltcmd_idgt=22+STGI 22lt rsp_formatgtlt helpgtlttext_lengtlttextgtOKIf ltcmd_idgt=23+STGI23ltrsp_formatgtltmax_lengtltmin_lengtlthelpgtltshowgtlttext_lengtlttextgtOKIf ltcmd_idgt=24+STGI24lthelpgtltsoftkeygtltpresentgtlttitle_lengtlttitlegtltitem_numgt+STGI 24ltitem_idgtltitem_lengtltitem_datagt[hellip]OKIf ltcmd_idgt=25+STGI 25lthelpgtltsoftkeygtlttitle_lengtlttitlegtltitem_numgt+STGI 25ltitem_idgtltitem_lengtltitem_datagt[]OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu

ltpriogt Priority of display text0 Normal priority1 High priority

ltclear_modegt 0 Clear after a delay1 Clear by user

lttext_lengt Length of textltrsp_formatgt 0 SMS default alphabet

1 YES or NO2 numerical only3 UCS2

lthelpgt 0 Help unavailable1 Help available

ltmax_lengt Maximum length of inputltmin_lengt Minimum length of inputltshowgt 0 Hide input text

1 Display input textltsoftkeygt 0 No softkey preferred

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 158451

1 Softkey preferredltpresentgt Menu presentation format available for select item

0 Presentation not specified1 Data value presentation2 Navigation presentation

lttitle_lengt Length of titleltitem_numgt Number of items in the menultitem_idgt Identifier of itemltitem_lengt Length of itemlttitlegt Title in ucs2 formatltitem_datagt Content of the item in ucs2 formatlttextgt Text in ucs2 formatlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valgt String type the pdu string

Example

AT+STGI=25 (NOT PDU format)+STGI 250010795E5DDE884C5929573015+STGI 25188F7B677E95EE5019+STGI 252877ED4FE17FA453D1+STGI 25384F1860E05FEB8BAF+STGI 25484E1A52A17CBE9009+STGI 25588D448D3963A88350+STGI 256881EA52A9670D52A1+STGI 25788F7B677E5F6994C3+STGI 25888BED97F367425FD7+STGI 2591097F34E506392884C699C+STGI 2510865B095FB59296C14+STGI 2511894C358F056FE7247+STGI 25128804A59294EA453CB+STGI 251385F005FC34F1195F2+STGI 25148751F6D3B5E388BC6+STGI 25211200530049004D53614FE1606F

OK

AT+STGI=24 (PDU format)+STGI24048D02E81030124008202818285098070ED70B963A883508F0A018053057F574E078C618F0C02809177917777ED6D88606F

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 159451

723 AT+STGR SAT respond

AT+STGR SAT respondTest CommandAT+STGR=

ResponseOK

Write CommandAT+STGR=ltcmd_idgt[ltdatagt]

Response (NOT PDU format)OK

AT+STGR=ltpdu_lengtltpdu_valuegt

Response (PDU format)OK

Defined Values

ltcmd_idgt Proactive Command notification21 Display text22 Get inkey23 Get input24 Select item25 Set up menu81 Session end83 Session end by user84 Go backward

ltdatagt If ltcmd_idgt=22Input a characterIf ltcmd_idgt=23Input a stringIf ltrsp_formatgt is YES or NO input of a character in case of ANSIcharacter set requests one byte eg YIf ltrsp_formatgt is numerical only input the characters in decimalnumber eg 123If ltrsp_ formatgt is UCS2 requests a 4 byte string eg 0031ltrsp_ formatgt refer to the response by AT+STGI=23If ltcmd_idgt=24Input the identifier of the item selected by userIf ltcmd_idgt=25Input the identifier of the item selected by userIf ltcmd_idgt=83ltdatagt ignoreNote It could return main menu during Proactive Command id is not22 or 23If ltcmd_idgt= 84

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 160451

ltdatagt ignoreltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STGR=251OK+STIN 24

AT+STGR=30810301240002028281830100900101OK

After selected an item different SIMUSIM cards will report different +STIN command

724 AT+STK STK switch

AT+STK STK switchTest CommandAT+STK=

Response+STK (list of supported ltvaluegts)

OKRead CommandAT+STK

Response+STK ltvaluegt

OKWrite CommandAT+STK=ltvaluegt

ResponseOKorERROR

Execution CommandAT+STK

ResponseOK

Defined Values

ltvaluegt 0 Disable STK1 Enable STK

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 161451

AT+STK=1OK

Module should reboot to take effective

725 AT+STKFMT Set STK pdu format

AT+STKFMT Set STK pdu formatRead CommandAT+STKFMT

Response+STKFMT ltvaluegt

OK

Write CommandAT+STKFMT=ltvaluegt

ResponseOKorERROR

Defined Values

ltvaluegt 0 Disable STK pdu format decoded command mode1 Enable STK pdu format

Example

AT+STKFMT=1OK

Module should reboot to take effective

726 AT+STENV Original STK PDU Envelope Command

AT+STENV Original STK PDU Envelope CommandTest CommandAT+STENV=

ResponseOK

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 162451

Write CommandAT+STENV=ltlengtltpdugt

ResponseOKorERROR

Defined Values

ltlengt Integer type pdu string lengthltpdugt String type pdu value

Example

AT+STENV=18D30782020181900101OK

Module should reboot to take effective

727 AT+STSM Get STK Setup Menu List with PDU Mode

AT+STSM Get STK Setup Menu List with PDU ModeTest CommandAT+STSM=

ResponseOK

Read CommandAT+STSM

Response+STSM ltcmd_idgtlttaggtltpdu_lengtltpdu_valuegtOKorERROR

Defined Values

ltcmd_idgt Integer type please refer to AT+STINlttaggt Not used nowltpdu_lengt Integer type pdu string lengthltpdu_valuegt String type the pdu string

Example

AT+STSM+STSM

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 163451

250120D07681030125008202818285078065B052BF529B8F0A018070ED70B963A883508F06028070AB94C38F0A03806D41884C77ED4FE18F0A048081EA52A9670D52A18F0A0580624B673A97F34E508F0606808D854FE18F0A07805A314E50753162118F0A0880767E53D8751F6D3B8F0A09806D596C5F98919053

OK

Setup main menu info got first before envelope command sent

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 164451

8 AT Commands for GPRS

81 Overview of AT Commands for GPRS

Command DescriptionAT+CGREG GPRS network registration statusAT+CGATT Packet domain attach or detachAT+CGACT PDP context activate or deactivateAT+CGDCONT Define PDP contextAT+CGDSCONT Define Secondary PDP ContextAT+CGTFT Traffic Flow TemplateAT+CGQREQ Quality of service profile (requested)AT+CGEQREQ 3G quality of service profile (requested)AT+CGQMIN Quality of service profile (minimum acceptable)AT+CGEQMIN 3G quality of service profile (minimum acceptable)AT+CGDATA Enter data stateAT+CGPADDR Show PDP addressAT+CGCLASS GPRS mobile station classAT+CGEREP GPRS event reportingAT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

82 Detailed Description of AT Commands for GPRS

821 AT+CGREG GPRS network registration status

This command controls the presentation of an unsolicited result code +CGREG ltstatgt when ltngt=1 andthere is a change in the MTs GPRS network registration status

The read command returns the status of result code presentation and an integer ltstatgt which showsWhether the network has currently indicated the registration of the MT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 165451

AT+CGREG GPRS network registration statusTest CommandAT+CGREG=

Response+CGREG (list of supported ltngts)

OKRead CommandAT+CGREG

Response+CGREG ltngtltstatgt[ltlacgtltcigt]

OKWrite CommandAT+CGREG=ltngt

ResponseOK

Execution CommandSet default valueAT+CGREG

ResponseOK

Defined Values

ltngt 0 disable network registration unsolicited result code1 enable network registration unsolicited result code +CGREGltstatgt2 there is a change in the ME network registration status or achange of the network cell

+CGREG ltstatgt[ltlacgtltcigt]ltstatgt 0 not registered ME is not currently searching an operator to

register to1 registered home network2 not registered but ME is currently trying to attach or searching anoperator to register to3 registration denied4 unknown5 registered roaming

ltlacgt Two bytes location area code in hexadecimal format (eg00C3equals 193 in decimal)

ltcigt Cell ID in hexadecimal formatGSM Maximum is two byteWCDMA Maximum is four byteTDS-CDMA Maximum is four byte

The ltlacgt not supported in CDMAHDR modeThe ltcigt not supported in CDMAHDR mode

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 166451

Example

AT+CGREG=+CGREG (0-2)

OKAT+CGREG+CGREG 00

OK

822 AT+CGATT Packet domain attach or detach

The write command is used to attach the MT to or detach the MT from the Packet Domain serviceThe read command returns the current Packet Domain service state

AT+CGATT Packet domain attach or detachTest CommandAT+CGATT=

Response+CGATT (list of supported ltstategts)

OKRead CommandAT+CGATT

Response+CGATT ltstategt

OKWrite CommandAT+CGATT=ltstategt

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of Packet Domain attachment0 detached1 attached

Example

AT+CGATT+CGATT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 167451

OKAT+CGATT=1OK

823 AT+CGACT PDP context activate or deactivate

The write command is used to activate or deactivate the specified PDP context(s)

AT+CGACT PDP context activate or deactivateTest CommandAT+CGACT=

Response+CGACT (list of supported ltstategts)

OKRead CommandAT+CGACT

Response+CGACT [ltcidgtltstategt [ltCRgtltLFgt+CGACT ltcidgtltstategt[]]]

OKWrite CommandAT+CGACT=ltstategt[ltcidgt]

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltstategt Indicates the state of PDP context activation0 deactivated1 activated

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGACT=+CGACT (01)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 168451

AT+CGACT+CGACT 11

OKAT+CGACT=01OK

824 AT+CGDCONT Define PDP context

The set command specifies PDP context parameter values for a PDP context identified by the (local)context identification parameter ltcidgt The number of PDP contexts that may be in a defined state at thesame time is given by the range returned by the test command A special form of the write command(AT+CGDCONT=ltcidgt) causes the values for context ltcidgt to become undefined

AT+CGDCONT Define PDP contextTest CommandAT+CGDCONT=

Response+CGDCONT (range of supportedltcidgts)ltPDP_typegt(list ofsupported ltd_compgts)(list of supported lth_compgts) (list ofltipv4_ctrlgts)(list of ltemergency_flaggts) ( ltssc_mode gts)(lt s_nssaigt)(pref_access_type)(ltalways_on_reqgt)

OKorERROR

Read CommandAT+CGDCONT

Response+CGDCONT[ltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt[ltCRgtltLFgt+CGDCONTltcidgtltPDP_typegtltAPNgtltPDP_addrgtltd_compgtlth_compgtltipv4_ctrlgtltemergency_flaggt lt ssc_modegtlts_nssaigtltpref_access_typegtlt always_on_reqgt []]]

OKorERROR

Write CommandAT+CGDCONT=ltcidgt[ltPDP_typegt[ltAPNgt[ltPDP_addrgt[ltd_compgt[lth_compgt[ltip

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 169451

v4_ctrlgt[ltemergency_flaggt[ltssc_modegt[lts_nssaigt[ltpref_access_typegt[ltalways_on_reqgt]]]]]]]]]]]Execution CommandSet default valueAT+CGDCONT

ResponseOKorERROR

Defined Values

ltcidgt (PDP Context Identifier) a numeric parameter which specifies aparticular PDP context definition The parameter is local to the TE-MTinterface and is used in other PDP context-related commands Therange of permitted values (minimum value = 1) is returned by the testform of the command1hellip42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPPPoint to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltAPNgt (Access Point Name) a string parameter which is a logical name that isused to select the GGSN or the external packet data network

ltPDP_addrgt A string parameter that identifies the MT in the address spaceapplicable to the PDPRead command will continue to return the null string even if anaddress has been allocated during the PDP startup procedure Theallocated address may be read using command AT+CGPADDR

ltd_compgt A numeric parameter that controls PDP data compression this valuemay depend on platform0 off (default if value is omitted)1 on2 V42bis

lth_compgt A numeric parameter that controls PDP header compression thisvalue may depend on platform0 off (default if value is omitted)1 on2 RFC11443 RFC25074 RFC3095

ltipv4_ctrlgt Parameter that controls how the MTTA requests to get the IPv4address information0 Address Allocation through NAS Signaling

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 170451

1 on

ltemergency_flaggt emergency_flag0 off (default if value is omitted)1 on

ltssc_modegt Ssc mode0 ssc mode 1(default if value is omitted)1 ssc mode 2

lts_nssaigt String type of hexadecimal formatltpref_access_typegt prefer access type

0 access unspecified(default if value is omitted)1 access 3gpp

ltalways_on_reqgt alway on req0 off (default if value is omitted)1 on

Example

AT+CGDCONT=+CGDCONT (1-42)IP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)PPP(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)+CGDCONT (1-42)IPV4V6(0-3)(0-4)(0-1)(0-1)(0-1)(0-1)(0-1)

OKAT+CGDCONT+CGDCONT 1IPV4V6000000000000000000000+CGDCONT 2IPV4V6ims000000000000000000000+CGDCONT 3IPV4V6sos000000000000000000010

OK

825 AT+CGDSCONT Define Secondary PDP Context

The set command specifies PDP context parameter values for a Secondary PDP context identified by the(local) context identification parameter ltcidgt The number of PDP contexts that may be in a defined stateat the same time is given by the range returned by the test command A special form of the set commandAT+CGDSCONT=ltcidgt causes the values for context number ltcidgt to become undefined

AT+CGDSCONT Define Secondary PDP ContextTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 171451

AT+CGDSCONT= +CGDSCONT (range of supported ltcidgts)(list of ltp_cidgts foractive primary contexts) ltPDP_typegt(list of supportedltd_compgts)(list of supported lth_compgts)

OKorERROR

Read CommandAT+CGDSCONT

Response+CGDSCONT [ltcidgtltp_cidgtltd_compgtlth_compgt[ltCRgtltLFgt+CGDSCONT ltcidgtltp_cidgtltd_compgtlth_compgt[]]]

OKorERROR

Write CommandAT+CGDSCONT=ltcidgt[ltp_cidgt[ltd_compgt[lth_compgt]]]

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP context definition Theparameter is local to the TE-MT interface and is used in other PDPcontext-related commands The range of permitted values (minimum value =1) is returned by the test form of the command

ltp_cidgt a numeric parameter which specifies a particular PDP context definitionwhich has been specified by use of the +CGDCONT command Theparameter is local to the TE-MT interface The list of permitted values isreturned by the test form of the command

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies the type ofpacket data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltd_compgt a numeric parameter that controls PDP data compression (applicable forSNDCPonly) (refer 3GPP TS 44065 [61])0 off1 on (manufacturer preferred compression)2 V42bis data compression3 V44bis data compressionOther values are reserved

lth_compgt a numeric parameter that controls PDP header compression (refer 3GPP TS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 172451

44065 [61] and 3GPP TS 25323 [62])0 off1 on (manufacturer preferred compression)2 RFC1144 (applicable for SNDCP only)3 RFC25074 RFC3095 (applicable for PDCP only)Other values are reserved

The ltcidgts for network-initiated PDP contexts will have values outside the ranges indicated for theltcidgt in the test form of the commands +CGDCONT and +CGDSCONT

Example

AT+CGDSCONT=+CGDSCONT (1-42)(123)IP(0-3)(0-4)+CGDSCONT (1-42)(123)PPP(0-3)(0-4)+CGDSCONT (1-42)(123)IPV6(0-3)(0-4)+CGDSCONT (1-42)(123)IPV4V6(0-3)(0-4)

OKAT+CGDSCONT+CGDSCONT 2100

OKAT+CGDSCONT=21OK

826 AT+CGTFT Traffic Flow Template

This command allows the TE to specify a Packet Filter - PF for a Traffic Flow Template - TFT that is used inthe GGSN in UMTSGPRS and Packet GW in EPS for routing of packets onto different QoS flows towardsthe TE The concept is further described in the 3GPP TS 23060 [47] A TFT consists of from one and up to16 Packet Filters each identified by a unique ltpacket filter identifiergt A Packet Filter also has anltevaluation precedence indexgt that is unique within all TFTs associated with all PDP contexts that areassociated with the same PDP address

AT+CGTFT Traffic Flow TemplateTest CommandAT+CGTFT=

Response+CGTFT ltPDP_typegt(list of supported ltpacket filter

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 173451

identifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[ltCRgtltLFgt+CGTFT ltPDP_typegt(list of supported ltpacket filteridentifiergts)(list of supported ltevaluation precedenceindexgts)(list of supported ltsource address and subnetmaskgts)(list of supported ltprotocol number (ipv4) next header(ipv6)gts)(list of supported ltdestination port rangegts)(list ofsupported ltsource port rangegts)(list of supported ltipsec securityparameter index (spi)gts)(list of supported lttype of service (tos)(ipv4) and mask traffic class (ipv6) and maskgts)(list of supportedltflow label (ipv6)gts)[]]

OKorERROR

Read CommandAT+CGTFT

Response+CGTFT [ltcidgtltpacket filter identifiergtltevaluation precedenceindexgtltsource address and subnet maskgtltprotocol number(ipv4) next header (ipv6)gtltdestination port rangegtltsource portrangegtltipsec security parameter index (spi)gtlttype of service(tos) (ipv4) and mask traffic class (ipv6) and maskgtltflow label(ipv6)gt[ltCRgtltLFgt+CGTFT ltcidgtltpacket filter identifiergtltevaluationprecedence indexgtltsource address and subnetmaskgtltprotocol number (ipv4) next header (ipv6)gtltdestinationport rangegtltsource port rangegtltipsec security parameter index(spi)gtlttype of service (tos) (ipv4) and mask traffic class (ipv6)and maskgtltflow label (ipv6)gt[]]]

OKorERROR

Write CommandAT+CGTFT=ltcidgt[[ltpacketfilter identifiergtltevaluationprecedenceindexgt[ltsource address

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 174451

and subnetmaskgt[ltprotocol number(ipv4) next header(ipv6)gt[ltdestination portrangegt[ltsource portrangegt[ltipsec securityparameter index(spi)gt[lttype of service (tos)(ipv4) and mask trafficclass (ipv6) andmaskgt[ltflow label(ipv6)gt]]]]]]]]]

Execution CommandAT+CGTFT

ResponseOKorERROR

Defined Values

ltcidgt a numeric parameter which specifies a particular PDP contextdefinition (see theAT+CGDCONT and AT+CGDSCONT commands)

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltpacket filter identifiergt a numeric parameter value range from 1 to 16ltevaluation precedenceindexgt

a numeric parameter The value range is from 0 to 255

ltsource address andsubnet maskgt

string type The string is given as dot-separated numeric (0-255)parameters on the forma1a2a3a4m1m2m3m4 for IPv4 ora1a2a3a4a5a6a7a8a9a10a11a12a13a14a15a16m1m2m3m4m5m6m7m8m9m10m11m12m13m14m15m16 for IPv6

ltprotocol number (ipv4) next header (ipv6)gt

a numeric parameter value range from 0 to 255

ltdestination port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltsource port rangegt string type The string is given as dot-separated numeric (0-65535)parameters on the form ft

ltipsec security parameterindex (spi)gt

numeric value in hexadecimal format The value range is from00000000 to FFFFFFFF

lttype of service (tos) (ipv4) string type The string is given as dot-separated numeric (0-255)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 175451

and mask traffic class(ipv6) and maskgt

parameters on the form tm

ltflow label (ipv6)gt numeric value in hexadecimal format The value range is from 00000to FFFFF Valid for IPv6 only

Example

AT+CGTFT=+CGTFTIP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTPPP(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)+CGTFTIPV4V6(1-16)(0-255)(0-255)(0-655350-65535)(0-655350-65535)(0-FFFFFFFF)(0-2550-255)(0-FFFFF)

OKAT+CGTFT+CGTFT 210741257199255255255255000000000

OKAT+CGTFT=210741257199255255255255OK

827 AT+CGQREQ Quality of service profile (requested)

This command allows the TE to specify a Quality of Service Profile that is used when the MT sends anActivate PDP Context Request message to the network A special form of the set command(AT+CGQREQ=ltcidgt) causes the requested profile for context number ltcidgt to become undefined

AT+CGQREQ Quality of service profile (requested)Test CommandAT+CGQREQ=

Response+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQREQ ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 176451

supported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQREQ

Response+CGQREQ[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQREQltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]OKorERROR

Write CommandAT+CGQREQ=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt[ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQREQ

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 3

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 177451

4 delay class 4ltreliabilitygt A numeric parameter which specifies the reliability class

0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMMSMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 178451

Example

AT+CGQREQ=+CGQREQ IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQ PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQREQIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQREQ+CGQREQ

OK

828 AT+CGEQREQ 3G quality of service profile (requested)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

The write command allows the TE to specify a Quality of Service Profile for the context identified by thecontext identification parameter ltcidgt which is used when the MT sends an Activate PDP Context Requestmessage to the network

A special form of the write command AT+CGEQREQ=ltcidgt causes the requested profile for contextnumber ltcidgt to become undefined

AT+CGEQREQ 3G quality of service profile (requested)Test CommandAT+CGEQREQ=

Response+CGEQREQ ltPDP_typegt(list of supported ltTraffic classgts)(listof supported ltMaximum bitrate ULgts)(list of supported ltMaximum bitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(listof supported ltGuaranteed bitrate DLgts)(list of supported ltDelivery ordergts)(list of supported ltMaximum SDU sizegts)(list ofsupported ltSDU error ratiogts)(list of supported ltResidual biterrorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(listof

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 179451

Supported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts) (list of supported ltSource statisticsdescriptorgts)(list of supported ltSignaling indication flaggts)

OKorERROR

Read CommandAT+CGEQREQ

Response+CGEQREQ [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygt][ltCRgtltLFgt+CGEQREQ ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransferDelaygtltTraffic handling prioritygtltSource statistics descriptorgtltSignaling indication flaggt [hellip]]

OKorERROR

Write CommandAT+CGEQREQ=ltcidgt[ltTraffic classgt[ltMaximumbitrate ULgt[ltMaximumbitrate DLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt[ltSource statisticsdescriptorgt[ltSignalingindication flaggt]]]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQREQ

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 180451

orERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAP As an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 115200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQREQ=hellip32hellip)The range is from 0 to 42200 The default value is 0 If the parameteris set to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size in octetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only for

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 181451

conforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQREQ=5E3hellip)0E0 subscribed value1E27E31E31E41E51E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQREQ=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 and 100 to 4000 The default value is 0 If theparameter is set to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltSource statisticsdescriptor gt

This parameter indicates profile parameter that Source statisticsdescriptor for requested UMTS QoSThe range is from 0 to 1 The default value is 0 If the parameter is set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 182451

to 0 the subscribed value will be requestedltSignaling indication flaggt This parameter indicates Signaling flag

The range is from 0 to 1 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQREQ=+CGEQREQIP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)+CGEQREQIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(0-1)(0-1)

OKAT+CGEQREQ+CGEQREQ

OK

829 AT+CGQMIN Quality of service profile (minimum acceptable)

This command allows the TE to specify a minimum acceptable profile which is checked by the MT againstthe negotiated profile returned in the Activate PDP Context Accept messageA special form of the setcommandAT+CGQMIN=ltcidgt causes the minimum acceptable profile for context number ltcidgt tobecome undefined

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 183451

AT+CGQMIN Quality of service profile (minimum acceptable)Test CommandAT+CGQMIN=

Response+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts) [ltCRgtltLFgt+CGQMIN ltPDP_typegt(list of supported ltprecedencegts)(list ofsupported ltdelaygts)(list of supported ltreliabilitygts)(list ofsupported ltpeakgts)(list of supported ltmeangts)[hellip]]

OKorERROR

Read CommandAT+CGQMIN

Response+CGQMIN[ltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[ltCRgtltLFgt+CGQMINltcidgtltprecedencegtltdelaygtltreliabilitygtltpeakgtltmeangt[hellip]]]

OKorERROR

Write CommandAT+CGQMIN=ltcidgt[ltprecedencegt[ltdelaygt[ltreliabilitygt[ltpeakgt [ltmeangt]]]]]

ResponseOKorERROR

Execution CommandAT+CGQMIN

ResponseOKorERROR

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) The range is from 1 to 42

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

ltprecedencegt A numeric parameter which specifies the precedence class0 network subscribed value1 high priority

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 184451

2 normal priority3 low priority

ltdelaygt A numeric parameter which specifies the delay class0 network subscribed value1 delay class 12 delay class 23 delay class 34 delay class 4

ltreliabilitygt A numeric parameter which specifies the reliability class0 network subscribed value1 Non real-time trafficerror-sensitive application that cannot copewith data loss2 Non real-time trafficerror-sensitive application that can cope withinfrequent data loss3 Non real-time trafficerror-sensitive application that can cope withdata loss GMM-SMand SMS4 Real-time trafficerror-sensitive application that can cope with dataloss5 Real-time traffic error non-sensitive application that can cope withdata loss

ltpeakgt A numeric parameter which specifies the peak throughput class0 network subscribed value1 Up to 1000 (8 kbits)2 Up to 2000 (16 kbits)3 Up to 4000 (32 kbits)4 Up to 8000 (64 kbits)5 Up to 16000 (128 kbits)6 Up to 32000 (256 kbits)7 Up to 64000 (512 kbits)8 Up to 128000 (1024 kbits)9 Up to 256000 (2048 kbits)

ltmeangt A numeric parameter which specifies the mean throughput class0 network subscribed value1 100 (~022 bits)2 200 (~044 bits)3 500 (~111 bits)4 1000 (~22 bits)5 2000 (~44 bits)6 5000 (~111 bits)7 10000 (~22 bits)8 20000 (~44 bits)9 50000 (~111 bits)10 100000 (~022 kbits)11 200000 (~044 kbits)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 185451

12 500000 (~111 kbits)13 1000000 (~22 kbits)14 2000000 (~44 kbits)15 5000000 (~111 kbits)16 10000000 (~22 kbits)17 20000000 (~44 kbits)18 50000000 (~111 kbits)31 optimization

Example

AT+CGQMIN=+CGQMIN IP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN PPP(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMIN IPV6(0-3)(0-4)(0-5)(0-9)(0-1831)+CGQMINIPV4V6(0-3)(0-4)(0-5)(0-9)(0-1831)

OKAT+CGQMIN+CGQMIN

OK

8210 AT+CGEQMIN 3G quality of service profile (minimum acceptable)

The test command returns values supported as a compound value

The read command returns the current settings for each defined context for which a QOS was explicitlyspecified

AT+CGEQMIN 3G quality of service profile (minimum acceptable)Test CommandAT+CGEQMIN=

Response+CGEQMIN ltPDP_typegt(list of supported ltTraffic classgts)(list ofsupported ltMaximum bitrate ULgts)(list of supported ltMaxim umbitrate DLgts)(list of supported ltGuaranteed bitrate ULgts(list ofsupported ltGuaranteed bitrate DLgts)(list of supported ltDeliv eryordergts)(list of supported ltMaximum SDU sizegts)(list of supportedltSDU error ratiogts)(list of supported ltResidual bit errorRatiogts)(list of supported ltDelivery of erroneous SDUsgts)(list ofsupported ltTransfer delaygts)(list of supported ltTraffic handlingprioritygts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 186451

OKorERROR

Read CommandAT+CGEQMIN

Response+CGEQMIN [ltcidgtltTraffic classgtltMaximum bitrate ULgtltMaximum bitrate DLgtltGuaranteed bitrate ULgtltGuaranteed bitrateDLgtltDelivery ordergtltMaximum SDU sizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery of erroneousSDUsgtltTransfer DelaygtltTraffic handlingprioritygt][ltCRgtltLFgt+CGEQMIN ltcidgtltTraffic classgtltMaximumbitrate ULgtltMa ximum bitrate DLgtltGuaranteed bitrateULgtltGuaranteed bitrate DLgtltDelivery ordergtltMaximum SDUsizegtltSDU error ratiogtltResidual bit error ratiogtltDelivery oferroneous SDUsgtltTransfer DelaygtltTraffic handlingprioritygt[hellip]]

OKorERROR

Write CommandAT+CGEQMIN=ltcidgt[ltTraffic classgt[ltMaximum bitrateULgt[ltMaximum bitrateDLgt[ltGuaranteedbitrateULgt[ltGuaranteedbitrate DLgt[ltDeliveryordergt[ltMaximum SDUsizegt[ltSDUerror ratiogt[ltResidual biterror ratiogt[ltDelivery oferroneousSDUsgt[ltTransferdelaygt[ltTraffic handlingprioritygt]]]]]]]]]]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEQMIN

ResponseOKorERROR

Defined Values

ltcidgt Parameter specifies a particular PDP context definitionThe parameteris also used in other PDP context-related commands The range isfrom 1 to 42

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 187451

ltTraffic classgt 0 conversational1 streaming2 interactive3 background4 subscribed value

ltMaximum bitrate ULgt This parameter indicates the maximum number of kbitss delivered toUMTS(up-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltMaximum bitrate DLgt This parameter indicates the maximum number of kbitss delivered toUMTS(down-link traffic)at a SAPAs an example a bitrate of 32kbitswould be specified as 32(eg AT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate ULgt This parameter indicates the guaranteed number of kbits delivered toUMTS(up-link traffic)at a SAP(provided that there is data to deliver)Asan example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltGuaranteed bitrate DLgt This parameter indicates the guaranteed number of kbits delivered toUMTS(down-link traffic)at a SAP(provided that there is data todeliver)As an example a bitrate of 32kbits would be specified as32(egAT+CGEQMIN=hellip32hellip)The range is from 0 to 8460 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltDelivery ordergt This parameter indicates whether the UMTS bearer shall providein-sequence SDU delivery or not0 no1 yes2 subscribed value

ltMaximum SDU sizegt This parameter indicates the maximum allowed SDU size inoctetsThe range is from 0 to 1520 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltSDU error ratiogt This parameter indicates the target value for the fraction of SDUs lostor detected as erroneousSDU error ratio is defined only forconforming trafficAs an example a target SDU error ratio of 510-3would be specified as 5E3(egAT+CGEQMIN=5E3hellip)0E0 subscribed value1E27E31E31E41E5

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 188451

1E61E1

ltResidual bit error ratiogt This parameter indicates the target value for the undetected bit errorratio in the delivered SDUs If no error detection is requestedResidualbit error ratio indicates the bit error ratio in the delivered SDUsAs anexample a target residual bit error ratio of 510-3 would be specifiedas 5E3(egAT+CGEQMIN=hellip5E3)0E0 subscribed value5E21E25E34E31E31E41E51E66E8

ltDelivery of erroneousSDUsgt

This parameter indicates whether SDUs detected as erroneous shallbe delivered or not0 no1 yes2 no detect3 subscribed value

ltTransfer delaygt This parameter indicates the targeted time between request totransfer an SDU at one SAP to its delivery at the other SAPinmillisecondsThe range is from 0 to 4000 The default value is 0 If the parameter isset to 0 the subscribed value will be requested

ltTraffic handling prioritygt This parameter specifies the relative importance for handling of allSDUs belonging to the UMTSBearer compared to the SDUs of the other bearersThe range is from 0 to 3 The default value is 0 If the parameter is setto 0 the subscribed value will be requested

ltPDP_typegt (Packet Data Protocol type) a string parameter which specifies thetype of packet data protocolIP Internet ProtocolPPP Point to Point ProtocolIPV6 Internet Protocol Version 6IPV4V6 Dual PDN Stack

Example

AT+CGEQMIN=+CGEQMIN

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 189451

IP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINPPP(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)+CGEQMINIPV4V6(0-4)(0-11520)(0-42200)(0-11520)(0-42200)(0-2)(0-1520)(0E01E11E27E31E31E41E51E6)(0E05E21E25E34E31E31E41E51E66E8)(0-3)(0100-4000)(0-3)(01)(01)

OKAT+CGEQMIN+CGEQMIN

OK

8211 AT+CGDATA Enter data state

The command causes the MT to perform whatever actions are necessary to establish communicationbetween the TE and the network using one or more Packet Domain PDP types This may includeperforming a PS attach and one or more PDP context activations

AT+CGDATA Enter data stateTest CommandAT+CGDATA=

Response+CGDATA (list of supported ltL2Pgts)

OKorERROR

Write CommandAT+CGDATA=[ltL2Pgt[ltcidgt]]

ResponseNO CARRIERorOKorERRORor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 190451

+CME ERROR lterrgt

Defined Values

ltL2Pgt A string parameter that indicates the layer 2 protocol to be usedbetween the TE and MTPPP Point-to-point protocol for a PDP such as IP

lttextgt CONNECT result code string the string formats please referATXATVATampE command

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)1hellip42

Example

AT+CGDATA=+CGDATA (PPP)

OKAT+CGDATA=PPP1CONNECT 115200

8212 AT+CGPADDR Show PDP address

The write command returns a list of PDP addresses for the specified context identifiers

AT+CGPADDR Show PDP addressTest CommandAT+CGPADDR=

Response[+CGPADDR (list of defined ltcidgts)]

OKorERROR

Write CommandAT+CGPADDR=ltcidgt[ltcidgt[hellip]]

Response+CGPADDR ltcidgtltPDP_addrgt

OKorOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 191451

or+CME ERROR lterrgt

Execution CommandAT+CGPADDR

Response[+CGPADDR ltcidgtltPDP_addrgt]+CGPADDR ltcidgtltPDP_addrgt[]]]

OKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command) If no ltcidgt is specified theaddresses for all defined contexts are returned1hellip42

ltPDP_addrgt A string that identifies the MT in the address space applicable to thePDP The address may be static or dynamic For a static address itwill be the one set by the AT+CGDCONT command when the contextwas defined For a dynamic address it will be the one assigned duringthe last PDP context activation that used the context definition referredto by ltcidgt ltPDP_addrgt is omitted if none is available

Example

AT+CGPADDR=+CGPADDR (1)

OKAT+CGPADDR=1+CGPADDR 11023748122

OK

8213 AT+CGCLASS GPRS mobile station class

This command is used to set the MT to operate according to the specified GPRS mobile class

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 192451

AT+CGCLASS GPRS mobile station classTest CommandAT+CGCLASS=

Response+CGCLASS (list of supported ltclassgts)

OKorERROR

Read CommandAT+CGCLASS

Response+CGCLASS ltclassgt

OKorERROR

Write CommandAT+CGCLASS=ltclassgt

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandSet default valueAT+CGCLASS

ResponseOKorERROR

Defined Values

ltclassgt A string parameter which indicates the GPRS mobile class (indescending order of functionality)A class A (highest)

Example

AT+CGCLASS=+CGCLASS (A)

OKAT+CGCLASS+CGCLASS A

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 193451

8214 AT+CGEREP GPRS event reporting

The write command enables or disables sending of unsolicited result codes +CGEV from MT to TE in thecase of certain events occurring in the Packet Domain MT or the network ltmodegt controls the processingof unsolicited result codes specified within this command ltbfrgt controls the effect on buffered codeswhen ltmodegt 1 or 2 is entered If a setting is not supported by the MT ERRORor +CME ERROR isreturned

Read command returns the current ltmodegt and buffer settings

Test command returns the modes and buffer settings supported by the MT as compound values

AT+CGEREP GPRS event reportingTest CommandAT+CGEREP=

Response+CGEREP (list of supported ltmodegts)(list of supported ltbfrgts)

OKorERROR

Read CommandAT+CGEREP

Response+CGEREP ltmodegtltbfrgt

OKorERROR

Write CommandAT+CGEREP=ltmodegt[ltbfrgt]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGEREP

ResponseOKorERROR

Defined Values

ltmodegt 0 ndash buffer unsolicited result codes in the MT if MT result code buffer isfull the oldest ones can be discarded No codes are forwarded tothe TE

1 ndash discard unsolicited result codes when MT-TE link is reserved (egin on- line data mode) otherwise forward them directly to the TE

2 ndash buffer unsolicited result codes in the MT when MT-TE link is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 194451

reserved (eg in on- line data mode) and flush them to the TEwhen MT-TE link becomes available otherwise forward themdirectly to the TE

ltbfrgt 0 ndash MT buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 or 2 is entered1 ndash MT buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 or 2 is entered (OK responseshall be given before flushing the codes)

Example

AT+CGEREP=+CGEREP (0-2)

OKAT+CGEREP+CGEREP 00

OK

8215 AT+CGAUTH Set type of authentication for PDP-IP connections of GPRS

This command is used to set type of authentication for PDP-IP connections of GPRS

AT+CGAUTH Set type of authentication for PDP-IP connections of GPRSTest CommandAT+CGAUTH=

Response+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (range of supportedltcidgts)(list of supported ltauth_typegts)

OKorERRORor+CME ERROR lterrgt

Read CommandAT+CGAUTH

Response+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt+CGAUTH ltcidgtltauth_typegt[ltusergtltpasswdgt]ltCRgtltLFgt

hellip

OKor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 195451

ERRORor+CME ERROR lterrgt

Write CommandAT+CGAUTH=ltcidgt[ltauth_typegt[ltpasswdgt[ltusergt]]]

ResponseOKorERRORor+CME ERROR lterrgt

Execution CommandAT+CGAUTH

ResponseOKorERRORor+CME ERROR lterrgt

Defined Values

ltcidgt Parameter specifies a particular PDP context definition This is alsoused in other PDP context-related commands1hellip42

ltauth_typegt Indicate the type of authentication to be used for the specified contextIf CHAP is selected another parameter ltpasswdgt needs to bespecified If PAP is selected two additional parameters ltpasswdgt andltusergt need to specified0 none1 PAP2 CHAP3 PAP or CHAP

ltpasswdgt Parameter specifies the password used for authenticationltusergt Parameter specifies the user name used for authentication

Example

AT+CGAUTH=+CGAUTH 127127(for CDMA1x-EvDo only)+CGAUTH (1-42)(0-3)127127

OKAT+CGAUTH=11123SIMCOMOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 196451

83 Summary of Unsolicited Result Codes

Unsolicited codes Description+CGEV PDN ACTltcidgt When the PDP in ltcidgt channel is

activated this unsolicited result codewill be reported

+CGEV REJECT ltPDP_typegtltPDP_addrgt A network request for PDP contextactivation occurred when the MT wasunable to report it to the TE with a+CRING unsolicited result code and wasautomatically rejected

+CGEV NW REACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has requested a contextreactivation The ltcidgt that was used toreactivate the context is provided ifknown to the MT

+CGEV NW DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The network has forced a contextdeactivation The ltcidgt that was used toactivate the context is provided if knownto the MT

+CGEV ME DEACT ltPDP_typegtltPDP_addrgt[ltcidgt] The mobile equipment has forced acontext deactivation The ltcidgt that wasused to activate the context is provided ifknown to the MT

+CGEV NW DETACH The network has forced a PacketDomain detach This implies that allactive contexts have been deactivatedThese are not reported separately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV ME DETACH The mobile equipment has forced aPacket Domain detach This implies thatall active contexts have beendeactivated These are not reportedseparately

+CGEV NW CLASS ltclassgt The network has forced a change of MSclass The highest available class isreported (see AT+CGCLASS)

+CGEV ME CLASS ltclassgt The mobile equipment has forced achange of MS class The highestavailable class is reported (see

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 197451

AT+CGCLASS)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 198451

9 AT Commands for SMS

91 Overview of AT Commands for SMS

Command DescriptionAT+CSMS Select message serviceAT+CPMS Preferred message storageAT+CMGF Select SMS message formatAT+CSCA SMS service center addressAT+CSCB Select cell broadcast message indicationAT+CSMP Set text mode parametersAT+CSDH Show text mode parametersAT+CNMA New message acknowledgement to METAAT+CNMI New message indications to TEAT+CGSMS Select service for MO SMS messagesAT+CMGL List SMS messages from preferred storeAT+CMGR Read messageAT+CMGS Send messageAT+CMSS Send message from storageAT+CMGW Write message to memoryAT+CMGD Delete messageAT+CMGMT Change message statusAT+CMVP Set message valid periodAT+CMGRD Read and delete messageAT+CMGSEX Send messageAT+CMSSEX Send multi messages from storage

92 Detailed Description of AT Commands for SMS

921 AT+CSMS Select message service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 199451

This command is used to select messaging service ltservicegtNote This command not support in CDMAEVDO mode

AT+CSMS Select message service

Test CommandAT+CSMS=

Responsea)+CSMS (range of supported ltservicegts)

OKb)If failedERROR

Read CommandAT+CSMS

Response+CSMS ltservicegtltmtgtltmogtltbmgt

OK

Write CommandAT+CSMS=ltservicegt

Responsea)+CSMS ltmtgtltmogtltbmgt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt 0 SMS at command is compatible with GSM phase 21 SMS at command is compatible with GSM phase 2+

ltmtgt Mobile terminated messages0 type not supported1 type supported

ltmogt Mobile originated messages0 type not supported1 type supported1 SMS at command is compatible with GSMphase 2+

ltbmgt Broadcast type messages0 type not supported1 type supported

Example

AT+CSMS=0+CSMS 111

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 200451

922 AT+CPMS Preferred message storage

This command is used to select memory storages ltmem1gtltmem2gt and ltmem3gt to be used for readingwriting etc

AT+CPMS Preferred message storage

Test CommandAT+CPMS=

Responsea)+CPMS (list of supportedltmem1gts)(list ofsupportedltmem2gts)(list of supportedltmem3gts)

OKb)If failedERROR

Read CommandAT+CPMS

Response+CPMSltmem1gtltused1gtlttotal1gtltmem2gtltused2gtlttotal2gtltmem3gtltused3gtlttotal3gt

OK

Write CommandAT+CPMS=ltmem1gt[ltmem2gt[ltmem3gt]]

Responsea)+CPMS ltused1gtlttotal1gtltused2gtlttotal2gtltused3gtlttotal3gt

OKb)If failed+CMS ERROR lterrgt

Defined Values

ltmem1gt String type memory from which messages are read and deleted(commands List Messages AT+CMGL Read Message AT+CMGRand Delete Message AT+CMGD)ME and MT FLASH message storageSM SIM message storageSR Status report storage (not used in CDMAEVDOmode)

ltmem2gt String type memory to which writing and sending operations aremade (commands Send Message from Storage AT+CMSS and WriteMessage to Memory AT+CMGW)ME and MT FLASH message storageSM SIM message storage

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 201451

ltmem3gt String type memory to which received SMS is preferred to be stored(unless forwarded directly to TE refer command New MessageIndications AT+CNMI)ME FLASH message storageSM SIM message storage GSM phase 2+

ltusedXgt Integer type number of messages currently in ltmemXgtlttotalXgt Integer type total number of message locations in ltmemXgt

Example

AT+CPMS=+CPMS (MEMTSMSR)(MEMTSM)(SMME)

OKAT+CPMS+CPMS ME 023ME 023ME 023

OKAT+CPMS=SMSMSM+CPMS 350350350

OK

923 AT+CMGF Select SMS message format

This command is used to specify the input and output format of the short messages

AT+CMGF Select SMS message format

Test CommandAT+CMGF=

Responsea)+CMGF (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CMGF

Responsea)+CMGF ltmodegt

OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 202451

Write CommandAT+CMGF=ltmodegt

Responsea)OKb)If failedERROR

Execution CommandAT+CMGF

Responsea)Set default value (ltmodegt=0)OKb)If failedERROR

Defined Values

ltmodegt 0 PDU mode1 Text mode

Example

AT+CMGF=1OK

924 AT+CSCA SMS service center address

This command is used to update the SMSC address through which mobile originated SMS are transmittedNote This command not support in CDMAEVDO mode

AT+CSCA SMS service center addressTest CommandAT+CSCA=

ResponseOK

Read CommandAT+CSCA

Response+CSCA ltscagtlttoscagt

OKWrite CommandAT+CSCA=ltscagt[lttoscagt]

ResponseOK

Defined Values

ltscagt Service Center Address value field in string format BCD numbers (orGSM 7 bit default alphabet characters) are converted to characters ofthe currently selected TE character set (refer to command AT+CSCS)type of address given by lttoscagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 203451

lttoscagt SC address Type-of-Address octet in integer format when firstcharacter of ltscagt is + (IRA 43) default is 145 otherwise default is129

Example

AT+CSCA=+8613012345678OKAT+CSCA+CSCA +8613012345678145

OK

925 AT+CSCB Select cell broadcast message indication

The test command returns the supported ltmodegts as a compound valueThe read command displays the accepted message typesDepending on the ltmodegt parameter the write command adds or deletes the message types acceptedNote This command not support in CDMAEVDO mode

AT+CSCB Select cell broadcast message indication

Test CommandAT+CSCB=

Responsea)+CSCB (range of supported ltmodegts)

OKb)If failedERROR

Read CommandAT+CSCB

Responsea)+CSCB ltmodegtltmidsgtltdcssgt

OKb)If failedERROR

Write CommandAT+CSCB=ltmodegt[ltmidsgt[ltdcssgt]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 204451

Defined Values

ltmodegt 0 message types specified in ltmidsgt and ltdcssgt are accepted1 message types specified in ltmidsgt and ltdcssgt are not accepted

ltmidsgt String type all different possible combinations of CBM messageidentifiers

ltdcssgt String type all different possible combinations of CBM data codingschemes(default is empty string)

Example

AT+CSCB=+CSCB (0-1)

OK

926 AT+CSMP Set text mode parameters

This command is used to select values for additional parameters needed when SM is sent to the network orplaced in storage when text format message mode is selectedNote This command not support in CDMAEVDO mode

AT+CSMP Set text mode parametersTest CommandAT+CSMP=

ResponseOK

Read CommandAT+CSMP

Response+CSMP ltfogtltvpgtltpidgtltdcsgt

OK

Write CommandAT+CSMP=[ltfogt[ltvpgt[ltpidgt[ltdcsgt]]]]

Responsea)OKb)If failedERROR

Defined Values

ltfogt Depending on the Command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17) SMS-STATUS-REPORTor SMS-COMMAND (default 2) in integer format SMS status report issupported under text mode if ltfogt is set to 49

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 205451

ltvpgt Depending on SMS-SUBMIT ltfogt setting GSM0340TP-Validity-Period either in integer format (default 167) intime-string format or if is supported in enhanced format(hexadecimal coded string with quotes)(ltvpgt is in range 0 255)

ltpidgt GSM 0340 TP-Protocol-Identifier in integer format (default 0)ltdcsgt GSM 0338 SMS Data Coding Scheme (default 0) or Cell Broadcast

Data Coding Scheme in integer format depending on the command orresult code

Example

AT+CSMP=172364244OK

927 AT+CSDH Show text mode parameters

This command is used to control whether detailed header information is shown in text mode result codesNote This command not support in CDMAEVDO mode

AT+CSDH Show text mode parameters

Test CommandAT+CSDH=

Responsea)+CSDH (range of supported ltshowgts)

OKb)If failedERROR

Read CommandAT+CSDH

Response+CSDH ltshowgt

OK

Write CommandAT+CSDH=ltshowgt

Responsea)OKb)If failedERROR

Execution CommandAT+CSDH

Responsea)Set default value (ltshowgt=0)OKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 206451

Defined Values

ltshowgt 0 do not show header values defined in commands AT+CSCA andAT+CSMP (ltscagtlttoscagtltfogtltvpgtltpidgt and ltdcsgt) norltlengthgtlttodagtorlttooagt in +CMT AT+CMGL AT+CMGR resultcodes for SMS-DELIVERs and SMS-SUBMITs in text mode forSMS-COMMANDs in AT+CMGR result code do not showltpidgtltmngtltdagtlttodagtltlengthgtorltdatagt1 show the values in result codes

Example

AT+CSDH=1OK

928 AT+CNMA New message acknowledgement to META

This command is used to confirm successful receipt of a new message (SMS-DELIVER orSMS-STATUSREPORT) routed directly to the TE If ME does not receive acknowledgement within requiredtime (network timeout) it will send RP-ERROR to the networkNOTE The execute write command shall only be used when AT+CSMS parameter ltservicegt equals 1 (=phase 2+) and appropriate URC has been issued by the module ielt+CMTgt for ltmtgt=2 incoming message classes 0 1 3 and nonelt+CMTgt for ltmtgt=3 incoming message classes 0 and 3lt+CDSgt for ltdsgt=1Note This command not support in CDMAEVDO mode

AT+CNMA New message acknowledgement to META

Test CommandAT+CNMA=

Responseif text mode(AT+CMGF=1)OKif PDU mode (AT+CMGF=0)+CNMA (list of supported ltngts)

OK

Write CommandAT+CNMA=ltngt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR ltERRgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 207451

Execution CommandAT+CNMA

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltngt Parameter required only for PDU mode0 Command operates similarly as execution command in textmode1 Send positive (RP-ACK) acknowledgement to the networkAccepted only in PDU mode2 Send negative (RP-ERROR) acknowledgement to the networkAccepted only in PDU mode

Example

AT+CNMI=12000OK+CMT 1380022xxxx020403110638+32ltCRgtltLFgtTesting(receive new short message)AT+CNMA(send ACK to the network)OKAT+CNMA+CMS ERROR 340(the second time return error it needs ACK only once)

929 AT+CNMI New message indications to TE

This command is used to select the procedure how receiving of new messages from the network isindicated to the TE when TE is active eg DTR signal is ON If TE is inactive (eg DTR signal is OFF) If set

ltmtgt=3 orltdsgt=1 make sure ltmodegt=1 If set ltmtgt=2 make sure ltmodegt=1 or 2 otherwise it will

return error

AT+CNMI New message indications to TE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 208451

Test CommandAT+CNMI=

Response+CNMI (list of supported ltmodegts)(list of supported ltmtgts)(list ofsupported ltbmgts)(list of supported ltdsgts)(list of supported ltbfrgts)

OK

Read CommandAT+CNMI

Response+CNMI ltmodegtltmtgtltbmgtltdsgtltbfrgt

OK

Write CommandAT+CNMI=ltmodegt[ltmtgt[ltbmgt[ltdsgt [ltbfrgt]]]]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Execution CommandAT+CNMI

ResponseSet default valueOK

Defined Values

ltmodegt 0 Buffer unsolicited result codes in the TA If TA result code bufferis full indications can be buffered in some other place or the oldestindications may be discarded and replaced with the new receivedindications1 Discard indication and reject new received message unsolicitedresult codes when TA-TE link is reserved (eg in on-line data mode)Otherwise forward them directly to the TE2 Buffer unsolicited result codes in the TA when TA-TE link isreserved (eg in on-line data mode) and flush them to the TE afterreservation Otherwise forward them directly to the TE

ltmtgt The rules for storing received SMS depend on its data codingscheme preferred memory storage (AT+CPMS) setting and thisvalue0 No SMS-DELIVER indications are routed to the TE1 If SMS-DELIVER is stored into META indication of the memorylocation is routed to the TE using unsolicited result code +CMTIltmem3gtltindexgt2 SMS-DELIVERs (except class 2 messages and messages inthe message waiting indication group (store message)) are routeddirectly to the TE using unsolicited result code+CMT [ltalphagt]ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled)or

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 209451

+CMTltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt(text mode enabled about parameters in italics refer command ShowText Mode Parameters AT+CSDH)3 Class 3 SMS-DELIVERs are routed directly to TE usingunsolicited result codes defined in ltmtgt=2 Messages of other datacoding schemes result in indication as defined in ltmtgt=1

ltbmgt (not used in CDMAEVDO mode)The rules for storing received CBMs depend on its data codingscheme the setting of Select CBM Types (AT+CSCB) and this value0 No CBM indications are routed to the TE2 New CBMs are routed directly to the TE using unsolicited resultcode+CBM ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CBM ltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt(text mode enabled)

ltdsgt (not used in CDMAEVDO mode)0 No SMS-STATUS-REPORTs are routed to the TE1 SMS-STATUS-REPORTs are routed to the TE using unsolicitedresult code+CDS ltlengthgtltCRgtltLFgtltpdugt(PDU mode enabled) or+CDS ltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt(text mode enabled)2 If SMS-STATUS-REPORT is stored into META indication of thememory location is routed to the TE using unsolicited result code+CDSI ltmem3gtltindexgt

ltbfrgt 0 TA buffer of unsolicited result codes defined within this commandis flushed to the TE when ltmodegt 1 to 2 is entered (OK responseshall be given before flushing the codes)1 TA buffer of unsolicited result codes defined within this commandis cleared when ltmodegt 1 to 2 is entered

Example

AT+CNMI=21 (unsolicited result codes after received messages)OK

9210 AT+CGSMS Select service for MO SMS messages

The write command is used to specify the service or service preference that the MT will use to send MOSMS messages

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 210451

The test command is used for requesting information on which services and service preferences can be setby using the AT+CGSMS write commandThe read command returns the currently selected service or service preferenceNote This command not support in CDMAEVDO mode

AT+CGSMS Select service for MO SMS messages

Test CommandAT+CGSMS=

Response+CGSMS (range of supported ltservicegts)

OK

Read CommandAT+CGSMS

Response+CGSMS ltservicegt

OK

Write CommandAT+CGSMS=ltservicegt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltservicegt A numeric parameter which indicates the service or servicepreference to be used0 GPRS(value is not really supported and is internally mapped to 2)1 circuit switched(value is not really supported and is internallymapped to 3)2 GPRS preferred (use circuit switched if GPRS not available)3 circuit switched preferred (use GPRS if circuit switched notavailable)

Example

AT+CGSMS+CGSMS 3

OK

9211 AT+CMGL List SMS messages from preferred store

This command is used to return messages with status value ltstatgt from message storage ltmem1gt to the

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 211451

TEIf the status of the message is received unread the status in the storage changes to received read

AT+CMGL List SMS messages from preferred store

Test CommandAT+CMGL=

Response+CMGL (list of supported ltstatgts)

OK

Write CommandAT+CMGL=ltstatgt

Responsea)If text mode (AT+CMGF=1) command successful andSMS-SUBMITs andor SMS-DELIVERs+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGLltindexgtltstatgtltoagtltdagt[ltalphagt][ltsctsgt][lttooagtlttodagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt[]]

OKb)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORTs+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[ltCRgtltLFgt+CMGLltindexgtltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt[]]

OKc)If text mode (AT+CMGF=1) command successful and SMS-COMMANDs+CMGL ltindexgtltstatgtltfogtltctgt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltfogtltctgt[]]

OKd)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[ltCRgtltLFgt+CMGL ltindexgtltstatgtltsngtltmidgtltpagegtltpagesgtltCRgtltLFgtltdatagt[]]

OKe)If PDU mode (AT+CMGF=0) and Command successful+CMGL

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 212451

ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt[ltCRgtltLFgt+CMGL ltindexgtltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

[hellip]]

OKf)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)lttooagt TP-Originating-Address Type-of-Address octet in integer format

(default refer lttodagt)lttodagt TP-Destination-Address Type-of-Address octet in integer format

(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 213451

(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt Status

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 214451

GSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGL=ALL+CMGL 9REC READ+861310jeck200520093100+32145000+86131452hi+CMGL 10REC READ+861310leo200520093225+32145000+86131454Fine

OK

9212 AT+CMGR Read message

This command is used to return message with location value ltindexgt from message storage ltmem1gt tothe TE

AT+CMGR Read messageTest CommandAT+CMGR=

ResponseOK

Write CommandAT+CMGR=ltindexgt

a)If text mode (AT+CMGF=1) command successful and SMS-DELIVER+CMGRltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 215451

OKb)If text mode (AT+CMGF=1) command successful and SMS-SUBMIT+CMGRltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode (AT+CMGF=1) command successful and SMS-STATUS-REPORT+CMGR ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode (AT+CMGF=1) command successful and SMS-COMMAND+CMGRltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgt]ltCRgtltLFgtltdatagt

OKe)If text mode (AT+CMGF=1) command successful and CBMstorage+CMGRltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode (AT+CMGF=0) and Command successful+CMGR ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed+CMS ERROR lterrgt

Defined Values

ltstatgt 1 Text ModeREC UNREAD received unread message (ie new message)REC READ received read messageSTO UNSENT stored unsent messageSTO SENT stored sent messageALL all messages2 PDU Mode0 received unread message (ie new message)1 received read message2 stored unsent message

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 216451

3 stored sent message4 all messages

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

ltpidgt Protocol IdentifierGSM 0340 TP-Protocol-Identifier in integer format0hellip255

ltalphagt String type alphanumeric representation of ltdagtorltoagtcorresponding to the entry found in MT phonebook implementationof this feature is manufacturer specific used character set should bethe one selected with command Select TE Character Set AT+CSCS

ltdcsgt Depending on the command or result code SMS Data CodingScheme (default 0) or Cell Broadcast Data Coding Scheme ininteger format

ltscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

lttoscagt RP SC address Address-Value field in string format BCD numbers(or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttoscagt

ltsctsgt TP-Service-Center-Time-Stamp in time-string format (refer ltdtgt)ltdagt Destination-Address Address-Value field in string format BCD

numbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagt in characters or in PDU mode(AT+CMGF=0) the length of the actual TP data unit in octets (iethe RP layer SMSC address octets are not counted in the length)

ltdatagt In the case of SMS TP-User-Data in text mode responses format1 If ltdcsgt indicates that GSM 7 bit default alphabet is used andltfogt indicates that TP-User-Data-Header-Indication is not seta If TE character set other than HEX META converts GSMalphabet into current TE character set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 217451

b If TE character set is HEX META converts each 7-bit characterof GSM 7 bit default alphabet into two IRA character longhexadecimal numbers (eg character (GSM 7 bit default alphabet23) is presented as 17 (IRA 49 and 55))2 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedorltfogt indicates that TP-User-Data-Header-Indication is set METAconverts each 8-bit octet into two IRA character long hexadecimalnumbers (eg octet with integer value 42 is presented to TE as twocharacters 2A (IRA 50 and 65))3 If ltdcsgt indicates that GSM 7 bit default alphabet is useda If TE character set other than HEX META converts GSMalphabet into current TE character setb If TE character set is HEX META converts each 7-bit characterof the GSM 7 bit default alphabet into two IRA character longhexadecimal numbers4 If ltdcsgt indicates that 8-bit or UCS2 data coding scheme is usedMETA converts each 8-bit octet into two IRA character longhexadecimal numbers

ltfogt Depending on the command or result code first octet of GSM 0340SMS-DELIVER SMS-SUBMIT (default 17)SMS-STATUS-REPORT or SMS-COMMAND (default 2) in integerformat SMS status report is supported under text mode if ltfogt is setto 49

ltvpgt Depending on SMS-SUBMIT ltfogt setting TP-Validity-Period eitherin integer format (default 167) or in time-string format (refer ltdtgt)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

ltragt Recipient AddressGSM 0340 TP-Recipient-Address Address-Value field in stringformatBCD numbers (or GSM default alphabet characters) areconverted to characters of the currently selected TE characterset(refer to command AT+CSCS)type of address given by lttoragt

lttoragt Type of Recipient AddressGSM 0411 TP-Recipient-Address Type-of-Address octet in integerformat (default refer lttodagt)

ltdtgt Discharge TimeGSM 0340 TP-Discharge-Time in time-stringformatyyMMddhhmmss+zzwhere characters indicate year(two last digits)monthdayhourminutesseconds and time zone

ltstgt StatusGSM 0340 TP-Status in integer format0hellip255

ltctgt Command TypeGSM 0340 TP-Command-Type in integer format0hellip255

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 218451

ltsngt Serial NumberGSM 0341 CBM Serial Number in integer format

ltmngt Message NumberGSM 0340 TP-Message-Number in integer format

ltmidgt Message IdentifierGSM 0341 CBM Message Identifier in integer format

ltpagegt Page ParameterGSM 0341 CBM Page Parameter bits 4-7 in integer format

ltpagesgt Page ParameterGSM 0341 CBM Page Parameter bits 0-3 in integer format

ltpdugt In the case of SMS SC address followed by TPDU in hexadecimalformat META converts each octet of TP data unit into two IRAcharacter long hexadecimal numbers (eg octet with integer value42 is presented to TE as two characters 2A (IRA 50 and 65))

Example

AT+CMGR=1+CMGR STO UNSENT+100111451700167+861380010050014511Hello World

OK

9213 AT+CMGS Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)

AT+CMGS Send messageTest CommandAT+CMGS=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGS=ltdagt[lttodagt]ltCRgtText is enteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGS=ltlengthgtltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGS ltmrgt[lttime_stampgt]

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 219451

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMGS=13012832788ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGS 46

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9214 AT+CMSS Send message from storage

This command is used to send message with location value ltindexgt from preferred message storageltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)

AT+CMSS Send message from storageTest CommandAT+CMSS=

ResponseOK

Write CommandAT+CMSS=ltindexgt [ltdagt[lttodagt]]

Responsea)+CMSS ltmrgt[lttime_stampgt]

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 220451

b)If failedERRORc)If sending fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

Example

AT+CMSS=3+CMSS 0

OKAT+CMSS=313012345678+CMSS 55

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9215 AT+CMGW Write message to memory

This command is used to store message (either SMS-DELIVER or SMS-SUBMIT) to memory storageltmem2gt

AT+CMGW Write message to memoryTest Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 221451

AT+CMGW= OK

Write CommandIf text mode (AT+CMGF=1)AT+CMGW=ltoagtltdagt[lttooagtlttodagt[ltstatgt]]ltCRgtText isenteredltCTRL-ZESCgtIf PDU mode(AT+CMGF=0)AT+CMGW=ltlengthgt[ltstatgt]ltCRgtPDU is enteredltCTRL-ZESCgt

Responsea)If write successfully+CMGW ltindexgt

OKb)If cancel writeOKc)If write failsERRORd)If write fails+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltoagt Originating-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttooagt

lttooagt TP-Originating-Address Type-of-Address octet in integer format(default refer lttodagt)

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type ofaddress given by lttodagt

lttodagt TP-Destination-Address Type-of-Address octet in integer format(when first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltlengthgt Integer type value indicating in the text mode (AT+CMGF=1) thelength of the message body ltdatagtgt (orltcdatagt) in characters or inPDU mode (AT+CMGF=0) the length of the actual TP data unit inoctets (ie the RP layer SMSC address octets are not counted inthe length)

ltstatgt 1 Text ModeSTO UNSENT stored unsent messageSTO SENT stored sent message2 PDU Mode2 stored unsent message3 stored sent message

Example

AT+CMGW=13012832788 ltCRgt (TEXT MODE)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 222451

ABCDltctrl-ZESCgt+CMGW 1

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

9216 AT+CMGD Delete message

This command is used to delete message from preferred message storage ltmem1gt location ltindexgt Ifltdelflaggt is present and not set to 0 then the ME shall ignore ltindexgt and follow the rules for ltdelflaggtshown below

AT+CMGD Delete message

Test CommandAT+CMGD=

Response+CMGD (list of supported ltindexgts)[(list of supportedltdelflaggts)]

OK

Write CommandAT+CMGD=ltindexgt[ltdelflaggt]

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltdelflaggt 0 (or omitted) Delete the message specified in ltindexgt1 Delete all read messages from preferred message storageleaving unread messages and stored mobile originated messages(whether sent or not) untouched2 Delete all read messages from preferred message storage andsent mobile originated messages leaving unread messages andunsent mobile originated messages untouched

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 223451

3 Delete all read messages from preferred message storage sentand unsent mobile originated messages leaving unread messagesuntouched4 Delete all messages from preferred message storage includingunread messages

Example

AT+CMGD=1OK

If set ltdelflaggt=1 2 3 or 4 ltindexgt is omitted such as AT+CMGD=1

9217 AT+CMGMT Change message status

This command is used to change the message status If the status is unread it will be changed read Other

statuses donrsquot change

Note This command not support in CDMAEVDO mode

AT+CMGMT Change message statusTest CommandAT+CMGMT=

ResponseOK

Write CommandAT+CMGMT=ltindexgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

Example

AT+CMGMT=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 224451

9218 AT+CMVP Set message valid period

This command is used to set valid period for sending short messageNote This command not support in CDMAEVDO mode

AT+CMVP Set message valid period

Test CommandAT+CMVP=

Response+CMVP (range of supported ltvpgts)

OK

Read CommandAT+CMVP

Response+CMVP ltvpgt

OK

Write CommandAT+CMVP=ltvpgt

Responsea)OKb)If failedERRORc)If failed+CMS ERROR lterrgt

Defined Values

ltvpgt Validity period value0 to 143 (ltvpgt+1) x 5 minutes (up to 12 hours)144 to 167 12 hours + (ltvpgt-143) x 30 minutes168 to 196 (ltvpgt-166) x 1 day197 to 255 (ltvpgt-192) x 1 week

Example

AT+CMVP=167OK

9219 AT+CMGRD Read and delete message

This command is used to read message and delete the message at the same time It integrate AT+CMGR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 225451

and AT+CMGD but it doesnrsquot change the message status

Note This command not support in CDMAEVDO mode

AT+CMGRD Read and delete messageTest CommandAT+CMGRD=

ResponseOK

Write CommandAT+CMGRD=ltindexgt

Responsea)If text mode(AT+CMGF=1)command successful andSMS-DE-LIVER+CMGRDltstatgtltoagt[ltalphagt]ltsctsgt[lttooagtltfogtltpidgtltdcsgtltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKb)If text mode(AT+CMGF=1)command successful and SMS-SU-BMIT+CMGRDltstatgtltdagt[ltalphagt][lttodagtltfogtltpidgtltdcsgt[ltvpgt]ltscagtlttoscagtltlengthgt]ltCRgtltLFgtltdatagt

OKc)If text mode(AT+CMGF=1)command successful and SMS-STA-TUS- REPORT+CMGRD ltstatgtltfogtltmrgt[ltragt][lttoragt]ltsctsgtltdtgtltstgt

OKd)If text mode(AT+CMGF=1)command successful andSMS-CO-MMAND+CMGRDltstatgtltfogtltctgt[ltpidgt[ltmngt][ltdagt][lttodagt]ltlengthgtltCRgtltLFgtltdatagt]

OKe)If text mode(AT+CMGF=1)command successful and CBM sto-rage+CMGRDltstatgtltsngtltmidgtltdcsgtltpagegtltpagesgtltCRgtltLFgtltdatagt

OKf)If PDU mode(AT+CMGF=0) and command successful+CMGRD ltstatgt[ltalphagt]ltlengthgtltCRgtltLFgtltpdugt

OKg)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 226451

ERRORh)If failed+CMS ERROR lterrgt

Defined Values

Refer to command AT+CMGR

Example

AT+CMGRD=6+CMGRD REC READ+8613917787249060710120938+32145400+86138002105001455HELLO

OK

9220 AT+CMGSEX Send message

This command is used to send message from a TE to the network (SMS-SUBMIT)Note This command not support in CDMAEVDO mode

AT+CMGSEX Send messageTest CommandAT+CMGSEX=

ResponseOK

Write CommandIf text mode (AT+CMGF=1)AT+CMGSEX=ltdagt[lttodagt][ltmrgtltmsg_seggtltmsg_totalgt]ltCRgtText is enteredltCTRL-ZESCgt

Responsea)If sending successfully+CMGSEX ltmrgt

OKb)If cancel sendingOKc)If sending failsERRORd)If sending fails+CMS ERROR lterrgt

Defined Values

ltdagt Destination-Address Address-Value field in string format BCDnumbers (or GSM 7 bit default alphabet characters) are converted tocharacters of the currently selected TE character set type of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 227451

address given by lttodagtlttodagt TP-Destination-Address Type-of-Address octet in integer format

(When first character of ltdagt is + (IRA 43) default is 145 otherwisedefault is 129) The range of value is from 128 to 255

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format Themaximum length is 255

ltmsg_seggt The segment number for long smsltmsg_totalgt The total number of the segments for long sms Its range is from 2 to

255

Example

AT+CMGSEX=13012832788 190 1 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 190

OKAT+CMGSEX=13012832788 190 2 2ltCRgt(TEXT MODE)gt ABCDltctrl-ZESCgt+CMGSEX 191

OK

In text mode the maximum length of an SMS depends on the used coding scheme For single SMS itis 160 characters if the 7 bit GSM coding scheme is used For multiple long sms it is 153 characters ifthe 7 bit GSM coding scheme is used

9221 AT+CMSSEX Send multi messages from storage

This command is used to send messages with location value ltindex1gtltindex2gtltindex3gt hellip from

preferred message storage ltmem2gt to the network (SMS-SUBMIT or SMS-COMMAND)The max count ofindex is 13 one time Set AT+CNMI parameter ltdsgt equal to 0Note This command not support in CDMAEVDO mode

AT+CMSSEX Send multi messages from storageTest CommandAT+CMSSEX=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 228451

Write CommandAT+CMSSEX=ltindexgt[ltindex

gt[hellip ]]

Responsea)

+CMSSEX ltmrgt[ltmrgt[hellip]]

OKb)If failedERRORc)If sending fails

[+CMSSEX ltmrgt[ltmrgt[hellip]]]

+CMS ERROR lterrgt

Defined Values

ltindexgt Integer type value in the range of location numbers supported bythe associated memory and start with zero

ltmrgt Message ReferenceGSM 0340 TP-Message-Reference in integer format

Example

AT+CMSSEX=01+CMSSEX 239240

OK

In text mode the maximum length of an SMS depends on the used coding scheme It is 160 charactersif the 7 bit GSM coding scheme is used

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 229451

10AT Commands for SSL

101 Overview of AT Commands for SSL

Command DescriptionAT+CCHSTART Start SSL serviceAT+CCHSTOP Stop SSL serviceAT+CCHOPEN Connect to SSL serverAT+CCHCLOSE Disconnect from SSL serverAT+CCHSEND Send data to SSL serverAT+CCHRECV Read the cached data that received from the SSL serverAT+CCHCFG Configure the client contextAT+CCHSSLCFG Set the SSL contextAT+CCHSET Configure the report mode of sending and receiving dataAT+CCHMODE Configure the mode of sending and receiving dataAT+CCHADDR Get the IPV4 addressAT+CSSLCFG Configure the SSL contextAT+CCERTDOWN Download certificate into the moduleAT+CCERTLIST List certificatesAT+CCERTDELE Delete certificates

102 Detailed Description of AT Commands for SSL

1021 AT+CCHSTART Start SSL service

AT+CCHSTART Start SSL service

Execution CommandAT+CCHSTART

Responsea)If start SSL service successfullyOK

+CCHSTART 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 230451

b)If start SSL service successfully+CCHSTART 0

OKc)If failedERRORd)If failedOK

+CCHSTART lterrgtParameter Saving Mode -Max Response Time 120000msReference

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTARTOK

+CCHSTART 0

You must execute AT+CCHSTART before any other SSL related operations

1022 AT+CCHSTOP Stop SSL service

AT+CCHSTOP Stop SSL service

Execution CommandAT+CCHSTOP

Responsea)If stop SSL service successfully+CCHSTOP 0

OKb)If stop SSL service successfullyOK

+CCHSTOP 0c)If failed

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 231451

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type which indicates the result code

Example

AT+CCHSTOPOK

+CCHSTOP 0

1023 AT+CCHOPEN Connect to SSL server

AT+CCHOPEN Connect to SSL serverTest CommandAT+CCHOPEN=

Response+CCHOPEN (01)ADDRESS(1-65535)[(1-2)[(1-65535)]]

OKRead CommandAT+CCHOPEN

ResponseIf connect to a server it will show the connected information Otherwisethe connected information is empty+CCHOPEN 0lthostgtltportgtltclient_typegt[ltbind_portgt]+CCHOPEN 1lthostgtltportgtltclient_typegt[ltbind_portgt]

OKWrite CommandAT+CCHOPEN=ltsession_idgthostltportgt[ltclient_typegt[ltbind_portgt]]

Responsea)If connect successfully+CCHOPEN ltsession_idgt0

OKb)If connect successfullyOK

+CCHOPEN ltsession_idgt0c)If connect successfully in transparent modeCONNECT [lttextgt]d)If failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 232451

OK

+CCHOPEN ltsession_idgtlterrgte)If failedERRORf)If failed in transparent modeCONNECT FAIL

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lthostgt The server address maximum length is 256 bytesltportgt The server port which to be connected the range is from 1 to 65535ltclient_typegt The type of client

1 ndash TCP client2 ndash SSLTLS clientDefault value is 2

ltbind_portgt The local port for channel the range is from 1 to 65535 Deault isassigned by internal protocol stack

lttextgt CONNECT result code string the string formats please referATXATVATampE command

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CCHOPEN=0wwwbaiducom4432OK

+CCHOPEN 00

If you donrsquot set the SSL context by AT+CCHSSLCFG before connecting a SSLTLS server byAT+CCHOPEN it will use the ltsession_idgt(the 1rsquost parameter of AT+CCHOPEN) SSL context whenconnecting to the server

1024 AT+CCHCLOSE Disconnect from SSL server

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 233451

AT+CCHCLOSE Disconnect from SSL serverWrite CommandAT+CCHCLOSE=ltsession_idgt

Responsea)If successfully+CCHCLOSE ltsession_idgt0

OKb)If successfullyOK

+CCHCLOSE ltsession_idgt0c)If successfully in transparent modeOK

CLOSEDd)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CCHCLOSE=0OK

+CCHCLOSE 00

1025 AT+CCHSEND Send data to SSL server

AT+CCHSEND Send data to SSL serverTest CommandAT+CCHSEND=

Response+CCHSEND (01)(1-2048)

OKRead CommandAT+CCHSEND

Response+CCHSEND 0ltunsent_len_0gt1ltunsent_len_1gt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 234451

OKWrite CommandAT+CCHSEND=ltsession_idgtltlengt

Responsea)if parameter is rightgtltinput data heregtWhen the total size of the inputted data reaches ltlengt TA will reportthe following code Otherwise the serial port will be blockedOKb)If parameter is wrong or other errors occurERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session index to operate Itrsquos from 0 to 1ltlengt The length of data to send Its range is from 1 to 2048 bytesltunsent_len_0gt The data of connection 0 cached in sending buffer which is waiting to

be sentltunsent_len_1gt The data of connection 1 cached in sending buffer which is waiting to

be sent

Example

AT+CCHSEND=0125gtGET HTTP11Host wwwgooglecomhkUser-Agent MAUI htp User AgentProxy-Connection keep-aliveContent-Length 0

OK

1026 AT+CCHRECV Read the cached data that received from the SSL server

AT+CCHRECV Read the cached data that received from the SSL serverRead CommandAT+CCHRECV

Response+CCHRECV LENltcache_len_0gtltcache_len_1gt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 235451

Write CommandAT+CCHRECV=ltsession_idgt[ltmax_recv_lengt]

Responsea)if parameter is right and there are cached dataOK

[+CCHRECV DATAltsession_idgtltlengthellip+CCHRECV DATAltsession_idgtltlengthellip]+CCHRECV ltsession_idgtlterrgtb) if session is busy+CCHRECV ltsession_idgtlterrgt

ERRORc) if parameter is not right or any other error occursERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltmax_recv_lengt Maximum bytes of data to receive in the current AT+CCHRECV

calling It will read all the received data when the value is greater thanthe length of RX data cached for session ltsession_idgt0 means the maximum bytes to receive is 2048 bytes (But when2048 is greater than the length of RX data cached for sessionltsession_idgt 0 means the length of RX data cached for sessionltsession_idgt)The default value is the length of RX data cached for sessionltsession_idgtIt will be not allowed when there is no data in the cache

ltcache_len_0gt The length of RX data cached for connection 0ltcache_len_1gt The length of RX data cached for connection 1ltlengt The length of data followedlterrgt String type displays the cause of occurring error please refer to

Chapter 103 for details

Example

AT+CCHRECV=1OK

+CCHRECV DATA1249

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 236451

HTTP11 200 OKContent-Type texthtmlContent-Language zh-CNContent-Length 57Date Tue 31 Mar 2009 015605 GMTConnection CloseProxy-Connection Close

lthtmlgtltheadergttestltheadergtltbodygtTest bodyltbodygt+CCHRECV 10

1027 AT+CCHADDR Get the IPV4 address

AT+CCHADDR Get the IPV4 address

Execution CommandAT+CCHADDR

Response+CCHADDR ltip_addressgt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt A string parameter that identifies the IPv4 address after PDPactivated

Example

AT+CCHADDR+CCHADDR 1071155118

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 237451

1028 AT+CCHCFG Configure the client context

AT+CCHCFG Configure the client contextTest CommandAT+CCHCFG=

Response+CCHCFG sendtimeout(0-1)(60-150)+CCHCFG sslctx(0-1)(0-9)

OKRead CommandAT+CCHCFG

Response+CCHCFG 0ltsendtimeout_valgtltsslctx_indexgt+CCHCFG 1ltsendtimeout_valgtltsslctx_indexgt

OKWrite Command

Configure the timeout valueof the specified client whensending data

AT+CCHCFG=sendtimeoutltsession_idgtltsendtimeout_valgt

ResponseIf successfullyOKIf failedERROR

Write Command

Configure the SSL contextindex itrsquos as same asAT+CSSLCFG

AT+CCHCFG=sslctxltsession_idgtltsslctx_indexgt

ResponseIf successfullyOKIf failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltsendtimeout_valgt The timeout value used in sending data stage The range is 60-150

seconds The default value is 150ltsslctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHCFG=sendtimeout060

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 238451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSE

1029 AT+CCHSSLCFG Set the SSL context

AT+CCHSSLCFG Set the SSL contextTest CommandAT+CCHSSLCFG=

Response+CCHSSLCFG (01)(0-9)

OKRead CommandAT+CCHSSLCFG

Response+CCHSSLCFG ltsession_idgt[ssl_ctx_index]+CCHSSLCFG ltsession_idgt[ssl_ctx_index]

OKWrite CommandAT+CCHSSLCFG=ltsession_idgtltssl_ctx_indexgt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltsession_idgt The session_id to operate Itrsquos from 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CCHSSLCFG=+CCHSSLCFG (01)(0-9)

OKAT+CCHSSLCFG=11

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 239451

OK

This command must be called before AT+CCHOPEN and after AT+CCHSTART The setting will becleared after AT+CCHOPEN failed or AT+CCHCLOSEIf you donrsquot set the SSL context by this command before connecting to SSLTLS server byAT+CCHOPEN the CCHOPEN operation will use the SSL context as same as index ltsession_idgt (the1st parameter of AT+CCHOPEN) when connecting to the server

10210AT+CCHMODE Configure the mode of sending and receiving data

AT+CCHMODE Configure the mode of sending and receiving modeTest CommandAT+CCHMODE=

Response+CCHMODE (01)

OKRead CommandAT+CCHMODE

Response+CCHMODE ltmodegt

OKWrite CommandAT+CCHMODE=ltmodegt

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt The mode value0ndashNormal1ndashTransparent modeThe default value is 0

Example

AT+CCHMODE=+CCHMODE (01)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 240451

OKAT+CCHMODE=1OK

NOTE

This command must be called before AT+CCHSTARTThere is only one session in the transparent mode itrsquos the first session

10211 AT+CCHSET Configure the report mode of sending and receiving data

AT+CCHSET Configure the report mode of sending and receiving dataTest CommandAT+CCHSET=

Response+CCHSET (01)(01)

OKRead CommandAT+CCHSET

Response+CCHSET ltreport_send_resultgtltrecv_modegt

OKWrite CommandAT+CCHSET=ltreport_send_resultgt[ltrecv_modegt]

Responsea) If successfullyOKb) If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltreport_send_resultgt Whether to report result of CCHSEND the default value is 00 ndash No1 ndash Yes Module will report +CCHSEND ltsession_idgtlterrgt to MCUwhen complete sending data

ltrecv_modegt The receiving mode the default value is 00 ndash Output the data to MCU whenever received data1 ndash Module caches the received data and notifies MCU with+CCHEVENT ltsession_idgt RECV EVENTMCU can useAT+CCHRECV to receive the cached data (only in manual receivingmode)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 241451

Example

AT+CCHSET=+CCHSET (01)(01)

OKAT+CCHSET=11OK

This command must be called before AT+CCHSTART

10212AT+CSSLCFG Configure the SSL context

AT+CSSLCFG Configure the SSL contextTest CommandAT+CSSLCFG=

Response+CSSLCFG sslversion(0-9)(0-4)+CSSLCFG authmode(0-9)(0-3)+CSSLCFG ignorelocaltime(0-9)(01)+CSSLCFG negotiatetime(0-9)(10-300)+CSSLCFG cacert(0-9)(5-128)+CSSLCFG clientcert(0-9)(5-128)+CSSLCFG clientkey(0-9)(5-128)+CSSLCFG enableSNI(0-9)(01)+CSSLCFG keypwd(0-9)(0-128)+CSSLCFG ciphersuites(0-9)(0x002F0xFFFF)

OKRead CommandAT+CSSLCFG

Response+CSSLCFG0ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG1ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG2ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 242451

+CSSLCFG3ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG4ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG5ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG6ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG7ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG8ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt+CSSLCFG9ltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Query the configuration of thespecified SSL context AT+CSSLCFG=ltssl_ctx_indexgt

Response+CSSLCFGltssl_ctx_indexgtltsslversiongtltauthmodegtltignoreltimegtltnegotiatetimegtltca_filegtltclientcert_filegtltclientkey_filegtltenalbeSNI_flaggtltkeypwdgtltciphersuitesgt

OKWrite Command Configure the version of thespecified SSL context

AT+CSSLCFG=sslversionltssl_ctx_indexgtltsslversiongt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the authentication

Responsea)If successfully

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 243451

of the specified SSL context

AT+CSSLCFG=authmodeltssl_ctx_indexgtltauthmodegt

OKb)If failedERROR

Write Command Configure the ignore localtime flag of the specified SSLcontext

AT+CSSLCFG=ignorelocaltimeltssl_ctx_indexgtltignoreltimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the negotiatetimeout value of the specifiedSSL context

AT+CSSLCFG=negotiatetimeltssl_ctx_indexgtltnegotiatetimegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the server root CAof the specified SSL context

AT+CSSLCFG=cacertltssl_ctx_indexgtltca_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client certificateof the specified SSL context

AT+CSSLCFG=clientcertltssl_ctx_indexgtltclientcert_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the client key of thespecified SSL context

AT+CSSLCFG=clientkeyltssl_ctx_indexgtltclientkey_filegt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the enableSNI flagof the specified SSL context

AT+CSSLCFG=enableSNIlt

Responsea)If successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 244451

ssl_ctx_indexgtltenableSNI_FlaggtWrite Command Configure the password ofthe specified SSL context

AT+CSSLCFG=keypwdltssl_ctx_indexgtltkeypwdgt

Responsea)If successfullyOKb)If failedERROR

Write Command Configure the ciphersuite ofthe specified SSL context

AT+CSSLCFG=ciphersuitesltssl_ctx_indexgtltciphersuitesgt

Responsea)If successfullyOKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltssl_ctx_indexgt The SSL context ID The range is 0-9ltsslversiongt The SSL version the default value is 4

0 ndash SSL301 ndash TLS102 ndash TLS113 ndash TLS124 ndash All

The configured version should be support by server So you shoulduse the default value if you canrsquot confirm the version which the serversupported

ltauthmodegt The authentication mode the default value is 00 ndash no authentication1 ndashserver authentication It needs the root CA of the server2 ndashserver and client authentication It needs the root CA of the server

the cert and key of the client3ndashclient authentication and no server authentication It needs the certand key of the client

ltignoreltimegt The flag to indicate how to deal with expired certificate the defaultvalue is 10 ndash care about time check for certification1 ndash ignore time check for certification

When set the value to 0 it need to set the right current date and time

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 245451

by AT+CCLK when need SSL certificationltnegotiatetimegt The timeout value which is used in SSL negotiating stage The range

is 10-300 seconds The default value is 300ltca_filegt The root CA file name of SSL context The file name must have type

like pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientcert_filegt The client cert file name of SSL context The file name must have typelike pem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2 By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltclientkey_filegt The client key file name of SSL context The file name must have typelike pem or derThe length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)

There are two ways to download certificate files to module1 By AT+CCERTDOWN2By FTPS or HTTPS commands Please refer to chapter 12 and 13

ltenableSNI_flaggt The flag to indicate that enable the SNI flag or not the default value is00 ndash not enable SNI1 ndash enable SNI

ltkeypwdgt The password of the client key file of SSL context When the clientneeds to be authorized client key file is needed Because the clientkey file may be encrypted we need theltkeypwdgt to decrypt it The length of ltkeypwdgt is from 0 to 128bytes

ltciphersuitesgt Numeric type SSL ciphersuites The default value is 0xFFFF

0x002F TLS_RSA_WITH_AES_128_CBC_SHA

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 246451

0xFFFF Support all

Example

AT+CSSLCFG=sslversion11OK

10213AT+CCERTDOWN Download certificate into the module

AT+CCERTDOWN Download certificate into the moduleTest CommandAT+CCERTDOWN=

Response+CCERTDOWN (5-128)(1-10240)

OKWrite CommandAT+CCERTDOWN=ltfilenamegtltlengt

Responsea)If it can be downloadgtltinput data heregt

OKb)If failedERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

ltlengt The length of the file data to send The range is from 1 to 10240 bytes

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 247451

AT+CCERTDOWN=client_keyder611gtfile contenthelliphellipOK

10214AT+CCERTLIST List certificates

AT+CCERTLIST List certificatesExecution CommandAT+CCERTLIST

Response[+CCERTLIST ltfile_namegt[+CCERTLIST ltfile_namegt]hellipltCRgtltLFgt]OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfile_namegt The certificatekey files which has been downloaded to the moduleIf the filename contains non-ASCII characters it will show thenon-ASCII characters as UTF8 code

Example

AT+CCERTLIST+CCERTLIST ca_certder+CCERTLIST client_keypem

OK

10215AT+CCERTDELE Delete certificates

AT+CCERTDELE Delete certificatesWrite CommandAT+CCERTDELE=ltfilenamegt

Responsea)If delete successfullyOKb)If failedERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 248451

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltfilenamegt The name of the certificatekey file The file name must have type likepem or der The length of filename is from 5 to 128 bytesIf the filename contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark (Thestring in the quotation mark should be hexadecimal of the filenamersquosUTF8 code)For example If you want to download a file with name 中华pem youshould convert the 中 华 pem to UTF8 coding(ampx4E2Dampx534Epem) then input the hexadecimal(262378344532443B262378353334453B2E70656D) of UTF8 coding

Example

AT+CCERTDELE=server_caderOK

103 Command result lterrgt codes

Result Code Meaning0 Operation succeeded

1 Alerting state(reserved)

2 Unknown error

3 Busy

4 Peer closed

5 Operation timeout

6 Transfer failed

7 Memory error

8 Invalid parameter

9 Network error

10 Open session error

11 State error

12 Create socket error

13 Get DNS error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 249451

14 Connect socket error

15 Handshake error

16 Close socket error

17 Nonet

18 Send data timeout

19 Not set certificates

104 Unsolicited result codes

Information Description+CCHEVENT ltsession_idgtRECVEVENT

In manual receiving mode when new data of a connectionarriving to the module this unsolicited result code will bereported to MCU

+CCH_RECV_CLOSEDltsession_idgtlterrgt

When receive data occurred any error this unsolicited resultcode will be reported to MCU

+CCH_PEER_CLOSEDltsession_idgt

The connection is closed by the server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 250451

11AT Commands for TCPIP

111 Overview of AT Commands for TCPIP

Command DescriptionAT+NETOPEN Start TCPIP serviceAT+NETCLOSE Stop TCPIP serviceAT+CIPOPEN Setup TCPUDP client socket connectionAT+CIPCLOSE Destroy TCPUDP client socket connectionAT+CIPSEND Send TCPUDP dataAT+CIPRXGET Retrieve TCPUDP buffered dataAT+IPADDR Get IP address of PDP contextAT+CIPHEAD Add an IP header when receiving dataAT+CIPSRIP Show remote IP address and portAT+CIPMODE Select TCPIP application modeAT+CIPSENDMODE Set sending modeAT+CIPTIMEOUT Set TCPIP timeout valueAT+CIPCCFG Configure parameters of socketAT+SERVERSTART Startup TCP serverAT+SERVERSTOP Stop TCP serverAT+CIPACK Query TCP connection data transmitting statusAT+CDNSGIP Query the IP address of given domain nameAT+CDNSGHNAME Query the domain name of given IP addressAT+CIPDNSSET Set DNS query parametersAT+CPING Ping destination addressAT+CPINGSTOP Stop an ongoing ping session

112 Detailed Description of AT Commands for TCPIP

1121 AT+NETOPEN Start TCPIP service

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 251451

AT+NETOPEN Start TCPIP serviceRead CommandAT+NETOPEN

Response+NETOPEN ltnet_stategt

OK

Execution CommandAT+NETOPEN

ResponseIf the PDP context has not been activated or the network closedabnormally responseOK

+NETOPEN lterrgtwhen the PDP context has been activated successfully if you executeAT+NETOPEN again response+IP ERROR Network is already opened

ERROR

otherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltnet_stategt Integer type which indicates the state of PDP context activation0 network close (deactivated)1 network open(activated)

lterrgt Integer type the result of operation 0 is success other value is failure

Example

AT+NETOPENOK

+NETOPEN 0AT+NETOPEN+NETOPEN 1

OK

You must execute AT+NETOPEN before any other TCPUDP related operations

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 252451

1122 AT+NETCLOSE Stop TCPIP service

AT+NETCLOSE Stop TCPIP service

Execution CommandAT+NETCLOSE

ResponseIf the PDP context has been activated responseOK

+NETCLOSE lterrgtIf the PDP context has not been activated response+NETCLOSE lterrgt

ERROR

otherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+NETCLOSEOK

+NETCLOSE 0

AT+NETCLOSE can close all the opened socket connections when you didnrsquot close theseconnections by AT+CIPCLOSE

1123 AT+CIPOPEN Setup TCPUDP client socket connection

AT+CIPOPEN Setup TCPUDP client socket connection

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 253451

Test CommandAT+CIPOPEN=

Response+CIPOPEN (0-9)(TCPUDP)

OKRead CommandAT+CIPOPEN

Response+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt]+CIPOPEN ltlink_numgt [lttypegtltserverIPgtltserverPortgtltindexgt][hellip]

OKIf a connection identified by ltlink_numgthas not been establishedsuccessfully +CIPOPEN ltlink_numgt will be returned

Write CommandTCP connectionAT+CIPOPEN=ltlink_numgtTCPltserverIPgtltserverPortgt[ltlocalPortgt]

Responseif PDP context has been activated successfully responseOK

+CIPOPEN ltlink_numgtlterrgtwhen the ltlink_numgt is greater than 10 response+IP ERROR Invalid parameter

ERROR

If PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for TCP connectionWhen you want to use transparent mode to transmit data you should setAT+CIPMODE=1 before AT+NETOPEN And if AT+CIPMODE=1 is setthe ltlink_numgt is restricted to be only 0if successCONNECT [lttextgt]

if failureCONNECT FAIL

otherERROR

Write CommandUDP connectionAT+CIPOPEN=ltlink_numgtUDPltlocalPortgt

if PDP context has been activated successfully response+CIPOPEN ltlink_numgt0

OKwhen the ltlink_numgt is greater than 10 response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 254451

+IP ERROR Invalid parameter

ERRORIf PDP context has not been activated or the connection has beenestablished or parameter is incorrect or other errors response+CIPOPEN ltlink_numgtlterrgt

ERROR

Transparent mode for UDP connectionWhen you want to use transparent mode to transmit UDP data youshould set AT+CIPMODE=1 before AT+NETOPEN And ifAT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0ltserverIPgt and ltserverPortgt should be set if AT+CIPMODE=1

if successCONNECT [lttextgt]

if failureCONNECT FAIL

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9If AT+CIPMODE=1 is set the ltlink_numgt is restricted to be only 0

lttypegt String type identifies the type of transmission protocolTCP Transmission Control ProtocolUDP User Datagram Protocol

ltserverIPgt String type identifies the IP address of server The IP address formatconsists of 4 octets separated by decimal point likeAAABBBCCCDDD Also the domain name is supported hereNOTEIf the domain name is inputted here the timeout value for theAT+CIPOPEN shall be decided by AT+CIPDNSSET

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalid

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 255451

operationltlocalPortgt Integer type identifies the port of local socket range is 0-65535ltindexgt Integer type which indicates whether the module is used as a client or

serverWhen used as server the range is 0-3ltindexgt is the server index towhich the client is linked(-1) ndash TCPUDP client(0-3) ndash TCP server index

lttextgt String type which indicates CONNECT result code Please refer toATXATVATampE command for the string formats

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPOPEN=0TCP11622822151100OK

+CIPOPEN 00AT+CIPOPEN=1UDP8080+CIPOPEN 10

OKAT+CIPOPEN=+CIPOPEN (0-9)(TCPUDP)

OKAT+CIPOPEN+CIPOPEN 0TCP11622822151100-1+CIPOPEN 1+CIPOPEN 2+CIPOPEN 3+CIPOPEN 4+CIPOPEN 5+CIPOPEN 6+CIPOPEN 7+CIPOPEN 8+CIPOPEN 9

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 256451

1124 AT+CIPCLOSE Destroy TCPUDP client socket connection

AT+CIPCLOSE Destroy TCPUDP client socket connectionTest CommandAT+CIPCLOSE=

Response+CIPCLOSE (0-9)

OKRead CommandAT+CIPCLOSE

Response+CIPCLOSEltlink0_stategtltlink1_stategtltlink2_stategtltlink3_stategtltlink4_stategtltlink5_stategtltlink6_stategtltlink7_stategtltlink8_stategtltlink9_stategt

OKWrite CommandAT+CIPCLOSE=ltlink_numgt

ResponseIf service type is TCP and the connection identified by ltlink_numgthas been established responseOK

+CIPCLOSE ltlink_numgtlterrgtIf service type is TCP and the access mode is transparent moderesponseOK

CLOSED

+CIPCLOSE ltlink_numgtlterrgtIf service type is UDP and the connection identified by ltlink_numgthas been established response+CIPCLOSE ltlink_numgt0

OKIf service type is UDP and access mode is transparent moderesponseCLOSED

+CIPCLOSE ltlink_numgtlterrgt

OKIf the connection has not been established abnormally closed orparameter is incorrect response+CIPCLOSE ltlink_numgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 257451

OtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type which identifies a connection Range is 0-9ltlink_stategt Integer type which indicates the state ofconnection identified by

ltlink_numgt Range is 0-10 ndash disconnected1 ndash connected

lterrgt Integer typethe result of operation0 is success other value is failure

Example

AT+CIPCLOSE+CIPCLOSE 1000000000

OKAT+CIPCLOSE=+CIPCLOSE (0-9)

OKAT+CIPCLOSE=0OK

+CIPCLOSE 00

1125 AT+CIPSEND Send TCPUDP data

AT+CIPSEND Send TCPUDP dataTest CommandAT+CIPSEND=

Response+CIPSEND (0-9)(1-1500)

OKWrite CommandIf service type is TCP senddata with changeable length

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 258451

AT+CIPSEND=ltlink_numgt

Response gt then type datato send tap CTRL+Z to senddata tap ESC to cancel theoperation

gtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is TCP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf ltreqSendLengthgt is equal ltcnfSendLengthgt it means that the datahas been sent to TCPIP protocol stack successfully

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with changeable length

AT+CIPSEND=ltlink_numgtltserverIPgtltserverPortgt

Response gt then type datato send tap CTRL+Z to send

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput datagtCTRL+ZOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 259451

data tap ESC to cancel theoperation

If the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Write CommandIf service type is UDP senddata with fixed length

AT+CIPSEND=ltlink_numgtltlengthgtltserverIPgtltserverPortgt

Response gt type data untilthe data length is equal toltlengthgt

ResponseIf the connection identified by ltlink_numgt has been establishedsuccessfully responsegtltinput data with specified lengthgtOK

+CIPSEND ltlink_numgtltreqSendLengthgtltcnfSendLengthgtIf the connection has not been established abnormally closed orparameter is incorrect response+CIPERROR lterrgt

ERROR

OtherERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengthgt Integer type indicates the length of sending data range is 1-1500ltserverIPgt String type which identifies the IP address of server

The IP address format consists of 4 octets separated by decimalpoint like AAABBBCCCDDD

ltserverPortgt Integer type identifies the port of TCP server range is 0-65535NOTEWhen open port as TCP the port must be the opened TCP portWhen open port as UDP the port may be any portBut for Qualcomm connecting the port 0 is regarded as an invalidoperation

ltreqSendlengthgt Integer typethe length of the data requested to be sentltcnfSendLengthgt Integer type the length of the data confirmed to have been sent

-1 the connection is disconnected0 own send buffer or other sidersquos congestion window are full

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 260451

Note If the ltcnfSendLengthgt is not equal to the ltreqSendLengthgtthe socket then cannot be used further

lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+CIPSEND=01gtSOK

+CIPSEND 011AT+CIPSEND=11116236221756775gtSOK

+CIPSEND 111AT+CIPSEND=2gtHelloltCtrl+ZgtOK

+CIPSEND 255AT+CIPSEND=3116236221756775gtHello WorldltCtrl+ZgtOK

+CIPSEND 31111AT+CIPSEND=2gtHelloltESCgtERRORAT+CIPSEND=+CIPSEND (0-9)(1-1500)

OK

Each ltCtrl+Zgt character present in the data should be coded as ltETXgtltCtrl+Zgt Each ltESCgtcharacter present in the data should be coded as ltETXgtltESCgt Each ltETXgt character will be codedas ltETXgtltETXgt Single ltCtrl+Zgt means end of the input data Single ltESCgt is used to cancel thesendingltETXgt is 0x03 and ltCtrl+Zgt is 0x1AandltESCgt is 0x1B

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 261451

1126 AT+CIPRXGET Retrieve TCPUDP buffered data

AT+CIPRXGET Retrieve TCPUDP buffered dataTest CommandAT+CIPRXGET=

Response+CIPRXGET (0-4)(0-9)(1-1500)

OKRead CommandAT+CIPRXGET

Response+CIPRXGET ltmodegt

OKWrite CommandAT+CIPRXGET=ltmodegtIn this case ltmodegt can onlybe 0 or 1

ResponseIf the parameter is correct responseOKElse responseERROR

Write CommandAT+CIPRXGET=2ltlink_numgt[ltlengt]Retrieve data in ACSII form

ResponseIf ltlengthgt field is empty the default value to read is 1500If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagtACSII form

OKIf the buffer is empty response+IP ERROR No data

ERRORIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=3ltlink_numgt[ltlengt]Retrieve data in hex form

ResponseIf ltlengthgt field is empty the default value to read is 750If the buffer is not empty response+CIPRXGET ltmodegtltlink_numgtltread_lengtltrest_lengtltdatagthex form

OKIf the buffer is empty response+IP ERROR No data

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 262451

If the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Write CommandAT+CIPRXGET=4ltlink_numgt

ResponseIf the parameter is correct response+CIPRXGET 4ltlink_numgtltrest_lengt

OKIf the parameter is incorrect or other error response+IP ERROR lterr_infogt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets the mode to retrieve data Default value is 00 set the way to get the network data automatically1 set the way to get the network data manually2 read data the max read length is 15003 read data in HEX form the max read length is 7504 get the rest data length

ltlink_numgt Integer type identifies a connection Range is 0-9ltlengt Integer type the data length to be read

Not required the default value is 1500 when ltmodegt=2 and 750when ltmodegt=3

ltread_lengt Integer type the length of data that has been readltrest_lengt Integer type the length of data which has not been read in the bufferlterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPRXGET=+CIPRXGET (0-4)(0-9)(1-1500)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 263451

AT+CIPRXGET+CIPRXGET 1

OKAT+CIPRXGET=1OKAT+CIPRXGET=20100+CIPRXGET 2010013000123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789

OKAT+CIPRXGET=30100+CIPRXGET 30100120030313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839

OKAT+CIPRXGET=40+CIPRXGET 401200

OK

If set ltmodegt to 1 after receiving data the module will buffer it and report a URC as +CIPRXGET 1ltlink_numgt to notify the host Then host can retrieve data by AT+CIPRXGETIf set ltmodegt to 0 the received data will be outputted to COM port directly by URC as RECV FROMltIP ADDRESSgtltPORTgtltCRgtltLFgt+IPD(data length)ltCRgtltLFgtltdatagtIf the buffer is not empty and the module receives data again then it will not report a new URC until allthe received data has been retrieved by AT+CIPRXGET from bufferThe default value of ltmodegt is 0When ltmodegt is set to 1 and the 2-4 mode will take effectIf initially set ltmodegt to 1 after doing some data transmitting set ltmodegt to 0 then the buffered dataof the previously established connection will be output to the serial port directly and the maximumlength of output data at a time is 1500

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 264451

1127 AT+IPADDR Get IP address of PDP context

AT+IPADDR Get IP address of PDP context

Execution CommandAT+IPADDR

ResponseIf PDP context has been activated successfully response+IPADDR ltip_addressgt

OKElse response+IP ERROR Network not opened

ERRORParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltip_addressgt String type identifies the IP address of current active socket PDP

Example

AT+IPADDR+IPADDR 1071155118

OK

1128 AT+CIPHEAD Add an IP header when receiving data

AT+CIPHEAD Add an IP header when receiving dataTest CommandAT+CIPHEAD=

Response+CIPHEAD (0-1)

OKRead CommandAT+CIPHEAD

Response+CIPHEAD ltmodegt

OKWrite CommandAT+CIPHEAD=ltmodegt

ResponseIf the parameter is correct responseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 265451

Else responseERROR

Execution CommandAT+CIPHEAD

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether adding an IP header or not whilereceiving data Default value is 10ndash not add IP header1ndash add IP header the format is +IPD(data length)

Example

AT+CIPHEAD=+CIPHEAD (0-1)

OKAT+CIPHEAD=0OK

1129 AT+CIPSRIP Show remote IP address and port

AT+CIPSRIP Show remote IP address and portTest CommandAT+CIPSRIP=

Response+CIPSRIP (0-1)

OKRead CommandAT+CIPSRIP

Response+CIPSRIP ltmodegt

OKWrite CommandAT+CIPSRIP=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 266451

Execution CommandAT+CIPSRIP

ResponseSet default value(ltmodegt=1)OK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type indicates whether to show IP address and port of serveror not when receiving data Default value is 10ndashnot show1ndashshowthe format is as follows

RECV FROMltIP ADDRESSgtltPORTgt

Example

AT+CIPSRIP=+CIPSRIP (0-1)

OKAT+CIPSRIP=1OK

11210 AT+CIPMODE Select TCPIP application mode

AT+CIPMODE Select TCPIP application modeTest CommandAT+CIPMODE=

Response+CIPMODE (0-1)

OKRead CommandAT+CIPMODE

Response+CIPMODE ltmodegt

OKWrite CommandAT+CIPMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPMODE

ResponseSet default value(ltmodegt=0)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 267451

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmodegt Integer type sets TCPIP application mode Default value is 00 ndash Non transparent mode1 ndash Transparent mode

Example

AT+CIPMODE=+CIPMODE (0-1)

OKAT+CIPMODE=1OK

11211 AT+CIPSENDMODE Set sending mode

AT+CIPSENDMODE Set sending modeTest CommandAT+CIPSENDMODE=

Response+CIPSENDMODE (0-1)

OKRead CommandAT+CIPSENDMODE

Response+CIPSENDMODE ltmodegt

OKWrite CommandAT+CIPSENDMODE=ltmodegt

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 268451

ltmodegt Integer type sets sending mode Default value is 00ndash Sending without waiting peer TCP ACK mode1ndash Sending wait peer TCP ACK mode

Example

AT+CIPSENDMODE=+CIPSENDMODE (0-1)

OKAT+CIPSENDMODE=1OK

11212 AT+CIPTIMEOUT Set TCPIP timeout value

AT+CIPTIMEOUT Set TCPIP timeout valueRead CommandAT+CIPTIMEOUT

Response+CIPTIMEOUTltnetopen_timeoutgtltcipopen_timeoutgtltcipsend_timeoutgt

OKWrite CommandAT+CIPTIMEOUT=[ltnetopen_timeoutgt][[ltcipopen_timeoutgt][[ltcipsend_timeoutgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltnetopen_timeoutgt Integer type timeout value for AT+NETOPENDefault is120000ms Range is 3000ms-120000ms

ltcipopen_timeoutgt Integer type timeout value for AT+CIPOPENDefault is120000ms Range is 3000ms-120000ms

ltcipsend_timeoutgt Integer type timeout value for AT+CIPSENDDefault is120000ms Range is 3000ms-120000ms

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 269451

AT+CIPTIMEOUT+CIPTIMEOUT 300002000040000

OKAT+CIPTIMEOUT=300002000040000OK

11213 AT+CIPCCFG Configure parameters of socket

AT+CIPCCFG Configure parameters of socketTest CommandAT+CIPCCFG=

Response+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKRead CommandAT+CIPCCFG

Response+CIPCCFGltNmRetrygtltDelayTmgtltAckgtlterrModegtltHeaderTypegtltAsyncModegtltTimeoutValgt

OKWrite CommandAT+CIPCCFG=[ltNmRetrygt][[ltDelayTmgt][[ltAckgt][[lterrModegt][[ltHeaderTypegt][[ltAsyncModegt][[ltTimeoutValgt]]]]]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Execution CommandAT+CIPCCFG

ResponseSet default valueOK

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltNmRetrygt Integer type number of retransmission to be made for an IP packetRange is 0-10 The default value is 10

ltDelayTmgt Integer type number of milliseconds to delay to output data ofReceiving Range is 0-1000 The default value is 0

ltAckgt Integer type it can only be set to 0Itrsquos used to be compatible with old TCPIP command set

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 270451

lterrModegt Integer type sets mode of reporting lterr_infogt default value is 10 error result code with numeric values1 error result code with string values

ltHeaderTypegt Integer type select which data header is used when receiving data itonly takes effect in multi-client mode Default value is 00 add data header the format is +IPDltdata lengthgt1 add data header the format is +RECEIVEltlink numgtltdatalengthgt

ltAsyncModegt Integer type range is 0-1 Default value is 0Itrsquos used to be compatible with old TCPIP command set

ltTimeoutValgt Integer type set the minimum retransmission timeout value for TCPconnection Range is 500ms-120000ms Default is 500ms

Example

AT+CIPCCFG=+CIPCCFG (0-10)(0-1000)(0)(0-1)(0-1)(0-1)(500-120000)

OKAT+CIPCCFG=35000111500OK

11214 AT+SERVERSTART Startup TCP server

AT+SERVERSTART Startup TCP serverTest CommandAT+SERVERSTART=

Response+SERVERSTART (0-65535)(0-3)

OKRead CommandAT+SERVERSTART

ResponseIf the PDP context has not been activated successfully response+CIPERROR lterrgt

ERRORIf there exists opened server response[+SERVERSTART ltserver_indexgtlt portgthellip]

OKOtherERROR

Write Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 271451

AT+SERVERSTART=ltportgtltserver_indexgt

If there is no error responseOKIf the PDP context has not been activated or the server identified byltserver_indexgt has been opened or the parameter is not correct orother errors response+CIPERROR lterrgt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltportgt Integer type identifies the listening port of module when used as aTCP server Range is 0-65535

ltserver_indexgt Integer type the TCP server index range is 0-3

Example

AT+SERVERSTART=+SERVERSTART (0-65535)(0-3)

OKAT+SERVERSTART=80801OK

After the AT+SERVERSTART executes successfully an unsolicited result code is returned when aclient tries to connect with module and module accepts request The unsolicited result code is+CLIENTlt link_numgtltserver_indexgtltclient_IPgtltportgt

11215 AT+SERVERSTOP Stop TCP server

AT+SERVERSTOP Stop TCP serverWrite CommandAT+SERVERSTOP=ltserver_indexgt

ResponseIf there exists open connection with the server identified byltserver_indexgt or the server identified by ltserver_indexgt has not

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 272451

been opened or the parameter is incorrect response+SERVERSTOP ltserver_indexgtlterrgt

ERRORIf the server socket is closed immediately response+SERVERSTOP ltserver_indexgt0

OK(In general the result is shown as below)If the server socket starts to close responseOK

+SERVERSTOP ltserver_indexgtlterrgtOtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltserver_indexgt Integer type the TCP server index range is 0-3lterrgt Integer type the result of operation0 is success other value is failure

Example

AT+SERVERSTOP=0+SERVERSTOP 00

OK

Before stopping a TCP server all sockets ltserver_indexgt of which equals to the closing TCP serverindex must be closed first

11216 AT+CIPACK QueryTCP connection data transmitting status

AT+CIPACK Query TCP connection data transmitting statusTest CommandAT+CIPACK=

Response+CIPACK (0-9)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 273451

OKWrite CommandAT+CIPACK=ltlink_numgt

ResponseIf the PDP context has not been activated or the connectionidentified by ltlink_numgt has not been established abnormallyclosed or the parameter is incorrect or other errors response+IP ERROR lterr_infogt

ERRORIf the connection has been established and the service type isTCP response+CIPACK ltsent_data_sizegtltack_data_sizegtltrecv_data_sizegt

OKParameter Saving Mode -Max Response Time -Reference -

Defined Values

ltlink_numgt Integer type identifies a connection Range is 0-9ltsent_data_sizegt Integer type the total length of sent dataltack_data_sizegt Integer type the total length of acknowledged dataltrecv_data_sizegt Integer type the total length of received datalterr_infogt String type displays the cause of occurring error please refer to

Chapter 115 for details

Example

AT+CIPACK=+CIPACK (0-9)

OKAT+CIPACK=0+CIPACK 16165

OK

113 DNS amp PING

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 274451

1131 AT+CDNSGIP Query the IP address of given domain name

AT+CDNSGIP Query the IP address of given domain nameTest CommandAT+CDNSGIP=

ResponseOK

Write CommandAT+CDNSGIP=ltdomainnamegt

ResponseIf the given domain name has related IP response+CDNSGIP 1ltdomain namegtltIP addressgt

OKIf the given name has no related IP response+CDNSGIP 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type indicates the IP address corresponding to the domainname

ltdns error codegt Integer type indicates the error code10 DNS GENERAL ERROR

Example

AT+CDNSGIP=wwwbaiducom+CDNSGIP 1wwwbaiducom6113516921

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 275451

1132 AT+CDNSGHNAME Query the domain name of given IP address

AT+CDNSGHNAME Query the domain name of given IP addressTest CommandAT+CDNSGHNAME=

ResponseOK

Write CommandAT+CDNSGHNAME=ltIPaddressgt

ResponseIf the given IP address has related domain name response+CDNSGHNAME ltindexgtltdomain namegtltIP addressgt

OKIf the given IP address has no related domain name response+CDNSGHNAME 0ltdns error codegt

ERROROtherERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltdomain namegt String type (string should be included in quotation marks) indicatesthe domain name The maximum length of domain name is 254Valid characters allowed in the domain name area-z A-Z 0-9 -(hyphen) and A domain name is made up of onelabel name ormore label names separated by (eg AT+CDNSGIP=aabbcc)For labelnames separated by length of each label must be no morethan 63 characters The beginning character of the domain name andof labels should be an alphanumeric character

ltIP addressgt String type (string should be included in quotation marks) indicatesthe IP address corresponding to the domain name

ltdns error codegt Integer type which indicates the error code10 DNS GENERAL ERROR

ltindexgt Integer type which indicates DNS result indexThis value is always 1 if performing successfully Currently only thefirst record returned from the DNS server will be reported

Example

AT+CDNSGHNAME=5832231148+CDNSGHNAME 1mailsimcom5832231148

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 276451

1133 AT+CIPDNSSET Set DNS query parameters

AT+CIPDNSSET Set DNS query parametersRead CommandAT+CIPDNSSET

Response+CIPDNSSET 3300007

OKWrite CommandAT+CIPDNSSET=[ltmax_net_retriesgt][[ltnetopen_timeoutgt][[ltmax_query_retriesgt]]]

ResponseIf the parameter is correct responseOKElse responseERROR

Parameter Saving Mode -Max Response Time -Reference -

Defined Values

ltmax_net_retriesgt Integer type maximum retry times for opening PS network to performDNS query Range is 0-3 Default is 3

ltnetopen_timeoutgt Integer type timeout value for each opening PS network operationwhen performing DNS query Range is 3000ms-120000ms Defaultvalue is 30000ms

ltmax_query_retriesgt Integer type maximum retry times for performing DNS query usingUDP packet Range is 0-7 Default value is 7

Example

AT+CIPDNSSET+CIPDNSSET 1300003

OKAT+CIPDNSSET=1300001OK

1134 AT+CPING Ping destination address

AT+CPING Ping destination address

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 277451

Test CommandAT+CPING=

Response+CPING IP address (list of supportedltdest_addr_typegts)(1-100)(4-188)(1000-10000)(10000-100000)(16-255)

OKWrite CommandAT+CPING=ltdest_addrgtltdest_addr_typegt[ltnum_pingsgt[ltdata_packet_sizegt[ltinterval_timegt[ltwait_timegt[ltTTLgt]]]]]

ResponseOK

If pingrsquos result_type = 1+CPINGltresult_typegtltresolved_ip_addrgtltdata_packet_sizegtltrttgtltTTLgt

If pingrsquos result_type = 2+CPING ltresult_typegt

If pingrsquos result_type = 3+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

Parameter Saving Mode -Max Response Time -Reference -

Defined values

ltdest_addrgt The destination is to be pinged it can be an IP address or a domainname

ltdest_addr_typegt Integer type Address family type of the destination address1 ndash IPv42 ndash IPv6(reserved)

ltnum_pingsgt Integer type The num_pings specifies the number of times the pingrequest (1-100) is to be sent The default value is 4

ltdata_packet_sizegt Integer type Data byte size of the ping packet (4-188) The defaultvalue is 64 bytes

ltinterval_timegt Integer type Interval between each ping Value is specified inmilliseconds (1000ms-10000ms) The default value is 2000ms

ltwait_timegt Integer type Wait time for ping response A ping response receivedafter the timeout shall not be processed Value specified inmilliseconds (10000ms-100000ms) The default value is 10000ms

ltTTLgt Integer type TTL (Time-To-Live) value for the IP packet over which theping (ICMP ECHO Request message) is sent (16-255) the defaultvalue is 255

ltresult_typegt 1 ndash Ping success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 278451

2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTTltresolved_ip_addrgt Indicates the resolved ip addressltrttgt Round Trip Time

Example

AT+CPING=wwwbaiducom1464100010000255OK

+CPING 1119752175664410255

+CPING 1119752175664347255

+CPING 1119752175664346255

+CPING 1119752175664444255

+CPING 3440346444386

1135 AT+CPINGSTOP Stop an ongoing ping session

AT+CPINGSTOP Stop an ongoing ping sessionTest CommandAT+CPINGSTOP=

ResponseOK

Execution CommandAT+CPINGSTOP

Success response+CPINGltresult_typegtltnum_pkts_sentgtltnum_pkts_recvdgtltnum_pkts_lostgtltmin_rttgtltmax_rttgtltavg_rttgt

OKElseERROR

Parameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 279451

Max Response Time -Reference -

Defined values

ltresult_typegt 1 ndash Ping success2 ndash Ping time out3 ndash Ping result

ltnum_pkts_sentgt Indicates the number of ping requests that were sent outltnum_pkts_recvdgt Indicates the number of ping responses that were receivedltnum_pkts_lostgt Indicates the number of ping requests for which no response was

receivedltresolved_ip_addrgt Indicates the resolved ip addressltmin_rttgt Indicates the minimum Round Trip Time (RTT)ltmax_rttgt Indicates the maximum RTTltavg_rttgt Indicates the average RTT

Example

AT+CPINGSTOP+CPING 3220464947

OK

114 Information Elements related to TCPIP

Information Description+CIPEVENT NETWORK CLOSEDUNEXPECTEDLY

Network is closed for network error (Out of service etc)When this event happens userrsquos application needs to checkand close all opened sockets and then usesAT+NETCLOSE to release the network library ifAT+NETOPEN shows the network library is still opened

+IPCLOSEltclient_indexgtltclose_reasongt

Socket is closed passivelyltclient_indexgt is the link numberltclose_reasongt0 - Closed by local active1 - Closed by remote passive2 - Closed for sending timeout

+CLIENT ltlink_numgtltserver_indexgtltclient_IP

While TCP server accepted a new socket client the indexisltlink_numgt The TCP server index is ltserver_indexgt The

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 280451

gtltportgt peer IP address is ltclient_IPgt The peer port is ltportgt

115 Description of lterr_infogt

The fourth parameter lterrModegt of AT+CIPCCFG is used to determine how lterr_infogt is displayedIf lterrModegt is set to 0 the lterr_infogt is displayed with numeric valueIf lterrModegtis set to 1 the lterr_infogt is displayed with string valueThe default is displayed with string value

Numeric Value String Value21 Operation failed0 Connection time out1 Bind port failed2 Port overflow

3 Create socket failed

4 Network is already opened

5 Network is already closed

6 No clients connected

7 No active client

8 Network not opened

9 Client index overflow

10 Connection is already created

11 Connection is not created

12 Invalid parameter

13 Operation not supported

14 DNS query failed

15 TCP busy

16 Netclose failed for socket opened

17 Sending time out

18 Sending failure for network error

19 Open failure for network error

20 Server is already listening

22 No data

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 281451

116 Description of lterrgt

lterrgt Description of lterrgt0 Operation succeeded1 Network failure2 Network not opened3 Wrong parameter4 Operation not supported5 Failed to create socket6 Failed to bind socket7 TCP server is already listening8 Busy9 Sockets opened10 Timeout11 DNS parse failed for AT+CIPOPEN12 Unknown error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 282451

12AT Commands for FTP(S)

121 Overview of AT Commands for FTP(S)

Command DescriptionAT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTOP Stop FTP(S) ServiceAT+CFTPSLOGIN Login to a FTP(S) serverAT+CFTPSLOGOUT Logout FTP(S) serverAT+CFTPSMKD Create a new directory on FTP(S) serverAT+CFTPSRMD Delete a directory on FTP(S) serverAT+CFTPSDELE Delete a file on FTP(S) serverAT+CFTPSCWD Change the current directory on FTP(S) serverAT+CFTPSPWD Get the current directory on FTP(S) serverAT+CFTPSTYPE Set the transfer type on FTP(S) serverAT+CFTPSLIST List the items in the directory on FTP(S) serverAT+CFTPSGETFILE Get a file from FTP(S) server to moduleAT+CFTPSPUTFILE Put a file from module to FTP(S) serverAT+CFTPSGET Get a file from FTP(S) server to serial portAT+CFTPSPUT Put a file to FTP(S) server through serial portAT+CFTPSSINGLEIP Set FTP(S) data socket address typeAT+CFTPSCACHERD Output cached data to MCUAT+CFTPSABORT Abort FTP(S) operationsAT+CFTPSSIZE Get the File Size on FTP(S) server

122 Detailed Description of AT Commands for FTP(S)

1221 AT+CFTPSSTART Start FTP(S) service

AT+CFTPSSTART Start FTP(S) serviceExecution Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 283451

AT+CFTPSSTART OK

+CFTPSSTART lterrcodegtor+CFTPSSTART lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of start FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTARTOK

+CFTPSSTART 0

1222 AT+CFTPSSTOP Stop FTP(S) Service

AT+CFTPSSTOP Stop FTP(S) ServiceExecution CommandAT+CFTPSSTOP

ResponseOK

+CFTPSSTOP lterrcodegtor+CFTPSSTOP lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 284451

Defined Values

lterrcodegt The result of stop FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSSTOPOK

+CFTPSSTOP 0

1223 AT+CFTPSLOGIN Login to a FTP(S) server

AT+CFTPSLOGIN Login to a FTP(S) serverTest CommandAT+CFTPSLOGIN=

Response+CFTPSLOGINADDRESS(1-65535)[USERNAMEPASSWORD[(0-3)]]

OKWrite CommandAT+CFTPSLOGIN=lthostgtltportgtltusernamegtltpasswordgt[ltserver_typegt]

ResponseOK

+CFTPSLOGIN lterrcodegtor+CFTPSLOGIN lterrcodegt

OKor+CFTPSLOGIN lterrcodegt

ERRORorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lthostgt Host address string type maximum length is 256ltportgt The host listening port for FTP(S) the range is from 1 to 65535

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 285451

ltusernamegt FTP(S) user name string type maximum length is 256ltpasswordgt The user password string type maximum length is 256ltserver_typegt FTP(S)server typenumericfrom0-3default is 3

0 FTP server1 Explicit FTPS server with AUTH SSL2 Explicit FTPS server with AUTH TLS3 Implicit FTPS server

lterrcodegt The result code of the FTPFTPS login 0 is success Others arefailure please refer to chapter 1231

Example

AT+CFTPSLOGIN=112749316321tmftmf1230OK

+CFTPSLOGIN 0

1224 AT+CFTPSLOGOUT Logout FTP(S) server

AT+CFTPSLOGOUT Logout FTP(S) serverTest CommandAT+CFTPSLOGOUT=

ResponseOK

Execution CommandAT+CFTPSLOGOUT

ResponseOK

+CFTPSLOGOUT lterrcodegtor+CFTPSLOGOUT lterrcodegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result code of the FTPFTPS logout 0 is success Others arefailure please refer to chapter 1231

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 286451

Example

AT+CFTPSLOGOUTOK

+CFTPSLOGOUT 0

1225 AT+CFTPSMKD Create a new directory on FTP(S) server

AT+CFTPSMKD Create a new directory on FTP(S) serverTest CommandAT+CFTPSMKD=

Response+CFTPSMKD DIR

OKWrite CommandAT+CFTPSMKD=ltdirgt

ResponseOK

+CFTPSMKD 0orOK

+CFTPSMKD lterrcodegt

orERRORor+CFTPSMKD lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgt The directory to be created string type maximum length is 256lterrcodegt The result of create directory 0 is success others are failure please

refer to chapter 1231

Example

AT+CFTPSMKD=TEST

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 287451

OK

+CFTPSMKD 0

1226 AT+CFTPSRMD Delete a directory on FTP(S) server

AT+CFTPSRMD Delete a directory on FTP(S) serverTest CommandAT+CFTPSRMD=

Response+CFTPSRMD DIR

OKWrite CommandAT+CFTPSRMD=ltdirgt

Response1)if delete the directory successfullyOK

+CFTPSRMD 02)if delete the directory failedOK

+CFTPSRMD lterrcodegt3) if parameter format or any errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be removed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type maximum length is 256

lterrcodegtThe result of remove directory 0 is success others are failure pleaserefer to chapter 1231

Example

AT+CFTPSRMD=testOK

+CFTPSRMD 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 288451

1227 AT+CFTPSDELE Delete a file on FTP(S) server

AT+CFTPSDELE Delete a file on FTP(S)serverTest CommandAT+CFTPSDELE=

Response+CFTPSDELE FILENAME

OKWrite CommandAT+CFTPSDELE=ltfilenamegt

Response1)if delete file successfullyOK

+CFTPSDELE 02)if failedOK

+CFTPSDELE lterrcodegt3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt The name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegt The result of delete a file 0 is success others are failureplease referto chapter 1231

Example

AT+CFTPSDELE=TESTtxtOK

+CFTPSDELE 0

1228 AT+CFTPSCWD Change the current directory on FTP(S) server

AT+CFTPSCWD Change the current directory on FTP(S) serverTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 289451

AT+CFTPSCWD= +CFTPSCWD DIR

OKWrite CommandAT+CFTPSCWD=ltdirgt

Response1)if delete file successfullyOK

+CFTPSCWD 02)if failedOK

+CFTPSCWD lterrcodegt2)if failed+CFTPSCWD lterrcodegt

ERROR3)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be changed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change the current directory 0 is success others arefailure please refer to chapter 1231

Example

AT+CFTPSCWD=luliuTEST7600

OK

+CFTPSCWD 0

1229 AT+CFTPSPWD Get the current directory on FTP(S) server

AT+CFTPSPWD Get the current directory on FTP(S) serverExecution CommandAT+CFTPSPWD

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 290451

+CFTPSPWD ltdirgtor+CFTPSPWD ltdirgt

OKor+CFTPSPWD lterrcodegt

ERRORorOK

+CFTPSPWD lterrcodegtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe name of the file to be deleted If the file name contains non-ASCIIcharacters the ltfilenamegt parameter should contain a prefix ofnon-asciiString typethe maximum length is 256

lterrcodegtThe result of change current directory 0 is success others are failureplease refer to chapter 1231

Example

AT+CFTPSPWDOK

+CFTPSPWD test12

12210 AT+CFTPSTYPE Set the transfer type on FTP(S) server

AT+CFTPSTYPE Set the transfer type on FTP(S) serverTest CommandAT+CFTPSTYPE=

Response+CFTPSTYPE (AI)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 291451

Read CommandAT+CFTPSTYPE

Response+CFTPSTYPE lttypegt

OKWrite CommandAT+CFTPSTYPE=lttypegt

Responsea)if set type successfullyOK

+CFTPSTYPE 0b)if set type failedOK

+CFTPSTYPE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

lttypegtThe type of transferringA ASCIII Binary

lterrcodegtThe result of set type 0 is success others are failure please refer tochapter 1231

Example

AT+CFTPTYPE=AOK

+CFTPSTYPE 0

12211 AT+CFTPSLIST List the items in the directory on FTP(S) server

AT+CFTPSLIST List the items in the directory on FTP(S) serverWrite CommandAT+CFTPSLIST[=ltdirgt]

Responsea)if set type successfullyOK

+CFTPSLIST DATAltlengthellip+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 292451

b)if set type failedOK

+CFTPSLIST lterrcodegtc)if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdirgtThe directory to be listed If the directory contains non-ASCIIcharacters the ltdirgt parameter should contain a prefix ofnon-asciiString type the maximum length is 256

lterrcodegtThe result code of the listing0 is success others are failurepleaserefer to chapter1231

Example

AT+CFTPSLIST=OK

+CFTPSLIST DATA1480-rw-r--r-- 1 ftp ftp 10 Mar 191351 111TXT-rw-r--r-- 1 ftp ftp 7 Mar 181039 1111txt-rw-r--r-- 1 ftp ftp 10240 Mar 231020 112txt-rw-r--r-- 1 ftp ftp 10 Mar 161526 11K4txt-rw-r--r-- 1 ftp ftp 1434 Mar 181047 1434Btxt-rw-r--r-- 1 ftp ftp 307200 Mar 181040 300Ktxt-rw-r--r-- 1 ftp ftp 9 Mar 181053 333txt-rw-r--r-- 1 ftp ftp 16 Mar 171411 36txt

+CFTPSLIST 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 293451

12212AT+CFTPSGETFILE Get a file from FTP(S) server to module

AT+CFTPSGETFILE Get a file from FTP(S) server to moduleTest CommandAT+CFTPSGETFILE=

Response+CFTPSGETFILE [non-ascii]FILEPATH[(1-4)]

OKWrite CommandAT+CFTPSGETFILE=ltfilepathgt[ltdirgt[ltoffsetgt]]

Responsea) if download file successfully OK

+CFTPSGETFILE 0b) if failedOK

+CFTPSGETFILE lterrcodegtc) if parameter format or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt

The remote file path When the file path doesnrsquot contain thiscommand transfers file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parametershould contain a prefix of non-asciiString type maximum length is256

ltdirgt

The directory to save the downloaded fileNumeric type range is1-4default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

ltoffsetgtInteger type the download start position used forresume-from-break-point

lterrcodegtThe result code of download file from FTP(s) server0 is successothers are failureplease refer to chapter 1231

Example

AT+CFTPSGETFILE=settingsdat3OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 294451

+CFTPSGETFILE 0

12213 AT+CFTPSPUTFILE Put a file from module to FTP(S) server

AT+CFTPSPUTFILE Put a file from module to FTP(S) serverTest CommandAT+CFTPSPUTFILE=

Response+CFTPSPUTFILE[non-ascii]FILEPATH[(1-3)(0-2147483647)]

OKWrite CommandAT+CFTPSPUTFILE=ltfilepathgt[ltdirgt[ltrest_sizegt]]

Responsea)if upload file successfully OK

+CFTPSPUTFILE 0b)if failedOK

+CFTPSPUTFILE lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Valuesltfilepathgt The remote file path When the file path doesnrsquot contain this

command transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdirgt The directory that contains the uploaded file Numeric type range is1-3 default is 1(cache)1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload file to FTP(S)server0 is success others arefailureplease refer to chapter1231

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 295451

AT+CFTPSPUTFILE=LKLMsim_ZXXTXTOK

+CFTPSPUTFILE 0

12214 AT+CFTPSGET Get a file from FTP(S) server to serial port

AT+CFTPSGET Get a file from FTP(S) server to serial portTest CommandAT+CFTPSGET=

Response+CFTPSGET [non-ascii]FILEPATH[ltrest_sizegt[(01)]]

OKWrite CommandAT+CFTPSGET=ltfilepathgt[ltrest_sizegt[ltusing_cachegt]]

Responsea)ifltusing_cachegt is 0(default)and get file successfully

OK

+CFTPSGET DATAltlengthellip+CFTPSGET DATA ltlengthelliphellip+CFTPSGET 0b) if ltusing_cachegt is 1 and get file successfullyOK

+CFTPS RECV EVENT

AT+CFTPSCACHERDyou can use this command to check the size of the received data+CFTPSCACHERD 102400

OK

output cached data nowAT+CFTPSCACHERD+CFTPSGET DATAltlengthellipOKhellip+CFTPSGET 0c)if failed

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 296451

OK

+CFTPSGET lterrcodegtParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfer file from the current remote FTPS directory If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

ltusing_cachegt Numeric rang is 0-10ndashDo not use cache module will output the items data to serial portwhen list successfully1 ndash Use cache module will report +CFTPS RECV EVENT when listsuccessfully (Data will be output using AT+CFTPSCACHERDcommand)

lterrcodegt The result code of download file from FTP(s) server0 is successothers are failure please refer to chapter 1231

Example

AT+CFTPSGET=BBBTXTOK

+CFTPSGET DATA110FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH+CFTPSGET 0

12215 AT+CFTPSPUT Put a file to FTP(S) server through serial port

AT+CFTPSPUT Put a file to FTP(S) server through serial portTest Command Response

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 297451

AT+CFTPSPUT= +CFTPSPUT [non-ascii]FILEPATH[ltdata_lengt[ltrest_sizegt]]

OKWrite CommandAT+CFTPSPUT=ltfilepathgt[ltdata_lengt[ltrest_sizegt]]

Responsea)if upload file through serial port successfullyOK

+CFTPSPUT 0

b)if failed before input data+CFTPSPUT lterrcodegt

ERROR

c)if failed after input dataOK

+CFTPSPUT lterrcodegtd)if parameter format i or any other errorsERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote file path When the file path doesnrsquot contain thiscommand transfers file to the current remote FTPS directory If the filepath contains non-ASCII characters the file path parameter shouldcontain a prefix of non-asciiString type maximum length is 256

ltdata_lengt Numeric typeThe length of the data to send the maximum length is2048if parameterltdata_lengt is omitted Each ltCtrl+Zgtcharacterpresent in the data flow of serial port when downloading FTP data willbe coded as ltETXgtltCtrl+Zgt Each ltETXgt character will be coded asltETXgtltETXgt Single ltCtrl+Zgt means end of the FTP dataltETXgt is0x03 and ltCtrl+Zgt is 0x1A

ltrest_sizegt The value for FTP REST command which is used for broken transferwhen transferring failed last time Numeric type the range is from 0to 2147483647

lterrcodegt The result code of upload data to FTP(s) server0 is success othersare failure please refer to chapter 1231

Example

AT+CFTPSPUT=LKLMLOTXT

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 298451

gt123457860OK

+CFTPSPUT 0

12216 AT+CFTPSSINGLEIP Set FTP(S) data socket address type

AT+CFTPSSINGLEIP Set FTP(S) data socket address typeTest CommandAT+CFTPSSINGLEIP=

Response+CFTPSSINGLEIP (01)

OKRead CommandAT+CFTPSSINGLEIP

Response+CFTPSSINGLEIP ltsingleipgt

OKWrite CommandAT+CFTPSSINGLEIP=ltsingleipgt

ResponseIf parameter format is right and set successfullyOK

If parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsingleipgtThe FTPS data socket IP address type0 decided by PORT response from FTPS server1 the same as the control socket

Example

AT+CFTPSSINGLEIP=1OK

12217 AT+CFTPSCACHERD Output cached data to MCU

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 299451

AT+CFTPSCACHERD Output cached data to MCURead CommandAT+CFTPSCACHERD

Response+CFTPSCACHERD ltlengt

OKExecution CommandAT+CFTPSCACHERD

ResponseIf cache data is AT+CFTPSGET and everything goes well

+CFTPSGET DATAltout_lengtltCRgtltLFgthellip

OKorOK

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltlengt Numeric type The bytes of data cached in FTPS module

ltout_lengtThe bytes of data to output The maximum value is 1024 for eachAT+CFTPSCACHERD calling

Example

AT+CFTPSCACHERD+CFTPSCACHERD 21078

OK

12218 AT+CFTPSABORT Abort FTP(S) Operations

AT+CFTPSABORT Abort FTP(S) OperationsExecution CommandAT+CFTPSABORT

Responseif abort FTP(S) operation successfullyOK

+CFTPSABORT 0

sometimes abort successfully returns+CFTPSABORT 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 300451

OK

if failedOK

+CFTPSABORT lterrcodegt

if any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

lterrcodegt The result of abort FTP(S) service0 is success others are failurePlease refer to chapter 1231

Example

AT+CFTPSABORTOK

+CFTPSABORT 0

12219 AT+CFTPSSIZE Get the File Size on FTP(S) server

AT+CFTPSSIZE Get the File Size on FTP(S) serverTest CommandAT+CFTPSSIZE=

Response+CFTPSSIZE ltfilepathgt

OKWrite CommandAT+CFTPSSIZE=ltfilepathgt

ResponseOK

+CFTPSSIZE ltfilesizegtorOK

+CFTPSSIZE lterrcodegtor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 301451

ERRORor+CFTPSSIZE lterrcodegt

ERRORParameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilepathgt The remote filepath on FTP(S) serverString typemax length is 256ltfilesizegt Numeric typesize of the remote file on FTP(S) serverlterrcodegt The result code of get file size Please refer to chapter 1231

Example

AT+CFTPSSIZE=TESTtxtOK

+CFTPSSIZE 1024

123 Summary of result codes for FTPS

1231 Summary of Command result lterrcodegt

Code of lterrcodegt Meaning0 Success1 SSL alert2 Unknown error3 Busy4 Connection closed by server5 Timeout6 Transfer failed7 File not exists or any other memory error8 Invalid parameter9 Operation rejected by server10 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 302451

11 State error12 Failed to parse server name13 Create socket error14 Connect socket failed15 Close socket failed16 SSL session closed17 File errorfile not exist or other error421 Server response connection time out while received error code

421you need do AT+CFTPSLOGOUT to logout server thenAT+CFTPSLOGIN again for further operations

1232 Summary of Unsolicited Result Codes

Unsolicited codes Description+CFTPSNOTIFY PEERCLOSED

When client disconnect passively URC +CFTPSNOTIFY PEERCLOSED will be reported then user need to executeAT+CFTPSLOGOUT andlog in again

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 303451

13AT Commands for HTTPS

131 Overview of AT Commands for HTTPS

Command DescriptionAT+HTTPINIT Start HTTP(S) serviceAT+HTTPTERM Stop HTTP(S) serviceAT+HTTPPARA Set HTTP(S) Parameters valueAT+HTTPACTION HTTP(S) Method ActionAT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseAT+HTTPREAD Read the response Information of HTTP(S) ServerAT+HTTPDATA Input HTTP(S) DataAT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileAT+HTTPREADFILE Receive HTTP(S) Response Content to a file

132 DetailedDescription of AT Commands for HTTPS

1321 AT+HTTPINIT Start HTTP(S) service

AT+HTTPINIT is used to start HTTP service by activating PDP context You must execute AT+HTTPINITbefore any other HTTP related operations

AT+HTTPINIT Start HTTP(S) serviceExecution CommandAT+HTTPINIT

Responsea)If start HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 304451

AT+HTTPINITOK

1322 AT+HTTPTERM Stop HTTP(S) Service

AT+HTTPTERM is used to stop HTTP service

AT+HTTPTERM Stop HTTP(S) serviceExecution CommandAT+HTTPTERM

Responsea)If stop HTTP service successfullyOKb)If failedERROR

Parameter Saving Mode -

Max Response Time 120000msReference

Example

AT+HTTPTERMOK

1323 AT+HTTPPARA Set HTTP(S) Parameters value

AT+HTTPPARA is used to set HTTP parameters value When you want to access to a HTTP server youshould input ltvaluegt like httprsquoserverrsquorsquopathrsquorsquotcpPortrsquo In addition httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquo is used toaccess to a HTTPS server

AT+HTTPPARA Set HTTP(S) Parameters valueWrite CommandAT+HTTPPARA=URLlturlgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=CONNECTTOltconn_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=RECVTOltrecv_timeoutgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occur

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 305451

ERRORWrite CommandAT+HTTPPARA=CONTENTltcontent_typegt

Responsea)If parameter format is rightOKb) If parameter format is not rightor other errors occurERROR

Write CommandAT+HTTPPARA=ACCEPTltaccept-typegt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=UAltuser_agentgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=SSLCFGltsslcfg_idgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=USERDATAltuser_datagt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKltbreakgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=BREAKENDltbreakendgt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Write CommandAT+HTTPPARA=VERSIONltversiongt

Responsea)If parameter format is rightOKb) If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time 120000msReference

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 306451

Defined Values

lturlgt URL of network resourceStringstart with http orhttpsa)httprsquoserverrsquorsquopathrsquorsquotcpPortrsquob)httpsrsquoserverrsquorsquopathrsquorsquotcpPortrsquoserver DNS domain name or IP addresspath path to a file or directory of a servertcpPort http default value is 80https default value is 443(can beomitted)

ltconn_timeoutgt Timeout for accessing server Numeric type range is 20-120s defaultis 120s

ltrecv_timeoutgt Timeout for receiving data from server Numeric type range is 2-120sdefault is 10s

ltcontent_typegt This is for HTTP Content-Type tag String type max length is256default is textplain

ltaccept-typegt This is for HTTP Accept-type tag String type max length is256default is

ltuser_agentgt Parameter for HTTP header User-Agent informationString typemax length is 256

ltsslcfg_idgt This is setting SSL context id Numeric type range is 0-9 Default is 0ltuser_datagt The customized HTTP header information String typemax length is

512ltbreakgt Parameter for HTTP method GET used for resuming broken

transfer The start of the broken transfer Default is 0ltbreakendgt Parameter for HTTP method GET used for resuming broken

transfer The end of the broken transfer Default is 0If both break and breakend are 0 the resume broken transferfunction is disabledIf breakend is bigger than break the transfer scope is from breakto breakendIf breakend is smaller than break the transfer scope is from breakto the end of the file

ltversiongt Parameter for HTTP version numeric type0 HTTP101 HTTP11

Example

AT+HTTPPARA=USERDATASOK

1324 AT+HTTPACTION HTTP(S) Method Action

AT+HTTPACTION is used to perform a HTTP Method You can use HTTPACTION to send a getpost

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 307451

request to a HTTPHTTPS server

AT+HTTPACTION HTTP(S) Method ActionTest CommandAT+HTTPACTION=

Response+HTTPACTION (0-3)

OKWrite CommandAT+HTTPACTION=ltmethodgt

Responsea)If parameter format is right OK

+HTTPACTION ltmethodgtltstatuscodegtltdatalengtb)If parameter format is not right or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltmethodgt HTTP method specification0 GET1 POST2 HEAD3 DELETE

ltstatuscodegt Please refer to chapter 1331ltdatalengt The length of data received

Example

AT+HTTPACTION=1OK

+HTTPACTION 12002800

1325 AT+HTTPHEAD Read the HTTP(S) Header Information of Server Response

AT+HTTPHEAD Read the HTTP(S) Header Information of Server ResponseExecution CommandAT+HTTPHEAD

Responsea)If read the header information successfully+HTTPHEAD DATAltdata_lengtltdatagt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 308451

OKb)If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltdata_lengt The length of HTTP headerltdatagt The header information of HTTP response

Example

AT+HTTPHEAD+HTTPHEAD DATA750HTTP11 200 OKDate Thu 29 Mar 2018 092112 GMTContent-Type texthtmlContent-Length 14615Last-Modified Thu 15 Mar 2018 082300GMTConnection Keep-AliveVary Accept-EncodingSet-CookieBAIDUID=EF38663A5539EBEAE702321037D5491BFG=1 expires=Thu 31-Dec-37235555 GMT max-age=2147483647 path=domain=baiducomSet-CookieBIDUPSID=EF38663A5539EBEAE702321037D5491B expires=Thu 31-Dec-37 235555GMT max-age=2147483647 path=domain=baiducomSet-Cookie PSTM=1522315272expires=Thu 31-Dec-37 235555 GMTmax-age=2147483647 path=domain=baiducomP3P CP= OTI DSP COR IVA OUR IND COM Server BWS11X-UA-Compatible IE=Edgechrome=1Pragma no-cacheCache-control no-cacheAccept-Ranges bytes

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 309451

OK

1326 AT+HTTPREAD Read the Response Information of HTTP(S) Server

After sending HTTP(S) GETPOST requests you can retrieve HTTP(S) response information from HTTP(S)server via UARTUSB port by AT+HTTPREAD When the ltdata_lengt of +HTTPACTIONltmethodgtltstatuscodegtltdata_lengt is not equal to 0 you can read the response information from HTTP(S)server by AT+HTTPREAD You can execute AT+HTTPREAD to check the total data saved in buffer thenAT+HTTPREAD=ltbyte_sizegt to read out data to port If parameter ltbyte_sizegt is set greater than the sizeof data saved in buffer all data in buffer will output to port

AT+HTTPREAD Read the Response Information of HTTP(S) ServerRead CommandAT+HTTPREAD

Responsea)If check successfully+HTTPREAD LENltlengt

OKb)If failed(no more data other error)ERROR

Write CommandAT+HTTPREAD=ltstart_offsetgtltbyte_sizegt

Responsea)If read the response info successfullyOK

+HTTPREAD DATAltdata_lengtltdatagt[+HTTPREAD DATAltdata_lengtltdatagthellip]+HTTPREAD 0If ltbyte_sizegt is bigger than the data size received module will onlyreturn actual data sizeb) If read failedERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstart_offsetgt The start position of readingltbyte_sizegt The length of data to readltdata_lengt The actual length of read dataltdatagt Response content from HTTP server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 310451

ltlengt Total size of data saved in buffer

Example

AT+HTTPREAD=010OK

+HTTPREAD DATA10ltdoctyped+HTTPREAD 0

1327 AT+HTTPDATA Input HTTP(S) Data

You can use AT+HTTPDATA to input data to post when you send a HTTPHTTPS POST request

AT+HTTPDATA Input HTTP(S) DataWrite CommandAT+HTTPDATA=ltsizegtlttimegt

Response

a)if parameter format is right

DOWNLOAD

ltinput data heregt

When the total size of the inputted data reaches ltsizegt TA willreport the following code Otherwise the serial port will be blocked

OK

b)If parameter format is wrong or other errors occurERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltsizegt Size in bytes of the data to post range is 1- 153600 (bytes)lttimegt Maximum time in seconds to input data range is 10-65535

Example

AT+HTTPDATA=1410000DOWNLOAD1234567890qwerOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 311451

1328 AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by File

You can send HTTP request in a file via AT+HTTPPOSTFILE command The URL must be set byAT+HTTPPARA before executing AT+HTTPPOSTFILE command if set ltsend_headergt to 0 you cancustomize any HTTP request in the file module will send the file as HTTP header and body else if setltsend_headergt to 1 modlue will package a HTTP request itself the file will be sent as HTTP body Theparameter ltpathgt can be used to set the file directory When module has received response from HTTPserver it will report the following URC+HTTPPOSTFILE ltmethodgt[lthttpstatuscodegt[ltcontent_lengthgt]]Note 1The parameterltmethodgtltsend_headergtltpathgtcan be omitted the default value ofltsend_headergt is 0 the defaultltpathgtis 1 (cache)default method is 1 (POST)

AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) server by FileTest CommandAT+HTTPPOSTFILE=

Response+HTTPPOSTFILE ltfilenamegt[(1-3)[(0-3)[(0-1)]]]

OKWrite CommandAT+HTTPPOSTFILE=ltfilenamegt[ltpathgt][ltmethodgt][ltsend_headergt]

Responsea)if parameter format is right and server connected successfullya1 server response and content is not null

OK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegtltcontent_lengta2 server response but has no contentOK

+HTTPPOSTFILE ltmethodgtlthttpstatuscodegt0

b)if parameter format is right but server connected unsuccessfullyOK

+HTTPPOSTFILE ltmethodgtlterrcodegt0

c)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgtThe directory where the sent file saved Numeric type range is 1-31 ndash F (cache)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 312451

2 ndash D(sd card)3 ndash E (datamedia)

ltmethodgt

HTTP method specification0 ndash GET1ndash POST2ndash HEAD3ndash DELETE

lthttpstatuscodegt Please refer to chapter 1331lterrcodegt Please refer to chapter1332

ltsend_headergt

Send file as HTTP header and Body or Only as Body Numeric typethe range is 0-1 the default is 00 ndashSend file as HTTP header and body1 ndash Send file as Body

Example

AT+HTTPPOSTFILE=baidutxt3OK

+HTTPPOSTFILE 17140

1329 AT+HTTPREADFILE Receive HTTP(S) Response Content to a file

After execute AT+HTTPACTIONAT+HTTPOSTFILE command You can receive the HTTP server responsecontent to a file via AT+HTTPREADFILE Before AT+HTTPREADFILE executed+HTTPACTIONltmethodgtlthttpstatuscodegtltcontent_lengt or +HTTPPOSTFILElthttpsatuscodegtltcontent_lengt must be received The parameter ltpathgt can be used to set the directorywhere to save the file If omit parameter ltpathgt the file will be save to cacheNote by setting ltpathgt to 4 you can download CA files which is used for SSL verification details pleaserefer SIM7500_SIM7600_SIM7800 Series_SSL_AT_Commands_Manual

AT+HTTPREADFILE Receive HTTP(S) Response Content to a FileTest CommandAT+HTTPREADFILE=

Response+HTTPREADTFILE ltfilenamegt[(1-4)]

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 313451

Write CommandAT+HTTPREADFILE=ltfilenamegt[ltpathgt]

Responsea)if parameter format is right OK

+HTTPREADFILE ltresultgt

b)if parameter format is right+HTTPREADFILE ltresultgt

OK

c)if failed+HTTPREADFILE ltresultgt

ERROR

d)if parameter format is not right or any other error occursERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltfilenamegt String typefilename the max length is 64unitbyte

ltpathgt

1 ndash F (cache)2 ndash D(sd card)3 ndash E (datamedia)4 ndash mssl_cert(this is for CA file downloading)

Example

AT+HTTPREADFILE=baidutxt3OK

+HTTPREADFILE 0

133 Summary of result codes for HTTPS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 314451

1331 Summary of HTTP(S) Response Code

Code of lthttpstatuscodegt Meaning100 Continue101 Switching Protocols200 OK201 Created201 Accepted203 Non-Authoritative Information204 No Content205 Reset Content206 Partial Content300 Multiple Choices301 Moved Permanently302 Found303 See Other304 Not Modified305 Use Proxy307 Temporary Redirect400 Bad Request401 Unauthorized402 Payment Required403 Forbidden404 Not Found405 Method Not Allowed406 Not Acceptable407 Proxy Authentication Required408 Request Timeout409 Conflict410 Gone411 Length Required412 Precondition Failed413 Request Entity Too Large414 Request-URI Too Large415 Unsupported Media Type416 Requested range not satisfiable417 Expectation Failed500 Internal Server Error501 Not Implemented502 Bad Gateway

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 315451

503 Service Unavailable504 Gateway timeout505 HTTP Version not supported600 Not HTTP PDU601 Network Error602 No memory603 DNS Error604 Stack Busy

1332 Summary of HTTP(S) error Code

HTTP error code Meaning+HTTP_PEER_CLOSED Itrsquos a notification messagewhile receivedit means the connection

has been closed by server+HTTP_NONET_EVENT Itrsquos a notification messagewhile received it means now the

network is unavailable

Code of lterrcodegt Meaning0 Success701 Alert state702 Unknown error703 Busy704 Connection closed error705 Timeout706 Receivesend socket data failed707 File not exists or other memory error708 Invalid parameter709 Network error710 start a new ssl session failed711 Wrong state712 Failed to create socket713 Get DNS failed714 Connect socket failed715 Handshake failed716 Close socket failed717 No network error718 Send data timeout719 CA missed720 Server response timeout

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 316451

14AT Commands for MQTT(S)

141 Overview of AT Commands for MQTT(S)

Command DescriptionAT+CMQTTSTART Start MQTT serviceAT+CMQTTSTOP STOP MQTT serviceAT+CMQTTACCQ Acquire a clientAT+CMQTTREL Release a clientAT+CMQTTSSLCFG Set the SSL contextAT+CMQTTWILLTOPIC Input the will topicAT+CMQTTWILLMSG Input the will messageAT+CMQTTDISC Disconnect from serverAT+CMQTTCONNECT Connect to MQTT serverAT+CMQTTTOPIC Input the publish message topicAT+CMQTTPAYLOAD Input the publish message bodyAT+CMQTTPUB Publish a message to serverAT+CMQTTSUBTOPIC Input a subscribe message topicAT+CMQTTSUB Subscribe a message to serverAT+CMQTTUNSUBTOPIC Input a unsubscribe message topicAT+CMQTTUNSUB Unsubscribe a message to serverAT+CMQTTCFG Configure the MQTT Context

142 Detailed Description of AT Commands for MQTT(S)

1421 AT+CMQTTSTART Start MQTT service

AT+CMQTTSTART Start MQTT serviceExecution CommandAT+CMQTTSTART

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 317451

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

OKorERROR

+CMQTTSTART lterrgtor+CMQTTSTART lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTARTOK

+CMQTTSTART 0

It must be executed before any other MQTT related operations

1422 AT+CMQTTSTOP STOP MQTT service

AT+CMQTTSTOP STOP MQTT serviceExecution CommandAT+CMQTTSTOP

ResponseOK

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 318451

orERROR

+CMQTTSTOP lterrgtor+CMQTTSTOP lterrgt

ERRORorERROR

Defined Values

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSTOPOK

+CMQTTSTOP 0

1423 AT+CMQTTACCQ Acquire a client

AT+CMQTTACCQ Acquire a clientTest CommandAT+CMQTTACCQ=

Response+CMQTTACCQ (0-1)(1-128)(0-1)(3-4)

OKRead CommandAT+CMQTTACCQ

Response+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt+CMQTTACCQ ltclient_indexgtltclientIDgtltserver_typegtltmqtt_version gt

OKWrite CommandAT+CMQTTACCQ=ltclient_indexgtltclientIDgt[ltserver_typegt[ltmqtt_versiongt]]

ResponseOKor+CMQTTACCQ ltclient_indexgtlterrgt

ERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 319451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltclientIDgt The UTF-encoded string It specifies a unique identifier for the clientThe string length is from 1 to 128 bytes

ltserver_typegt A numeric parameter that identifies the server type The default valueis 00 - MQTT server with TCP1 - MQTT server with SSLTLS

ltmqtt_versiongt A numeric parameter that identifies the MQTT protocol version Thepermitted value is 3 or 43 - MQTT version 314 - MQTT version 311

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTACCQ=0client test004OK

It must be called before all commands about MQTT connect and after AT+CMQTTSTART

1424 AT+CMQTTREL Release a client

AT+CMQTTREL Release a clientTest CommandAT+CMQTTREL=

Response+CMQTTREL (0-1)

OKRead CommandAT+CMQTTREL

ResponseOK

Write CommandAT+CMQTTREL=ltclient_indexgt

ResponseOKor

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 320451

+CMQTTREL ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTREL=0OK

It can be called when client does not connect to server

1425 AT+CMQTTSSLCFG Set the SSL context

AT+CMQTTSSLCFG Set the SSL contextTest CommandAT+CMQTTSSLCFG=

Response+CMQTTSSLCFG (01)(0-9)

OKRead CommandAT+CMQTTSSLCFG

Response+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]+CMQTTSSLCFG ltsession_idgt[ltssl_ctx_index gt]

OKWrite CommandAT+CMQTTSSLCFG=ltsession_idgtltssl_ctx_indexgt

ResponseOKorERROR

Defined Values

ltsession_idgt A numeric parameter that identifies a client The range of permitted

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 321451

values is 0 to 1ltssl_ctx_indexgt The SSL context ID which will be used in the SSL connection Refer to

the ltssl_ctx_indexgt of AT+CSSLCFG

Example

AT+CMQTTSSLCFG=01OK

If you donrsquot set the SSL context by this command before connecting to server byAT+CMQTTCONNECT the CMQTTCONNECT operation will use the SSL context as same as indexltsession_idgt (the 1st parameter of AT+ CMQTTCONNECT) when connecting to the server

1426 AT+CMQTTWILLTOPIC Input the will topic

AT+CMQTTWILLTOPIC Input the will topicTest CommandAT+CMQTTWILLTOPIC=

Response+CMQTTWILLTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTWILLTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTWILLTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic The will topic should be UTF-encoded stringThe range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 322451

AT+CMQTTWILLTOPIC=015gtsimcomwilltopicOK

1427 AT+CMQTTWILLMSG Input the will message

AT+CMQTTWILLMSG Input the will messageTest CommandAT+CMQTTWILLMSG=

Response+CMQTTWILLMSG (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTWILLMSG=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTWILLMSG ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input data The will message should be UTF-encodedstring The range is from 1 to 1024 bytes

ltqosgt The qos value of the will message The range is from 0 to 2lterrgt The result code please refer to chapter1431

Example

AT+CMQTTWILLMSG=0170gtsimcomwillmessageOK

1428 AT+CMQTTDISC Disconnect from server

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 323451

AT+CMQTTDISC Disconnect from serverTest CommandAT+CMQTTDISC=

Response+CMQTTDISC (0-1)(060-180)

OKRead CommandAT+CMQTTDISC

Response+CMQTTDISC 0ltdisc_stategt+CMQTTDISC 1ltdisc_stategt

OKWrite CommandAT+CMQTTDISC=ltclient_indexgtlttimeoutgt

ResponseOK

+CMQTTDISC ltclient_indexgtlterrgtor+CMQTTDISC ltclient_indexgtlterrgt

OKor+CMQTTDISC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

lttimeoutgt The timeout value for disconnection The unit is second The range is60s to 180s The default value is 0s (not set the timeout value)

ltdisc_stategt 1 - disconnection0 - connection

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTDISC=0120OK

+CMQTTDISC 00

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 324451

1429 AT+CMQTTCONNECT Connect to MQTT server

AT+CMQTTCONNECT Connect to MQTT serverTest CommandAT+CMQTTCONNECT=

Response+CMQTTCONNECT (0-1)(9-256)(1-64800)(0-1)

OKRead CommandAT+CMQTTCONNECT

Response+CMQTTCONNECT0[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]+CMQTTCONNECT1[ltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]]

OKWrite CommandAT+CMQTTCONNECT=ltclient_indexgtltserver_addrgtltkeepalive_timegtltclean_sessiongt[ltuser_namegt[ltpass_wordgt]]

ResponseOK

+CMQTTCONNECT ltclient_indexgtlterrgtor+CMQTTCONNECT ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltserver_addrgt The string that described the server address and port The range ofthe string length is 9 to 256 bytes The string should be like thistcp1162471191655141 must begin with tcp If theltserver_addrgt not include the port the default port is 1883

ltkeepalive_timegt The time interval between two messages received from a client Theclient will send a keep-alive packet when there is no message sent toserver after song long time The range is from 1s to 64800s (18 hours)

ltclean_sessiongt The clean session flag The value range is from 0 to 1 and defaultvalue is 00 - the server must store the subscriptions of the client after itdisconnected This includes continuing to store QoS 1 and QoS 2messages for the subscribed topics so that they can be deliveredwhen the client reconnects The server must also maintain the state of

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 325451

in-flight messages being delivered at the point the connection is lostThis information must be kept until the client reconnects1 - the server must discard any previously maintained informationabout the client and treat the connection as clean The server mustalso discard any state when the client disconnects

ltuser_namegt The user name identifies the name of the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

ltpasswordgt The password corresponding to the user which can be used forauthentication when connecting to server The string length is from 1to 256 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTCONNECT=0tcphooleepingcom8883601OK

+CMQTTCONNECT 00

If you donrsquot set the SSL context by AT+CMQTTSSLCFG before connecting a SSLTLS MQTT server byAT+CMQTTCONNECT it will use the ltclient_indexgt (the 1st parameter of AT+CMQTTCONNECT)SSL context when connecting to the server

14210AT+CMQTTTOPIC Input the publish message topic

AT+CMQTTTOPIC Input the publish message topicTest CommandAT+CMQTTTOPIC=

Response+CMQTTTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTTOPIC ltclient_indexgtlterrgt

ERROR

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 326451

orERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTTOPIC=011gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTPUB

14211 AT+CMQTTPAYLOAD Input the publish message body

AT+CMQTTPAYLOAD Input the publish message bodyTest CommandAT+CMQTTPAYLOAD=

Response+CMQTTPAYLOAD (0-1)(1-10240)

OKWrite CommandAT+CMQTTPAYLOAD=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOK+CMQTTPAYLOAD ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 327451

ltreq_lengthgt The length of input message data The publish message should beUTF-encoded string The range is from 1 to 10240 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPAYLOAD=013gtsimcompayloadOK

The payload will be clean after execute AT+CMQTTPUB

14212AT+CMQTTPUB Publish a message to server

AT+CMQTTPUB Publish a message to serverTest CommandAT+CMQTTPUB=

Response+CMQTTPUB (0-1)(0-2)(60-180)(0-1)(0-1)

OKWrite CommandAT+CMQTTPUB=ltclient_indexgtltqosgtltpub_timeoutgt[ltretainedgt [ltdupgt]]

ResponseOK

+CMQTTPUB ltclient_indexgtlterrgtor+CMQTTPUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltpub_timeoutgt The publishing timeout interval value Since the client publish amessage to server it will report failed if the client receive no response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 328451

from server after the timeout value seconds The range is from 60s to180s

ltretainedgt The retain flag of the publish message The value is 0 or 1 The defaultvalue is 0When a client sends a PUBLISH to a server if the retain flag is set to1 the server should hold on to the message after it has been deliveredto the current subscribers

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTPUB=00120OK

+CMQTTPUB 00

14213AT+CMQTTSUBTOPIC Input a subscribe message topic

AT+CMQTTSUBTOPIC Input a subscribe message topicTest CommandAT+CMQTTSUBTOPIC=

Response+CMQTTSUBTOPIC (0-1)(1-1024)(0-2)

OKWrite CommandAT+CMQTTSUBTOPIC=ltclient_indexgtltreq_lengthgtltqosgt

Responsegtltinput data heregtOKor+CMQTTSUBTOPIC ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should be

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 329451

UTF-encoded string The range is from 1 to 1024 bytes

NOTE The max length of the total cached topics is 5120ltqosgt The publish messagersquos qos The range is from 0 to 2

0 ndash at most once1 ndash at least once2 ndash exactly once

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUBTOPIC=0110gtsimcomtopicOK

The topic will be clean after execute AT+CMQTTSUB

14214AT+CMQTTSUB Subscribe a message to server

AT+CMQTTSUB Subscribe a message to serverTest CommandAT+CMQTTSUB=

Response+CMQTTSUB (0-1)(1-1024)(0-2)(0-1)

OKWrite Commandsubscribe one or more topicswhich input byAT+CMQTTSUBTOPICAT+CMQTTSUB=ltclient_indexgt[ltdupgt]

ResponseOK

+CMQTTSUB ltclient_indexgtlterrgtor+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command subcribe one topicAT+CMQTTSUB=ltclient_indexgtltreqLengthgtltqosgt[ltdupgt]

Responsegtltinput data heregtOK

+CMQTTSUB ltclient_indexgtlterrgt

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 330451

or+CMQTTSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltqosgt The publish messagersquos qos The range is from 0 to 20 ndash at most once1 ndash at least once2 ndash exactly once

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTSUB=0OK

+CMQTTSUB 00

14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message topic

AT+CMQTTUNSUBTOPIC Input a unsubscribe message topicTest CommandAT+CMQTTUNSUBTOPIC=

Response+CMQTTUNSUBTOPIC (0-1)(1-1024)

OKWrite CommandAT+CMQTTUNSUBTOPIC=ltclient_indexgtltreq_lengthgt

Responsegtltinput data heregtOKor+CMQTTUNSUBTOPIC ltclient_indexgtlterrgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 331451

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The publish message topic should beUTF-encoded string The range is from 1 to 1024 bytes

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUBTOPIC=011gtsimcomtopicOK

The max length of the total cached topics is 5120The topic will be clean after execute AT+CMQTTUNSUB

14216AT+CMQTTUNSUB Unsubscribe a message to server

AT+CMQTTUNSUB Unsubscribe a message to serverTest CommandAT+CMQTTUNSUB=

Response+CMQTTUNSUB (0-1)(1-1024)(0-1)

OKWrite Command unsubscribe one or moretopics which input byAT+CMQTTUNSUBTOPICAT+CMQTTUNSUB=ltclient_indexgtltdupgt

ResponseOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Write Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 332451

unsubscribe one topicAT+CMQTTUNSUB=ltclient_indexgtltreqLengthgtltdupgt

gtltinput data heregtOK

+CMQTTUNSUB ltclient_indexgtlterrgtor+CMQTTUNSUB ltclient_indexgtlterrgt

ERRORorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltreq_lengthgt The length of input topic data The message topic should beUTF-encoded string The range is from 1 to 1024 bytes

ltdupgt The dup flag to the message The value is 0 or 1 The default value is0 The flag is set when the client or server attempts to re-deliver amessage

lterrgt The result code please refer to chapter 1431

Example

AT+CMQTTUNSUB =00OK

+CMQTTUNSUB 00

14217AT+CMQTTCFG Configure the MQTT Context

AT+CMQTTCFG Configure the MQTT ContextTest CommandAT+CMQTTCFG=

Response+CMQTTCFG checkUTF8(0-1)(0-1)+CMQTTCFG optimeout(0-1)(20-120)+CMQTTCFGaliauth(0-1)productkeydevicenamedevicesecret

OKRead CommandAT+CMQTTCFG

Response+CMQTTCFG 0ltcheckUTF8_flaggtltoptimeout_valgt

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 333451

+CMQTTCFG 1ltcheckUTF8_flaggtltoptimeout_valgt

OKWrite CommandConfigure the check UTF8flag of the specified MQTTclient contextAT+CMQTTCFG=checkUTF8ltclient_indexgtltcheckUTF8_flaggt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the max timeoutinterval of the send or receivedata operationAT+CMQTTCFG=optimeoutltclient_indexgtltoptimeout_valgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Write CommandConfigure the deviceinformation for Alibaba cloudAT+CMQTTCFG=aliauthltclient_indexgtltproductkeygtltdevicenamegtltdevicesecretgt

ResponseOKor+CMQTTCFG ltclient_indexgtlterrgt

OKorERROR

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcheckUTF8_flaggt The flag to indicate whether to check the string is UTF8 coding or notthe default value is 10 ndash Not check UTF8 coding1 ndash Check UTF8 coding

ltoptimeout_valgt The max timeout interval of sending or receiving data operation Therange is from 20 seconds to 120 seconds the default value is 120seconds

ltproductkeygt String type Product key issued by Alibaba Cloudltdevicenamegt String type Device name issued by Alibaba Cloudltdevicesecretgt String type Device secret key issued by Alibaba Cloudlterrgt The result code please refer to chapter 1431

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 334451

AT+CMQTTCFG=checkUTF800OKAT+CMQTTCFG=optimeout0120OK

It must be called before AT+CMQTTCONNECT and after AT+CMQTTACCQ The setting will be clearedafter AT+CMQTTREL

143 Summary of result codes for MQTT(S)

1431 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 operation succeeded1 failed2 bad UTF-8 string3 sock connect fail4 sock create fail5 sock close fail6 message receive fail7 network open fail8 network close fail9 network not opened10 client index error11 no connection12 invalid parameter13 not supported operation14 client is busy15 require connection fail16 sock sending fail17 timeout18 topic is empty19 client is used20 client not acquired

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 335451

21 client not released22 length out of range23 network is opened24 packet fail25 DNS error26 socket is closed by server27 connection refused unaccepted protocol version28 connection refused identifier rejected29 connection refused server unavailable30 connection refused bad user name or password31 connection refused not authorized32 handshake fail33 not set certificate34 open SSL session failed

1432 Summary of Unsolicited Result Codes

Unsolicited codes Description+CMQTTCONNLOSTltclient_indexgtltcausegt

When client disconnect passively URC +CMQTTCONNLOSTwill be reported then user need to connect MQTT server again

+CMQTTPINGltclient_indexgtlterrgt

When send ping (which keep-alive to the server) to server failedthe module will report this URCIf received this message you should disconnect the connectionand re-connect

+CMQTTNONET When the network is become no network the module will reportthis URCIf received this message you should restart the MQTT service byAT+CMQTTSTART

+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt

for long topic split to multiplepackets to report[ltCRgtltLFgt+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtltsub_topicgt]+CMQTTRXPAYLOAD

If a client subscribes to one or more topics any messagepublished to those topics are sent by the server to the client Thefollowing URC is used for transmitting the message publishedfrom server to client1)+CMQTTRXSTARTltclient_indexgtlttopic_total_lengtltpayload_total_lengtAt the beginning of receiving published message the module willreport this to user and indicate client index with ltclient_indexgtthe topic total length with lttopic_total_lengt and the payload totallength with ltpayload_total_lengt2)+CMQTTRXTOPICltclient_indexgtltsub_topic_lengtrnltsub_topicgtAfter the command +CMQTTRXSTART received the module will

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 336451

ltclient_indexgtltsub_payload_lengtltsub_payloadgtfor long payload split to multiplepackets to report[+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtltsub_payloadgt]+CMQTTRXEND ltclient_indexgt

report the second message to user and indicate client index withltclient_indexgt the topic packet length with ltsub_topic_lengt andthe topic content with ltsub_topicgt after rnFor long topic it will be split to multiple packets to report and thecommand +CMQTTRXTOPIC will be send more than once withthe rest of topic content The sum of ltsub_topic_lengt is equal tolttopic_total_lengt3)+CMQTTRXPAYLOADltclient_indexgtltsub_payload_lengtrnltsub_payloadgtAfter the command +CMQTTRXTOPIC received the module willsend third message to user and indicate client index withltclient_indexgt the payload packet length withltsub_payload_lengt and the payload content with ltsub_payloadgtafter rnFor long payload the same as +CMQTTRXTOPIC4) +CMQTTRXEND ltclient_indexgtAt last the module will send fourth message to user and indicatethe topic and payload have been transmitted completely

Defined Values

ltclient_indexgt A numeric parameter that identifies a client The range of permittedvalues is 0 to 1

ltcausegt The cause of disconnection1 ndash Socket is closed passively2 ndash Socket is reset3 ndash Network is closed

lttopic_total_lengt The length of message topic received from MQTT server The range isfrom 1 to 1024 bytes

ltpayload_total_lengt The length of message body received from MQTT server The range isfrom 1 to 10240 bytes

ltsub_topic_lengt The sub topic packet length The sum of ltsub_topic_lengt is equal tolttopic_total_lengt

ltsub_topicgt The sub topic contentltsub_payload_lengt Max length is 1500 The sub message body packet length The sum of

ltsub_payload_lengt is equal to ltpayload_total_lengtltsub_payloadgt The sub message body contentlterrgt The result code please refer to chapter 1431

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 337451

15AT Commands for NTP

151 Overview of AT Commands for NTP

Command DescriptionAT+CNTP Update system time

152 Detailed Description of AT Commands for NTP

1521 AT+CNTP Update system time

AT+CNTP Update system timeTest CommandAT+CNTP=

Response+CNTP 255(-96~96)

OKRead CommandAT+CNTP

Response+CNTP lthostgtlttimezonegt

OK

Write CommandAT+CNTP=lthostgt[lttimezonegt]

ResponseOKorERROR

Execution CommandAT+CNTP

ResponseOK

+CNTP lterrgtorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 338451

Reference -

Defined Values

lthostgt NTP server addresslength is 255lttimezonegt Local time zonethe range is(-96 to 96) default value is 0

Example

AT+CNTP=202120210132OKAT+CNTPOK

+CNTP 0

1522 Unsolicited NTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error5 Time zone error6 Time out error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 339451

16AT Commands for HTP

161 Overview of AT Commands for HTP

Command DescriptionAT+CHTPSERV Set HTP server infoAT+CHTPUPDATE Updating date time using HTP protocol

162 Detailed Description of AT Commands for HTP

1621 AT+CHTPSERV Set HTP server info

AT+CHTPSERV Set HTP server infoTest CommandAT+CHTPSERV=

Response+CHTPSERV ADDHOST(1-65535)(0-1)[PROXY(1-65535)]+CHTPSERV DEL(0-15)

OK

Read CommandAT+CHTPSERV

Response+CHTPSERVltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]hellip+CHTPSERV ltindexgtlthostgtltportgtlthttp_versiongt[ltproxygtltproxy_portgt]

OKorOK (if HTP server not setted)

Write CommandAT+CHTPSERV=ltcmdgtlthost_or_idxgt[ltportgtlthttp_versiongt[ltproxygtltprox

ResponseOKorERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 340451

y_portgt]]

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltcmdgt This command to operate the HTP server listADD add a HTP server item to the listDEL delete a HTP server item from the list

lthost_or_idxgt If the ltcmdgt is ADD this field is the same as lthostgt needsquotation marks If the ltcmdgt is DEL this field is the index of theHTP server item to be deleted from the list does not need quotationmarks

lthostgt The HTP server addressltportgt The HTP server portlthttp_versiongt The HTTP version of the HTP server

0-HTTP 101-HTTP 11

ltproxygt The proxy addressltproxy_portgt The port of the proxyltindexgt The HTP server index

Example

AT+CHTPSERV=ADDwwwgooglecom801OK

1622 AT+CHTPUPDATE Updating date time using HTP protocol

AT+CHTPUPDATE Updating date time using HTP protocolTest CommandAT+CHTPUPDATE=

ResponseOK

Read CommandAT+CHTPUPDATE

Response+CHTPUPDATE ltstatusgt

OK

Execution CommandAT+CHTPUPDATE

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 341451

+CHTPUPDATE lterrgtorERROR

Parameter Saving Mode -

Max Response Time -Reference

Defined Values

ltstatusgt The status of HTP moduleUpdating HTP module is synchronizing date timeNULL HTP module is idle now

lterrgt The result of the HTP updating

Example

AT+CHTPUPDATEOK

+CHTPUPDATE 0

1623 Unsolicited HTP Codes

Code of lterrgt

Code of lterrgt Description0 Operation succeeded1 Unknown error2 Wrong parameter3 Wrong date and time calculated4 Network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 342451

17AT Commands for GPS

171 Overview of AT Commands for GPS

Command DescriptionAT+CGPS StartStop GPS sessionAT+CGPSINFO Get GPS fixed position informationAT+CGPSCOLD Cold start GPSAT+CGPSHOT Hot start GPSAT+CGPSURL Set AGPS default server URLAT+CGPSSSL Set AGPS transport securityAT+CGPSAUTO Start GPS automaticAT+CGPSNMEA Configure NMEA sentence typeAT+CGPSNMEARATE Set NMEA output rateAT+CGPSMD Configure AGPS MO methodAT+CGPSFTM Start GPS test modeAT+CGPSDEL Delete the GPS informationAT+CGPSXE EnableDisable GPS XTRA functionAT+CGPSXD Download XTRA assistant fileAT+CGPSXDAUTO Download XTRA assistant file automaticallyAT+CGPSPMD Configure positioning modeAT+CGPSMSB Configure based mode switch to standaloneAT+CGPSHOR Configure positioning desired accuracyAT+CGNSSINFO Get GNSS fixed position informationAT+CGNSSMODE Configure GNSS support mode

172 Detailed Description of AT Commands for GPS

1721 AT+CGPS StartStop GPS session

AT+CGPS StartStop GPS session

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 343451

Test CommandAT+CGPS=

Response+CGPS (scope ofltonoffgt)(scope ofltmodegt)

OKRead CommandAT+CGPS

Response+CGPS ltonoffgtltmodegt

OKWrite CommandAT+CGPS=ltonoffgt[ltmodegt]

ResponseOKIf UE-assisted mode when fixed will report indication+CAGPSINFO ltlatgtltlongtltaltgtltdategtlttimegtIf ltoffgt it will report indication+CGPS 0

Defined Values

ltonoffgt 0 stop GPS session1 start GPS session

ltmodegt Ignore - standalone mode1 standalone mode2 UE-based mode3 UE-assisted mode

ltlatgt Latitude of current position Unit is in 10^8 degreeltlongt Longitude of current position Unit is in 10^8 degreeltdategt UTC Date Output format is ddmmyyyylttimegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is meters

Example

AT+CGPS+CGPS 01

OKAT+CGPS=0OK

+CGPS 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 344451

1722 AT+CGPSINFO Get GPS fixed position information

AT+CGPSINFO Get GPS fixed position informationTest CommandAT+CGPSINFO=

Response+CGPSINFO (scope oflttimegt)

OKRead CommandAT+CGPSINFO

Response+CGPSINFO lttimegt

OKWrite CommandAT+CGPSINFO=lttimegt

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

If ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGPSINFO

ResponseOK

+CGPSINFO[ltlatgt][ltNSgt][ltlongt][ltEWgt][ltdategt][ltUTCtimegt][ltaltgt][ltspeedgt][ltcoursegt]

Defined Values

ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltlongt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course Degreeslttimegt The range is 0-255 unit is second after set lttimegt will report the GPS

information every the seconds

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 345451

AT+CGPSINFO=+CGPSINFO (0-255)

OKAT+CGPSINFO+CGPSINFO 0

OKAT+CGPSINFOOK

+CGPSINFO 3113343286N12121234064E2503110728093441000

1723 AT+CGPSCOLD Cold Start GPS

AT+CGPSCOLD Cold Start GPSTest CommandAT+CGPSCOLD=

ResponseOK

Execution CommandAT+CGPSCOLD

ResponseOK

Example

AT+CGPSCOLD=OKAT+CGPSCOLDOK

Before using this command ensure GPS is off

1724 AT+CGPSHOT Hot Start GPS

AT+CGPSHOT Hot Start GPSTest CommandAT+CGPSHOT=

ResponseOK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 346451

Execution CommandAT+CGPSHOT

ResponseOK

Example

AT+CGPSHOT=OKAT+CGPSHOTOK

Before using this command ensure GPS is off

1725 AT+CGPSURL Set AGPS default server URL

AT+CGPSURL Set AGPS default server URLTest CommandAT+CGPSURL=

ResponseOK

Read CommandAT+CGPSURL

Response+CGPSURL ltURLgt

OKWrite CommandAT+CGPSURL=ltURLgt

ResponseOKOrERROR

Defined Values

ltURLgt AGPS default server URL It needs double quotation marksNOTE Max length of URL is 128

Example

AT+CGPSURL=1231231231238888OKAT+CGPSURL+CGPSURL 1231231231238888

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 347451

It will take effect only after restarting

1726 AT+CGPSSSL Set AGPS transport security

AT+CGPSSSL Set AGPS transport securityTest CommandAT+CGPSSSL=

Response+CGPSSSL (list of supported ltSSLgt)

OKRead CommandAT+CGPSSSL

Response+CGPSSSL ltSSLgt

OKWrite CommandAT+CGPSSSL=ltSSLgt

ResponseOKOrERROR

Defined Values

ltSSLgt 0 donrsquot use certificate1 use certificate

Example

AT+CGPSSSL=0OK

This command is used to select transport security used certificate or not The certificate gets from localcarrier If the AGPS server doesnrsquot need certificate execute AT+CGPSSSL=0

1727 AT+CGPSAUTO Start GPS automatic

AT+CGPSAUTO Start GPS automaticTest Command Response

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 348451

AT+CGPSAUTO= +CGPSAUTO (list of supportedltautogt)

OKRead CommandAT+CGPSAUTO

Response+CGPSAUTO ltautogt

OKWrite CommandAT+CGPSAUTO=ltautogt

ResponseOKOrERROR

Defined Values

ltautogt 0 Non-automatic1 automatic

Example

AT+CGPSAUTO=1OK

If GPS start automatically its operation mode is standalone mode

1728 AT+CGPSNMEA Configure NMEA sentence type

AT+CGPSNMEA Configure NMEA sentence typeTest CommandAT+CGPSNMEA=

Response+CGPSNMEA (scope of ltnmeagt)

OKRead CommandAT+CGPSNMEA

Response+CGPSNMEA ltnmeagt

OKWrite CommandAT+CGPSNMEA=ltnmeagt

ResponseOKOrERROR

Defined Values

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 349451

ltnmeagt Range ndash 0 to 2147483647Each bit enables an NMEA sentence output as followsBit 0 ndash GPGGA (Fix data)Bit 1 ndash GPRMC (recommended minimum data)Bit 2 ndash GPGSV (GPS SVs in view)Bit 3 ndash GPGSA (GPS SV dop and active SV info)Bit 4 ndash GPVTG (Speed and heading info)Bit 5 ndash PQXFIBit 6 ndash PSTIS (proprietary sentence at beginning of each sess)Bit 7 ndash GLGSV (Glonass SV in view info)Bit 8 ndash GNGSA (Dop and Active SV info iff Glonass SVs are used)Bit 9 ndash GNGNS (new GGA message for GNSS)Bit 10 ndash GARMC (GAL recommended minimum data)Bit 11 ndash GAGSV (GAL SVs in view)Bit 12 ndash GAGSA (GAL SV dop and active SV info)Bit 13 ndash GAVTG (GAL Speed and heading info)Bit 14 ndash GAGGA (GAL Fix data)Bit 15 ndash PQGSA (QZSS Enable PQGSA)Bit 16 ndash PQGSV (QZSS Enable PQGSV)Bit 17 ndash DEBUG (NMEA debugging enable)Bit 18 ndash GPDTM (new DTM message for GAL)Bit 19 ndash GNGGA (Fix data)Bit 20 ndash GNRMC (recommended minimum data)Bit 21 ndash GNVTG (GNSS Speed and heading info)Bit 22 ndash GAGNS (GNS message for GAL)Bit 23 ndash GBGGA (BDS Fix data)Bit 24 ndash GBGSA (BDS SV dop and active SV info)Bit 25 ndash GBGSV (BDS SV in view info)Bit 26 ndash GBRMC (BDS recommended minimum data)Bit 27 ndash GBVTG (BDS Speed and heading info)Bit 28 ndash GQGSV (QZSS SV in view info)Bit 29 ndash GIGSV (NAVIC SV in view info)Bit 30 ndash GNDTM (GNSS Datum Message)

Set the desired NMEA sentence bit(s) If multiple NMEA sentenceformats are desired OR the desired bits together

Example

AT+CGPSNMEA=200191OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 350451

take effect next fix

1729 AT+CGPSNMEARATE Set NMEA output rate

AT+CGPSNMEARATE Set NMEA output rateTest CommandAT+CGPSNMEARATE=

Response+CGPSNMEARATE (list of supportedltrategt)

OKRead CommandAT+CGPSNMEARATE

Response+CGPSNMEARATE ltrategt

OKWrite CommandAT+CGPSNMEARATE=ltrategt

ResponseOKOrERROR

Defined Values

ltrategt 0 output rate 1HZ1 output rate 10HZ

Example

AT+CGPSNMEARATE=1OK

the command will effect next open gps

17210AT+CGPSMD Configure AGPS MO method

AT+CGPSMD Configure AGPS MO methodTest CommandAT+CGPSMD=

Response+CGPSMD (scope ofltmethodgt)

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 351451

OKRead CommandAT+CGPSMD

Response+CGPSMD ltmethodgt

OKWrite CommandAT+CGPSMD=ltmethodgt

ResponseOK

Defined Values

ltmethodgt 0 Control plane1 User plane

17211 AT+CGPSFTM Start GPS test mode

AT+CGPSFTM Start GPS test modeTest CommandAT+CGPSFTM=

ResponseOK

Read CommandAT+CGPSFTM

Response+CGPSFTM ltonoffgt

OKWrite CommandAT+CGPSFTM=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Close test mode1 Start test mode

ltSVgt Satellite ID numberltCNogt Satellite CNo value Floating valueURC format $GPGSV[ltSVgtltCNogt][]

$GLGSV[ltSVgtltCNogt][]$GBGSV[ltSVgtltCNogt][]$GAGSV[ltSVgtltCNogt][]$GQGSV[ltSVgtltCNogt][]$GIGSV[ltSVgtltCNogt][]

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 352451

AT+CGPSFTM=1OK

$GPGSV3171626191801725619239282242004005001200

$GBGSV230235229274220269

$GQGSV193228195247

URC sentence will report every 1 second

17212AT+CGPSDEL Delete the GPS information

AT+CGPSDEL Delete the GPS informationTest CommandAT+CGPSDEL=

ResponseOK

Execution CommandAT+CGPSDEL

ResponseOK

Example

AT+CGPSDEL=OKAT+CGPSDELOK

This command must be executed after GPS stopped

17213AT+CGPSXE EnableDisable GPS XTRA function

AT+CGPSXE EnableDisable GPS XTRA functionTest CommandAT+CGPSXE=

Response+CGPSXE (list of supportedltonoffgt)

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 353451

OKRead CommandAT+CGPSXE

Response+CGPSXE ltonoffgt

OKWrite CommandAT+CGPSXE=ltonoffgt

ResponseOKOrERROR

Defined Values

ltonoffgt 0 Disable GPS XTRA1 Enable GPS XTRA

Example

AT+CGPSXE=+CGPSXE (01)

OKAT+CGPSXE=0OK

XTRA function must download the assistant file from network by HTTP so the APN must be set byAT+CGDCONT commandIt will take effect only after restarting

17214AT+CGPSXD Download XTRA assistant file

AT+CGPSXD Download XTRA assistant fileTest CommandAT+CGPSXD=

Response+CGPSXD (list of supportedltservergt)

OKRead CommandAT+CGPSXD

Response+CGPSXD ltservergt

OKWrite Command Response

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 354451

AT+CGPSXD=ltservergt OK

+CGPSXD ltrespgt

OrERROR

Defined Values

ltservergt 0 XTRA primary server (precedence)1 XTRA secondary server2 XTRA tertiary server

ltrespgt refer to Unsolicited XTRA download Codes

Example

AT+CGPSXD=+CGPSXD (0-2)

OKAT+CGPSXD=0OK

+CGPSXD 0

17215AT+CGPSXDAUTO Download XTRA assistant file automatically

AT+CGPSXDAUTO Download XTRA assistant file automaticallyTest CommandAT+CGPSXDAUTO=

Response+CGPSXDAUTO (list of supportedltonoffgt)

OKRead CommandAT+CGPSXDAUTO

Response+CGPSXDAUTO ltonoffgt

OKWrite CommandAT+CGPSXDAUTO=ltonoffgt

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 355451

Defined Values

ltonoffgt 0 disable download automatically1 enable download automatically

Example

AT+CGPSXDAUTO=+CGPSXDAUTO (01)

OKAT+CGPSXDAUTO=0OK

17216AT+CGPSPMD Configure positioning mode

AT+CGPSPMD Configure positioning modeTest CommandAT+CGPSPMD=

Response+CGPSPMD (scope of ltmodegt)

OKRead CommandAT+CGPSPMD

Response+CGPSPMD ltmodegt

OKWrite CommandAT+CGPSPMD=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt Default - 65407Range - 1 to 65407Each bit enables a supported positioning mode as followsBit 0 ndash StandaloneBit 1 ndash UP MS-basedBit 2 ndash UP MS-assistedBit 3 ndash CP MS-based (2G)Bit 4 ndash CP MS-assisted (2G)Bit 5 ndash CP UE-based (3G)Bit 6 ndash CP UE-assisted (3G)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 356451

Bit 7 ndash NOT USEDBit 8 ndash UP MS-based (4G)Bit 9 ndash UP MS-assisted(4G)Bit 10 ndash CP MS-based (4G)Bit 11 ndash CP MS-assisted (4G)Set the desired mode sentence bit(s) If multiple modes are desiredOR the desired bits togetherExample support standalone UP MS-based and UP MS-assisted setBinary value 0000 0111 is 7

Example

AT+CGPSPMD=127OK

Need to restart the module after setting the mode

17217AT+CGPSMSB Configure based mode switch to standalone

AT+CGPSMSB Configure based mode switch to standaloneTest CommandAT+CGPSMSB=

Response+CGPSMSB (scope of ltmodegt)

OKRead CommandAT+CGPSMSB

Response+CGPSMSB ltmodegt

OKWrite CommandAT+CGPSMSB=ltmodegt

ResponseOKOrERROR

Defined Values

ltmodegt 0 Donrsquot switch to standalone mode automatically1 Switch to standalone mode automatically

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 357451

AT+CGPSMSB=0OK

This command take effect next start gps

17218AT+CGPSHOR Configure positioning desired accuracy

AT+CGPSHOR Configure positioning desired accuracyTest CommandAT+CGPSHOR=

Response+CGPSHOR (scope of ltaccgt)

OKRead CommandAT+CGPSHOR

Response+CGPSHOR ltaccgt

OKWrite CommandAT+CGPSHOR=ltaccgt

ResponseOKOrERROR

Defined Values

ltaccgt Range ndash 0 to 1800000Default value is 50

Example

AT+CGPSHOR=50OK

This command take effect next start gps

17219AT+CGNSSINFO Get GNSS fixed position information

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 358451

AT+CGNSSINFO Get GNSS fixed position informationTest CommandAT+CGNSSINFO=

Response+CGNSSINFO (scope of lttimegt)

OKRead CommandAT+CGNSSINFO

Response+CGNSSINFO lttimegt

OKWrite CommandAT+CGNSSINFO=lttimegt

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][HDOP][VDOP]OrIf ltoffgt it will report indicationOK(if lttimegt=0)

Execution CommandAT+CGNSSINFO

ResponseOK

+CGNSSINFO[ltmodegt][ltGPS-SVsgt][ltGLONASS-SVsgt][ltBEIDOU-SVsgt][ltlatgt][ltNSgt][ltloggt][ltEWgt][ltdategt][ltUTC-timegt][ltaltgt][ltspeedgt][ltcoursegt][ltPDOPgt][ltHDOPgt][ltVDOPgt]

Defined Values

ltmodegt Fix mode 2=2D fix 3=3D fixltGPS-SVsgt GPS satellite valid numbers scope 00-12ltGLONASS-SVsgt GLONASS satellite valid numbers scope 00-12ltBEIDOU-SVsgt BEIDOU satellite valid numbers scope 00-12ltlatgt Latitude of current position Output format is ddmmmmmmmmltNSgt NS Indicator N=north or S=southltloggt Longitude of current position Output format is dddmmmmmmmmltEWgt EW Indicator E=east or W=westltdategt Date Output format is ddmmyyltUTC-timegt UTC Time Output format is hhmmsssltaltgt MSLAltitude Unit is metersltspeedgt Speed Over Ground Unit is knotsltcoursegt Course DegreesltPDOPgt Position Dilution Of Precision

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 359451

ltHDOPgt Horizontal Dilution Of PrecisionltVDOPgt Vertical Dilution Of Precisionlttimegt The range is 0-255 unit is second after set lttimegt will report the

GNSS information every the seconds

Example

AT+CGNSSINFO=+CGNSSINFO (0-255)

OKAT+CGNSSINFO+CGNSSINFO 0

OKAT+CGNSSINFOOK

+CGNSSINFO20905003113330650N12121262554E1311170919180329002550110807

AT+CGNSSINFO(if not fixwill report null)OK

+CGNSSINFO

17220AT+CGNSSMODE Configure GNSS support mode

AT+CGNSSMODE Configure GNSS support modeTest CommandAT+CGNSSMODE=

Response+CGNSSMODE (scope of ltgnss_modegt)(scope of ltdpo_modegt)

OKRead CommandAT+CGNSSMODE

Response+CGNSSMODE ltgnss_modegtltdpo_modegt

OKWrite CommandAT+CGNSSMODE=ltgnss_modegt[ltdpo_modegt]

ResponseOKOrERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 360451

Defined Values

ltgnss_modegt Range ndash 0 to 63Bit0 GLONASSBit1 BEIDOUBit2 GALILEOBit3 QZSSBit4 GPSBit5 NAVIC

ltdpo_modegt 1 enable DPO0 disable DPO

Example

AT+CGNSSMODE=151OK

Module should reboot to take effective

17221Unsolicited XTRA download Codes

Code of lterrgt

Code of lterrgt Description0 Assistant file download successfully1 Assistant file doesnrsquot exist2 Assistant file check error225 Memory error227 Network error

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 361451

18AT Commands for LBS

181 Overview of AT Commands for LBS

Command DescriptionAT+CLBS Base station LocationAT+CLBSCFG Base station Location configure

182 Detailed Description of AT Commands for LBS

1821 AT+CLBS Base station location

AT+CLBS Base station LocationTest CommandAT+CLBS=

Response+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OKWrite CommandAT+CLBS=lttypegt[ltcidgt[[ltlongitudegtltlatitudegt][ltlon_typegt]]]

ResponseOK1)lttypegt=1get longitude and latitude+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgt]

2)type = 2get detail address+CLBS ltret_codegt[ltdetail_addrgt]

3)type = 3get access times+CLBS ltret_codegt[lttimesgt]

4)type = 4get longitude latitude and date time+CLBS ltret_codegt[ltlatitudegtltlongitudegtltaccgtltdategtlttimegt]

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 362451

5)type = 9 report positioning error+CLBS ltret_codegt

If error is related to ME functionality+CLBS ltret_codegt

ERRORReference

Defined Values

lttypegt A numeric parameter which specifies the location type1 use 3 cellrsquos information2 get detail address3 get access times4 get longitude latitude and date time9 report positioning error

ltcidgt A numeric parameter which specifies a particular PDP contextdefinition (see AT+CGDCONT command)

1hellip42ltlongitudegt Current longitude in degrees

-180000000-180000000ltlatitudegt Current latitude in degrees

-90000000-90000000ltdetail_addrgt Current detail address It based the UCS2 coding Each 4 characters

in the URC is for one UCS2 characterltaccgt Positioning accuracyltlon_typegt The type of longitude and latitude

0 WGS841 GCJ02

lttimesgt Access service times(UTCthe format is YYYYMMDDHHMMSS)ltdategt Service date(UTC the format is YYYYMMDD)lttimegt Service time(UTC the format is HHMMSS)ltret_codegt The result code

0 Success1 Parameter error returned by server2 Service out of time returned by server3 Location failed returned by server4 Query timeout returned by server5 Certification failed returned by server6 Server LBS error success7 Server LBS error failed8 LBS is busy9 Open network error10 Close network error

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 363451

11 Operation timeout12 DNSerror13 Create socket error14 Connect socket error15 Close socket error16 Get cell info error17 Get IMEI error18 Send data error19 Receive data error20 NONET error21 Net not opened80 Report LBS to server success81 Report LBS to server parameter error82 Report LBS to server failed110 Other Error

Example

AT+CLBS=+CLBS(12349)(1-42)(-180000000-180000000)(-90000000-90000000)(01)

OK

AT+CLBS=1OK

+CLBS 031228525121380295500

AT+CLBS=2OK

+CLBS04e0a6d775e020020957f5b81533a002091d1949f8def002097608fd166688baf79d162805927697c

AT+CLBS=3OK

+CLBS 020200430094856

AT+CLBS=4OK

+CLBS

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 364451

03122852512138029550020250607104908

If customers feel that the positioning error is too large lttypegt=9 can be used to report this informationThe error can be improved by this informationThe LBS is only support in GSMWCDMACDMALTE5G net modeBefore use LBS please execute AT+NETACT to check urc If return +NETACT 0 please excuteAT+NETACT=1 firstly If return +NETACT 1 excute LBS commands directly

1822 AT+CLBSCFG Base station Location configure

AT+CLBSCFG Base station Location configureTest CommandAT+CLBSCFG=

Response+CLBSCFG (0-1)3 Param Value

OK

Write CommandAT+CLBSCFG=ltoperategtltparagt[ltvaluegt]

Response+CLBSCFG 0ltparagtltvaluegt

OK

If error is related to ME functionality+CLBSCFG ltret_codegt

ERRORReference

Defined Values

ltoperategt 0 Read operator1 Set operator

ltparagt 3 Servers addressltvaluegt String type The value of parameter

Servers address of lbs-simcomcom3002 is freeltret_codegt Please refer to the ltret_codegt of AT+CLBS

Example

AT+CLBSCFG=

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 365451

+CLBSCFG (0-1)3Param Value

OK

AT+CLBSCFG=03+CLBSCFG 03lbs-simcomcom3002

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 366451

19AT Commands for Hardware

191 Overview of AT Commands for Hardware

Command DescriptionAT+IPREX Set UART local baud rate permanentlyAT+CFGRI Indicate RI when using URCAT+CSCLK Control UART sleepAT+CMUX Enable the multiplexer over the UARTAT+CGFUNC Enabledisable the function for the special GPIOAT+CGDRT Set the direction of specified GPIOAT+CGSETV Set the value of specified GPIOAT+CGGETV Get the value of specified GPIOAT+CPCIEMODE Get or set the mode of PCIE

192 Detailed Description of AT Commands for Hardware

1921 AT+IPREX Set UART local baud rate permanently

AT+IPREX Set UART local baud rate permanentlyTest CommandAT+IPREX=

Response+IPREX (list of supported ltspeedgts)

OKRead CommandAT+IPREX

Response+IPREX ltspeedgt

OKorERROR

Write CommandAT+IPREX=ltspeedgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 367451

orERROR

Execution CommandAT+IPREX

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltspeedgt 3006001200240048009600192003840057600115200230400460800921600300000032000003686400

Example

AT+IPREX+IPREX 115200

OKAT+IPREX=+IPREX(3006001200240048009600192003840057600115200230400460800921600300000032000003686400)

OKAT+IPREX=115200OK

1922 AT+CFGRI Indicate RI when using URC

AT+CFGRI Indicate RI when using URCTest CommandAT+CFGRI=

Response+CFGRI (range of supported ltstatusgts)(range of supported ltURCtimegts)(range of supported ltSMS timegts)

OKRead CommandAT+CFGRI

Response+CFGRI ltstatusgtltURC timegtltSMS timegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 368451

orERROR

Write CommandAT+CFGRI=ltstatusgt[ltURCtimegtltSMS timegt]

ResponseOKorERROR

Execution CommandAT+CFGRI

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (default)1 on

ltURC timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 10 to 600060 (Default)

ltSMS timegt Integer type Which is number of milliseconds to assert RI pinThe parameter range is 20 to 6000120 (Default)

Example

AT+CFGRI+CFGRI 060120

OKAT+CFGRI=+CFGRI (0-1)(10-6000)(20-6000)

OKAT+CFGRI=1OKAT+CFGRIOK

1923 AT+CSCLK Control UART sleep

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 369451

AT+CSCLK Control UART sleepTest CommandAT+CSCLK=

Response+CSCLK (range of supported ltstatusgts)

OKRead CommandAT+CSCLK

Response+CSCLK ltstatusgt

OKorERROR

Write CommandAT+CSCLK=ltstatusgt

ResponseOKorERROR

Execution CommandAT+CSCLK

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt 0 off (Default)1 on

Example

AT+CSCLK+CSCLK 0

OKAT+CSCLK=+CSCLK (0-1)

OKAT+CSCLK=1OKAT+CSCLKOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 370451

1924 AT+CMUX Enable the multiplexer over the UART

AT+CMUX Enable the multiplexer over the UARTTest CommandAT+CMUX=

Response+CMUX (range of supported ltmodegts)(range of supportedltsubsetgts)(range of supported ltport_speedgts)(range of supportedltN1gts)(range of supported ltT1gts)(range of supportedltN2gts)(range of supported ltT2gts)

OKorERROR

Read CommandAT+CMUX

Response+CMUX ltmodegtltsubsetgtltport_speedgtltN1gtltT1gtltN2gtltT2gt

OKorERROR

Write CommandAT+CMUX=ltmodegt[ltsubsetgt[ltport_speedgt[ltN1gt[ltT1gt[ltN2gt[ltT2gt]]]]]]

ResponseOKorERROR

Parameter Saving Mode NO_SAVE

Max Response Time -Reference -

Defined Values

ltmodegt 0 basic mode (default)ltsubsetgt 0 UIH frame type (default)ltport_speedgt 1-8

CMUX always use current bitrate the value only use for compatible1 9600 bits

2 19200 bits

3 38400 bits

4 57600 bits

5 115200 bits

6 230400 bitss

The default value is 5(115200 bits)ltN1gt Integer type Max frame size in bytes in Information field

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 371451

The parameter range is 1 to 1500118 bytes (Default)

ltT1gt Time UE waits for an acknowledgement before resorting to otheraction (Donrsquot Support Setting Currently)

ltN2gt The max re-tries (Donrsquot Support Setting Currently)ltT2gt Integer type The time in ms mux control channel waits before

re-transmitting a commandThe parameter range is 2 to 1000The default value is 600the mean is 6000 ms (Default)

Example

AT+CMUX+CMUX 005150000600

OKAT+CMUX=+CMUX (0)(0)(1-8)(1-1500)(0)(0)(2-1000)

OK

1925 AT+CGFUNC Enabledisable the function for the special GPIO

AT+CGFUNC Enable disable the function for the special GPIOTest CommandAT+CGFUNC=

Response+CGFUNC (list of supported ltgpiogts)(rang of supportedltfunctiongts)

OKWrite CommandAT+CGFUNC=ltgpiogt

Response+CGFUNC ltgpiogtltfunctiongt

OKorERROR

Write CommandAT+CGFUNC=ltgpiogtltfunctiongt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 372451

Defined Values

ltgpiogt Different hardware versions have the different valuesltfunctiongt GPIO function

0 function 11 function 2

Example

AT+CGFUNC=+CGFUNC (383940)(0-1)

OKAT+CGFUNC=40+CGFUNC 400

OKAT+CGFUNC=401OK

1926 AT+CGDRT Set the direction of specified GPIO

AT+CGDRT Set the direction of specified GPIOTest CommandAT+CGDRT=

Response+CGDRT (list of supported ltgpiogts)(list of supported ltgpio_iogts)

OKWrite CommandAT+CGDRT=ltgpiogt

Response+CGDRT ltgpiogtltgpio_iogt

OKorERROR

Write CommandAT+CGDTR=ltgpiogtltgpio_iogt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 373451

Defined Values

ltgpiogt Different hardware versions have the different valuesltgpio_iogt 0 in

1 out

Example

AT+CGDRT=400OK

1927 AT+CGSETV Set the value of specified GPIO

AT+CGSETV Set the value of specified GPIOTest CommandAT+CGSETV=

Response+CGSETV (list of supported ltgpiogts)(rang of supported ltvaluegts)

OKWrite CommandAT+CGSETV=ltgpiogtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGSETV=+CGSETV (383940)(0-1)

OKAT+CGSETV=401OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 374451

1928 AT+CGGETV Get the value of specified GPIO

AT+CGGETV Get the value of specified GPIOTest CommandAT+CGGETV=

Response+CGGETV (list of supported ltgpiogts)

OKWrite CommandAT+CGGETV=ltgpiogt

Response+CGGETV ltgpiogtltvaluesgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltgpiogt Different hardware versions have the different valuesltvaluegt 0 low level

1 high level

Example

AT+CGGETV=+CGGETV (383940)

OKAT+CGGETV=40+CGGETV 401

OK

1929 AT+CPCIEMODE Get or set the mode of PCIE

This command use to set or get PCIE modethe command only support on M2 board when the AT settingis successful the module will be restarted

AT+CPCIEMODE Get or set the mode of PCIETest CommandAT+CPCIEMODE=

Response+CPCIEMODE (list of supported ltmodegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 375451

OKRead CommandAT+CPCIEMODE

Response+CPCIEMODE ltmodegt

OKorERROR

Write CommandAT+CPCIEMODE=ltmodegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt EP EP modeHOST HOST mode

Example

AT+CPCIEMODE=+CPCIEMODE EPHOST

OKAT+CPCIEMODE=EPOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 376451

20 Hardware Related Commands

201 Overview of Hardware Related Commands

Command DescriptionAT+CVALARM Set overvoltage and undervoltage alarmAT+CADC Read the value of ADCAT+CADC2 Read the value of ADC2AT+CMTE Set the power action when over the critical temperatureAT+CPMVT Set the power action when overvoltage and undervoltageAT+CDELTA Set module reboot to recovery modeAT+CBC Read the voltage value of the power supplyAT+CPMUTEMP Read the temperature of the modulesAT+CUSBCFG Set usbidadb modeedl mode and bootloader modeAT+CCPUTEMP Read the temperature of CPU different zones

202 Detailed Description of AT Commands for Hardware

2021 AT+CVALARM Set overvoltage and undervoltage alarm

This command is used to open or close the low voltage alarm function

AT+CVALARM Set overvoltage and undervoltage alarmTest CommandAT+CVALARM=

Response+CVALARM (list of supported ltenablegts)(range of supportedltlow_voltagegts)(range of supported lthigh_voltagegts)

OKRead CommandAT+CVALARM

Response+CVALARM ltenablegtltlow_voltagegtlthigh_voltagegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 377451

orERROR

Write CommandAT+CVALARM=ltenablegt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablegt 0 close alarm(Default)1 open alarm

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3300mV to 4000mV depending on hardwaredesign3300mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CVALARM=+CVALARM (01)(3300-4000)(4001-4300)

OKAT+CVALARM+CVALARM 134004300

OKAT+CVALARM=134004300OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING every 10s If voltage lthighvoltagegt it will report OVER-VOLTAGE WARNNING every 10s

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 378451

2022 AT+CADC Read the value of ADC

This command is used to read the ADC value from modem ME supports 2 types of value which are rawtype and voltage type

AT+CADC Read the value of ADCTest CommandAT+CADC=

Response+CADC (list of supported lttypegts)

OKWrite CommandAT+CADC=lttypegt

Response+CADC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC=+CADC (02)

OKAT+CADC=0+CADC 187

OK

2023 AT+CADC2 Read the value of ADC2

This command is used to read the ADC2 value from modem ME supports 2 types of value which are rawtype and voltage type

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 379451

AT+CADC2 Read the value of ADC2Test CommandAT+CADC2=

Response+CADC2 (list of supported lttypegts)

OKWrite CommandAT+CADC2=lttypegt

Response+CADC2 ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt 0 raw data type2 voltage type in mV

ltvaluegt Integer type

Example

AT+CADC2=+CADC2 (02)

OKAT+CADC2=0+CADC2 187

OK

2024 AT+CMTE Set the power action when over the critical temperature

This command is used to control the module whether power off when temperature upon the criticaltemperature

AT+CMTE Set the power action when over the critical temperatureTest CommandAT+CMTE=

Response+CMTE (list of supported ltpower_offgts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 380451

OKRead CommandAT+CMTE

Response+CMTE ltpower_offgt

OKorERROR

Write CommandAT+CMTE=ltpower_offgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

Example

AT+CMTE=+CMTE (01)

OK

AT+CMTE+CMTE 1

OKAT+CMTE=0OK

2025 AT+CPMVT Set the power action when overvoltage and undervoltage

This command is used to open or close the power off action when undervoltage and overvoltage

AT+CPMVT Set the power action when overvoltage and undervoltageTest CommandAT+CPMVT=

Response+CPMVT (list of supported ltpower_offgts)(list of supportedltlow_voltagegts)(list of supported lthigh_voltagegts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 381451

OKRead CommandAT+CPMVT

Response+CPMVT ltpower_offgtltlow_voltagegtlthigh_voltagegt

OKorERROR

Write CommandAT+CPMVT=ltpower_offgt[ltlow_voltagegt[lthigh_voltagegt]]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltpower_offgt 0 no action(Default)1 power off

ltlow_voltagegt Integer type The undervoltage value of the moduleThe parameter range is 3200mV to 4000mV depending on hardwaredesign3200mV(Default)

lthigh_voltagegt Integer type The overvoltage value of the moduleThe parameter range is 4001mV to 4300mV depending on hardwaredesign4300mV(Default)

Example

AT+CPMVT=+CPMVT (01)(3200-4000)(4001-4300)

OKAT+CPMVT+CPMVT 134004300

OKAT+CPMVT=1OK

If voltage ltlow voltagegt it will report UNDER-VOLTAGE WARNNING POWER DOWN and power off

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 382451

the module If voltage lthigh voltagegt it will report OVER-VOLTAGE WARNNING POWER DOWNand power off the module

2026 AT+CDELTA Set module reboot to recovery mode

AT+CDELTA Set module reboot to recovery modeExecution CommandAT+CDELTA

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Example

AT+CDELTAOK

This command will write a flag to the module and restart Check the flag during the next boot and enterrecovery mode to prepare for the firmware upgrade

2027 AT+CBC Read the voltage value of the power supply

AT+CBC Read the voltage value of the power supplyExecution CommandAT+CBC

Response+CBC ltvaluegt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltvaluegt The voltage value such as 38V

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 383451

Example

AT+CBC+CBC 3657V

OK

2028 AT+CPMUTEMP Read the temperature of the modules

AT+CPMUTEMP Read the temperature of the moduleExecution CommandAT+CPMUTEMP

Response+CPMUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt Char type

Example

AT+CPMUTEMP+CPMUTEMP 28

OK

2029 AT+CUSBCFG Set usbidadb modeedl mode and bootloader mode

AT+CUSBCFG Set usbidadb modeedl mode and bootloader modeTest CommandAT+CUSBCFG=

ResponseBOOTLDRBOOTEDLUSBADB (list of supportedltadb_stategts)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 384451

USBID ltvendor_idgt(list of supportedltproduct_idgts)

OKRead CommandAT+CUSBCFG

ResponseUSBADB ltadb_stategtUSBID ltvendor_idgtltproduct_idgt

OKorERROR

Write CommandAT+CUSBCFG=bootldr

Response

AT+CUSBCFG=bootedlAT+CUSBCFG=usbadbltadb_stategt

OKorERROR

AT+CUSBCFG=usbidltvendor_idgtltproduct_idgt

OKorERROR

AT+CUSBCFG=USBMODE USBMODE ltusb_stategtParameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltvendor_idgt 1e0eltproduct_idgt 9001

9011ltadb_stategt 0

1ltusb_stategt USB30

USB20

Example

AT+CUSBCFG=BOOTLDRBOOTEDLUSBADB (01)USBID 1E0E(90019011)

OKAT+CUSBCFGUSBADB 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 385451

USBID 0X1E0E0x9001

OKAT+CUSBCFG=bootldrOKAT+CUSBCFG=bootedlOKAT+CUSBCFG=usbadb1OKAT+CUSBCFG=usbid1e0e9011OKAT+CUSBCFG=usbmodeUSBMODE USB30

OK

1When default composition is 9011 you may need to execute AT+NETACT=1 to turn on networkAfter AT+CUSBCFG=usbadb10 not need to excute AT+CRESET2AT+CUSBCFG=bootldr and AT+CUSBCFG=booted no responsewhen use those commandsthedevice directly enters the corresponding mode

20210AT+CCPUTEMP Read the temperature of CPU different zones

AT+CCPUTEMP Read the temperature of CPU different zonesTest CommandAT+CCPUTEMP=

Response+CCPUTEMP (0-6)

OKWrite CommandAT+CCPUTEMP=ltzonegt

Response+CCPUTEMP lttempgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttempgt int type

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 386451

ltzonegt 0-6

Example

AT+CCPUTEMP=2+CCPUTEMP 28

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 387451

21AT Commands for UIM hot swap

211 Overview of AT Commands for UIM hot swap

Command DescriptionAT+UIMHOTSWAPON Set UIM hot swap function onAT+UIMHOTSWAPLEVEL Set UIM card detection level

212 Detailed Description of AT Commands for UIM hot swap

2121 AT+UIMHOTSWAPON Set UIM hot swap function on

AT+UIMHOTSWAPON Set UIM hot swap function onRead CommandAT+UIMHOTSWAPON

Response+UIMHOTSWAPON ltonoffgt

OK

Write CommandAT+UIMHOTSWAPON=ltonoffgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltonoffgt 0 The UIM hot swap function is disabled1 The UIM hot swap function is enabled

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 388451

AT+UIMHOTSWAPON+UIMHOTSWAPON 0

OKAT+UIMHOTSWAPON=1OK

Module reset to take effect

2122 AT+UIMHOTSWAPLEVEL Set UIM card detection level

AT+UIMHOTSWAPLEVEL Set UIM card detection levelRead CommandAT+UIMHOTSWAPLEVEL

Response+UIMHOTSWAPLEVEL ltlevelgt

OK

Write CommandAT+UIMHOTSWAPLEVEL=ltlevelgt

ResponseOKorERROR

Parameter Saving Mode AUTO_SAVE_REBOOTMax Response TimeReference

Defined Values

ltlevelgt 0 ACTIVE LOW1 ACTIVE HIGH

Example

AT+UIMHOTSWAPLEVEL+UIMHOTSWAPLEVEL 0

OKAT+UIMHOTSWAPLEVEL=1OK

Module reset to take effect

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 389451

UIM card detection level depends on the SIM card holder usually itrsquos a normal open kind oneThe default value 1

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 390451

22AT Commands for File System

The file system is used to store files in a hierarchical (tree) structure and there are some definitions andconventions to use the Module

Local storage space is mapped to C D for TF card E for multimedia F for cache

General rules for naming (both directories and files)The length of actual fully qualified names of directories and files can not exceed 254Directory and file names can not include the following characters ltgt | Between directory name and filedirectory name use character as list separator so it can not appearin directory name or file nameThe first character of names must be a letter or a numeral or underline and the last character can notbe period and oblique

221 Overview of AT Commands for File System

Command DescriptionAT+FSCD Select directory as current directoryAT+FSMKDIR Make new directory in current directoryAT+FSRMDIR Delete directory in current directoryAT+FSLS List directoriesfiles in current directoryAT+FSDEL Delete file in current directoryAT+FSRENAME Rename file in current directoryAT+FSATTRI Request file attributesAT+FSMEM Check the size of available memoryAT+FSLOCA Select storage placeAT+FSCOPY Copy an appointed fileAT+CFTRANRX Transfer a file to EFSAT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 391451

222 Detailed Description of AT Commands for File System

2221 AT+FSCD Select directory as current directory

This command is used to select a directory The Module supports absolute path and relative pathRead Command will return current directory without double quotation marks Support C D E F

AT+FSCD Select directory as current directoryTest CommandAT+FSCD=

ResponseOK

Read CommandAT+FSCD

Response+FSCD ltcurr_pathgt

OK

Write CommandAT+FSCD=ltpathgt

Response+FSCD ltcurr_pathgt

OKorERROR

Defined Values

ltpathgt String without double quotes directory for selectionltcurr_pathgt String without double quotes current directory

If ltpathgt is it will go back to previous level of directory

Example

AT+FSCD=C+FSCD C

OKAT+FSCD=C+FSCD C

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 392451

AT+FSCD+FSCD C

OKAT+FSCD=+FSCD C

OKAT+FSCD=D+FSCD D

OKAT+FSCD+FSCD D

OK

2222 AT+FSMKDIR Make new directory in current directory

This command is used to create a new directory in current directory Support C D E F

AT+FSMKDIR Make new directory in current directoryTest CommandAT+FSMKDIR=

ResponseOK

Write CommandAT+FSMKDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes directory name which does not alreadyexist in current directory

Example

AT+FSMKDIR=SIMTechOKAT+FSCD+FSCD E

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 393451

AT+FSLS+FSLS SUBDIRECTORIESAudioSIMTech

OK

2223 AT+FSRMDIR Delete directory in current directory

This command is used to delete existing directory in current directory Support C D E F

AT+FSRMDIR Delete directory in current directoryTest CommandAT+FSRMDIR=

ResponseOK

Write CommandAT+FSRMDIR=ltdirgt

ResponseOKorERROR

Defined Values

ltdirgt String without double quotes

Example

AT+FSRMDIR=SIMTechOKAT+FSCD+FSCD E

OKAT+FSLS+FSLS SUBDIRECTORIESAudio

OK

2224 AT+FSLS List directoriesfiles in current directory

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 394451

This command is used to list information of directories andor files in current directory Support C DE F

AT+FSLS List directoriesfiles in current directoryTest CommandAT+FSLS=

Response+FSLS (list of supported lttypegt)

OKRead CommandAT+FSLS

Response+FSLS SUBDIRECTORIESltdir_numgtFILESltfile_numgt

OK

Write CommandAT+FSLS=lttypegt

Response[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Execution CommandAT+FSLS

[+FSLS SUBDIRECTORIESltlist of subdirectoriesgtltCRgtltLFgt][+FSLS FILESltlist of filesgtltCRgtltLFgt]OK

Defined Values

ltdir_numgt Integer type the number of subdirectories in current directoryltfile_numgt Integer type the number of files in current directorylttypegt 0 list both subdirectories and files

1 list subdirectories only2 list files only

Example

AT+FSLS+FSLS SUBDIRECTORIES2FILES2

OKAT+FSLS+FSLS SUBDIRECTORIESFirstDir

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 395451

SecondDir

+FSLS FILESimage_0jpgimage_1jpg

OKAT+FSLS=2+FSLS FILESimage_0jpgimage_1jpg

OK

2225 AT+FSDEL Delete file in current directory

This command is used to delete a file in current directory Before do that it needs to use AT+FSCD selectthe father directory as current directory Support C D E F

AT+FSDEL Delete file in current directoryTest CommandAT+FSDEL=

ResponseOK

Write CommandAT+FSDEL=ltfilenamegt

ResponseOKorERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is relative andalready existingIf ltfilenamegt is it means delete all files in current directoryIf the file path contains non-ASCII characters the filename parametershould contain a prefix of non-ascii and the quotation mark

Example

AT+FSDEL=image_0jpgOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 396451

2226 AT+FSRENAME Rename file in current directory

This command is used to rename a file in current directory Support C D E F

AT+FSRENAME Rename file in current directoryTest CommandAT+FSRENAME=

ResponseOK

Write CommandAT+FSRENAME=ltold_namegtltnew_namegt

ResponseOKorERROR

Defined Values

ltold_namegt String with or without double quotes file name which is existed incurrent directory If the file path contains non-ASCII characters the filepath parameter should contain a prefix of non-ascii and the quotationmark

ltnew_namegt New name of specified file string with or without double quotes If thefile path contains non-ASCII characters the file path parameter shouldcontain a prefix of non-ascii and the quotation mark

Example

AT+FSRENAME=image_0jpgimage_1jpgOKAT+FSRENAME=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067OK

2227 AT+FSATTRI Request file attributes

This command is used to request the attributes of file which exists in current directory Support C DE F

AT+FSATTRI Request file attributesTest CommandAT+FSATTRI=

ResponseOK

Write CommandAT+FSATTRI=ltfilenamegt

Response+FSATTRI ltfile_sizegtltcreate_dategt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 397451

orERROR

Defined Values

ltfilenamegt String with or without double quotes file name which is in currentdirectory If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltfile_sizegt The size of specified file and the unit is in Byteltcreate_dategt Create date and time of specified file the format is YYYYMMDD

HHMMSS WeekWeek Mon Tue Wed Thu Fri Sat Sun

Example

AT+FSATTRI=image_0jpg+FSATTRI 860420080428 102446 Tue

OKAT+FSATTRI=non-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSATTRI 629620120106 000000 Sun

OK

2228 AT+FSMEM Check the size of available memory

This command is used to check the size of available memory The response will list total size and used sizeof local storage space if present and mounted Support C D E F

AT+FSMEM Check the size of available memoryTest CommandAT+FSMEM=

ResponseOK

Execution CommandAT+FSMEM

Response+FSMEM ltloctypegt(lttotalgtltusedgt)

OK

Defined Values

ltloctypegt Support C D E Flttotalgt The total size of local storage spaceThe unit of storage space size is

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 398451

in Byteltusedgt The used size of local storage spaceThe unit of storage space size is

in Byte

Example

AT+FSMEM+FSMEM C(113484802201600)

OK

2229 AT+FSLOCA Select storage place

This command is used to set the storage place for media files Support C

AT+FSLOCA Select storage placeTest CommandAT+FSLOCA=

Response+FSLOCA (list of supported ltlocagts)

OKRead CommandAT+FSLOCA

+FSLOCA ltlocagt

OK

Write CommandAT+FSLOCA=ltlocagt

ResponseOKorERROR

Defined Values

ltlocagt 0 store media files to local storage space (namely C)

Example

AT+FSLOCA=0OKAT+FSLOCA+FSLOCA 0

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 399451

22210AT+FSCOPY Copy an appointed file

This command is used to copy an appointed file on C to an appointed directory on C the new file nameshould give in parameter Support CD E F but copying from C to D E F or from DE F to C is not supported

AT+FSCOPY Copy an appointed fileTest CommandAT+FSCOPY=

ResponseOK

Write CommandAT+FSCOPY=ltfile1gtltfile2gt[ltsync_modegt]

ResponseSync mode+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]OK

Async modeOK+FSCOPY ltpercentgtltCRgtltLFgt[+FSCOPY ltpercentgtltCRgtltLFgt]+FSCOPY ENDltCRgtltLFgtOrWhen error shows one of the following errors and ERRORSD CARD NOT PLUGGED INFILE IS EXISTINGFILE NOT EXISTINGDIRECTORY IS EXISTEDDIRECTORY NOT EXISTEDFORBID CREATE DIRECTORY UNDER CFORBID DELETE DIRECTORYINVALID PATH NAMEINVALID FILE NAMESD CARD HAVE NO ENOUGH MEMORYEFS HAVE NO ENOUGH MEMORYFILE CREATE ERRORREAD FILE ERRORWRITE FILE ERROR

ERROR

Defined Values

ltfile1gt The sources file name or the whole path name with sources file nameIf the file path contains non-ASCII characters the file path parametershould contain a prefix of non-ascii and the quotation mark

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 400451

ltfile2gt The destination file name or the whole path name with destination filename If the file path contains non-ASCII characters the file pathparameter should contain a prefix of non-ascii and the quotationmark

ltpercentgt The percent of copy done The range is 00 to 1000ltsync_modegt The execution mode of the command

0 synchronous mode Default 01 asynchronous mode

1 The ltfile1gt and ltfile2gt should give the whole path and name if only given file name it will refer tocurrent path (AT+FSCD) and check the filersquos validity2 If ltfile2gt is a whole path and name make sure the directory exists make sure that the file namedoes not exist or the file name is not the same name as the sub folder name otherwise return error3 ltpercentgt report refer to the copy file size The big file maybe report many times and little file reportless4 If ltsync_modegt is 1 the command will return OK immediately and report final result with+FSCOPY END

Example

AT+FSCD+FSCD C

OKAT+FSCOPY=CTESTFILECOPYFILE (Copy file TESTFILE on C to CCOPYFILE)+FSCOPY 10

+FSCOPY 1000

OKAT+FSCOPY=my testjpgnon-asciiE6B58BE8AF95E99984E4BBB62E6A7067+FSCOPY 10

+FSCOPY 1000

OK

22211 AT+CFTRANRX Transfer a file to EFS

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 401451

This command is used to transfer a file to EFSSupport SDcard

AT+CFTRANRX Transfer a file to EFSTest CommandAT+CFTRANRX=

Response+CFTRANRX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANRX=ltfilepathgtltlengt

ResponsegtOKorgtERRORorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the file data to send The range is from 0 to 2147483647

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANRX=CMyDirt1txt10gtltinput data heregt

OKAT+CFTRANRX=DMyDirt1txt10gtltinput data heregt

OK

22212AT+CFTRANTX Transfer a file from EFS to host

This command is used to transfer a file from EFS to host Before using this command the AT+CATR mustbe used to set the correct port used Support SDcard

AT+CFTRANTX Transfer a file from EFS to host

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 402451

Test CommandAT+CFTRANTX=

Response+CFTRANTX [non-ascii]FILEPATH

OK

Write CommandAT+CFTRANTX=ltfilepathgt[ltlocationgtltsizegt]

Response[+CFTRANTX DATAltlengthellip+CFTRANTX DATAltlengt]

+CFTRANTX 0

OKorERROR

Defined Values

ltfilepathgt The path of the file on EFSltlengt The length of the following file data to outputltlocationgt The beginning of the file data to outputltsizegt The length of the file data to output

The ltfilepathgt must be a full path with the directory path

Example

AT+CFTRANTX=CMyDirt1txt+CFTRANTX DATA11Testcontent

+CFTRANTX 0

OKAT+CFTRANTX=DMyDirt1txt14+CFTRANTX DATA4estc

+CFTRANTX 0

OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 403451

23AT Commands for AUDIO

231 Overview of AT Commands for AUDIO

Command DescriptionAT+CREC Record wav audio fileAT+CRECAMR Record amr audio fileAT+CCMXPLAY Play audio fileAT+CCMXSTOP Stop playing audio file

232 Detailed Description of AT Commands for AUDIO

2321 AT+CREC Record wav audio file

AT+CREC Record wav audio fileRead CommandAT+CREC

Response+CREC ltstatusgt

OK

Write CommandAT+CREC=ltrecord_pathgtltfilenamegt

Response+CREC 1

OKorERROR

Write CommandAT+CREC=ltmodegt

Response+CREC 0

OK

+RECSTATE crec stopor

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 404451

+CREC 0

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltstatusgt Indicate whether the recording is going on0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path3 ndash local and remote sound mixing

ltfilenamegt The location and name of wav fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2 or 3

Example

AT+CREC=1erecwav+CREC 1

OK

AT+CREC=0+CREC 0

OK

+RECSTATE crec stop

2322 AT+CRECAMR Record amr audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 405451

AT+CRECAMR Record amr audio fileRead CommandAT+CRECAMR

Response+CRECAMR ltstatusgt

OK

Write CommandAT+CRECAMR=ltrecord_pathgtltfilenamegt

Response+CRECAMR ltstatusgt

OKorERROR

Write CommandAT+CRECAMR=ltmodegt

Response+CRECAMR ltstatusgt

OK

+RECSTATE crecamr stopor+CRECAMR ltstatusgt

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Valuesltstatusgt Indicate whether the recording is going on

0 ndash free not recording1 ndash busy recording

ltrecord_pathgt Source of recorded sound1 ndash local path2 ndash remote path

ltfilenamegt The location and name of amr fileltmodegt Stop recording wav audio file

0 ndash stop

ltfilenamegtThe file should be put into the E Maximum filename length is 240 bytes (including )ltrecord_pathgtOnly during the call ltrecord_pathgt can be set to 2

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 406451

AT+CRECAMR=1erecamr+CRECAMR 1

OK

AT+CRECAMR=0+CRECAMR 0

OK

+RECSTATE crecamr stop

2323 AT+CCMXPLAY Play audio file

AT+CCMXPLAY Play audio fileTest CommandAT+CCMXPLAY=

Response+CCMXPLAY (0-1)(0-255)

OK

Read CommandAT+CCMXPLAY

Response+CCMXPLAY ltstatusgt

OK

Write CommandAT+CCMXPLAY=ltfilenamegt[ltplay_pathgt][ltrepeatgt]

Response+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stoporERRORor+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play errorParameter Saving Mode -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 407451

Max Response Time -Reference -

Defined Values

ltplay_pathgt Play to local or to remote Default 00 ndash local1 ndash remote

ltrepeatgt How much times can be played Default 0ltfilenamegt The location and name of wav fileltstatusgt Indicate playing thread status Default value is 0

0 ndash idle1 ndash busy playing

ltfilenamegtThe wav audio file should be located at E Maximum filename length is 240 bytes(including ) Support audio file format mp3 aac amr wavltplay_pathgtOnly during the call ltplay_pathgtcan be set to 1 successfullyOnly 8k 16bit wav audio andamr audio can be played to remote at presentltrepeatgtThis parameter is reservednot used at present you can input this parameter or not (0-255)

Example

AT+CCMXPLAY=+CCMXPLAY (0-1)(0-255)

OK

AT+CCMXPLAY=Erecmp300+CCMXPLAY

OK

+AUDIOSTATE audio play

+AUDIOSTATE audio play stop

2324 AT+CCMXSTOP Stop playing audio file

AT+CCMXSTOP Stop playing audio file

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 408451

Test CommandAT+CCMXSTOP=

ResponseOK

Execution CommandAT+CCMXSTOP

Response+CCMXSTOP

OK

+AUDIOSTATE audio play stopParameter Saving Mode -

Max Response Time -Reference -

Defined Values

- -

Example

AT+CCMXSTOP+CCMXSTOP

OK

+AUDIOSTATE audio play stop

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 409451

24AT Commands for TTS

241 Overview of AT Commands for TTS

Command DescriptionAT+CDTAM TTS play path local or remoteAT+CTTS TTS operation play or stopAT+CTTSPARAM TTS parameters set or get

242 Detailed Description of AT Commands for TTS

2421 AT+CDTAM TTS play path local or remote

AT+CDTAM TTS play path local or remoteTest CommandAT+CDTAM=

Response+CDTAM (0-1)

OKRead CommandAT+CDTAM

Response+CDTAM ltstatusgt

OK

Write CommandAT+CDTAM=ltmodegt

Response+CDTAM

OKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 410451

Defined Values

ltstatusgt Indicate play path play TTS to local or play to remote0 ndash local path1 ndash remote path

ltmodegt Set TTS play path local or remote Default value is 00 ndash local path1 ndash remote path

Example

AT+CDTAM=1+CDTAM

OK

2422 AT+CTTS TTS operation play or stop

AT+CTTS TTS operation play or stopTest CommandAT+CTTS=

ResponseOK

Read CommandAT+CTTS

Response+CTTS ltstatusgt

OK

Write CommandAT+CTTS=ltmodegt[lttextgt]

ResponseIf ltmodegtis 0 thenlttextgt is not required When TTS is playingreturn+CTTS0

OK

If ltmodegtis 0 then lttextgt is not required When TTS is not playingreturnOK

If ltmodegtis 1 or 2 then lttextgt is must be required returnOK

+CTTS0orERROR

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 411451

orOK

+CTTS1Write CommandAT+CTTS=ltmodegt[lttextgt][ltfilenamegt]

ResponseIf ltmodegtis 3 or 4 then lttextgt and ltfilenamegt are must be requiredreturnOK

+CTTS0orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltstatusgt Indicate playing thread status Default value is 00 ndash NO_WORKING1 ndash PLAY_WAV_WORKING2 ndash AMR_WORKING3 ndash MP3_WORKING4 ndash AAC_WORKING5 ndash WAV_WORKING6 ndash TTS_WORKING8 ndash CREC_WORKING

ltmodegt Stop or play TTS0 ndash stop TTS1 ndash lttextgt is in UCS2 coding format Start to synth and play2 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play3 ndash lttextgt is in ASCII coding format for EnglishChinese text is in GBKcoding format Start to synth and play and save pcm data as wav file4 ndash lttextgtis in UCS2 coding format Start to synth and play and savepcm data as wav file

ltfilenamegt Location and filename for wav file

lttextgt which is synthetized to speed to be playedmaximum data length is 512 bytes (including )ltfilenamegtThe file should be put into the Efilenamewav Maximum filename length is 240 bytes(including )

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 412451

AT+CTTS=16B228FCE4F7F75288BED97F3540862107CFB7EDFOK

+CTTS0

AT+CTTS=3欢迎使用语音合成系统EttswavOK

+CTTS0

AT+CTTS=0OK

2423 AT+CTTSPARAM TTS Parameters set or get

AT+CTTSPARAM TTS Parameters set or getTest CommandAT+CTTSPARAM=

Response+CTTSPARAM (0-2)(0-3)(0-3)(0-2)(0-2)

OKRead CommandAT+CTTSPARAM

Response+CTTSPARAMltvolumegtltsysvolumegtltdigitmodegtltpitchgtltspeedgt

OKWrite CommandAT+CTTSPARAM=ltvolumegt[ltsysvolumegt[ltdigitmodegt[ltpitchgt[ltspeedgt]]]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltvolumegt TTS Speech Volume default20 ndash the mix volume1 ndash the normal volume2 ndash the max volume

ltsysvolumegt The module system volumedefault30 ndash the mix system volume1 ndash the small system volume

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 413451

2 ndash the normal system volume3 ndash the max system volume

ltdigitmodegt The digit read mode default00 ndash auto read digit based on number rule first1 ndash auto read digit bases on telegram rule first2 ndash read digit based on telegram rule3 ndash read digit based on number rule

ltpitchgt The voice tone default10 ndash the mix voice tone1 ndash the normal voice tone2 ndash the max voice tone

ltspeedgt The voice speed default10 ndash the mix speed1 ndash the normal speed2 ndash the max speed

ltsysvolumegtIt takes no effect to setltsysvolumegtreserved at present

Example

AT+CTTSPARAM=23011OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 414451

25AT Commands for Bluetooth

251 Overview of AT Commands for Bluetooth

Command DescriptionAT+BTINIT Init Bluetooth serviceAT+BTTERM Stop Bluetooth serviceAT+BTPOWER OpenClose BluetoothAT+BTHOST Get or Set host nameAT+BTSCAN Scan BT devicesAT+BTPAIR Pair with other BT deviceAT+BTPAIRED Get Paired BT devicesAT+BTUNPAIR Unpair with the paired BT deviceAT+BTOPPREG OPP RegisterAT+BTOPPSEND OPP send file+BTOPPRECVING OPP receive file notificationAT+BTOPPACCEPT OPP accept or refuse received fileAT+BTGATTREG GATT registerAT+BTGATTCRESRV GATT create serviceAT+BTGATTCRECHAR GATT create service characteristicAT+BTGATTCRECHARDES GATT create service characteristic descriptionAT+BTGATTSTARTSRV GATT startstop serviceAT+BTGATTSTARTADV GATT start advertisementAT+BTGATTDELSRV GATT delete service+BTGATTCONN GATT client connect status+BTGATTWRIND GATT receive client write requestAT+BTGATTWRCFM GATT response to BTGATTWRIND+BTGATTREADIND GATT receive client read requestAT+BTGATTREADCFM GATT response to BTGATTREADINDAT+BTGATTNOTIFY GATT send notification to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 415451

252 Detailed Description of AT Commands for Bluetooth

2521 AT+BTINIT Init Bluetooth service

AT+BTINIT Init Bluetooth serviceExecution CommandAT+BTINIT

Response

a)If init Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

AT+BTINITOK

It must be the first of all the Bluetooth AT commands to be calledIf we want to power on BTwe shouldexecute this command before we execute AT+BTPOWER=1

2522 AT+BTTERM Stop Bluetooth service

AT+BTTERM Stop Bluetooth serviceExecution CommandAT+BTTERM

Response

a)If stop Bluetooth service successfully

OKb)If failedERROR

Parameter Saving Mode -

Max Response Time

Example

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 416451

AT+BTTERMOK

It must be the last of all the Bluetooth AT commands to be calledIf we want to power off BTwe shouldexecute this command before we execute AT+BTPOWER=0

2523 AT+BTPOWER OpenClose Bluetooth

AT+ BTPOWER OpenClose BluetoothTest CommandAT+BTPOWER=

Response+BTPOWER (0-1)

OKRead CommandAT+BTPOWER

Response+BTPOWER ltflaggt

OKWrite CommandAT+BTPOWER=ltflaggt

ResponseOK

+BTPOWER ltflaggtorOKorERROR

Defined Values

ltflaggt 1 ndash Start BT Application0 ndash Stop BT Application

Example

AT+BTPOWER=+BTPOWER (0-1)

OKAT+BTPOWER+BTPOWER 0

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 417451

OKAT+BTPOWER=1OK

+BTPOWER 1

2524 AT+BTHOST Get or Set host name

AT+BTHOST Get or Set host nameRead CommandAT+BTHOST

ResponseOK

+BTHOST lthost namegtlthost mac addrgtWrite CommandAT+BTHOST=ltbtnamegt

ResponseOK

Defined Values

ltbtnamegt New Bluetooth name string Max length is 64lthost namegt Current Bluetooth host namelthost mac addrgt Bluetooth mac address format(xxxxxxxxxxxx) x(0-9A-F)

Example

AT+BTHOSTOK

+BTHOST MDM_Fluoride 2222AE4AA2E8AT+BTHOST=SIM8200_BTOK

2525 AT+BTSCAN Scan BT devices

AT+BTSCAN Scan BT devicesTest CommandAT+BTSCAN=

Response+BTSCAN (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 418451

Write CommandAT+BTSCAN=ltdoscangt

ResponseOK+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt+BTSCAN ltscan statusgtltBT namegtltMac AddrgtltRSSI levelgt[]]+BTSCAN 1 scan end flag

Defined Values

ltdoscangt 0stop scan1scan

ltscan statusgt 0scanning1scan ended

ltBT namegt The bluetooth name of remote deviceltMac Addrgt The bluetooth mac address of the remote deviceltRSSI levelgt The rssi level of the remote device

Example

AT+BTSCAN=+BTSCAN (0-1)

OKAT+BTSCAN=1OK+BTSCAN 0 MiKettle 7811DCC0E683 173+BTSCAN 0 LE-Bose wei 4C875DCA4D37 175

+BTSCAN 0小米手机 7CD661B868D0 179

+BTSCAN 0 ofo F7513B1FAFB5 163+BTSCAN 1

2526 AT+BTPAIR Pair with other BT device

AT+BTPAIR Pair with other BT deviceTest CommandAT+BTPAIR=

Response+BTPAIR 0(BT Address) Or +BTPAIR 1(0-1)

OKWrite CommandAT+BTPAIR=0ltMac Addrgt

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 419451

+BTPAIRING ltdevice namegtltdevice macgtltpasskeygtor+BTPAIR 0orERROR

Write CommandAT+BTPAIR=1ltacceptgt

ResponseOK+BTPAIR ltdevice namegtltdevice macgtor+BTPAIR 0orERROR

Defined Values

ltMac Addrgt The bluetooth mac address of the remote deviceltdevice namegt The bluetooth name of connected deviceltdevice macgt The bluetooth mac address of the connected deviceltpasskeygt Random generate numeric codeltacceptgt 0reject

1accept

Example

AT+BTPAIR=0123131231231OK

+BTPAIRING Acer E380 123131231231 412711AT+BTPAIR=11OK+BTPAIR Acer E380 123131231231

The URC +BTPAIR 0 indicates pairing failed

2527 AT+BTPAIRED Get Paired BT devices

AT+BTPAIRED Get Paired BT devicesRead CommandAT+BTPAIRED

ResponseOK+BTPAIRED ltindexgt[ltBT namegtltMAC addrgt]

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 420451

Defined Values

ltindexgt The index of current bond deviceltBT namegt The bluetooth name of paired deviceltMAC addrgt The bluetooth mac address of the paired device

Example

AT+BTPAIREDOK+BTPAIRED 1 Acer E380 123131231231

2528 AT+BTUNPAIR Unpair with the paired BT device

AT+BTUNPAIR Unpair with the paired BT deviceTest CommandAT+BTUNPAIR=

Response+BTUNPAIR (BT Address)

OKWrite CommandAT+BTUNPAIR=ltMacAddrgt

Response+BTUNPAIR ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltstatusgt 0fail

1success

Example

AT+BTUNPAIR=123131231231+BTUNPAIR 1

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 421451

2529 AT+BTOPPREG OPP Register

AT+BTOPPREG OPP RegisterExecution CommandAT+BTOPPREG

Response+BTOPPREG ltstatusgt

OKParameter Saving Mode -

Max Response Time

Defined Values

ltstatusgt 0fail1success

Example

AT+BTOPPREG+BTOPPREG 1

OK

25210AT+BTOPPSEND OPP send file

AT+BTOPPSEND OPP send fileTest CommandAT+BTOPPSEND=

Response+BTOPPSEND (BT Address)(File Name)

OKWrite CommandAT+BTOPPSEND=ltMacAddrgtltfile namegt

Response+BTOPPSEND ltstatusgt

OK

Defined Values

ltMac Addrgt The bluetooth mac address of the paired deviceltfile namegt The file name which you want to sendltstatusgt 0fail

1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 422451

Example

AT+BTOPPSEND=123131231231IMG_20130110_004138jpg+BTOPPSEND 1

OK

25211 +BTOPPRECVING OPP receive file notification

+BTOPPRECVING OPP receive file notificationResponse+BTOPPRECVING ltfile namegt

Defined Values

ltfile namegt The received file name

Example

+BTOPPRECVING IMG_20130110_004138jpg

25212AT+BTOPPACCEPT OPP accept or refuse received file

AT+BTOPPACCEPT OPP accept or refuse received fileTest CommandAT+BTOPPACCEPT=

Response+BTOPPACCEPT (0-1)

OKWrite CommandAT+BTOPPACCEPT=ltflaggt

ResponseOK

+BTOPPRECEIVED ltresultgt

Defined Values

ltflaggt 1 ndash Accept the received file0 ndash Refuse the received file

ltresultgt 0fail1success

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 423451

Example

+BTOPPRECVING IMG_20130110_004138jpgAT+BTOPPACCEPT=1OK

+BTOPPRECEIVED 1

25213AT+BTGATTREG GATT register

AT+BTGATTREG GATT registerTest CommandAT+BTGATTREG=

Response+BTGATTREG (0-1)

OKRead CommandAT+BTGATTREG

Response+BTGATTREG ltstategt

OKWrite CommandAT+BTGATTREG=ltstategt

ResponseOK

+BTGATTREG ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the register action0 - unregister1 - register

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTREG=+BTGATTREG (0-1)

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 424451

OK

AT+BTGATTREG=1OK

+BTGATTREG 1

AT+BTGATTREG+BTGATTREG 1

OK

It must be called before all commands about GATT connect and after AT+BTPOWER

25214AT+BTGATTCRESRV GATT create service

AT+BTGATTCRESRV GATT create serviceWrite CommandAT+BTGATTCRESRV=ltuuidgt

ResponseOK

+BTGATTCRESRV ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service A string with hex value The length can only be 4or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRESRV=1166

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 425451

OK

+BTGATTCRESRV10X00000000000000000000000000001166

AT+BTGATTCRESRV=31323334353637383930616263646566OK

+BTGATTCRESRV10X31323334353637383930616263646566

It must be called after AT+BTGATTREG

25215AT+BTGATTCRECHAR GATT create service characteristic

AT+BTGATTCRECHAR GATT create service characteristicWrite CommandAT+BTGATTCRECHAR=ltuuidgtltpropertygtltpermissiongt

ResponseOK

+BTGATTCRECHAR ltresultgt[lt0Xuuidgtlthandlegt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this characteristic A string with hex value The length can onlybe 4 or 32

ltpropertygt Properties of this characteristic Refer to the following Table 1ltpermissiongt Permission of this characteristic Refer to the following Table 1lthandlegt A numeric parameter characteristic handlelterrgt The error code please refer to chapter 2531

NoteThe before Properties and Permission represent not support now

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 426451

Table 1 Format Map of Properties and Permission

Properties Format MapDefault 0Broadcast 1(0x01)Read 2(0x02)Write without Response 4(0x04)

Write 8(0x08)Notify 16(0x10)Indicate 32(0x20)Signed Write 64(0x40)

Extended Properties 128(0x80)

Permission Format MapNone 0(0x0000)

Read 1(0x0001)ReadEncrypted 2(0x0002)ReadEncryptedMitm 4(0x0004)Write 16(0x0010)

WriteEncrypted 32(0x0020)WriteEncryptedMitm 64(0x0040)WriteSigned 128(0x0080)WriteSignedMitm 256(0x0100)

Example

AT+BTGATTCRECHAR=1166816OK

+BTGATTCRECHAR10X0000000000000000000000000000116658

AT+BTGATTCRECHAR=31323334353637383930616263646566816OK

+BTGATTCRECHAR10X3132333435363738393061626364656660

It must be called after AT+BTGATTREG

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 427451

25216AT+BTGATTCRECHARDES GATT create service characteristic description

AT+BTGATTCRECHARDES GATT create service characteristic descriptionWrite CommandAT+BTGATTCRECHARDES=ltuuidgt

ResponseOK

+BTGATTCRECHARDES ltresultgt[lt0Xuuidgt]or+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the create result0 - fail1 - success

ltuuidgt UUID of this service characteristic description A string with hex valueThe length can only be 4 or 32

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTCRECHARDES=1166OK

+BTGATTCRECHARDES10X00000000000000000000000000001166

AT+BTGATTCRECHARDES=31323334353637383930616263646566OK

+BTGATTCRECHARDES10X31323334353637383930616263646566

This command usually follows +BTGATTCRECHAR command whose characteristicrsquos property is notify

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 428451

or indicate and the function of this command is to allow client to config whether accept thenotification(indication) or not

25217AT+BTGATTSTARTSRV GATT startstop service

AT+BTGATTSTARTSRV GATT startstop serviceTest CommandAT+BTGATTSTARTSRV=

Response+BTGATTSTARTSRV (0-1)

OKWrite CommandAT+BTGATTSTARTSRV=ltstategt

ResponseOK

+BTGATTSTARTSRV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop service action0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTSRV=+BTGATTSTARTSRV (0-1)

OK

AT+BTGATTSTARTSRV=1OK

+BTGATTSTARTSRV 1

AT+BTGATTSTARTSRV=0OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 429451

+BTGATTSTARTSRV 0

It must be called before all commands about GATT connect and after AT+BTGATTCRESRV

25218AT+BTGATTSTARTADV GATT start advertisement

AT+BTGATTSTARTADV GATT start advertisementTest CommandAT+BTGATTSTARTADV=

Response+BTGATTSTARTADV (0-1)

OKWrite CommandAT+BTGATTSTARTADV=ltstategt

ResponseOK

+BTGATTSTARTADV ltstategtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the startstop advertisementaction0 - stop1 - start

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTSTARTADV=+BTGATTSTARTADV (0-1)

OK

AT+BTGATTSTARTADV=1OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 430451

+BTGATTSTARTADV 1

AT+BTGATTSTARTADV=0OK

+BTGATTSTARTADV 0

Note

25219AT+BTGATTDELSRV GATT delete service

AT+BTGATTDELSRV GATT delete serviceExecution CommandAT+BTGATTDELSRV

ResponseOK

+BTGATTDELSRV ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTDELSRVOK

+BTGATTDELSRV 1

It must be called after AT+BTGATTCRESRV

NOTE

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 431451

25220+BTGATTCONN GATT client connect status

+BTGATTCONN GATT client connect statusResponse+BTGATTCONN ltstategtltaddressgt

Defined Values

ltstategt A numeric parameter that identifies the connect status0 disconnected1 connected

ltaddressgt A string with hex value the address of connected client

Example

+BTGATTCONN 165A26CE7E8BF

+BTGATTCONN 065A26CE7E8BF

25221+BTGATTWRIND GATT receive client write request

+BTGATTWRIND GATT receive client write requestResponse+BTGATTWRIND lthandlegtltdatagt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string with hex value data to be written

Example

+BTGATTWRIND 426162636465

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 432451

25222AT+BTGATTWRCFM GATT response to BTGATTWRIND

AT+BTGATTWRCFM GATT response to BTGATTWRINDWrite CommandAT+BTGATTWRCFM=ltstategt

ResponseOK

+BTGATTWRCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the write action0 - write successfullyOther - Not support

ltresultgt A numeric parameter that identifies the result0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

+BTGATTWRIND 426162636465

AT+BTGATTWRCFM=0OK

+BTGATTWRCFM 1

The command act as the response of +BTGATTWRIND if the module receives BTGATTWRINDwithout sending out this command after a while the connection will be disconnected

25223+BTGATTREADIND GATT receive client read request

+BTGATTREADIND GATT receive client read request

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 433451

Response+BTGATTREADIND lthandlegtltis_longgt

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltis_longgt A numeric parameter that identifies if there is a following request0 - no following request1 - have following request

Example

+BTGATTREADIND 420

25224AT+BTGATTREADCFM GATT response to BTGATTREADIND

AT+BTGATTREADCFM GATT response to BTGATTREADINDWrite CommandAT+BTGATTREADCFM=ltstategtltdatagt

ResponseOK

+BTGATTREADCFM ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

ltstategt A numeric parameter that identifies the read action0 - read successfullyOther - Not support

ltdatagt A string value Data need to be read(max length is 512)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 434451

+BTGATTREADIND 420

AT+BTGATTREADCFM=023456OK

+BTGATTREADCFM 1

The command act as the response of +BTGATTREADIND if the module receives BTGATTREADINDwithout sending out this command after a while the connection will be disconnected

25225AT+BTGATTNOTIFY GATT send notification to client

AT+BTGATTNOTIFY GATT send notification to clientWrite CommandAT+BTGATTNOTIFY=lthandlegtltdatagt

ResponseOK

+BTGATTNOTIFY ltresultgtor+BTGATTERR lterrgt

ERRORorERROR

Defined Values

lthandlegt A string with hex value that identifies the characteristic handle+BTGATTCRECHAR command response returns

ltdatagt A string value notify data to be send to client(max length is 20)ltresultgt A numeric parameter that identifies the create result

0 - fail1 - success

lterrgt The error code please refer to chapter 2531

Example

AT+BTGATTNOTIFY=58456OK

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 435451

+BTGATTNOTIFY 1

253 Summary of result codes for GATT

2531 Summary of Command result lterrgt codes

Code of lterrgt Meaning0 Unregistered1 Registered2 Service created3 Service characteristic created4 Service characteristic description created5 Service deleted6 Service stopped7 Service started8 Advertisement stopped9 Advertisement started10 Client disconnected11 Client connected12 Receive client read request13 Response to BTGATTREADIND14 Receive client write request15 Response to BTGATTWRIND16 Send notification to client17 Send indication to client

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 436451

26AT Commands for MiFi

261 Overview of AT Commands for MiFi

Command DescriptionAT+CWMAP OpenClose MiFiAT+CWSSID SSID settingAT+CWBCAST Broadcast settingAT+CWAUTH Authentication type encrypt mode and password settingAT+CWMOCH 80211 mode and channel settingAT+CWISO Client isolation settingAT+CWDHCP Get the current DHCP configurationAT+CWNAT NAT type settingAT+CWCLICNT Get client number connected to the MiFiAT+CWRSTD Restore to default settingAT+CWMAPCFG MiFi configuration settingAT+CWMACADDR Get MAC addressAT+CWNETCNCT Query the connection to the networkAT+CWSTASCAN Scan WIFI networkAT+CWSTACFG STAmode configuration settingAT+CWSTAIP Get STAmode IP address

262 Detailed Description of AT Commands for MiFi

2621 AT+CWMAP OpenClose MiFi

AT+CWMAP OpenClose MiFiTest CommandAT+CWMAP=

Response+CWMAP(0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 437451

Read CommandAT+CWMAP

Response+CWMAPltflaggt

OK

Write CommandAT+CWMAP=ltflaggt

Response

OKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltflaggt Indicate MiFi statedefault is 10 ndash close1 ndash open

ExampleAT+CWMAP+CWMAP 1

OK

AT+CWMAP=0OK

2622 AT+CWSSID SSID setting

AT+CWSSID SSID settingRead CommandAT+CWSSID

Response+CWSSIDltssidgt

OK

Write CommandAT+CWSSID=ltssidgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 438451

Reference -

Defined Values

ltssidgt Ssid string1 The max length of ltssidgt is 32 bytes when the ltssidgt include only

ASCII characters2 The max length of ltssidgt is 20 bytes when ltssidgt include only

Chinese (One Chinese characters is 2 bytes so the max Chinesecount is 10)

3 The max length of ltssidgt is 22 bytes when ltssidgt include ASCIIand Chinese characters (One Chinese character is 2 bytes oneASCII character is 1 byte)The default ssid is SIM8X00AP

Example

AT+CWSSID+CWSSID SIM8X00AP

OK

AT+CWSSID=SIM8200OK

2623 AT+CWBCAST Broadcast setting

AT+CWBCAST Broadcast settingTest CommandAT+CWBCAST=

Response+CWBCAST (0-1)

OKRead CommandAT+CWBCAST

Response+CWBCAST ltbroadcastgt

OK

Write CommandAT+CWBCAST=ltbroadcastgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 439451

Reference -

Defined Values

ltbroadcastgt Broadcast parameter default10 ndash disabled1 ndash enabled

Example

AT+CWBCAST+CWBCAST 1

OK

AT+CWBCAST=0OK

2624 AT+CWAUTH Authentication setting

AT+CWAUTH Authentication type encrypt mode and password settingRead CommandAT+CWAUTH

Response+CWAUTH ltauthgtltencryptgt[ltpasswordgt]

OK

Write CommandAT+CWAUTH=ltauthgtltencryptgt[ltpasswordgt]

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltauthgt Authentication type parameter default40 - auto1 - open2 - share3 - wpa4 - wpa25 - wpawpa2

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 440451

ltencryptgt Encrypt mode default30 - null1 - WEP2 - TKIP3 - AES4 - TKIP-AES

ltpasswordgt password string the length is 5 or between 8 to 64 The char in thepassword is only allow the ASCII lsquos decimal code between 32 to 126

The parameter need to meet the following conditions1 If (auth = 0 or auth = 1) then (encrypt = 0 or encrypt = 1)2 If (auth =2) then (encrypt = 1)3 If (auth gt=3) then (encrypt gt=2)4 If(encrypt = 0) then (password is null)5 If(encrypt = 1) then1) password canrsquot be set null2) password format (5 ASCII characters) or (10 hexadecimalnumbers) or(13 ASCII characters) or(26 hexadecimal numbers)6 if(encrypt gt= 2) then1) password canrsquot be set null2) password format ( 8~63 ASCII characters or 64 hexadecimalnumbers)

Example

AT+CWAUTH+CWAUTH 431234567890

OK

AT+CWAUTH=54abcd1234OK

2625 AT+CWMOCH 80211 mode and channel setting

AT+CWMOCH 80211 mode and channel settingRead CommandAT+CWMOCH

Response+CWMOCH ltmodegtltchannelgtltbandwidthgt

OK

Write CommandAT+CWMOCH=ltmodegtltch

ResponseOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 441451

annelgtltbandwidthgt orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltmodegt 80211 mode parameter default41 an 5G mode2 b 24G mode3 bg 24G mode4 bgn 24G mode5 acn 5G mode6 ax WIFI6 mode

ltchannelgt Channel parameter default 00 auto select1~11 24G mode channel number36404448149153157161165 5G mode channel number

If ltmodegt is 1 (an) ltchannelgt can be set36404448149153157161165If ltmodegt is 5 (acn) ltchannelgt can be set149153157161165

If ltmodegt is 234 ltchannelgt range is 0~11If ltmodegt is 15 the client must be support 5G modeIf ltmodegt is 6 (ax) the client must be support WiFi6 mode ltchannelgtcan be set 0-11 or 149153157161165

ltbandwidthgt MiFi band width it is an optional paramter0 20MHz band widthvht_oper_chwidth is 0 and vht_capab is HT20

1 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40+

2 40MHz band widthvht_oper_chwidth is 0 and vht_capab is HT40-

3 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40+

4 80MHz band widthvht_oper_chwidth is 1 and vht_capab is HT40-

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 442451

Only when mode is set as 15or 6 bandwidth can be set

Example

AT+CWMOCH+CWMOCH 46

OK

AT+CWMOCH=40OK

2626 AT+CWISO Client isolation setting

AT+CWISO Client isolation settingTest CommandAT+CWISO=

Response+CWISO (0-1)

OKRead CommandAT+CWISO

Response+CWISO ltisolationgt

OK

Write CommandAT+CWISO=ltisolationgt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltisolationgt Isolation parameter default 00 ndash close1 ndash open

Example

AT+CWISO+CWISO 0

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 443451

OK

AT+CWISO=1OK

2627 AT+CWDHCP Get the current DHCP configuration

AT+CWDHCP Get the current DHCP configurationRead CommandAT+CWDHCP

Response+CWDHCPlthost_ipgtltrange_start_ipgtltrange_end_ipgtltleasetimegt

OKParameter Saving Mode -

Max Response Time -Reference -

Defined Values

lthost_ipgt The AP IP addressltrange_start_ipgt The start IP of the IP range that assigned to the clientltrange_end_ipgt The end IP of the IP range that assigned to the clientltleasetimegt The lease time

Example

AT+CWDHCP+CWDHCP1921682251192168225201921682256012h

OK

2628 AT+CWNAT NAT type setting

AT+CWNAT NAT type settingTest CommandAT+CWNAT=

Response+CWNAT (0-1)

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 444451

Read CommandAT+CWNAT

Response+CWNAT lttypegt

OK

Write CommandAT+CWNAT=lttypegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

lttypegt NAT type parameter default00 Symmetric1 Cone

Example

AT+CWNAT+CWNAT 0

OKAT+CWNAT=1OK

2629 AT+CWCLICNT Get client number connected to the MiFi

AT+CWCLICNT Get client number connected to the MiFiRead CommandAT+CWCLICNT

Response+CWCLICNTltcntgt

OK

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltcntgt the connected client count range is from 0 to 32

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 445451

Example

AT+CWCLICNT+CWCLICNT 1

OK

26210AT+CWRSTD Restore to default setting

AT+CWRSTD Restore to default settingExecution CommandAT+CWRSTD

ResponseOK

Parameter Saving Mode -

Max Response Time -Reference -The module will reboot after restore

Defined Values

Example

AT+CWRSTDOK

26211 AT+CWMAPCFG MiFi configuration setting

AT+CWMAPCFG configuration settingTest CommandAT+CWMAPCFG=

Response+CWMAPCFG(enablessid2configselect)(0-2)

OK

Read CommandAT+CWMAPCFG

Response+CWMAPCFG ltenablessid2_valuegtltconfigselect_valuegt

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 446451

Write CommandAT+CWMAPCFG=ltoptiongtltvaluegt

ResponseOKorERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltenablessid2_valuegt 0 ndash AP mode1 ndash AP-AP mode2 ndash STA-AP mode

ltconfigselect_valuegt Current AP ID 012ltoptiongt enablessid2rdquo set MiFi mode

configselectrdquo set the current AP IDltvaluegt The value of the options

If (option=rdquoenablessid2rdquo)0 AP mode1 AP-AP mode2 STA-AP mode

If (option=rdquoconfigselectrdquo)Current AP ID (0 or 1 or 2) to be set

When current AP ID is 0 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISOAT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thefirst APrsquos settings

When current AP ID is 1 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thesecond APrsquos settings

When current AP ID is 2 theAT+CWSSIDAT+CWBCASTAT+CWAUTHAT+CWMOCHAT+CWISO AT+CWDHCPAT+CWCLICNTAT+CWMACADDR will modify thethird APrsquos settings theAT+CWSTAIPAT+CWSTASCANAT+CWSTACFGwill modify the STArsquos settings

NOTE

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 447451

It canrsquot set the configselect value to 1 when enablessid2 is 0 The configselect value will be changed due to enablessid2enablessid2 configselect0 01 0 or 12 2

Example

AT+CWMAPCFG=+CWMAPCFG (enablessid2configselect)(0-2)

OKAT+CWMAPCFG+CWMAPCFG 00

OKAT+CWMAPCFG=enablessid21OKAT+CWMAPCFG=configselect1OKAT+CWMAPCFG=enablessid20OK

26212AT+CWMACADDR Get MAC address

AT+CWMACADDR Get MAC addressRead CommandAT+CWMACADDR

ResponseOK

+CWMACADDRltnumbergtltmac_addrgt[ ]orERROR

Parameter Saving Mode -

Max Response Time -Reference -

Defined Values

ltnumbergt 0 ndash host mac addr

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 448451

1ndash client mac addr client mac addr

ltmac_addrgt Device mac address

Example

AT+CWMACADDROK

+CWMACADDR002037F9362621cc29f5e0eff3

26213AT+CWNETCNCT Query the connection to the network

AT+CWNETCNCT Query the connection to the networkRead CommandAT+CWNETCNCT

Response+CWNETCNCT ltflaggt

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflaggt 0 disconnect1 connect

Example

AT+CWNETCNCT+CWNETCNCT 1

OK

26214AT+CWSTASCAN Scan WIFI network

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 449451

AT+CWSTASCAN Scan WIFI networkRead CommandAT+CWSTASCAN

Response+CWSTASCAN ltflag_show_signalgt

OK

Write CommandAT+CWSTASCAN=ltflag_show_signalgt

ResponseOKorERROR

Execute CommandAT+CWSTASCAN

OK

[+CWSTASCANltbssidgtltssidgt[ltsignalgt][hellip hellip]]orERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltflag_show_signalgt 0 ndashDonrsquot show the signal level Itrsquos the default value1 ndashShow the signal level

ltbssidgt The MAC address of external wireless networkltssidgt The SSID name of external wireless networkltsignalgt The signal level of external wireless network

Example

AT+CWSTASCANOK

+CWSTASCAN4ce676492a48simtest

AT+CWSTASCAN=1OKAT+CWSTASCAN+CWSTASCAN 1

OKAT+CWSTASCANOK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 450451

+CWSTASCANf483cdd824c8TP-LINK_24C8-5280891710e623TP-LINK_SW2-58142d27249861Public-58bc469938e2caTP-LINK_E2CA-640c72d949258bnubia-WD670-258B-92502b73c0aad9Tenda_C0AAD9-68

26215AT+CWSTACFG STAmode configuration setting

AT+CWSTACFG STAmode configuration settingRead CommandAT+CWSTACFG

Response+CWSTACFGltssidgt[ltsecuritygtltprotogtltpskgt]

OK

Write CommandAT+CWSTACFG=ltssidgt[ltsecuritygtltprotogtltpskgt]

ResponseOKorERROR

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltssidgt The SSID name of external wireless networkltsecuritygt Reserved valueltprotogt Reserved valueltpskgt The password of external wireless network

Example

AT+CWSTACFG=simtest211234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

SIM8200 Series_AT Command Manual_V101

wwwsimcomcom 451451

AT+CWSTACFG=simtest1234567890OKAT+CWSTACFG+CWSTACFG simtest1234567890

OK

26216AT+CWSTAIP Get STAmode IP address

AT+CWSTAIP Get STAmode IP addressRead CommandAT+CWSTAIP

Response[+CWSTAIP ltip addressgt]

OK

Parameter Saving Mode -

Maximum Response Time -Reference -

Defined Values

ltip addressgt The station IP address

Example

AT+CWSTAIP+CWSTAIP 1921681127

OK

  • Version History
  • Contents
  • 1Introduction
    • 11Scope of the document
    • 12Related documents
    • 13Conventions and abbreviations
    • 14AT Command syntax
      • 141Basic syntax
      • 142S Parameter syntax
      • 143Extended Syntax
      • 144Combining AT commands on the same Command line
      • 145Entering successive AT commands on separate lines
        • 15Supported character sets
        • 16Flow control
          • 161Hardware flow control (RTSCTS flow control)
            • 17Definitions
              • 171Parameter Saving Mode
              • 172Max Response Time
                  • 2AT Commands According to V25TER
                    • 21Overview of AT Commands According to V25TER
                    • 22Detailed Description of AT Commands According to V
                      • 221A Re-issues the Last Command Given
                      • 222ATD Mobile Originated Call to Dial A Number
                      • 223ATDgtltmemgtltngt Originate call from specified memory
                      • 224ATDgtltngt Originate call from active memory(1)
                      • 225ATDgtltstrgt Originate call from active memory(2)
                      • 226ATA Call answer
                      • 227ATH Disconnect existing call
                      • 228ATS0 Automatic answer incoming call
                      • 229+++ Switch from data mode to command mode
                      • 2210ATO Switch from command mode to data mode
                      • 2211ATI Display product identification information
                      • 2212AT+IPR Set local baud rate temporarily
                      • 2213AT+ICF Set control character framing
                      • 2214AT+IFC Set local data flow control
                      • 2215ATampC Set DCD function mode
                      • 2216ATE Enable command echo
                      • 2217ATampV Display current configuration
                      • 2218ATampD Set DTR function mode
                      • 2219ATV Set result code format mode
                      • 2220ATampF Set all current parameters to manufacturer d
                      • 2221ATQ Set Result Code Presentation Mode
                      • 2222ATX Set CONNECT Result Code Format
                      • 2223ATV Set CONNECT Result Code Format About Protoco
                      • 2224ATampE Set CONNECT Result Code Format About Speed
                      • 2225ATampW Save the user setting to ME
                      • 2226ATZ Restore the user setting from ME
                      • 2227AT+CGMI Request manufacturer identification
                      • 2228AT+CGMM Request model identification
                      • 2229AT+CGMR Request revision identification
                      • 2230AT+CGSN Request product serial number identificat
                      • 2231AT+CSCS Select TE character set
                      • 2232AT+CIMI Request international mobile subscriber i
                      • 2233AT+GCAP Request overall capabilities
                          • 3AT Commands for Status Control
                            • 31Overview of AT Commands for Status Control
                            • 32Detailed Description of AT Commands for Status Con
                              • 321AT+CFUN Set phone functionality
                              • 322AT+CPIN Enter PIN
                              • 323AT+CICCID Read ICCID from SIM card
                              • 324AT+CSIM Generic SIM access
                              • 325AT+CRSM Restricted SIM access
                              • 326AT+SPIC Times remain to input SIM PINPUK
                              • 327AT+CSPN Get service provider name from SIM
                              • 328AT+CSQ Query signal quality
                              • 329AT+AUTOCSQ Set CSQ report
                              • 3210AT+CSQDELTA Set RSSI delta change threshold
                              • 3211AT+CATR Configure URC destination interface
                              • 3212AT+CPOF Power down the module
                              • 3213AT+CRESET Reset the module
                              • 3214AT+CACM Accumulated call meter
                              • 3215AT+CAMM Accumulated call meter maximum
                              • 3216AT+CPUC Price per unit and currency table
                              • 3217AT+CCLK Real time clock management
                              • 3218AT+CMEE Report mobile equipment error
                              • 3219AT+CPAS Phone activity status
                              • 3220AT+SIMEI Set IMEI for the module
                              • 3221AT+CSVM Voice Mail Subscriber number
                              • 3222Indication of Voice Mail
                                • 33Summary of CME ERROR codes
                                • 34Summary of CMS ERROR codes
                                  • 4AT Commands for Network
                                    • 41Overview of AT Commands for Network
                                    • 42Detailed Description of AT Commands for Network
                                      • 421AT+CREG Network registration
                                      • 422AT+COPS Operator selection
                                      • 423AT+CLCK Facility lock
                                      • 424AT+CPWD Change password
                                      • 425AT+CCUG Closed user group
                                      • 426AT+CUSD Unstructured supplementary service data
                                      • 427AT+CAOC Advice of Charge
                                      • 428AT+CSSN Supplementary service notifications
                                      • 429AT+CPOL Preferred operator list
                                      • 4210AT+COPN Read operator names
                                      • 4211AT+CNMP Preferred mode selection
                                      • 4212AT+CNAOP Acquisitions order preference
                                      • 4213AT+CPSI Inquiring UE system information
                                      • 4214AT+CNSMOD Show network system mode
                                      • 4215AT+CEREG EPS network registration status
                                      • 4216AT+CTZU Automatic time and time zone update
                                      • 4217AT+CTZR Time and time zone reporting
                                      • 4218AT+CNWINFO Inquiring extra network info
                                      • 4219AT+C5GREG NR5G network registration status
                                      • 4220AT+CSYSSEL Set system selection pref
                                      • 4221AT+CCELLCFG Set lte cell configuration
                                      • 4222AT+C5GCELLCFG Set NR5G cell configuration
                                          • 5AT Commands According to Call Control
                                            • 51Overview of AT Commands According to 3GPP Call Con
                                            • 52Detailed Description of AT Commands According to C
                                              • 521AT+CVHU Voice hang up control
                                              • 522AT+CHUP Hang up call
                                              • 523AT+CBST Select bearer service type
                                              • 524AT+CRLP Radio link protocol
                                              • 525AT+CR Service reporting control
                                              • 526AT+CRC Cellular result codes
                                              • 527AT+CLCC List current calls
                                              • 528AT+CEER Extended error report
                                              • 529AT+CCWA Call waiting
                                              • 5210AT+CHLD Call related supplementary services
                                              • 5211AT+CCFC Call forwarding number and conditions
                                              • 5212AT+CLIP Calling line identification presentation
                                              • 5213AT+CLIR Calling line identification restriction
                                              • 5214AT+COLP Connected line identification presentatio
                                              • 5215AT+VTS DTMF and tone generation
                                              • 5216AT+VTD Tone duration
                                              • 5217AT+CSTA Select type of address
                                              • 5218AT+CMOD Call mode
                                              • 5219AT+VMUTE Speaker mute control
                                              • 5220AT+CMUT Microphone mute control
                                              • 5221AT+MORING Enable or disable report MO ring URC
                                              • 5222AT+CLVL Loudspeaker volume level
                                              • 5223AT+CRXVOL Adjust RX voice output speaker volume
                                              • 5224AT+CTXVOL Adjust TX voice mic volume
                                              • 5225AT+CTXMICGAIN Adjust TX voice mic gain
                                              • 5226AT+CECH Inhibit far-end echo
                                              • 5227AT+CECDT Inhibit echo during doubletalk
                                                  • 6AT Commands for Phonebook
                                                    • 61Overview of AT Commands for Phonebook
                                                    • 62Detailed Description of AT Commands for Phonebook
                                                      • 621AT+CPBS Select Phonebook memory storage
                                                      • 622AT+CPBR Read Phonebook entries
                                                      • 623AT+CPBF Find Phonebook entries
                                                      • 624AT+CPBW Write Phonebook entry
                                                      • 625AT+CNUM Subscriber number
                                                          • 7AT Commands for SIM Application Toolkit
                                                            • 71Overview of AT Commands for SIM Application Toolki
                                                            • 72Detailed Description of AT Commands for SIM Applic
                                                              • 721AT+STIN SAT Indication
                                                              • 722AT+STGI Get SAT information
                                                              • 723AT+STGR SAT respond
                                                              • 724AT+STK STK switch
                                                              • 725AT+STKFMT Set STK pdu format
                                                              • 726AT+STENV Original STK PDU Envelope Command
                                                              • 727AT+STSM Get STK Setup Menu List with PDU Mode
                                                                  • 8AT Commands for GPRS
                                                                    • 81Overview of AT Commands for GPRS
                                                                    • 82Detailed Description of AT Commands for GPRS
                                                                      • 821AT+CGREG GPRS network registration status
                                                                      • 822AT+CGATT Packet domain attach or detach
                                                                      • 823AT+CGACT PDP context activate or deactivate
                                                                      • 824AT+CGDCONT Define PDP context
                                                                      • 825AT+CGDSCONT Define Secondary PDP Context
                                                                      • 826AT+CGTFT Traffic Flow Template
                                                                      • 827AT+CGQREQ Quality of service profile (requested)
                                                                      • 828AT+CGEQREQ 3G quality of service profile (request
                                                                      • 829AT+CGQMIN Quality of service profile (minimum acc
                                                                      • 8210AT+CGEQMIN 3G quality of service profile (minimum
                                                                      • 8211AT+CGDATA Enter data state
                                                                      • 8212AT+CGPADDR Show PDP address
                                                                      • 8213AT+CGCLASS GPRS mobile station class
                                                                      • 8214AT+CGEREP GPRS event reporting
                                                                      • 8215AT+CGAUTH Set type of authentication for PDP-IP c
                                                                        • 83Summary of Unsolicited Result Codes
                                                                          • 9AT Commands for SMS
                                                                            • 91Overview of AT Commands for SMS
                                                                            • 92Detailed Description of AT Commands for SMS
                                                                              • 921AT+CSMS Select message service
                                                                              • 922AT+CPMS Preferred message storage
                                                                              • 923AT+CMGF Select SMS message format
                                                                              • 924AT+CSCA SMS service center address
                                                                              • 925AT+CSCB Select cell broadcast message indication
                                                                              • 926AT+CSMP Set text mode parameters
                                                                              • 927AT+CSDH Show text mode parameters
                                                                              • 928AT+CNMA New message acknowledgement to META
                                                                              • 929AT+CNMI New message indications to TE
                                                                              • 9210AT+CGSMS Select service for MO SMS messages
                                                                              • 9211AT+CMGL List SMS messages from preferred store
                                                                              • 9212AT+CMGR Read message
                                                                              • 9213AT+CMGS Send message
                                                                              • 9214AT+CMSS Send message from storage
                                                                              • 9215AT+CMGW Write message to memory
                                                                              • 9216AT+CMGD Delete message
                                                                              • 9217AT+CMGMT Change message status
                                                                              • 9218AT+CMVP Set message valid period
                                                                              • 9219AT+CMGRD Read and delete message
                                                                              • 9220AT+CMGSEX Send message
                                                                              • 9221AT+CMSSEX Send multi messages from storage
                                                                                  • 10AT Commands for SSL
                                                                                    • 101Overview of AT Commands for SSL
                                                                                    • 102Detailed Description of AT Commands for SSL
                                                                                      • 1021AT+CCHSTART Start SSL service
                                                                                      • 1022AT+CCHSTOP Stop SSL service
                                                                                      • 1023AT+CCHOPEN Connect to SSL server
                                                                                      • 1024AT+CCHCLOSE Disconnect from SSL server
                                                                                      • 1025AT+CCHSEND Send data to SSL server
                                                                                      • 1026AT+CCHRECV Read the cached data that received fro
                                                                                      • 1027AT+CCHADDR Get the IPV4 address
                                                                                      • 1028AT+CCHCFG Configure the client context
                                                                                      • 1029AT+CCHSSLCFG Set the SSL context
                                                                                      • 10210AT+CCHMODE Configure the mode of sending and rece
                                                                                      • 10211AT+CCHSET Configure the report mode of sending an
                                                                                      • 10212AT+CSSLCFG Configure the SSL context
                                                                                      • 10213AT+CCERTDOWN Download certificate into the module
                                                                                      • 10214AT+CCERTLIST List certificates
                                                                                      • 10215AT+CCERTDELE Delete certificates
                                                                                        • 103Command result lterrgt codes
                                                                                        • 104Unsolicited result codes
                                                                                          • 11AT Commands for TCPIP
                                                                                            • 111Overview of AT Commands for TCPIP
                                                                                            • 112Detailed Description of AT Commands for TCPIP
                                                                                              • 1121AT+NETOPEN Start TCPIP service
                                                                                              • 1122AT+NETCLOSE Stop TCPIP service
                                                                                              • 1123AT+CIPOPEN Setup TCPUDP client socket connection
                                                                                              • 1124AT+CIPCLOSE Destroy TCPUDP client socket connect
                                                                                              • 1125AT+CIPSEND Send TCPUDP data
                                                                                              • 1126AT+CIPRXGET Retrieve TCPUDP buffered data
                                                                                              • 1127AT+IPADDR Get IP address of PDP context
                                                                                              • 1128AT+CIPHEAD Add an IP header when receiving data
                                                                                              • 1129AT+CIPSRIP Show remote IP address and port
                                                                                              • 11210AT+CIPMODE Select TCPIP application mode
                                                                                              • 11211AT+CIPSENDMODE Set sending mode
                                                                                              • 11212AT+CIPTIMEOUT Set TCPIP timeout value
                                                                                              • 11213AT+CIPCCFG Configure parameters of socket
                                                                                              • 11214AT+SERVERSTART Startup TCP server
                                                                                              • 11215AT+SERVERSTOP Stop TCP server
                                                                                              • 11216AT+CIPACK QueryTCP connection data transmitting s
                                                                                                • 113DNS amp PING
                                                                                                  • 1131AT+CDNSGIP Query the IP address of given domain n
                                                                                                  • 1132AT+CDNSGHNAME Query the domain name of given IP a
                                                                                                  • 1133AT+CIPDNSSET Set DNS query parameters
                                                                                                  • 1134AT+CPING Ping destination address
                                                                                                  • 1135AT+CPINGSTOP Stop an ongoing ping session
                                                                                                    • 114Information Elements related to TCPIP
                                                                                                    • 115Description of lterr_infogt
                                                                                                    • 116Description of lterrgt
                                                                                                      • 12AT Commands for FTP(S)
                                                                                                        • 121Overview of AT Commands for FTP(S)
                                                                                                        • 122Detailed Description of AT Commands for FTP(S)
                                                                                                          • 1221AT+CFTPSSTART Start FTP(S) service
                                                                                                          • 1222AT+CFTPSSTOP Stop FTP(S) Service
                                                                                                          • 1223AT+CFTPSLOGIN Login to a FTP(S) server
                                                                                                          • 1224AT+CFTPSLOGOUT Logout FTP(S) server
                                                                                                          • 1225AT+CFTPSMKD Create a new directory on FTP(S) serv
                                                                                                          • 1226AT+CFTPSRMD Delete a directory on FTP(S) server
                                                                                                          • 1227AT+CFTPSDELE Delete a file on FTP(S) server
                                                                                                          • 1228AT+CFTPSCWD Change the current directory on FTP(S
                                                                                                          • 1229AT+CFTPSPWD Get the current directory on FTP(S) s
                                                                                                          • 12210AT+CFTPSTYPE Set the transfer type on FTP(S) serv
                                                                                                          • 12211AT+CFTPSLIST List the items in the directory on F
                                                                                                          • 12212AT+CFTPSGETFILE Get a file from FTP(S) server to
                                                                                                          • 12213AT+CFTPSPUTFILE Put a file from module to FTP(S)
                                                                                                          • 12214AT+CFTPSGET Get a file from FTP(S) server to seri
                                                                                                          • 12215AT+CFTPSPUT Put a file to FTP(S) server through s
                                                                                                          • 12216AT+CFTPSSINGLEIP Set FTP(S) data socket address t
                                                                                                          • 12217AT+CFTPSCACHERD Output cached data to MCU
                                                                                                          • 12218AT+CFTPSABORT Abort FTP(S) Operations
                                                                                                          • 12219AT+CFTPSSIZE Get the File Size on FTP(S) server
                                                                                                            • 123Summary of result codes for FTPS
                                                                                                              • 1231Summary of Command result lterrcodegt
                                                                                                              • 1232Summary of Unsolicited Result Codes
                                                                                                                  • 13AT Commands for HTTPS
                                                                                                                    • 131Overview of AT Commands for HTTPS
                                                                                                                    • 132DetailedDescription of AT Commands for HTTPS
                                                                                                                      • 1321AT+HTTPINIT Start HTTP(S) service
                                                                                                                      • 1322AT+HTTPTERM Stop HTTP(S) Service
                                                                                                                      • 1323AT+HTTPPARA Set HTTP(S) Parameters value
                                                                                                                      • 1324AT+HTTPACTION HTTP(S) Method Action
                                                                                                                      • 1325AT+HTTPHEAD Read the HTTP(S) Header Information o
                                                                                                                      • 1326AT+HTTPREAD Read the Response Information of HTTP
                                                                                                                      • 1327AT+HTTPDATA Input HTTP(S) Data
                                                                                                                      • 1328AT+HTTPPOSTFILE Send HTTP Request to HTTP(S) serv
                                                                                                                      • 1329AT+HTTPREADFILE Receive HTTP(S) Response Content
                                                                                                                        • 133Summary of result codes for HTTPS
                                                                                                                          • 1331Summary of HTTP(S) Response Code
                                                                                                                          • 1332Summary of HTTP(S) error Code
                                                                                                                              • 14AT Commands for MQTT(S)
                                                                                                                                • 141Overview of AT Commands for MQTT(S)
                                                                                                                                • 142Detailed Description of AT Commands for MQTT(S)
                                                                                                                                  • 1421AT+CMQTTSTART Start MQTT service
                                                                                                                                  • 1422AT+CMQTTSTOP STOP MQTT service
                                                                                                                                  • 1423AT+CMQTTACCQ Acquire a client
                                                                                                                                  • 1424AT+CMQTTREL Release a client
                                                                                                                                  • 1425AT+CMQTTSSLCFG Set the SSL context
                                                                                                                                  • 1426AT+CMQTTWILLTOPIC Input the will topic
                                                                                                                                  • 1427AT+CMQTTWILLMSG Input the will message
                                                                                                                                  • 1428AT+CMQTTDISC Disconnect from server
                                                                                                                                  • 1429AT+CMQTTCONNECT Connect to MQTT server
                                                                                                                                  • 14210AT+CMQTTTOPIC Input the publish message topic
                                                                                                                                  • 14211AT+CMQTTPAYLOAD Input the publish message body
                                                                                                                                  • 14212AT+CMQTTPUB Publish a message to server
                                                                                                                                  • 14213AT+CMQTTSUBTOPIC Input a subscribe message topic
                                                                                                                                  • 14214AT+CMQTTSUB Subscribe a message to server
                                                                                                                                  • 14215AT+CMQTTUNSUBTOPIC Input a unsubscribe message to
                                                                                                                                  • 14216AT+CMQTTUNSUB Unsubscribe a message to server
                                                                                                                                  • 14217AT+CMQTTCFG Configure the MQTT Context
                                                                                                                                    • 143Summary of result codes for MQTT(S)
                                                                                                                                      • 1431Summary of Command result lterrgt codes
                                                                                                                                      • 1432Summary of Unsolicited Result Codes
                                                                                                                                          • 15AT Commands for NTP
                                                                                                                                            • 151Overview of AT Commands for NTP
                                                                                                                                            • 152Detailed Description of AT Commands for NTP
                                                                                                                                              • 1521AT+CNTP Update system time
                                                                                                                                              • 1522Unsolicited NTP Codes
                                                                                                                                                  • 16AT Commands for HTP
                                                                                                                                                    • 161Overview of AT Commands for HTP
                                                                                                                                                    • 162Detailed Description of AT Commands for HTP
                                                                                                                                                      • 1621AT+CHTPSERV Set HTP server info
                                                                                                                                                      • 1622AT+CHTPUPDATE Updating date time using HTP protoc
                                                                                                                                                      • 1623Unsolicited HTP Codes
                                                                                                                                                          • 17AT Commands for GPS
                                                                                                                                                            • 171Overview of AT Commands for GPS
                                                                                                                                                            • 172Detailed Description of AT Commands for GPS
                                                                                                                                                              • 1721AT+CGPS StartStop GPS session
                                                                                                                                                              • 1722AT+CGPSINFO Get GPS fixed position information
                                                                                                                                                              • 1723AT+CGPSCOLD Cold Start GPS
                                                                                                                                                              • 1724AT+CGPSHOT Hot Start GPS
                                                                                                                                                              • 1725AT+CGPSURL Set AGPS default server URL
                                                                                                                                                              • 1726AT+CGPSSSL Set AGPS transport security
                                                                                                                                                              • 1727AT+CGPSAUTO Start GPS automatic
                                                                                                                                                              • 1728AT+CGPSNMEA Configure NMEA sentence type
                                                                                                                                                              • 1729AT+CGPSNMEARATE Set NMEA output rate
                                                                                                                                                              • 17210AT+CGPSMD Configure AGPS MO method
                                                                                                                                                              • 17211AT+CGPSFTM Start GPS test mode
                                                                                                                                                              • 17212AT+CGPSDEL Delete the GPS information
                                                                                                                                                              • 17213AT+CGPSXE EnableDisable GPS XTRA function
                                                                                                                                                              • 17214AT+CGPSXD Download XTRA assistant file
                                                                                                                                                              • 17215AT+CGPSXDAUTO Download XTRA assistant file automa
                                                                                                                                                              • 17216AT+CGPSPMD Configure positioning mode
                                                                                                                                                              • 17217AT+CGPSMSB Configure based mode switch to standal
                                                                                                                                                              • 17218AT+CGPSHOR Configure positioning desired accuracy
                                                                                                                                                              • 17219AT+CGNSSINFO Get GNSS fixed position information
                                                                                                                                                              • 17220AT+CGNSSMODE Configure GNSS support mode
                                                                                                                                                              • 17221Unsolicited XTRA download Codes
                                                                                                                                                                  • 18AT Commands for LBS
                                                                                                                                                                    • 181 Overview of AT Commands for LBS
                                                                                                                                                                    • 182Detailed Description of AT Commands for LBS
                                                                                                                                                                      • 1821AT+CLBS Base station location
                                                                                                                                                                      • 1822AT+CLBSCFG Base station Location configure
                                                                                                                                                                          • 19AT Commands for Hardware
                                                                                                                                                                            • 191Overview of AT Commands for Hardware
                                                                                                                                                                            • 192Detailed Description of AT Commands for Hardware
                                                                                                                                                                              • 1921AT+IPREX Set UART local baud rate permanently
                                                                                                                                                                              • 1922AT+CFGRI Indicate RI when using URC
                                                                                                                                                                              • 1923AT+CSCLK Control UART sleep
                                                                                                                                                                              • 1924AT+CMUX Enable the multiplexer over the UART
                                                                                                                                                                              • 1925AT+CGFUNC Enabledisable the function for the spe
                                                                                                                                                                              • 1926AT+CGDRT Set the direction of specified GPIO
                                                                                                                                                                              • 1927AT+CGSETV Set the value of specified GPIO
                                                                                                                                                                              • 1928AT+CGGETV Get the value of specified GPIO
                                                                                                                                                                              • 1929AT+CPCIEMODE Get or set the mode of PCIE
                                                                                                                                                                                  • 20 Hardware Related Commands
                                                                                                                                                                                    • 201Overview of Hardware Related Commands
                                                                                                                                                                                    • 202Detailed Description of AT Commands for Hardware
                                                                                                                                                                                      • 2021AT+CVALARM Set overvoltage and undervoltage alarm
                                                                                                                                                                                      • 2022AT+CADC Read the value of ADC
                                                                                                                                                                                      • 2023AT+CADC2 Read the value of ADC2
                                                                                                                                                                                      • 2024AT+CMTE Set the power action when over the critic
                                                                                                                                                                                      • 2025AT+CPMVT Set the power action when overvoltage an
                                                                                                                                                                                      • 2026AT+CDELTA Set module reboot to recovery mode
                                                                                                                                                                                      • 2027AT+CBC Read the voltage value of the power supply
                                                                                                                                                                                      • 2028AT+CPMUTEMP Read the temperature of the modules
                                                                                                                                                                                      • 2029AT+CUSBCFG Set usbidadb modeedl mode and bootlo
                                                                                                                                                                                      • 20210AT+CCPUTEMP Read the temperature of CPU different
                                                                                                                                                                                          • 21AT Commands for UIM hot swap
                                                                                                                                                                                            • 211Overview of AT Commands for UIM hot swap
                                                                                                                                                                                            • 212Detailed Description of AT Commands for UIM hot sw
                                                                                                                                                                                              • 2121AT+UIMHOTSWAPON Set UIM hot swap function on
                                                                                                                                                                                              • 2122AT+UIMHOTSWAPLEVEL Set UIM card detection level
                                                                                                                                                                                                  • 22AT Commands for File System
                                                                                                                                                                                                    • 221Overview of AT Commands for File System
                                                                                                                                                                                                    • 222Detailed Description of AT Commands for File Syste
                                                                                                                                                                                                      • 2221AT+FSCD Select directory as current directory
                                                                                                                                                                                                      • 2222AT+FSMKDIR Make new directory in current director
                                                                                                                                                                                                      • 2223AT+FSRMDIR Delete directory in current directory
                                                                                                                                                                                                      • 2224AT+FSLS List directoriesfiles in current directo
                                                                                                                                                                                                      • 2225AT+FSDEL Delete file in current directory
                                                                                                                                                                                                      • 2226AT+FSRENAME Rename file in current directory
                                                                                                                                                                                                      • 2227AT+FSATTRI Request file attributes
                                                                                                                                                                                                      • 2228AT+FSMEM Check the size of available memory
                                                                                                                                                                                                      • 2229AT+FSLOCA Select storage place
                                                                                                                                                                                                      • 22210AT+FSCOPY Copy an appointed file
                                                                                                                                                                                                      • 22211AT+CFTRANRX Transfer a file to EFS
                                                                                                                                                                                                      • 22212AT+CFTRANTX Transfer a file from EFS to host
                                                                                                                                                                                                          • 23AT Commands for AUDIO
                                                                                                                                                                                                            • 231Overview of AT Commands for AUDIO
                                                                                                                                                                                                            • 232Detailed Description of AT Commands for AUDIO
                                                                                                                                                                                                              • 2321AT+CREC Record wav audio file
                                                                                                                                                                                                              • 2322AT+CRECAMR Record amr audio file
                                                                                                                                                                                                              • 2323AT+CCMXPLAY Play audio file
                                                                                                                                                                                                              • 2324AT+CCMXSTOP Stop playing audio file
                                                                                                                                                                                                                  • 24AT Commands for TTS
                                                                                                                                                                                                                    • 241Overview of AT Commands for TTS
                                                                                                                                                                                                                    • 242Detailed Description of AT Commands for TTS
                                                                                                                                                                                                                      • 2421AT+CDTAM TTS play path local or remote
                                                                                                                                                                                                                      • 2422AT+CTTS TTS operation play or stop
                                                                                                                                                                                                                      • 2423AT+CTTSPARAM TTS Parameters set or get
                                                                                                                                                                                                                          • 25AT Commands for Bluetooth
                                                                                                                                                                                                                            • 251Overview of AT Commands for Bluetooth
                                                                                                                                                                                                                            • 252Detailed Description of AT Commands for Bluetooth
                                                                                                                                                                                                                              • 2521AT+BTINIT Init Bluetooth service
                                                                                                                                                                                                                              • 2522AT+BTTERM Stop Bluetooth service
                                                                                                                                                                                                                              • 2523AT+BTPOWER OpenClose Bluetooth
                                                                                                                                                                                                                              • 2524AT+BTHOST Get or Set host name
                                                                                                                                                                                                                              • 2525AT+BTSCAN Scan BT devices
                                                                                                                                                                                                                              • 2526AT+BTPAIR Pair with other BT device
                                                                                                                                                                                                                              • 2527AT+BTPAIRED Get Paired BT devices
                                                                                                                                                                                                                              • 2528AT+BTUNPAIR Unpair with the paired BT device
                                                                                                                                                                                                                              • 2529AT+BTOPPREG OPP Register
                                                                                                                                                                                                                              • 25210AT+BTOPPSEND OPP send file
                                                                                                                                                                                                                              • 25211+BTOPPRECVING OPP receive file notification
                                                                                                                                                                                                                              • 25212AT+BTOPPACCEPT OPP accept or refuse received file
                                                                                                                                                                                                                              • 25213AT+BTGATTREG GATT register
                                                                                                                                                                                                                              • 25214AT+BTGATTCRESRV GATT create service
                                                                                                                                                                                                                              • 25215AT+BTGATTCRECHAR GATT create service characterist
                                                                                                                                                                                                                              • 25216AT+BTGATTCRECHARDES GATT create service character
                                                                                                                                                                                                                              • 25217AT+BTGATTSTARTSRV GATT startstop service
                                                                                                                                                                                                                              • 25218AT+BTGATTSTARTADV GATT start advertisement
                                                                                                                                                                                                                              • 25219AT+BTGATTDELSRV GATT delete service
                                                                                                                                                                                                                              • 25220+BTGATTCONN GATT client connect status
                                                                                                                                                                                                                              • 25221+BTGATTWRIND GATT receive client write request
                                                                                                                                                                                                                              • 25222AT+BTGATTWRCFM GATT response to BTGATTWRIND
                                                                                                                                                                                                                              • 25223+BTGATTREADIND GATT receive client read request
                                                                                                                                                                                                                              • 25224AT+BTGATTREADCFM GATT response to BTGATTREADIND
                                                                                                                                                                                                                              • 25225AT+BTGATTNOTIFY GATT send notification to client
                                                                                                                                                                                                                                • 253Summary of result codes for GATT
                                                                                                                                                                                                                                  • 2531Summary of Command result lterrgt codes
                                                                                                                                                                                                                                      • 26AT Commands for MiFi
                                                                                                                                                                                                                                        • 261Overview of AT Commands for MiFi
                                                                                                                                                                                                                                        • 262Detailed Description of AT Commands for MiFi
                                                                                                                                                                                                                                          • 2621AT+CWMAP OpenClose MiFi
                                                                                                                                                                                                                                          • 2622AT+CWSSID SSID setting
                                                                                                                                                                                                                                          • 2623AT+CWBCAST Broadcast setting
                                                                                                                                                                                                                                          • 2624AT+CWAUTH Authentication setting
                                                                                                                                                                                                                                          • 2625AT+CWMOCH 80211 mode and channel setting
                                                                                                                                                                                                                                          • 2626AT+CWISO Client isolation setting
                                                                                                                                                                                                                                          • 2627AT+CWDHCP Get the current DHCP configuration
                                                                                                                                                                                                                                          • 2628AT+CWNAT NAT type setting
                                                                                                                                                                                                                                          • 2629AT+CWCLICNT Get client number connected to the Mi
                                                                                                                                                                                                                                          • 26210AT+CWRSTD Restore to default setting
                                                                                                                                                                                                                                          • 26211AT+CWMAPCFG MiFi configuration setting
                                                                                                                                                                                                                                          • 26212AT+CWMACADDR Get MAC address
                                                                                                                                                                                                                                          • 26213AT+CWNETCNCT Query the connection to the network
                                                                                                                                                                                                                                          • 26214AT+CWSTASCAN Scan WIFI network
                                                                                                                                                                                                                                          • 26215AT+CWSTACFG STA mode configuration setting
                                                                                                                                                                                                                                          • 26216AT+CWSTAIP Get STA mode IP address
Page 5: SIM8200Series ATCommandManual
Page 6: SIM8200Series ATCommandManual
Page 7: SIM8200Series ATCommandManual
Page 8: SIM8200Series ATCommandManual
Page 9: SIM8200Series ATCommandManual
Page 10: SIM8200Series ATCommandManual
Page 11: SIM8200Series ATCommandManual
Page 12: SIM8200Series ATCommandManual
Page 13: SIM8200Series ATCommandManual
Page 14: SIM8200Series ATCommandManual
Page 15: SIM8200Series ATCommandManual
Page 16: SIM8200Series ATCommandManual
Page 17: SIM8200Series ATCommandManual
Page 18: SIM8200Series ATCommandManual
Page 19: SIM8200Series ATCommandManual
Page 20: SIM8200Series ATCommandManual
Page 21: SIM8200Series ATCommandManual
Page 22: SIM8200Series ATCommandManual
Page 23: SIM8200Series ATCommandManual
Page 24: SIM8200Series ATCommandManual
Page 25: SIM8200Series ATCommandManual
Page 26: SIM8200Series ATCommandManual
Page 27: SIM8200Series ATCommandManual
Page 28: SIM8200Series ATCommandManual
Page 29: SIM8200Series ATCommandManual
Page 30: SIM8200Series ATCommandManual
Page 31: SIM8200Series ATCommandManual
Page 32: SIM8200Series ATCommandManual
Page 33: SIM8200Series ATCommandManual
Page 34: SIM8200Series ATCommandManual
Page 35: SIM8200Series ATCommandManual
Page 36: SIM8200Series ATCommandManual
Page 37: SIM8200Series ATCommandManual
Page 38: SIM8200Series ATCommandManual
Page 39: SIM8200Series ATCommandManual
Page 40: SIM8200Series ATCommandManual
Page 41: SIM8200Series ATCommandManual
Page 42: SIM8200Series ATCommandManual
Page 43: SIM8200Series ATCommandManual
Page 44: SIM8200Series ATCommandManual
Page 45: SIM8200Series ATCommandManual
Page 46: SIM8200Series ATCommandManual
Page 47: SIM8200Series ATCommandManual
Page 48: SIM8200Series ATCommandManual
Page 49: SIM8200Series ATCommandManual
Page 50: SIM8200Series ATCommandManual
Page 51: SIM8200Series ATCommandManual
Page 52: SIM8200Series ATCommandManual
Page 53: SIM8200Series ATCommandManual
Page 54: SIM8200Series ATCommandManual
Page 55: SIM8200Series ATCommandManual
Page 56: SIM8200Series ATCommandManual
Page 57: SIM8200Series ATCommandManual
Page 58: SIM8200Series ATCommandManual
Page 59: SIM8200Series ATCommandManual
Page 60: SIM8200Series ATCommandManual
Page 61: SIM8200Series ATCommandManual
Page 62: SIM8200Series ATCommandManual
Page 63: SIM8200Series ATCommandManual
Page 64: SIM8200Series ATCommandManual
Page 65: SIM8200Series ATCommandManual
Page 66: SIM8200Series ATCommandManual
Page 67: SIM8200Series ATCommandManual
Page 68: SIM8200Series ATCommandManual
Page 69: SIM8200Series ATCommandManual
Page 70: SIM8200Series ATCommandManual
Page 71: SIM8200Series ATCommandManual
Page 72: SIM8200Series ATCommandManual
Page 73: SIM8200Series ATCommandManual
Page 74: SIM8200Series ATCommandManual
Page 75: SIM8200Series ATCommandManual
Page 76: SIM8200Series ATCommandManual
Page 77: SIM8200Series ATCommandManual
Page 78: SIM8200Series ATCommandManual
Page 79: SIM8200Series ATCommandManual
Page 80: SIM8200Series ATCommandManual
Page 81: SIM8200Series ATCommandManual
Page 82: SIM8200Series ATCommandManual
Page 83: SIM8200Series ATCommandManual
Page 84: SIM8200Series ATCommandManual
Page 85: SIM8200Series ATCommandManual
Page 86: SIM8200Series ATCommandManual
Page 87: SIM8200Series ATCommandManual
Page 88: SIM8200Series ATCommandManual
Page 89: SIM8200Series ATCommandManual
Page 90: SIM8200Series ATCommandManual
Page 91: SIM8200Series ATCommandManual
Page 92: SIM8200Series ATCommandManual
Page 93: SIM8200Series ATCommandManual
Page 94: SIM8200Series ATCommandManual
Page 95: SIM8200Series ATCommandManual
Page 96: SIM8200Series ATCommandManual
Page 97: SIM8200Series ATCommandManual
Page 98: SIM8200Series ATCommandManual
Page 99: SIM8200Series ATCommandManual
Page 100: SIM8200Series ATCommandManual
Page 101: SIM8200Series ATCommandManual
Page 102: SIM8200Series ATCommandManual
Page 103: SIM8200Series ATCommandManual
Page 104: SIM8200Series ATCommandManual
Page 105: SIM8200Series ATCommandManual
Page 106: SIM8200Series ATCommandManual
Page 107: SIM8200Series ATCommandManual
Page 108: SIM8200Series ATCommandManual
Page 109: SIM8200Series ATCommandManual
Page 110: SIM8200Series ATCommandManual
Page 111: SIM8200Series ATCommandManual
Page 112: SIM8200Series ATCommandManual
Page 113: SIM8200Series ATCommandManual
Page 114: SIM8200Series ATCommandManual
Page 115: SIM8200Series ATCommandManual
Page 116: SIM8200Series ATCommandManual
Page 117: SIM8200Series ATCommandManual
Page 118: SIM8200Series ATCommandManual
Page 119: SIM8200Series ATCommandManual
Page 120: SIM8200Series ATCommandManual
Page 121: SIM8200Series ATCommandManual
Page 122: SIM8200Series ATCommandManual
Page 123: SIM8200Series ATCommandManual
Page 124: SIM8200Series ATCommandManual
Page 125: SIM8200Series ATCommandManual
Page 126: SIM8200Series ATCommandManual
Page 127: SIM8200Series ATCommandManual
Page 128: SIM8200Series ATCommandManual
Page 129: SIM8200Series ATCommandManual
Page 130: SIM8200Series ATCommandManual
Page 131: SIM8200Series ATCommandManual
Page 132: SIM8200Series ATCommandManual
Page 133: SIM8200Series ATCommandManual
Page 134: SIM8200Series ATCommandManual
Page 135: SIM8200Series ATCommandManual
Page 136: SIM8200Series ATCommandManual
Page 137: SIM8200Series ATCommandManual
Page 138: SIM8200Series ATCommandManual
Page 139: SIM8200Series ATCommandManual
Page 140: SIM8200Series ATCommandManual
Page 141: SIM8200Series ATCommandManual
Page 142: SIM8200Series ATCommandManual
Page 143: SIM8200Series ATCommandManual
Page 144: SIM8200Series ATCommandManual
Page 145: SIM8200Series ATCommandManual
Page 146: SIM8200Series ATCommandManual
Page 147: SIM8200Series ATCommandManual
Page 148: SIM8200Series ATCommandManual
Page 149: SIM8200Series ATCommandManual
Page 150: SIM8200Series ATCommandManual
Page 151: SIM8200Series ATCommandManual
Page 152: SIM8200Series ATCommandManual
Page 153: SIM8200Series ATCommandManual
Page 154: SIM8200Series ATCommandManual
Page 155: SIM8200Series ATCommandManual
Page 156: SIM8200Series ATCommandManual
Page 157: SIM8200Series ATCommandManual
Page 158: SIM8200Series ATCommandManual
Page 159: SIM8200Series ATCommandManual
Page 160: SIM8200Series ATCommandManual
Page 161: SIM8200Series ATCommandManual
Page 162: SIM8200Series ATCommandManual
Page 163: SIM8200Series ATCommandManual
Page 164: SIM8200Series ATCommandManual
Page 165: SIM8200Series ATCommandManual
Page 166: SIM8200Series ATCommandManual
Page 167: SIM8200Series ATCommandManual
Page 168: SIM8200Series ATCommandManual
Page 169: SIM8200Series ATCommandManual
Page 170: SIM8200Series ATCommandManual
Page 171: SIM8200Series ATCommandManual
Page 172: SIM8200Series ATCommandManual
Page 173: SIM8200Series ATCommandManual
Page 174: SIM8200Series ATCommandManual
Page 175: SIM8200Series ATCommandManual
Page 176: SIM8200Series ATCommandManual
Page 177: SIM8200Series ATCommandManual
Page 178: SIM8200Series ATCommandManual
Page 179: SIM8200Series ATCommandManual
Page 180: SIM8200Series ATCommandManual
Page 181: SIM8200Series ATCommandManual
Page 182: SIM8200Series ATCommandManual
Page 183: SIM8200Series ATCommandManual
Page 184: SIM8200Series ATCommandManual
Page 185: SIM8200Series ATCommandManual
Page 186: SIM8200Series ATCommandManual
Page 187: SIM8200Series ATCommandManual
Page 188: SIM8200Series ATCommandManual
Page 189: SIM8200Series ATCommandManual
Page 190: SIM8200Series ATCommandManual
Page 191: SIM8200Series ATCommandManual
Page 192: SIM8200Series ATCommandManual
Page 193: SIM8200Series ATCommandManual
Page 194: SIM8200Series ATCommandManual
Page 195: SIM8200Series ATCommandManual
Page 196: SIM8200Series ATCommandManual
Page 197: SIM8200Series ATCommandManual
Page 198: SIM8200Series ATCommandManual
Page 199: SIM8200Series ATCommandManual
Page 200: SIM8200Series ATCommandManual
Page 201: SIM8200Series ATCommandManual
Page 202: SIM8200Series ATCommandManual
Page 203: SIM8200Series ATCommandManual
Page 204: SIM8200Series ATCommandManual
Page 205: SIM8200Series ATCommandManual
Page 206: SIM8200Series ATCommandManual
Page 207: SIM8200Series ATCommandManual
Page 208: SIM8200Series ATCommandManual
Page 209: SIM8200Series ATCommandManual
Page 210: SIM8200Series ATCommandManual
Page 211: SIM8200Series ATCommandManual
Page 212: SIM8200Series ATCommandManual
Page 213: SIM8200Series ATCommandManual
Page 214: SIM8200Series ATCommandManual
Page 215: SIM8200Series ATCommandManual
Page 216: SIM8200Series ATCommandManual
Page 217: SIM8200Series ATCommandManual
Page 218: SIM8200Series ATCommandManual
Page 219: SIM8200Series ATCommandManual
Page 220: SIM8200Series ATCommandManual
Page 221: SIM8200Series ATCommandManual
Page 222: SIM8200Series ATCommandManual
Page 223: SIM8200Series ATCommandManual
Page 224: SIM8200Series ATCommandManual
Page 225: SIM8200Series ATCommandManual
Page 226: SIM8200Series ATCommandManual
Page 227: SIM8200Series ATCommandManual
Page 228: SIM8200Series ATCommandManual
Page 229: SIM8200Series ATCommandManual
Page 230: SIM8200Series ATCommandManual
Page 231: SIM8200Series ATCommandManual
Page 232: SIM8200Series ATCommandManual
Page 233: SIM8200Series ATCommandManual
Page 234: SIM8200Series ATCommandManual
Page 235: SIM8200Series ATCommandManual
Page 236: SIM8200Series ATCommandManual
Page 237: SIM8200Series ATCommandManual
Page 238: SIM8200Series ATCommandManual
Page 239: SIM8200Series ATCommandManual
Page 240: SIM8200Series ATCommandManual
Page 241: SIM8200Series ATCommandManual
Page 242: SIM8200Series ATCommandManual
Page 243: SIM8200Series ATCommandManual
Page 244: SIM8200Series ATCommandManual
Page 245: SIM8200Series ATCommandManual
Page 246: SIM8200Series ATCommandManual
Page 247: SIM8200Series ATCommandManual
Page 248: SIM8200Series ATCommandManual
Page 249: SIM8200Series ATCommandManual
Page 250: SIM8200Series ATCommandManual
Page 251: SIM8200Series ATCommandManual
Page 252: SIM8200Series ATCommandManual
Page 253: SIM8200Series ATCommandManual
Page 254: SIM8200Series ATCommandManual
Page 255: SIM8200Series ATCommandManual
Page 256: SIM8200Series ATCommandManual
Page 257: SIM8200Series ATCommandManual
Page 258: SIM8200Series ATCommandManual
Page 259: SIM8200Series ATCommandManual
Page 260: SIM8200Series ATCommandManual
Page 261: SIM8200Series ATCommandManual
Page 262: SIM8200Series ATCommandManual
Page 263: SIM8200Series ATCommandManual
Page 264: SIM8200Series ATCommandManual
Page 265: SIM8200Series ATCommandManual
Page 266: SIM8200Series ATCommandManual
Page 267: SIM8200Series ATCommandManual
Page 268: SIM8200Series ATCommandManual
Page 269: SIM8200Series ATCommandManual
Page 270: SIM8200Series ATCommandManual
Page 271: SIM8200Series ATCommandManual
Page 272: SIM8200Series ATCommandManual
Page 273: SIM8200Series ATCommandManual
Page 274: SIM8200Series ATCommandManual
Page 275: SIM8200Series ATCommandManual
Page 276: SIM8200Series ATCommandManual
Page 277: SIM8200Series ATCommandManual
Page 278: SIM8200Series ATCommandManual
Page 279: SIM8200Series ATCommandManual
Page 280: SIM8200Series ATCommandManual
Page 281: SIM8200Series ATCommandManual
Page 282: SIM8200Series ATCommandManual
Page 283: SIM8200Series ATCommandManual
Page 284: SIM8200Series ATCommandManual
Page 285: SIM8200Series ATCommandManual
Page 286: SIM8200Series ATCommandManual
Page 287: SIM8200Series ATCommandManual
Page 288: SIM8200Series ATCommandManual
Page 289: SIM8200Series ATCommandManual
Page 290: SIM8200Series ATCommandManual
Page 291: SIM8200Series ATCommandManual
Page 292: SIM8200Series ATCommandManual
Page 293: SIM8200Series ATCommandManual
Page 294: SIM8200Series ATCommandManual
Page 295: SIM8200Series ATCommandManual
Page 296: SIM8200Series ATCommandManual
Page 297: SIM8200Series ATCommandManual
Page 298: SIM8200Series ATCommandManual
Page 299: SIM8200Series ATCommandManual
Page 300: SIM8200Series ATCommandManual
Page 301: SIM8200Series ATCommandManual
Page 302: SIM8200Series ATCommandManual
Page 303: SIM8200Series ATCommandManual
Page 304: SIM8200Series ATCommandManual
Page 305: SIM8200Series ATCommandManual
Page 306: SIM8200Series ATCommandManual
Page 307: SIM8200Series ATCommandManual
Page 308: SIM8200Series ATCommandManual
Page 309: SIM8200Series ATCommandManual
Page 310: SIM8200Series ATCommandManual
Page 311: SIM8200Series ATCommandManual
Page 312: SIM8200Series ATCommandManual
Page 313: SIM8200Series ATCommandManual
Page 314: SIM8200Series ATCommandManual
Page 315: SIM8200Series ATCommandManual
Page 316: SIM8200Series ATCommandManual
Page 317: SIM8200Series ATCommandManual
Page 318: SIM8200Series ATCommandManual
Page 319: SIM8200Series ATCommandManual
Page 320: SIM8200Series ATCommandManual
Page 321: SIM8200Series ATCommandManual
Page 322: SIM8200Series ATCommandManual
Page 323: SIM8200Series ATCommandManual
Page 324: SIM8200Series ATCommandManual
Page 325: SIM8200Series ATCommandManual
Page 326: SIM8200Series ATCommandManual
Page 327: SIM8200Series ATCommandManual
Page 328: SIM8200Series ATCommandManual
Page 329: SIM8200Series ATCommandManual
Page 330: SIM8200Series ATCommandManual
Page 331: SIM8200Series ATCommandManual
Page 332: SIM8200Series ATCommandManual
Page 333: SIM8200Series ATCommandManual
Page 334: SIM8200Series ATCommandManual
Page 335: SIM8200Series ATCommandManual
Page 336: SIM8200Series ATCommandManual
Page 337: SIM8200Series ATCommandManual
Page 338: SIM8200Series ATCommandManual
Page 339: SIM8200Series ATCommandManual
Page 340: SIM8200Series ATCommandManual
Page 341: SIM8200Series ATCommandManual
Page 342: SIM8200Series ATCommandManual
Page 343: SIM8200Series ATCommandManual
Page 344: SIM8200Series ATCommandManual
Page 345: SIM8200Series ATCommandManual
Page 346: SIM8200Series ATCommandManual
Page 347: SIM8200Series ATCommandManual
Page 348: SIM8200Series ATCommandManual
Page 349: SIM8200Series ATCommandManual
Page 350: SIM8200Series ATCommandManual
Page 351: SIM8200Series ATCommandManual
Page 352: SIM8200Series ATCommandManual
Page 353: SIM8200Series ATCommandManual
Page 354: SIM8200Series ATCommandManual
Page 355: SIM8200Series ATCommandManual
Page 356: SIM8200Series ATCommandManual
Page 357: SIM8200Series ATCommandManual
Page 358: SIM8200Series ATCommandManual
Page 359: SIM8200Series ATCommandManual
Page 360: SIM8200Series ATCommandManual
Page 361: SIM8200Series ATCommandManual
Page 362: SIM8200Series ATCommandManual
Page 363: SIM8200Series ATCommandManual
Page 364: SIM8200Series ATCommandManual
Page 365: SIM8200Series ATCommandManual
Page 366: SIM8200Series ATCommandManual
Page 367: SIM8200Series ATCommandManual
Page 368: SIM8200Series ATCommandManual
Page 369: SIM8200Series ATCommandManual
Page 370: SIM8200Series ATCommandManual
Page 371: SIM8200Series ATCommandManual
Page 372: SIM8200Series ATCommandManual
Page 373: SIM8200Series ATCommandManual
Page 374: SIM8200Series ATCommandManual
Page 375: SIM8200Series ATCommandManual
Page 376: SIM8200Series ATCommandManual
Page 377: SIM8200Series ATCommandManual
Page 378: SIM8200Series ATCommandManual
Page 379: SIM8200Series ATCommandManual
Page 380: SIM8200Series ATCommandManual
Page 381: SIM8200Series ATCommandManual
Page 382: SIM8200Series ATCommandManual
Page 383: SIM8200Series ATCommandManual
Page 384: SIM8200Series ATCommandManual
Page 385: SIM8200Series ATCommandManual
Page 386: SIM8200Series ATCommandManual
Page 387: SIM8200Series ATCommandManual
Page 388: SIM8200Series ATCommandManual
Page 389: SIM8200Series ATCommandManual
Page 390: SIM8200Series ATCommandManual
Page 391: SIM8200Series ATCommandManual
Page 392: SIM8200Series ATCommandManual
Page 393: SIM8200Series ATCommandManual
Page 394: SIM8200Series ATCommandManual
Page 395: SIM8200Series ATCommandManual
Page 396: SIM8200Series ATCommandManual
Page 397: SIM8200Series ATCommandManual
Page 398: SIM8200Series ATCommandManual
Page 399: SIM8200Series ATCommandManual
Page 400: SIM8200Series ATCommandManual
Page 401: SIM8200Series ATCommandManual
Page 402: SIM8200Series ATCommandManual
Page 403: SIM8200Series ATCommandManual
Page 404: SIM8200Series ATCommandManual
Page 405: SIM8200Series ATCommandManual
Page 406: SIM8200Series ATCommandManual
Page 407: SIM8200Series ATCommandManual
Page 408: SIM8200Series ATCommandManual
Page 409: SIM8200Series ATCommandManual
Page 410: SIM8200Series ATCommandManual
Page 411: SIM8200Series ATCommandManual
Page 412: SIM8200Series ATCommandManual
Page 413: SIM8200Series ATCommandManual
Page 414: SIM8200Series ATCommandManual
Page 415: SIM8200Series ATCommandManual
Page 416: SIM8200Series ATCommandManual
Page 417: SIM8200Series ATCommandManual
Page 418: SIM8200Series ATCommandManual
Page 419: SIM8200Series ATCommandManual
Page 420: SIM8200Series ATCommandManual
Page 421: SIM8200Series ATCommandManual
Page 422: SIM8200Series ATCommandManual
Page 423: SIM8200Series ATCommandManual
Page 424: SIM8200Series ATCommandManual
Page 425: SIM8200Series ATCommandManual
Page 426: SIM8200Series ATCommandManual
Page 427: SIM8200Series ATCommandManual
Page 428: SIM8200Series ATCommandManual
Page 429: SIM8200Series ATCommandManual
Page 430: SIM8200Series ATCommandManual
Page 431: SIM8200Series ATCommandManual
Page 432: SIM8200Series ATCommandManual
Page 433: SIM8200Series ATCommandManual
Page 434: SIM8200Series ATCommandManual
Page 435: SIM8200Series ATCommandManual
Page 436: SIM8200Series ATCommandManual
Page 437: SIM8200Series ATCommandManual
Page 438: SIM8200Series ATCommandManual
Page 439: SIM8200Series ATCommandManual
Page 440: SIM8200Series ATCommandManual
Page 441: SIM8200Series ATCommandManual
Page 442: SIM8200Series ATCommandManual
Page 443: SIM8200Series ATCommandManual
Page 444: SIM8200Series ATCommandManual
Page 445: SIM8200Series ATCommandManual
Page 446: SIM8200Series ATCommandManual
Page 447: SIM8200Series ATCommandManual
Page 448: SIM8200Series ATCommandManual
Page 449: SIM8200Series ATCommandManual
Page 450: SIM8200Series ATCommandManual
Page 451: SIM8200Series ATCommandManual