Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
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