Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AT Command Set
Revision: 0.18
AT Command Set
Revision History
Revision Date 0.0.0 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 0.0.8 0.0.9 0.0.10 0.0.11 0.0.12 0.0.13 0.0.14 0.0.15 0.0.16 0.0.17 0.0.18 2006/03/09 2006/06/01 2006/07/05 2006/09/1 2006/10/21 2006/11/25 2006/12/06 2007/07/24 2008/04/16 2008/07/01 2008/07/11 2008/07/18 2008/09/11 2008/11/11 2009/01/04 2009/02/15 2009/03/02 2009/04/02 2009/02/08
Author Erica Fu Erica Fu Erica Fu Erica Fu Erica Fu Erica Fu Erica Fu YC Chen Simon Xiao Simon Xiao Simon Xiao Simon Xiao Simon Xiao Simon Xiao Simon Xiao Simon Xiao Simon Xiao Simon Xiao Chen Yun
Comments Draft version Add new commands for Phone suite tool Modify +CLAN language code. +CPBF will support only in module solution Update and add NOTE for +EIMG and +EMDY Add Bluetooth chapter Update +EMBT and +CSDF (w04.50) Update BT related AT command Add TCP/IP AT commands Add AT+SHUTDOWN command Add GPIO/EINT at comands Update AT+CIPSEND command Add AT+CPOWD/AT+CIPSHUT/AT+CADCA, Update AT+CADC Add AT+REG/AT+EPBF/AT+CDNSGIP Modify AT+CNMI <mode> description Add AT+EFUN AT+EPCM Update AT+CCED,AT+GPIOS,AT+GPIOR,AT+EINTS,AT+EADC Add AT+SNUM, Remove AT+CADCA Add the Example for SMS command etc. Add the Example for STK command etc. Add the Example for SIM Lock/Phone Lock etc.
Confidential
Page: 2
AT Command Set
Table of contents
Revision History........................................................................................................................................................ 2 Table of contents ...................................................................................................................................................... 3 1 1.1 1.2 1.3 2 Introduction...................................................................................................................................................... 9 Overview ..................................................................................................................................................... 9 How to control the Module ....................................................................................................................... 9 Module sleep mode control ....................................................................................................................... 9 V.25ter AT Commands................................................................................................................................... 10 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 2.15 2.16 2.17 2.18 2.19 2.20 2.21 2.22 2.23 2.24 2.25 2.26 2.27 2.28 2.29 3 3.1 3.2 3.3 3.4 3.5 3.6 ATA ........................................................................................................................................................... 10 ATD ........................................................................................................................................................... 10 ATE ........................................................................................................................................................... 11 ATH ........................................................................................................................................................... 12 ATI............................................................................................................................................................. 12 ATL............................................................................................................................................................ 12 ATO ........................................................................................................................................................... 13 ATP ........................................................................................................................................................... 13 ATQ ........................................................................................................................................................... 13 ATS0 ......................................................................................................................................................... 14 ATS3 ......................................................................................................................................................... 14 ATS4 ......................................................................................................................................................... 15 ATS5 ......................................................................................................................................................... 15 ATS6 ......................................................................................................................................................... 16 ATS7 ......................................................................................................................................................... 16 ATS8 ......................................................................................................................................................... 16 ATS10 ....................................................................................................................................................... 17 ATT............................................................................................................................................................ 17 ATV ........................................................................................................................................................... 18 ATX ........................................................................................................................................................... 18 ATZ............................................................................................................................................................ 19 AT&F ......................................................................................................................................................... 19 AT+GMI ..................................................................................................................................................... 19 AT+GMM ................................................................................................................................................... 20 AT+GMR ................................................................................................................................................... 20 AT+IPR...................................................................................................................................................... 20 AT+ICF ...................................................................................................................................................... 21 AT+DS....................................................................................................................................................... 21 AT+GCAP.................................................................................................................................................. 22
07.07 AT Commands General commands ................................................................................................ 23 AT+CGMI Request manufacturer identification (Sec 5.1)....................................................................... 23 AT+CGMM Request model identification (Sec 5.2) ................................................................................ 23 AT+CGMR Request revision identification (Sec 5.3) .............................................................................. 23 AT+CGSN Request product serial number identification (Sec 5.4) ........................................................ 24 AT+CSCS Select TE character set (Sec 5.5) ......................................................................................... 24 AT+CIMI Request international mobile subscriber identity (Sec 5.6)...................................................... 25
Page: 3
Confidential
AT Command Set
07.07 AT Commands Call Control commands ......................................................................................... 26 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 4.11 4.12 AT+CMOD Call mode (Sec 6.4) ............................................................................................................. 26 AT+CHUP Hang up call (Sec 6.5) .......................................................................................................... 26 AT+CBST Select bearer service type (Sec 6.7) .................................................................................... 26 AT+CRLP Radio Link Protocol (Sec 6.8)................................................................................................ 27 AT+CR Service reporting control (Sec 6.9) ............................................................................................ 28 AT+CEER Extended error report (Sec 6.10) .......................................................................................... 29 AT+CRC Cellular result code (Sec 6.11) ................................................................................................ 29 AT+CSNS Single Numbering Scheme (Sec 6.19) .................................................................................. 30 AT+CVHU Voice Hangup Control (Sec 6.20) ......................................................................................... 30 AT+CSDF Settings Date Format (Sec 6.22)........................................................................................... 31 AT+CSIL Silence Command (Sec 6.23) ................................................................................................. 31 AT+CSTF Settings Time Format (Sec 6.24)........................................................................................... 32
07.07 AT Commands Network Service related commands ...................................................................... 33 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5.10 5.11 5.12 5.13 5.14 5.15 5.16 5.17 5.18 5.19 AT+CNUM Subscriber Number (Sec 7.1)............................................................................................... 33 AT+CREG Network Registration (Sec 7.2)............................................................................................. 33 AT+COPS Operator Selection (Sec 7.3) ................................................................................................ 34 AT+CLCK Facility Lock (Sec 7.4) .......................................................................................................... 35 AT+CPWD Change Password (Sec 7.5) ................................................................................................ 36 AT+CLIP Calling line identification presentation (Sec 7.6) ..................................................................... 36 AT+CLIR Calling line identification restriction (Sec 7.7) ......................................................................... 37 AT+COLP Connected line identification presentation (Sec 7.8) ............................................................. 37 AT+CCUG -- Closed user group (Sec 7.10) ............................................................................................. 38 AT+CCFC Call forwarding number and conditions (Sec 7.11) ............................................................... 39 AT+CCWA Call waiting (Sec 7.12) ......................................................................................................... 40 AT+CHLD Call related supplementary services (Sec 7.13) .................................................................... 41 AT+CTFR Call deflection (Sec 7.14) ...................................................................................................... 41 AT+CUSD Unstructured supplementary service data (Sec 7.15) ........................................................... 41 AT+CAOC Advice of Charge (Sec 7.16)................................................................................................. 42 AT+CSSN Supplementary service notifications (Sec 7.17) .................................................................... 43 AT+CLCC List current calls (Sec 7.18)................................................................................................... 44 AT+CPOL Preferred operator list (Sec 7.19) .......................................................................................... 45 AT+CAEMLPP eMLPP priority Registration and Interrogation (Sec 7.21).............................................. 46
07.07 AT Commands MT control and status command............................................................................ 47 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 6.11 6.12 6.13 AT+CPAS Phone activity status (Sec 8.1).............................................................................................. 47 AT+CFUN/AT+EFUN Set Phone Functionality .................................................................................... .... 47 . AT+CPIN Enter PIN (Sec 8.3) ................................................................................................................ 48 AT+CBC Battery Charge (Sec 8.4)......................................................................................................... 49 AT+CSQ Signal Quality (Sec 8.5) .......................................................................................................... 49 AT+CKPD Keypad control (Sec 8.7) ...................................................................................................... 50 AT+CIND Indicator control (Sec 8.9) ...................................................................................................... 51 AT+CPBS Select Phonebook Memory Storage (Sec 8.11) .................................................................... 51 AT+CPBR Read phonebook entries (Sec 8.12) ..................................................................................... 52 AT+EPBF/CPBF Find Phonebook entries (Sec 8.13) ..............................................................................52 AT+CPBW Write Phonebook entries (Sec 8.14) .................................................................................... 53 AT+CCLK Clock (Sec 8.15).................................................................................................................... 54 AT+CALA Alarm (Sec 8.16).................................................................................................................... 54
Confidential
Page: 4
AT Command Set
6.14 6.15 6.16 6.17 6.18 6.19 6.20 6.21 6.22 6.23 6.24 6.25 6.26 6.27 7
AT+CRSM -- Restricted SIM access (Sec 8.18)........................................................................................ 55 AT+CRSL Ringer sound volume level (Sec 8.21)............................................................................. ..... 55 AT+CVIB Vibrator mode (Sec 8.22) ....................................................................................................... 56 AT+CLVL Set speech volume level (Sec 8.23).................................................................................... 56 AT+CMUT Mute Control (Sec 8.24) ....................................................................................................... 57 AT+CACM Accumulated call meter (Sec 8.25)....................................................................................... 57 AT+CAMM Accumulated call meter maximum (Sec 8.26)...................................................................... 57 AT+CPUC Price per unit and currency table (Sec 8.27)......................................................................... 58 AT+CCWE Call Meter maximum event (Sec 8.28) ................................................................................. 58 AT+CLAN Set Language (Sec 8.30) ...................................................................................................... 59 AT+CLAE Language Event (Sec 8.31) ................................................................................................... 59 AT+CSGT Set Greeting Text (Sec 8.32) ................................................................................................ 60 AT+CALD Delete alarm (Sec 8.37) ......................................................................................................... 60 AT+CTZR Time Zone Reporting (Sec 8.40) ........................................................................................... 61
07.07 AT Commands GPRS commands.................................................................................................... 62 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 7.10 7.11 7.12 7.13 7.14 AT+CGDCONT Define PDP Context (Sec 10.1.1) ................................................................................. 62 AT+CGDSCONT Define Secondary PDP Context (Sec 10.1.2)............................................................. 63 AT+CGQREQ Quality of Service Profile (Requested) (Sec 10.1.4)....................................................... 64 AT+CGQMIN Quality of Service Profile (Minimum acceptable) (Sec 10.1.5) ......................................... 65 AT+CGATT PS attach or detach (Sec 10.1.9)........................................................................................ 65 AT +CGACT PDP context activate or deactivate (Sec 10.1.10) ............................................................. 66 AT +CGCMOD PDP Context Modify (Sec 10.1.11) ................................................................................. 66 AT+CGDATA Enter data state (Sec 10.1.12) .......................................................................................... 67 AT+CGPADDR Show PDP address (Sec 10.1.14) ................................................................................. 67 AT+CGAUTO Automatic response to a network request for PDP context activation (Sec 10.1.15) ....... 68 AT+CGANS Manual response to a network request for PDP context activation (Sec 10.1.16)............... 69 AT+CGCLASS GPRS mobile station class (Sec 10.1.17) ....................................................................... 69 AT+CGREG GPRS network registration status (Sec 10.1.19) ............................................................... 70 AT+CGSMS Select service for MO SMS messages (Sec 10.1.20) ........................................................ 71
07.07 Mobile Termination Errors .................................................................................................................. 72 AT+CMEE (Sec 9.1) .................................................................................................................................. 72 07.07 Annex C ................................................................................................................................................ 74 AT+FCLASS (Sec C.2.1)........................................................................................................................... 74 AT+VTS (Sec C.2.11)................................................................................................................................ 74 07.05 SMS AT Commands............................................................................................................................. 75 AT+CSMS Select Message Service (Sec 3.2.1)..................................................................................... 75 AT+CPMS Preferred Message Storage (Sec 3.2.2) ............................................................................... 75 AT+CMGF Message Format (Sec 3.2.3) ................................................................................................ 76 AT+CSCA Service Center Address (Sec 3.3.1)...................................................................................... 76 AT+CSMP Set Text Mode Parameters (Sec 3.3.2) ................................................................................ 76 AT+CSDH Show Text Mode Parameters (Sec 3.3.3) ............................................................................. 77 AT+CSCB Select Cell Broadcast Message Types (Sec 3.3.4) ............................................................... 77 AT+CSAS Save Settings (Sec 3.3.5) ..................................................................................................... 78 AT+CRES Restore Settings (Sec 3.3.6) ................................................................................................. 78 AT+CNMI New Message Indications to TE (Sec 3.4.1)....................................................................... 79 AT+CMGL(Text mode) List Message (Sec 3.4.2) ............................................................................... 80
10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 10.10 10.11
Confidential
Page: 5
AT Command Set
10.12 10.13 10.14 10.15 10.16 10.17 10.18 10.19 10.20 10.21 10.22 10.23 10.24 10.25 10.26 11
AT+CMGL(PDU mode) List Message (Sec 4.1) .................................................................................. 81 AT+CMGR(Text mode) Read Message (Sec 3.4.3) ............................................................................ 81 AT+CMGR(PDU mode) Read Message (Sec 4.2) .............................................................................. 82 AT+CNMA(Text mode) New Message Acknowledgement to ME/TA (Sec 3.4.4)............................... 82 AT+CNMA(PDU mode) New Message Acknowledgement to ME/TA (Sec 4.6) ................................. 82 AT+CMGS(Text mode) Send Message (Sec 3.5.1) ............................................................................ 83 AT+CMGS(PDU mode) Send Message (Sec 4.3)............................................................................... 83 AT+CMSS(Text mode) Send Message from Storage(Sec 3.5.2) ........................................................ 83 AT+CMSS(PDU mode) Send Message from Storage(Sec 4.7) .......................................................... 84 AT+CMGW(Text mode) Write Message to Memory (Sec 3.5.3) ......................................................... 84 AT+CMGW(PDU mode) Write Message to Memory (Sec 4.4)............................................................ 85 AT+CMGD Delete Message (Sec 3.5.4) ............................................................................................. 85 AT+CMGC(Text mode) Send Command (Sec 3.5.5) .......................................................................... 86 AT+CMGC(PDU mode) Send Command (Sec 4.5) ............................................................................ 86 AT+CMMS More Message to Send (Sec 3.5.6) .................................................................................. 86
Proprietary Hardware Testing AT Commands ............................................................................................ 88 AT+CASP Audio Sound Playback .......................................................................................................... 88 AT+CEMS Engineer Mode ..................................................................................................................... 89 AT+EADP Set / Get Audio Profile........................................................................................................... 90 AT+EGPIO Set GPIO value.................................................................................................................... 91 AT+EADC ADC Channel Indication........................................................................................................ 92 AT+ELCD LCD Parameter Testing......................................................................................................... 92 AT+EPWM -- PWM Testing....................................................................................................................... 94 AT+ELCM LCM Testing.......................................................................................................................... 95 AT+EKPD Keypad Event Report ............................................................................................................ 96 AT+EALT Loop Back Testing .............................................................................................................. 97 AT+ESAM Set Audio Mode ................................................................................................................. 98 AT+ESLT Set Audio Gain Value ......................................................................................................... 98 AT+EGMR Mobile Revision and IMEI ................................................................................................. 99 AT+ESIMS Query SIM Status ........................................................................................................... 100 AT+EDFT GPIO factory testing ......................................................................................................... 101 AT+ESLP Sleep Mode ...................................................................................................................... 101 AT+EGPO GPO value....................................................................................................................... 102 AT+ELSM LCM Backlight.................................................................................................................. 102 AT+ELNVRM NVRAM write protection............................................................................................. 103 AT+ESDP Set MMI Default Profile .................................................................................................... 103 AT+ESLCD Set Main LCD Contrast Default Value ........................................................................... 105 AT+ESHW Set Hardware Default Value............................................................................................ 106 AT+ETEST Read Autotest Report/Restore factory setting................................................................ 107 ..... AT +ACTTEST PDP context activate or deactivate from EM mode .................................................. 108 AT +EREG PMIC register access ..................................................................................................... 108 AT +EPMIC PMIC status report ........................................................................................................ 109
11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.10 11.11 11.12 11.13 11.14 11.15 11.16 11.17 11.18 11.19 11.20 11.21 11.22 11.23 11.24 11.25 11.26 12
Bluetooth through AT commands .............................................................................................................. 112 Physical UART configuration of Bluetooth............................................................................................... 112 AT+EMBT Bluetooth Engineer Mode ................................................................................................... 112 AT +BTFP To set Bluetooth factory parameter..................................................................................... 113 AT +EBTLB To test Bluetooth speech interface ................................................................................... 114
Confidential
Page: 6
AT Command Set
12.5 12.6 12.7 12.8 12.9 12.10 12.11 12.12 12.13 12.14 12.15 12.16 12.17 12.18 12.19 12.20 13
WAKEOK Wake up OK Indication ........................................................................................................ 114 +CRREG Request for device registration ............................................................................................. 115 +CCFG configuration request............................................................................................................... 115 +CINQRES Inquiry Response .............................................................................................................. 115 +CINQCFM Inquiry Confirmation.......................................................................................................... 115 +CPINREQ Pin Code Request.......................................................................................................... 116 +CPINCFM Pin Code Confirmation ................................................................................................... 116 +CRFCSTAT RFComm Status.......................................................................................................... 117 +CSCOSTAT SCO link status ........................................................................................................... 117 +VGS Volume Level Indication.......................................................................................................... 118 +CKPD Button press indication ......................................................................................................... 118 +CPROFILE Current Profile Indication .............................................................................................. 118 +CSTAT Current Status Indication .................................................................................................... 119 +GETPS PS key response ................................................................................................................ 120 +CLINK Link Key Indication............................................................................................................... 120 +BT forward the command to BT chip ............................................................................................... 121
Proprietary AT commands for Phone suite tool........................................................................................ 122 AT+EIMG Image Download.................................................................................................................. 122 AT+EMDY Melody Download ............................................................................................................... 124 AT+EFSR Read File ............................................................................................................................. 126 AT+EFSW Write File ............................................................................................................................ 127 AT+EFSD Delete File ........................................................................................................................... 128 AT+EFSF Folder operation................................................................................................................... 128 AT+EFSL List Files............................................................................................................................... 129 AT+EFS File System Size .................................................................................................................... 130 AT+EFSRN File/Folder Rename .......................................................................................................... 130 File operation Examples ....................................................................................................................... 132 AT+EMMSFS MMS Folder Status..................................................................................................... 137 AT+EMMSEXE Add /Delete a MMS message .................................................................................. 138 AT+EJAVA ........................................................................................................................................... 139 AT +EVCARD Access phonebook optional field ............................................................................... 142
13.1 13.2 13.3 13.4 13.5 13.6 13.7 13.8 13.9 13.10 13.11 13.12 13.13 13.14 14
Proprietary STK AT Commands ................................................................................................................. 144 AT+STKPD STK Profile Download ...................................................................................................... 144 AT+STKTR STK Terminal Response ................................................................................................... 144 AT+STKENV STK Envelope Command ............................................................................................... 144 AT+STKCALL STK call setup.............................................................................................................. 145 AT+STKSMS STK SMS delivery ........................................................................................................ 145 AT+STKSS STK SS setup................................................................................................................... 145 AT+STKUSSD STK USSD setup ....................................................................................................... 145 AT+STKDTMF STK sending DTMF ................................................................................................... 146 +STKPCI STK Proactive Command Indication..................................................................................... 146 +STKTRIND ME STK CALL/SMS/SS/USSD/DTMF Result................................................................ 146
14.1 14.2 14.3 14.4 14.5 14.6 14.7 14.8 14.9 14.10 15
Other Proprietary AT Commands ............................................................................................................... 148 AT+CPBSE Band Selection.................................................................................................................. 148 AT+EGPAU PPP Authentication .......................................................................................................... 148 AT+EPIN2 Enter PIN2 .......................................................................................................................... 149 AT+EPINC PIN remaining attempt number .......................................................................................... 149
Confidential
Page: 7
AT Command Set
15.5 15.6 15.7 15.8 15.9 15.10 15.11 15.12 15.13 15.14 15.15 15.16 15.17 15.18 15.19 15.20 15.21 15.22 15.23 15.24
AT+ESMSS SMS status change mode ................................................................................................ 150 AT+EOPN Read Operator name .......................................................................................................... 150 AT+CGSDATA Sending uplink data ..................................................................................................... 151 AT +EMMISTR MMI trace string........................................................................................................... 151 AT +EQUERY general query command ............................................................................................... 152 AT +CMIC Set the microphone volume................................................................................................153 AT +CADC Read ADC0 volatage value................................................................................................ ..153 AT +SNUM Edit the phone number(MSISDN).....................................................................................154 AT +CPOWD Power down module........................................................................................................154 . AT +GDT India dial tone......................................................................................................................155 AT +GBT India busy tone......................................................................................................................155 AT +BEEP Play the beep tone...............................................................................................................156 AT +SHUTDOWN Shutdown module power ....................................................................................... .156 . AT +GPIOS Set GPIO value.............................................................................................................. ..158 AT +GPIOR Read GPIO value............................................................................................................ .158 . AT +EINTS Set extern interrupt configuration.......................................................................................159 AT +EINTR Read extern interrupt configuration .................................................................................. ..159 AT +CCED Get neighbor cells environment description ......................................................................160 AT +REG Get current network registration, LAC and CellID ................................................................160 AT +EPCM Set the speech output is PCM mode or Normal mode........................................................ ..161
16 TCP/IP AT Commands ............................................................................................................................... 162 16.1 AT+SETCID Set CID parameters ........................................................................................................162 16.2 AT+ACTCID Activate a context parameters ........................................................................................162 16.3 AT+DEACTCID Deactivate a context parameters ...............................................................................163 16.4 AT+CIPCREATE Create a socket connection .....................................................................................164 16.5 AT+CIPCONNECT Connect to specific IP Address/DomainName:port ..............................................165 16.6 AT+CIPSEND Send data through TCP or UDP connection ............................................................... 165 16.7 AT+CIPCLOSE Close an open socket ............................................................................................... 166 16.8 AT+CIPGETIP Get the local IP address ............................................................................................. 166 16.9 AT+CIPBIND Bind a socket to IP address and port ............................................................................ 167 16.10 AT+CIPLISTEN Listen to incoming connection requests .................................................................... 167 16.11 AT+CIPSHUT Deactivate GPRS PDP context .................................................................................... 168 16.12 AT+CDNSGIP Query the IP address of the given domain name......................................................... 168
Confidential
Page: 8
AT Command Set
1 Introduction
1.1 Overview
This document introduces the supported AT command set .
1.2
Step 3: Under Connect To: select the correct communications (serial) port that module will be connected. (COM1 in the example)
Confidential
Page: 9
AT Command Set
Step 4: Terminal configuration parameters are: Baud rate 115,200 (GPRS version) / 57,600(GSM version)/9600/Other rate (accord to software version) Data bits 8 Parity None Stop bits 1 Flow control None/Hardware (accord to the software version)
Step 5: Hyper Terminal is now ready to use the your [MODULE]. Ensure that the module is powered up and connected to the correct serial port with a functional serical cable. Step 6: If Hyper Terminal show "+EIND: 128" means AT cmommnad ready. Step 7: If SIM ready, will show"+CSIM:xxx Ready" indication.
1.3
Confidential
Page: 10
AT Command Set
2 V.25ter AT Commands
2.1
2.1.1
ATA
Description Answers and initiates a connection to an incoming call.
2.1.2
2.1.3
Field Type Short name Parameter/comment 28800 Connected with data bit rate of 28800 bits/s (HSCSD) 19200 Connected with data bit rate of 19200 bits/s (HSCSD) 14400 Connected with data bit rate of 14400 bits/s (HSCSD) 9600 Connected with data bit rate of 9600 bits/s 4800 Connected with data bit rate of 4800 bits/s 2400 Connected with data bit rate of 2400 bits/s
String
text
2.1.4
2.2
2.2.1
ATD
Description Initiates a phone connection, which may be data, facsimile (+FCLASS> 0), or voice (phone number terminated by semicolon). The phone number used to establish the connection will consist of digits and modifiers, or a stored number specification.
2.2.2
2.2.3
Confidential
Page: 11
AT Command Set
String
String
.0 1 2 3 4 5 6 7 8 9 +. Valid characters for origination W The W modifier is ignored but is included for compatibility reasons only , The comma modifier is ignored but is included for dial string compatibility reasons only ; Informs the Infrared Modem that the number is a voice number rather than a fax or data number T The T modifier is ignored but is included only for compatibility purposes P The P modifier is ignored but is included only for compatibility purposes 28800 Connected with data bit rate of 28800 bits/s (HSCSD) 19200 Connected with data bit rate of 19200 bits/s (HSCSD) text 14400 Connected with data bit rate of 14400 bits/s (HSCSD) 9600 Connected with data bit rate of 9600 bits/s 4800 Connected with data bit rate of 4800 bits/s 2400 Connected with data bit rate of 2400 bits/s
2.2.4
Response Execution command : CONNECT CONNECT <text> NO CARRIER ERROR OK RINGBACK /*If MO call in connecting status*/ VOICE /*Voice call connects successfully*/
2.3
2.3.1
ATE
Description The setting of this parameter determines whether or not the DCE echoes characters received from the DTE during command state and online command state.
2.3.2
2.3.3
Field Type Integer Short name value Parameter/comment 0 DCE does not echo characters during command state and online command state. 1 DCE echoes characters during command state and online command state.
2.3.4
Confidential
Page: 12
AT Command Set
2.4
2.4.1
ATH
Description Terminates a connection.
2.4.2
2.4.3
2.5
2.5.1
ATI
Description Request Identification Information.
2.5.2
2.5.3
Field Type Integer String Short name value text Parameter/comment used to select from among multiple types of identifying information product information
2.5.4
2.6
2.6.1
ATL
Description Set volume of the monitor speaker.
2.6.2
2.6.3
Field Type Integer Short name value 0 1 2 3 Parameter/comment Low speaker volume Low speaker volume Medium speaker volume High speaker volume
Confidential
Page: 13
AT Command Set
2.6.4
2.7
2.7.1
ATO
Description Switch from on-line command mode to on-line data mode during an active call. Returns ERROR when not in on-line command mode.
2.7.2
2.7.3
Field Type Short name Parameter/comment 28800 Connected with data bit rate of 28800 bits/s (HSCSD) 19200 Connected with data bit rate of 19200 bits/s (HSCSD) 14400 Connected with data bit rate of 14400 bits/s (HSCSD) 9600 Connected with data bit rate of 9600 bits/s 4800 Connected with data bit rate of 4800 bits/s 2400 Connected with data bit rate of 2400 bits/s
String
text
2.7.4
2.8
2.8.1
ATP
Description Select pulse dialing. (This setting is ignored.)
2.9
2.9.1
ATQ
Description Set result code suppression mode.
Confidential
Page: 14
AT Command Set
2.9.2
2.9.3
Field Type Integer Short name value Parameter/comment 0 DCE transmits result codes. 1 Result codes are suppressed and not transmitted.
2.9.4
2.10 ATS0
2.10.1 Description Automatic answer. This S-parameter controls the automatic answering feature of the DCE. If set to 0, automatic answering is disabled. If set to a non-zero value, the DCE shall cause the DCE to answer when the incoming call indication (ring) has occurred the number of times indicated by the value. 2.10.2 Format Execution command : 2.10.3 Field Type Integer 2.10.4 Response Execution command : OK Short name value Parameter/comment 0 Automatic answering is disabled.. ATS0=<value>
2.11 ATS3
2.11.1 Description Command line termination character This S-parameter represents the decimal IA5 value of the character recognized by the DCE from the DTE to terminate an incoming command line. It is also generated by the DCE as part of the header, trailer, and terminator for result codes and information text, along with the S4 parameter (see the description of the V parameter for usage). 2.11.2 Format Execution command : ATS3=<value>
Confidential
Page: 15
AT Command Set
2.11.3
Field Type Integer Short name value Parameter/comment 13 Carriage return character (CR, IA5 0/13). 0 to 127 Set command line termination character to this value.
2.11.4
2.12 ATS4
2.12.1 Description Response formatting character This S-parameter represents the decimal IA5 value of the character generated by the DCE as part of the header, trailer, and terminator for result codes and information text, along with the S3 parameter (see the description of the V parameter for usage). 2.12.2 Format Execution command : 2.12.3 Field Type Integer Short name value Parameter/comment 10 Line feed character (LF, IA5 0/10).. 0 to 127 Set response formatting character to this value. ATS4=<value>
2.12.4
2.13 ATS5
2.13.1 Description Command line editing character. This S-parameter represents the decimal IA5 value of the character recognized by the DCE as a request to delete from the command line the immediately preceding character. 2.13.2 Format Execution command : 2.13.3 Field Type Short name Parameter/comment ATS5=<value>
Confidential
Page: 16
AT Command Set
Integer
value
8 Backspace character (BS, IA5 0/8). 0 to 127 Set command line editing character to this value.
2.13.4
2.14 ATS6
2.14.1 Description Pause before blind dialing. The command is ignored.
2.15 ATS7
2.15.1 Description Connection completion timeout. This parameter specifies the amount of time, in seconds, that the DCE shall allow between either answering a call (automatically or by the A command) or completion of signaling of call addressing information to network (dialing), and establishment of a connection with the remote DCE. If no connection is established during this time, the DCE disconnects from the line and returns a result code indicating the cause of the disconnection. 2.15.2 Format Execution command : 2.15.3 Field Type Integer Short name value Parameter/comment 1 to 255 Number of seconds in which connection must be established or call will be disconnected. ATS7=<value>
2.15.4
2.16 ATS8
2.16.1 Description Comma dial modifier time. This parameter specifies the amount of time, in seconds, that the DCE shall pause, during signaling of call addressing information to the network (dialing), when a "," (comma) dial modifier is encountered in a dial string.
Confidential
Page: 17
AT Command Set
2.16.2
2.16.3
Field Type Short name Parameter/comment 0 DCE does not pause when "," encountered in dial string. 1 to 255 Number of seconds to pause. Recommended default setting 2 DCE pauses two seconds when "," is encountered.
Integer
value
2.16.4
2.17 ATS10
2.17.1 Description Automatic disconnect delay. This parameter specifies the amount of time, in tenths of a second, that the DCE will remain connected to the line (off-hook) after the DCE has indicated the absence of received line signal. If the received line signal is once again detected before the time specified in S10 expires, the DCE remains connected to the line and the call continues. 2.17.2 Format Execution command : 2.17.3 Field Type Integer 2.17.4 Response Execution command : OK or ERROR Short name value Parameter/comment 1 to 254 Number of tenths of a second of delay. ATS10=<value>
2.18 ATT
2.18.1 Description We do not support. This setting is ignored.
Confidential
Page: 18
AT Command Set
2.19 ATV
2.19.1 Description Set DCE response format. 2.19.2 Format Execution command : 2.19.3 Field Type Integer Short name value Parameter/comment 0 DCE transmits limited headers and trailers and numeric text. 1 DCE transmits full headers and trailers and verbose response text. ATV[<value>]
2.19.4
2.20 ATX
2.20.1 Description The setting of this parameter determines whether or not the DCE transmits particular result codes to the DTE. It also controls whether or not the DCE verifies the presence of dial tone when it first goes off-hook to begin dialing, and whether or not engaged tone (busy signal) detection is enabled. However, this setting has no effect on the operation of the W dial modifier, which always checks for dial tone regardless of this setting, nor on the busy signal detection capability of the W and @ dial modifiers. See Table. 2.20.2 Format Execution command : 2.20.3 Field Type Short name Parameter/comment 0 CONNECT result code is given upon entering online data state. Dial tone and busy detection are disabled. 1 CONNECT <text> result code is given upon entering online data state. Dial tone and busy detection are disabled. 2 CONNECT <text> result code is given upon entering online data state. Dial tone detection is enabled, and busy detection is disabled. 3 CONNECT <text> result code is given upon entering online data state. Dial tone detection is disabled, and busy detection is enabled. 4 CONNECT <text> result code is given upon entering online data state. Dial tone and busy detection are both enabled. ATX[<value>]
Integer
value
Confidential
Page: 19
AT Command Set
2.20.4
2.21 ATZ
2.21.1 Description Reset to default configuration 2.21.2 Format Execution command : 2.21.3 Field Type Integer 2.21.4 Response Execution command : OK or ERROR Short name value Parameter/comment 0 Set parameters to factory defaults. ATZ[<value>]
2.22 AT&F
2.22.1 Description Set to factory-defined configuration 2.22.2 Format Set command : AT&F[<value>] 2.22.3 Field Type Integer Short name value Parameter/comment 0 Set parameters to factory defaults.
2.22.4
2.23 AT+GMI
2.23.1 Description Same as AT+CGMI
Confidential
Page: 20
AT Command Set
2.24 AT+GMM
2.24.1 Description Same as AT+CGMM
2.25 AT+GMR
2.25.1 Description Same as AT+CGMR
2.26 AT+IPR
2.26.1 Description Specifies the data rate, in addition to 1200 bits/s or 9600 bits/s, at which the DCE will accept commands. May be used to select operation at rates at which the DCE is not capable of automatically detecting the data rate being used by the DTE. 2.26.2 Format Execution command : Read command : Test command : 2.26.3 Field Type Short name Parameter/comment The rate, in bits per second, at which the DTE-DCE interface should operate. Currently, the following rates are supported: 0, 300, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, 115200, 230400, and 460800. If unspecified, or set to zero, automatic detection is selected, and the character format is forced to auto-detect (AT+ICF=0) AT+IPR=[<rate>] AT+IPR? Displays the current <rate> setting. AT+IPR=? Shows if the command is supported.
Integer
rate
2.26.4
Response Execution command : Read command : Test command : OK +IPR: <rate> +IPR: (list of supported <rate>s)
Confidential
Page: 21
AT Command Set
2.27 AT+ICF
2.27.1 Description Determines the local serial-port asynchronous character framing. 2.27.2 Format Execution command : Read command : Test command : 2.27.3 Field Type Short name Parameter/comment 0 Auto-detect 1 8 Data bits, 2 Stop bits 2 8 Data bits, 1 Parity bit, 1 Stop bit 3 8 Data bits, 1 Stop bit Default setting 4 7 Data bits, 2 Stop bits 5 7 Data bits, 1 Parity bit, 1 Stop bit 6 7 Data bits, 1 Stop bit 0 Odd Default setting 1 Even 2 Mark 3 Space AT+ICF=[<format>[,<parity>]] AT+ICF? Displays the current <format>, <parity> settings. AT+ICF=? Shows if the command is supported.
Integer
parity
Integer
parity
2.27.4
Response Execution command : Read command : Test command : OK +ICF: <format>,<parity> +ICF: (list of supported <format>s), (list of supported <parity>s)
2.28 AT+DS
2.28.1 Description Controls the V.42 bis data compression function, if provided in the TA. 2.28.2 Format Execution command : Read command : Test command : 2.28.3 Field Type Short name Parameter/comment 0 Disable V.42bis 1 Enable V.42bis in transmit direction only 2 Enable V.42bis in receive direction only 3 Enable V.42bis compression in both directions Default setting AT+DS=[<direction>[,<compression_negotiation>[,<max_dict>[,<max-string>]]]] AT+DS? Displays the current <direction>, <compression_negotiation>, <max_dict>, and <max_string> settings. AT+DS=? Shows if the command is supported.
Integer
direction
Confidential
Page: 22
AT Command Set
Integer
Integer Integer
0 Accept connection if compression is compression_ negotiated according to direction Default setting negotiation 1 Disconnect if compression is not negotiated according to direction 512 to 4096 Maximum dictionary size max_dict 1024 Default setting max_string 6 to 250 Maximum string length 32 Default setting
2.28.4
Response Execution command : Read command : Test command : OK +DS: <direction>,<compression_negotiation>,<max-dict>,<max_string> +DS: (list of supported <direction>s),(list of supported <compression_negotiation>s),(list of supported <max_dict>s),(list of supported <max_string>s)
2.29 AT+GCAP
2.29.1 Description Request complete capabilities list. 2.29.2 Format Execution command : Test command : 2.29.3 Response Execution command : +GCAP: +FCLASS, +CGSM OK Test command : OK AT+GCAP AT+GCAP=? Shows if the command is supported.
Confidential
Page: 23
AT Command Set
3.1
3.1.1
3.1.2
Format
Command
+CGMI +CGMI=?
Possible response(s)
<manufacturer> +CME ERROR: <err>
3.2
3.2.1
3.2.2
Format
Command
+CGMM +CGMM=?
Possible response(s)
<model> +CME ERROR: <err>
3.3
3.3.1
3.3.2
Format
Command
+CGMR +CGMR=?
Possible response(s)
<revision> +CME ERROR: <err>
Confidential
Page: 24
AT Command Set
3.4
3.4.1
3.4.2
Format
Command
+CGSN
Possible response(s)
<serial number> <CR><LF> <IMEI> +CME ERROR: <err>
+CGSN=?
3.5
3.5.1
3.5.2
Format
Command
+CSCS=[<chset>] +CSCS? +CSCS=? 3.5.3 Field "GSM" "HEX"
Possible response(s)
+CSCS: <chset> +CSCS: (list of supported <chset>s)
GSM 7 bit default alphabet (3GPP TS 23.038); this setting causes easily software flow control (XON/XOFF) problems character strings consist only of hexadecimal numbers from 00 to FF; e.g. "032FE6" equals three 8-bit characters with decimal values 3, 47 and 230; no conversions to the original MT character set shall be done. international reference alphabet (ITU-T T.50 [13]) PC character set Code Page 437 16-bit universal multiple-octet coded character set (ISO/IEC10646 [32]); UCS2 character strings are converted to hexadecimal numbers from 0000 to FFFF; e.g. "004100620063" equals three 16-bit characters with decimal values 65, 98 and 99 ISO 8859 Latin character set
"8859-1"
Confidential
Page: 25
AT Command Set
3.6
3.6.1
3.6.2
Format
Command
+CIMI +CIMI=?
Possible response(s)
<IMSI> +CME ERROR: <err>
Confidential
Page: 26
AT Command Set
4.1
4.1.1
4.1.2
Format
Command
+CMOD=[<mode>] +CMOD? +CMOD=? 4.1.3 Field <mode>: 0 1 2 3
Possible response(s)
+CMOD: <mode> +CMOD: (list of supported <mode>s)
single mode alternating voice/fax (teleservice 61) alternating voice/data (bearer service 61) voice followed by data (bearer service 81)
4.2
4.2.1
4.2.2
Format
Command
+CHUP +CHUP=?
Possible response(s)
4.3
4.3.1
Confidential
Page: 27
AT Command Set
4.3.2
Format
Command
+CBST=[<speed>[,<name>[,<ce>]]] +CBST? +CBST=?
Possible response(s)
+CBST: <speed>,<name>,<ce> +CBST: (list of supported <speed>s),(list of supported <name>s),(list of supported <ce>s)
4.3.3
Field <speed>: 0 4 5 6 7 12 14 68 70 71 75 auto bauding (automatic selection of the speed; this setting is possible in case of 3.1 kHz modem and non-transparent service) 2400 bps (V.22bis) 2400 bps (V.26ter) 4800 bps (V.32) 9600 bps (V.32) 9600 bps (V.34) 14400 bps (V.34) 2400 bps (V.110 or X.31 flag stuffing) 4800 bps (V.110 or X.31 flag stuffing) 9600 bps (V.110 or X.31 flag stuffing) 14400 bps (V.110 or X.31 flag stuffing)
[NOTE] when <speed> = 4,5,6,7,12,14 , line type = Analog when <speed> =68,70,71,75 , line type = ISDN <name>: 0 <ce>: 0 1 2 3 transparent non-transparent both, transparent preferred both, non-transparent preferred data circuit asynchronous (UDI or 3.1 kHz modem)
4.4
4.4.1
4.4.2
Format
Command
+CRLP=[<iws>[,<mws>[ ,<T1>[,<N2>[,<ver>[,< T4>]]]]]]
Possible response(s)
Confidential
Page: 28
AT Command Set
+CRLP?
+CRLP=?
+CRLP: (list of supported <iws>s),(list of supported <mws>s), (list of supported <T1>s),(list of supported <N2>s)[,<ver1> [,(list of supported <T4>s)]] [<CR><LF>+CRLP: (list of supported <iws>s),(list of supported <mws>s),(list of supported <T1>s),(list of supported <N2>s) [,<ver1>[,(list of supported <T4>s)]] [...]]
4.4.3
Field <ver>, <verx>: RLP version number in integer format; only support version 0. <iws>, <mws>, <T1>, <N2>, <T4>: IWF to MS window size, MS to IWF window size, acknowledgement timer T1, retransmission attempts N2, re-sequencing period T4 in integer format. T1 and T4 are in units of 10 ms. <ver> and <T4> in set command are ignored.
4.5
4.5.1
4.5.2
Format
Command
+CR=[<mode>] +CR? +CR=? 4.5.3 Field <mode>: 0 disables reporting 1 enables reporting <serv>: ASYNC asynchronous transparent SYNC synchronous transparent REL ASYNC asynchronous non-transparent REL SYNC synchronous non-transparent
Possible response(s)
+CR: <mode> +CR: (list of supported <mode>s)
Confidential
Page: 29
AT Command Set
4.6
4.6.1
4.6.2
Format
Command
+CEER +CEER=? 4.6.3 Field
Possible response(s)
+CEER: <cause>, <report>
<cause>: cause value listed in GSM 04.08 annex H. <report>: string type describes cause value.
4.7
4.7.1
4.7.2
Format
Command
+CRC=[<mode>] +CRC? +CRC=? 4.7.3 Field
Possible response(s)
+CRC: <mode> +CRC: (list of supported <mode>s)
<mode>: 0 disables extended format 1 enables extended format <type>: ASYNC asynchronous transparent SYNC synchronous transparent REL ASYNC asynchronous non-transparent REL SYNC synchronous non-transparent FAX facsimile (TS 62) VOICE normal voice (TS 11) VOICE/XXX voice followed by data (BS 81) (XXX is ASYNC, SYNC, REL ASYNC or REL SYNC) ALT VOICE/XXX alternating voice/data, voice first (BS 61) ALT XXX/VOICE alternating voice/data, data first (BS 61) ALT VOICE/FAX alternating voice/fax, voice first (TS 61)
Confidential
Page: 30
AT Command Set
alternating voice/fax, fax first (TS 61). GPRS network request for PDP context activation
4.8
4.8.1
4.8.2
Format
Command
+CSNS=[<mode>] +CSNS? +CSNS=? 4.8.3 Field <mode>: 0 1 2 3 4 5 6 7 8
Possible response(s)
+CSNS: <mode> +CSNS: (list of supported <mode>s)
voice alternating voice/fax, voice first (TS 61) fax (TS 62) alternating voice/data, voice first (BS 61) data alternating voice/fax, fax first (TS 61) alternating voice/data, data first (BS 61) voice followed by data (BS 81)
4.9
4.9.1
4.9.2
Format
Command
+CVHU=[<mode>] +CVHU? +CVHU=? 4.9.3 Field
Possible response(s)
+CVHU:<mode> +CVHU:(list of supported <mode>s)
Confidential
Page: 31
AT Command Set
Command
+CSDF=[[<mode>] [,<auxmode>]] +CSDF? +CSDF=?
Possible response(s)
+CME ERROR: <err> +CSDF:<mode>[,<auxmode>] +CME ERROR: <err> +CSDF:(list of supported <mode>s) [, (list of supported <auxmode>s)] +CME ERROR: <err>
4.10.3
Field <mode>: 1 DD-MMM-YYYY 8 DD/MM/YYYY 9 MM/DD/YYYY 10 YYYY/MM/DD 11 YYYY-MM-DD 12 MMM DD,YYYY <auxmode>: 1 yy/MM/dd (default) 2 yyyy/MM/dd
Command
+CSIL=<mode> +CSIL? +CSIL=?
Possible response(s)
+CME ERROR: <err> +CSIL:<mode> +CME ERROR: <err> +CSIL:(list of supported <mode>s) +CME ERROR: <err>
4.11.3
Confidential
Page: 32
AT Command Set
Command
+CSTF=[<mode>] +CSTF? +CSTF=?
Possible response(s)
+CME ERROR: <err> +CSTF:<mode> +CME ERROR: <err> +CSTF:(list of supported <mode>s) +CME ERROR: <err>
4.12.3
Confidential
Page: 33
AT Command Set
5.1
5.1.1
5.1.2
Format
Command
+CNUM
Possible response(s)
+CNUM: [<alpha1>],<number1>,<type1> [<CR><LF>+CNUM: [<alpha2>],<number2>,<type2>] [...]] +CME ERROR: <err>
+CNUM=?
5.2
5.2.1
5.2.2
Format
Command
+CREG=[<n>] +CREG? +CREG=? 5.2.3 Field <n>: 0 1 2
Possible response(s)
+CREG: <n>,<stat>[,<lac>,<ci>] +CME ERROR: <err> +CREG: (list of supported <n>s)
disable network registration unsolicited result code enable network registration unsolicited result code +CREG: <stat> enable network registration and location information unsolicited result code +CREG: <stat>[,<lac>,<ci>]
<stat>:
Confidential
Page: 34
AT Command Set
0 not registered, MT is not currently searching a new operator to register to 1 registered, home network 2 not registered, but MT is currently searching a new operator to register to 3 registration denied 4 unknown 5 registered, roaming <lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in decimal) <ci>: string type; two byte cell ID in hexadecimal format
5.3
5.3.1
5.3.2
Format
Command
+COPS=[<mode>[,<format >[,<oper>]]] +COPS? +COPS=?
Possible response(s)
+CME ERROR: <err> +COPS: <mode>[,<format>,<oper>] +CME ERROR: <err> +COPS: [list of supported (<stat>,long alphanumeric <oper> ,short alphanumeric <oper>,numeric <oper>)s] [,,(list of supported <mode>s),(list of supported <format>s)] +CME ERROR: <err>
5.3.3
Field <mode>: 0 automatic (<oper> field is ignored) 1 manual (<oper> field shall be present) 2 deregister from network (disable form 05.48) 3 set only <format> (for read command +COPS?), do not attempt registration/deregistration <format>: 0 long format alphanumeric <oper> 1 short format alphanumeric <oper> 2 numeric <oper> <oper>: string type <stat>: 0 unknown
Confidential
Page: 35
AT Command Set
1 2 3 available current forbidden
[NOTE] We DO NOT support full set of alphanumeric format of <oper>, since the code size will become very large. If the customer needs the alphanumeric format, the table can be customized in mcu\custom\ps\xxx_bb\customer_operator_names.c.
5.4
5.4.1
5.4.2
Format
Command
+CLCK=<fac>,<mode>[,<passwd>[, <class>]]
Possible response(s)
+CME ERROR: <err> when <mode>=2 and command successful: +CLCK: <status>[,<class1> [<CR><LF>+CLCK: <status>,<class2> [...]]
+CLCK=?
5.4.3
Field <fac> : "SC","AO","OI","OX","AI","IR","AB","AG","AC","PN","PU","PP","PC <mode>: 0 unlock 1 lock 2 query status (only SC, AO, OI, OX, AI, IR, AB, AG, AC support query mode) <status>: 0 not active 1 active <passwd>: string type <classx> 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) 8 short message service 16 data circuit sync 32 data circuit async 64 dedicated packet access 128 dedicated PAD access
16.11.3
Example //Set the Pin Lock AT+CLCK="SC",1,"1234 OK //Unlock Pin code AT+CLCK="SC",0,"1234 OK
Confidential
Page: 36
AT Command Set
5.5
5.5.1
5.5.2
Format
Command
+CPWD=<fac>,<oldpwd>,<newpwd> +CPWD=?
Possible response(s)
+CME ERROR: <err> +CPWD: list of supported (<fac>,<pwdlength>)s +CME ERROR: <err>
5.5.3
Field <fac>: "P2" SIM PIN2 refer Facility Lock +CLCK for other values <oldpwd>, <newpwd>: string type; <pwdlength>: integer type maximum length of the password for the facility
5.6
5.6.1
5.6.2
Format
Command
+CLIP=[<n>] +CLIP? +CLIP=? 5.6.3 Field
Possible response(s)
+CLIP: <n>,<m> +CLIP: (list of supported <n>s)
<n> (parameter sets/shows the result code presentation status to the TE): 0 disable 1 enable <m> (parameter shows the subscriber CLIP service status in the network): 0 CLIP not provisioned 1 CLIP provisioned 2 unknown (e.g. no network, etc.) <number>: string type phone number of format specified by <type> <type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
Confidential
Page: 37
AT Command Set
<subaddr>: string type subaddress of format specified by <satype> <satype>: type of subaddress octet in integer format (refer TS 24.008 [8] subclause 10.5.4.8)
5.7
5.7.1
5.7.2
Format
Command
+CLIR=[<n>] +CLIR? +CLIR=? 5.7.3 Field
Possible response(s)
+CLIR: <n>,<m> +CLIR: (list of supported <n>s)
<n> (parameter sets the adjustment for outgoing calls): 0 presentation indicator is used according to the subscription of the CLIR service 1 CLIR invocation 2 CLIR suppression <m> (parameter shows the subscriber CLIR service status in the network): 0 CLIR not provisioned 1 CLIR provisioned in permanent mode 2 unknown (e.g. no network, etc.) 3 CLIR temporary mode presentation restricted 4 CLIR temporary mode presentation allowed
5.8
5.8.1
Confidential
Page: 38
AT Command Set
5.8.2
Format
Command
+COLP=[<n>] +COLP? +COLP=? 5.8.3 Field
Possible response(s)
+COLP: <n>,<m> +COLP: (list of supported <n>s)
<n> (parameter sets/shows the result code presentation status to the TE): 0 disable 1 enable <m> (parameter shows the subscriber COLP service status in the network): 0 COLP not provisioned 1 COLP provisioned 2 unknown (e.g. no network, etc.) <number>, <type>, <subaddr>, <satype>, <alpha>: refer +CLIP
5.9
5.9.1
5.9.2
Format
Command
+CCUG=[<n>[,<index>[,<info>]]] +CCUG? +CCUG=? 5.9.3 Field <n>: 0 disable CUG temporary mode 1 enable CUG temporary mode <index>: 0...9 CUG index 10 no index (preferred CUG taken from subscriber data) <info>: 0 no information 1 suppress OA 2 suppress preferential CUG 3 suppress OA and preferential CUG
Possible response(s)
+CCUG: <n>,<index>,<info>
Confidential
Page: 39
AT Command Set 5.10 AT+CCFC Call forwarding number and conditions (Sec 7.11)
5.10.1 Description Sets the call forwarding number and conditions. Registration, erasure, activation, deactivation and status query operations are supported. 5.10.2 Format
Command
+CCFC=<reason>,<mode> [,<number>[,<type> [,<class> [,<subaddr>[,<satype> [,<time>]]]]]]
Possible response(s)
+CME ERROR: <err> when <mode>=2 and command successful: +CCFC: <status>,<class1>[,<number>,<type> [,<subaddr>,<satype>[,<time>]]][ <CR><LF>+CCFC: <status>,<class2>[,<number>,<type> [,<subaddr>,<satype>[,<time>]]] [...]]
<reason>: 0 unconditional 1 mobile busy 2 no reply 3 not reachable 4 all call forwarding (refer 3GPP TS 22.030 [19]) 5 all conditional call forwarding (refer 3GPP TS 22.030 [19]) <mode>: 0 disable 1 enable 2 query status 3 registration 4 erasure <number>: string type phone number of forwarding address in format specified by <type> <type>: type of address <subaddr>: string type subaddress of format specified by <satype> <satype>: type of subaddress octet in integer format (refer TS 24.008 [8] subclause 10.5.4.8); default 128 <classx> 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) 8 short message service 16 data circuit sync 32 data circuit async 64 dedicated packet access 128 dedicated PAD access <time>: 1...30 when "no reply" is enabled or queried, this gives the time in seconds to wait before call is forwarded <status>: 0 not active 1 active
Confidential
Page: 40
AT Command Set
5.10.4 Example //Delete unconditional call forward AT+CCFC=0,4 OK //Delete succeed, query AT+CCFC=0,2 +CCFC:0,7 OK
//Registration unconditional call forward AT+CCFC=0,3,"1380013800" OK //Query unconditional call forward AT+CCFC=0,2 +CCFC:1,1,"861380013800",145 OK
Command
+CCWA=[<n>[,<mode>[,<class>]]]
Possible response(s)
+CME ERROR: <err> when <mode>=2 and command successful +CCWA: <status>,<class1> [<CR><LF>+CCWA: <status>,<class2> [...]]
<n> (sets/shows the result code presentation status to the TE): 0 disable 1 enable <mode> (when <mode> parameter is not given, network is not interrogated): 0 disable 1 enable 2 query status <classx> 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) 8 short message service 16 data circuit sync 32 data circuit async 64 dedicated packet access 128 dedicated PAD access <status>: 0 not active 1 active <number>: string type phone number of calling address in format specified by <type> <type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
Confidential
Page: 41
AT Command Set 5.12 AT+CHLD Call related supplementary services (Sec 7.13)
5.12.1 Description Requests call-related supplementary services. Refers to a service that allows a call to be temporarily disconnected from the ME but the connection to be retained by the network, and to a service that allows multiparty conversation. Calls can be put on hold, recovered, released and added to a conversation. 5.12.2 Format
Command
+CHLD=[<n>] +CHLD=? 5.12.3 Field
Possible response(s)
+CME ERROR: <err> [+CHLD: (list of supported <n>s)]
<n> (sets/shows the result code presentation status to the TE): 0 Releases all held calls, or sets User-Determined User Busy for a waiting call 1 Releases all active calls and accepts the other (waiting or held) call 1x Releases the specific active call X 2 Places all active calls on hold and accepts the other (held or waiting) call 2x Places all active calls, except call X, on hold 3 Adds a held call to the conversation 4 Connects two calls and disconnects the subscriber from both calls 5.12.4 Example //Switch to the 1st call line AT+CHLD=21 OK
Command
+CTFR=<number>[,<type>[,<subaddr>[,<satype>]]] +CTFR=? 5.13.3 Field
Possible response(s)
+CME ERROR: <err>
<number>: string type phone number of format specified by <type> <type>: type of address <subaddr>: string type subaddress of format specified by <satype> <satype>: type of subaddress octet in integer format (refer TS 24.008 [8] subclause 10.5.4.8); default 128
Confidential
Page: 42
AT Command Set
operations are supported. This command is used to enable the unsolicited result code +CUSD. 5.14.2 Format
Command
+CUSD=[<n>[,<str>[,<dcs>]]] +CUSD? +CUSD=? 5.14.3 Field <n>: 0 1 2
Possible response(s)
+CME ERROR: <err> +CUSD: <n> +CUSD: (list of supported <n>s)
disable the result code presentation to the TE enable the result code presentation to the TE cancel session (not applicable to read command response)
<str>: string type USSD string <dcs>: 3GPP TS 23.038 [25] Cell Broadcast Data Coding Scheme in integer format (default 0) <m>: 0 1 2 3 4 5
no further user action required further user action required USSD terminated by network other local client has responded operation not supported network time out
Command
+CAOC[=<mode>] +CAOC? +CAOC=? 5.15.3 Field
Possible response(s)
[+CAOC: <ccm>] +CME ERROR: <err> +CAOC: <mode> [+CAOC: (list of supported <mode>s)
<mode>: 0 query CCM value 1 deactivate the unsolicited reporting of CCM value 2 activate the unsolicited reporting of CCM value <ccm>: string type; three bytes of the current call meter value in hexadecimal format (e.g. "00001E" indicates decimal value 30)
Confidential
Page: 43
AT Command Set
Command
+CSSN=[<n>[,<m>]] +CSSN? +CSSN=? 5.16.3 Field +CSSN: <n>,<m>
Possible response(s)
<n> (parameter sets/shows the +CSSI result code presentation status to the TE): 0 disable 1 enable <m> (parameter sets/shows the +CSSU result code presentation status to the TE): 0 disable 1 enable <code1> (it is manufacturer specific, which of these codes are supported): 0 unconditional call forwarding is active 1 some of the conditional call forwardings are active 2 call has been forwarded 3 call is waiting 4 this is a CUG call (also <index> present) 5 outgoing calls are barred 6 incoming calls are barred 7 CLIR suppression rejected 8 call has been deflected <index>: refer "Closed user group +CCUG" <code2> (it is manufacturer specific, which of these codes are supported): 0 this is a forwarded call (MT call setup) 1 this is a CUG call (also <index> present) (MT call setup) 2 call has been put on hold (during a voice call)
Confidential
Page: 44
AT Command Set
3 4 5 6 7 8 9 10
call has been retrieved (during a voice call) multiparty call entered (during a voice call) call on hold has been released (this is not a SS notification) (during a voice call) forward check SS message received (can be received whenever) call is being connected (alerting) with the remote party in alerting state in explicit call transfer operation (during a voice call) call has been connected with the other remote party in explicit call transfer operation (also number and subaddress parameters may be present) (during a voice call or MT call setup) this is a deflected call (MT call setup) sdditional incoming call forwarded
<number>: string type phone number of format specified by <type> <type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7) <subaddr>: string type subaddress of format specified by <satype> <satype>: type of subaddress octet in integer format (refer TS 24.008 [8] subclause 10.5.4.8)
Command
+CLCC <number>,<type>]
Possible response(s)
[+CLCC: <id1>,<dir>,<stat>,<mode>,<mpty>[, [<CR><LF>+CLCC: <id2>,<dir>,<stat>,<mode>,<mpty>[, <number>,<type>] [...]]] +CME ERROR: <err>
+CLCC=? 5.17.3 Field <idx>: integer type; call identification number as described in 3GPP TS 22.030 [19] subclause 4.5.5.1; this number can be used in +CHLD command operations <dir>: 0 mobile originated (MO) call 1 mobile terminated (MT) call <stat> (state of the call): 0 active 1 held 2 dialing (MO call) 3 alerting (MO call) 4 incoming (MT call) 5 waiting (MT call) <mode> (bearer/teleservice):
Confidential
Page: 45
AT Command Set
0 voice 1 data 2 fax 3 voice followed by data, voice mode 4 alternating voice/data, voice mode 5 alternating voice/fax, voice mode 6 voice followed by data, data mode 7 alternating voice/data, data mode 8 alternating voice/fax, fax mode 9 unknown <mpty>: 0 call is not one of multiparty (conference) call parties 1 call is one of multiparty (conference) call parties <number>: string type phone number in format specified by <type> <type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7)
Command
+CPOL=[<index>][, <format>[,<oper>]] +CPOL?
Possible response(s)
+CME ERROR: <err> +CPOL: <index1>,<format>,<oper1> [<CR><LF>+CPOL: <index2>,<format>,<oper2> [...]] +CME ERROR: <err> +CPOL: (list of supported <index>s), (list of supported <format>s) +CME ERROR: <err>
+CPOL=?
5.18.3
Field <indexn>: integer type; the order number of operator in the SIM/USIM preferred operator list <format>: 0 long format alphanumeric <oper> 1 short format alphanumeric <oper> 2 numeric <oper> <opern>: string type; <format> indicates if the format is alphanumeric or numeric (see +COPS)
Confidential
Page: 46
AT Command Set
Command
+CAEMLPP=<priority> +CAEMLPP? +CAEMLPP=?
Possible Response(s)
+CME ERROR: <err> +CAEMLPP: <default_priority>,<max_priority> +CME ERROR: <err>
5.19.3
Field <priority>: integer type parameter which identifies the default priority level to be activated in the network, values specified in 3GPP TS 22.067 [54] <default_priority>: integer type parameter which identifies the default priority level which is activated in the network, values specified in 3GPP TS 22.067 [54] <max_priority>: integer type parameter which identifies the maximum priority level for which the service subscriber has a subscription in the network, values specified in 3GPP TS 22.067 [54].
Confidential
Page: 47
6.1
6.1.1
6.1.2
Format
Command
+CPAS +CPAS=? 6.1.3 Field <pas>: 0 1 2 3 4 5
Possible response(s)
+CPAS: <pas> +CME ERROR: <err> +CPAS: (list of supported <pas>s) +CME ERROR: <err>
ready (MT allows commands from TA/TE) unavailable (MT does not allow commands from TA/TE) unknown (MT is not guaranteed to respond to instructions) ringing (MT is ready for commands from TA/TE, but the ringer is active) call in progress (MT is ready for commands from TA/TE, but a call is in progress) asleep (MT is unable to process commands from TA/TE because it is in a low functionality state)
Command
+CFUN=[<fun>[,<rst>]] +CFUN=? +CME ERROR: <err>
Possible response(s)
+CFUN: (list of supported <fun>s), (list of supported <rst>s) +CME ERROR: <err> OK FAILURE / ERROR +EFUN:<fun> /*Query the current mode*/
Flight mode /*AT+CFUN not support set this mode*/ Normal mode do not reset the MT before setting it to <fun> power level reset the MT before setting it to <fun> power level
Page: 48
Confidential
AT Command Set
6.2.4 Example //Set phone flight mode AT+EFUN=0 OK //Set phone normal mode AT+EFUN=1 OK //Reset the target AT+CFUN=1,1 OK
6.3
6.3.1
6.3.2
Format
Command
+CPIN=<pin>[,<newpin>] +CPIN? +CPIN=?
Possible response(s)
+CME ERROR: <err> +CPIN: <code> +CME ERROR: <err>
6.3.3
Field <pin>, <newpin>: string type values <code> values reserved by the present document: READY MT is not pending for any password SIM PIN MT is waiting SIM PIN to be given SIM PUK MT is waiting SIM PUK to be given PH-SIM PIN MT is waiting phone to SIM card password to be given PH-FSIM PIN MT is waiting phone-to-very first SIM card password to be given PH-FSIM PUK MT is waiting phone-to-very first SIM card unblocking password to be given SIM PIN2 MT is waiting SIM PIN2 to be given SIM PUK2 MT is waiting SIM PUK2 to be given PH-NET PIN MT is waiting network personalization password to be given PH-NET PUK MT is waiting network personalization unblocking password to be given PH-NETSUB PIN MT is waiting network subset personalization password to be given PH-NETSUB PUK MT is waiting network subset personalization unblocking password to be given PH-SP PIN MT is waiting service provider personalization password to be given PH-SP PUK MT is waiting service provider personalization unblocking password to be given PH-CORP PIN MT is waiting corporate personalization password to be given PH-CORP PUK MT is waiting corporate personalization unblocking password to be given PHONE LOCK MT is waiting phone lock code
Confidential
Page: 49
AT Command Set
6.4
6.4.1
6.4.2
Format
Command
+CBC +CBC=? 6.4.3 Field <bcs>: 0 1 2 3 <bcl>: 0 1...100
Possible response(s)
+CBC: <bcs>,<bcl> +CME ERROR: <err> +CBC: (list of supported <bcs>s),(list of supported <bcl>s)
MT is powered by the battery MT has a battery connected, but is not powered by it MT does not have a battery connected Recognized power fault, calls inhibited battery is exhausted, or MT does not have a battery connected battery has 1 100 percent of capacity remaining
6.5
6.5.1
6.5.2
Format
Command
+CSQ +CSQ=? 6.5.3 Field
Possible response(s)
+CSQ: <rssi>,<ber> +CME ERROR: <err> +CSQ: (list of supported <rssi>s),(list of supported <ber>s)
<rssi>: 0 113 dBm or less 1 111 dBm 2...30 109... 53 dBm 31 51 dBm or greater 99 not known or not detectable <ber> (in percent): 0...7 as RXQUAL values in the table in TS 45.008 [20] subclause 8.2.4 not known or not detectable
Confidential
Page: 50
6.6.2
Format
Command
+CKPD=<keys>[,<time>[,<pause>]] +CKPD=? 6.6.3 Field
Possible response(s)
+CME ERROR: <err>
Char
# % * 0... 9 : ; < > @ A/a B/b C/c D/d E/e F/f L/l M/m P/p Q/q R/r S/s T/t U/u V/v W/w X/x Y/y [ ] ^ <time>: (0...255)
IRA (dec)
35 37 42 48... 57 58 59 60 62 64 65/97 66/98 67/99 68/100 69/101 70/102 76/108 77/109 80/112 81/113 82/114 83/115 84/116 85/117 86/118 87/119 88/120 89/121 91 93 94
//0... 25.5 seconds. If the time>=21 (2s), can emulate the long press event. //0... 25.5 seconds
Page: 51
<pause>: (0...255)
Confidential
AT Command Set
6.6.4 Example //Press the key "#" AT+CKPD="#",10,10 OK //Long press the key "End" AT+CKPD="E",21,10 OK
6.7
6.7.1
6.7.2
Format
Command
+CIND=[<ind>[,<ind>[,...]]] +CIND? +CIND=?
Possible response(s)
+CME ERROR: <err> +CIND: <ind>[,<ind>[,...]] +CME ERROR: <err> +CIND: (<descr>,(list of supported <ind>s)) [,(<descr>,(list of supported <ind>s))[,...]] +CME ERROR: <err>
6.7.3
Field <ind>: integer type value, which shall be in range of corresponding <descr> <descr> values reserved by the present document and their <ind> ranges: "battchg" battery charge level (0 5) "signal" s ignal quality (0 5) "service" service availability (0 1) "message" message received (0 1) "call" call in progress (0 1) "roam" roaming indicator (0 1)
6.8
6.8.1
6.8.2
Format
Command
+CPBS=<storage> +CPBS?
Possible response(s)
+CME ERROR: <err> +CPBS: <storage>[,<used>,<total>] +CME ERROR: <err>
Confidential
Page: 52
AT Command Set
+CPBS=? 6.8.3 Field "ME" "SM" LD MC RC MT phonebook SIM/UICC phonebook last-dialling phonebook MT missed calls list MT received calls list. +CPBS: (list of supported <storage>s)
6.9
6.9.1
6.9.2
Format
Command
+CPBR=<index1> [,<index2>]
Possible response(s)
[+CPBR: <index1>,<number>,<type>,<text>[,<hidden>][[...] <CR><LF>+CPBR: <index2>,<number>,<type>,<text>[,<hidden>]]] +CME ERROR: <err>
+CPBR=?
6.9.3
Field <index1>, <index2>, <index>: integer type values in the range of location numbers of phonebook memory <number>: string type phone number of format <type> <type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7) <text>: string type field of maximum length <tlength>; character set as specified by command Select TE Character Set +CSCS <nlength>: integer type value indicating the maximum length of field <number> <tlength>: integer type value indicating the maximum length of field <text> <hidden>: indicates if the entry is hidden or not 0: phonebook entry not hidden 1: phonebook entry hidden
6.10 AT+EPBF/CPBF Find Phonebook entries (Sec 8.13) [CPBF not support in MD231]
6.10.1 Description Execution command returns phonebook entries (from the current phonebook memory storage selected with +CPBS) which alphanumeric field start with string <findtext>. Entry fields returned are location number <indexn>, phone number stored there <number> (of format <type>) and text <text> associated with the number.
Confidential
Page: 53
AT Command Set
6.10.2 Format
Command
+EPBF=<findtext>
Possible response(s)
[+EPBF: <index1>,<number>,<type>,<text> [[...] <CR><LF>+EBPF: <index2>,<number>,<type>,<text>]] +CME ERROR: <err> [+CPBF: <index1>,<number>,<type>,<text> [[...] <CR><LF>+CBPF: <index2>,<number>,<type>,<text>]] +CME ERROR: <err>
+CPBF=<findtext>
+EPBF=?
6.10.3
Field <index1>>: Store index in phonebook memory <number>: string type phone number of format <type> <type>: type of address octet in integer format (refer TS 24.008 [8] subclause 10.5.4.7) <findtext>, <text>: string type field of maximum length <tlength>. Only support IRA
6.10.4
Command
+CPBW=[<index>][,<number> [,<type>[,<text>]]] +CPBW=?
Possible response(s)
+CME ERROR: <err> +CPBW: (list of supported <index>s),[<nlength>], (list of supported <type>s),[<tlength>] +CME ERROR: <err>
6.11.3
Field <index>: integer type values in the range of location numbers of phonebook memory <number>: string type phone number of format <type> <type>: type of address <text>: string type field of maximum length <tlength>; character set as specified by command Select TE Character Set +CSCS. UCS2, and IRA are supported. <nlength>: integer type value indicating the maximum length of field <number> <tlength>: integer type value indicating the maximum length of field <text>
6.11.4
Example AT+CPBW=6,"13812345678",129,"Join" OK
Confidential
Page: 54
AT Command Set
6.12.2
Format
Command
+CCLK=<time> +CCLK? +CCLK=? 6.12.3 Field
Possible response(s)
+CME ERROR: <err> +CCLK: <time> +CME ERROR: <err>
<time>: string type value; format is "yy/MM/dd,hh:mm:ss", where characters indicate year (two last digits), month, day, hour, minutes, seconds and time zone.
Command
+CALA=<time>[,<n>[,< type>[,<text>[,<recu r>]]]] +CALA?
Possible response(s)
+CME ERROR: <err>
OK
<time>: refer +CCLK,+CSDF <n>: integer type value indicating the index of the alarm. <type>: we dont care about type. <text>: we dont care about text. MMI doesnt support. <recurr>: string type value indicating day of weeks for the alarm in one of the following format: <1..7>[,<1..7>[]]" Sets a recurrent alarm for one or more days in the week. The digits 1 to 7 corresponds to the days in the week, Monday (1), , Sunday (7). Example: The string "1,2,3,4,5" may be used to set an alarm for all weekdays. "0" Sets a recurrent alarm for all days in the week.
Confidential
Page: 55
Command
+CRSM=<command>[,<fileid> [,<P1>,<P2>,<P3>[,<data>]]] +CRSM=?
Possible response(s)
+CRSM: <sw1>,<sw2>[,<response>] +CME ERROR: <err>
6.14.3
Field <command> (command passed on by the MT to the SIM; refer GSM 51.011 [28]): 176 READ BINARY 178 READ RECORD 192 GET RESPONSE 214 UPDATE BINARY 220 UPDATE RECORD 242 STATUS <fileid>: integer type; this is the identifier of a elementary data file on SIM. <P1>, <P2>, <P3>: integer type; parameters passed on by the MT to the SIM. Refer GSM11.11 <data>: information which shall be written to the SIM (hexadecimal character format; refer +CSCS) <sw1>, <sw2>: integer type; information from the SIM about the execution of the actual command. <response>: response of a successful completion of the command previously issued (hexadecimal character format) Example: Read the binary ICCID(2FE2) AT+CRSM=176,12258,0,0,10 +CRSM: 144, 0, "9868000C909079004327" OK /* So the ICCID is 898600C0090997003472*/
Command
+CRSL=<level> +CRSL?
Possible response(s)
+CME ERROR: <err> +CRSL: <level> +CME ERROR: <err>
Confidential
Page: 56
AT Command Set
+CRSL=?
6.15.3
Command
+CVIB=<mode> +CVIB? +CVIB=?
Possible response(s)
+CME ERROR: <err> +CVIB: <mode> +CME ERROR: <err> +CVIB: (list of supported <mode>s) +CME ERROR: <err>
6.16.3
Command
+CLVL=<level> +CLVL? +CLVL=?
Possible response(s)
+CME ERROR: <err> +CLVL: <level> +CME ERROR: <err> +CLVL: (list of supported <level>s) +CME ERROR: <err>
6.17.3
Confidential
Page: 57
AT Command Set
Command
+CMUT=<n> +CMUT? +CMUT=? 6.18.3 Field <n>: 0 1 mute off mute on
Possible response(s)
+CME ERROR: <err> +CMUT: <n> +CME ERROR: <err> +CMUT: (list of supported <n>s)
Command
+CACM=[<passwd>] +CACM? +CACM=? 6.19.3 Field
Possible response(s)
+CME ERROR: <err> +CACM: <acm> +CME ERROR: <err>
<passwd>: string type; SIM PIN2 <acm>: string type; accumulated call meter value similarly coded as <ccm> under +CAOC
Command
+CAMM=[<acmmax>[,<passwd>]]
Possible response(s)
+CME ERROR: <err>
Confidential
Page: 58
AT Command Set
<acmmax>: string type; accumulated call meter maximum value similarly coded as <ccm> under +CAOC; value zero disables ACMmax feature <passwd>: string type; SIM PIN2
6.21 AT+CPUC Price per unit and currency table (Sec 8.27)
6.21.1 Description Sets the parameters of Advice-of-Charge related price per unit and currency in SIM file EFPUCT. PUCT information can be used to convert the home units (as used in AT+CAOC, AT+CACM, and AT+CAMM) into currency units. 6.21.2 Format
Command
+CPUC=<currency>,<ppu>[,<passwd>] +CPUC? +CPUC=? 6.21.3 Field
Possible response(s)
+CME ERROR: <err> +CPUC: <currency>,<ppu> +CME ERROR: <err>
<currency>: string type; three-character currency code (e.g. "GBP", "DEM"); character set as specified by command Select TE Character Set +CSCS <ppu>: string type; price per unit; dot is used as a decimal separator (e.g. "2.66") <passwd>: string type; SIM PIN2
Command
+CCWE=<mode>
Possible response(s)
+CME ERROR: <err>
Confidential
Page: 59
AT Command Set
+CCWE? +CCWE=?
+CCWE: <mode> +CME ERROR: <err> +CCWE: (list of supported <mode>s) +CME ERROR: <err>
6.22.3
Field <mode>: 0 Disable the call meter warning event 1 Enable the call meter warning event
Command
+CLAN=<code> +CLAN? +CLAN=?
Possible response(s)
+CME ERROR: <err> +CLAN: <code> +CME ERROR: <err> +CLAN:(list of supported <code>s) +CME ERROR: <err>
6.23.3
Field <code>: AUTO Read language from the active application in the SIM card. AUTO is not returned by the read-command. Note: When the preferred language from SIM card is not recognized or supported by our MMI, AT+CLAN=AUTO will remain current ME setting. "en" -- English. "zh-TW" traditional Chinese. (old version: TW) "zh-CN" simplified Chinese. (old version: ZH)
Confidential
Page: 60
AT Command Set
6.24.2
Format
Command
+CLAE=<mode> +CLAE? +CLAE=?
Possible response(s)
+CME ERROR: <err> +CLAE: <mode> +CME ERROR: <err> +CLAE: (list of supported <mode>s) +CME ERROR: <err>
6.24.3
Field <mode>: 0 Disable unsolicited result code +CLAE 1 Enable unsolicited result code +CLAE <code>: For description see +CLAN.
Command
+CSGT=<mode>[,<text>] +CSGT? +CSGT=?
Possible response(s)
+CME ERROR: <err> +CSGT: <text>, <mode> +CME ERROR: <err> +CSGT:(list <ltext> of supported <mode>s),
+CME ERROR: <err> 6.25.3 Field <text>: string type; A free text that shall be displayed. The text can not include <CR> <mode>: 0 Turn off greeting text. 1 Turn on greeting text
Confidential
Page: 61
AT Command Set
6.26.2
Format
Command
+CALD=<n> +CALD=?
Possible response(s)
+CME ERROR: <err> +CALD: (list of supported <n>s) +CME ERROR: <err>
6.26.3
Field <n>: integer type value indicating the index of the alarm; default is manufacturer specific.
Command
+CTZR=<onoff> +CTZR? +CTZR=?
Possible response(s)
+CME ERROR: <err> +CTZR: <onoff> +CME ERROR: <err> +CTZR: (list of supported <onoff>s) +CME ERROR: <err>
6.27.3
Field <onoff>: integer type value indicating: 0 Disable automatic time zone update via NITZ (default). 1 Enable automatic time zone update via NITZ.
Confidential
Page: 62
AT Command Set
7.1
7.1.1
7.1.2
Format
Command
+CGDCONT=[<cid> [,<PDP_type> [,<APN> [,<PDP_addr> [,<d_comp> [,<h_comp> [,<pd1> [,[,pdN]]]]]]]]] +CGDCONT?
Possible response(s)
OK ERROR +CGDCONT: <cid>, <PDP_type>, <APN>, <PDP_addr>, <d_comp>, <h_comp>[,<pd1>[,[,pdN]]] [<CR><LF>+CGDCONT: <cid>, <PDP_type>, <APN>,<PDP_addr>, <d_comp>, <h_comp>[,<pd1>[,[,pdN]]] [...]]
+CGDCONT=?
+CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported <d_comp>s), (list of supported <h_comp>s)[,(list of supported <pd1>s)[,[,(list of supported <pdN>s)]]] [<CR><LF>+CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported <d_comp>s), (list of supported <h_comp>s)[,(list of supported <pd1>s)[,[,(list of supported <pdN>s)]]] [...]]
7.1.3
Field <cid>: (PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value = 1) is returned by the test form of the command. <PDP_type>: (Packet Data Protocol type) a string parameter. IP Internet Protocol (IETF STD 5)
Confidential
Page: 63
<APN>: (Access Point Name) a string parameter which is a logical name that is used to select the GGSN or the external packet data network. If the value is null or omitted, then the subscription value will be requested. <PDP_address>: a string parameter that identifies the MT in the address space applicable to the PDP. If the value is null or omitted, then a value may be provided by the TE during the PDP startup procedure or, failing that, a dynamic address will be requested. The read form of the command will continue to return the null string even if an address has been allocated during the PDP startup procedure. The allocated address may be read using the +CGPADDR command. <d_comp>: a numeric parameter that controls PDP data compression (applicable for SNDCP only) 0 - off (default if value is omitted) <h_comp>: a numeric parameter that controls PDP header compression 0 - off (default if value is omitted) <pd1>, <pdN>: zero to N string parameters whose meanings are specific to the <PDP_type> 7.1.4 Example AT+CGDCONT=1,"IP","APN","10.10.10.10",0,0 OK
7.2
7.2.1
7.2.2
Format
Command
+CGDSCONT=[<cid> ,<p_cid> [,<d_comp> [,<h_comp>]]] +CGDSCONT? OK ERROR
Possible response(s)
<d_comp>,
[<CR><LF>+CGDSCONT: <cid>, <p_cid>, <d_comp>, <h_comp> [...]] +CGDSCONT=? +CGDSCONT: (range of supported <cid>s), (list of <cid>s for active primary contexts), <PDP_type>,,,(list of supported <d_comp>s), (list of supported <h_comp>s) [<CR><LF>+CGDCONT: (range of supported <cid>s), (list of <cid>s for active primary contexts) ,<PDP_type>,,,(list of supported <d_comp>s), (list of supported <h_comp>s) [...]]
Confidential
Page: 64
AT Command Set
7.2.3
Field <cid>: (PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context-related commands. The range of permitted values (minimum value = 1) is returned by the test form of the command. <p_cid>: (Primary PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition which has been specified by use of the +CGDCONT command. The parameter is local to the TEMT interface. The list of permitted values is returned by the test form of the command. <PDP_type>: (Packet Data Protocol type) a string parameter which specifies the type of packet data protocol IP Internet Protocol (IETF STD 5) <d_comp>: a numeric parameter that controls PDP data compression 0 - off (default if value is omitted) <h_comp>: a numeric parameter that controls PDP header compression 0 - off (default if value is omitted)
7.3
7.3.1
7.3.2
Format
Command
+CGQREQ=[<cid> [,<precedence > [,<delay> [,<reliability.> [,<peak> [,<mean>]]]]]] +CGQREQ? OK ERROR
Possible Response(s)
+CGQREQ=?
+CGQREQ: <cid>, <precedence >, <delay>, <reliability>, <peak>, <mean> [<CR><LF>+CGQREQ: <cid>, <precedence >, <delay>, <reliability.>, <peak>, <mean> []] +CGQREQ: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) [<CR><LF>+CGQREQ: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) []]
7.3.3
Field <cid>: a numeric parameter which specifies a particular PDP context definition <precedence>: a numeric parameter which specifies the precedence class
Confidential
Page: 65
AT Command Set
<delay>: a numeric parameter which specifies the delay class <reliability>: a numeric parameter which specifies the reliability class <peak>: a numeric parameter which specifies the peak throughput class <mean>: a numeric parameter which specifies the mean throughput class
7.4
7.4.1
7.4.2
Format
Command
+CGQMIN=[<cid> [,<precedence > [,<delay> [,<reliability.> [,<peak> [,<mean>]]]]]] +CGQMIN? OK ERROR
Possible Response(s)
+CGQMIN=?
+CGQMIN: <cid>, <precedence >, <delay>, <reliability>, <peak>, <mean> [<CR><LF>+CGQMIN: <cid>, <precedence >, <delay>, <reliability.>, <peak>, <mean> []] +CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) [<CR><LF>+CGQMIN: <PDP_type>, (list of supported <precedence>s), (list of supported <delay>s), (list of supported <reliability>s) , (list of supported <peak>s), (list of supported <mean>s) []]
7.4.3
Field <cid>: a numeric parameter which specifies a particular PDP context definition <precedence>: a numeric parameter which specifies the precedence class <delay>: a numeric parameter which specifies the delay class <reliability>: a numeric parameter which specifies the reliability class <peak>: a numeric parameter which specifies the peak throughput class <mean>: a numeric parameter which specifies the mean throughput class
7.5
7.5.1
Confidential
Page: 66
AT Command Set
7.5.2
Format
Command
+CGATT= [<state>] +CGATT? +CGATT=? 7.5.3 Field <state>: indicates the state of PS attachment 0 - detached 1 - attached
Possible Response(s)
OK ERROR +CGATT: <state> +CGATT: (list of supported <state>s)
7.6
7.6.1
7.6.2
Format
Command
+CGACT=[<state> [,<cid>]] +CGACT?
Possible Response(s)
OK ERROR +CGACT: <cid>, <state> [<CR><LF>+CGACT: <cid>, <state> [...]] +CGACT: (list of supported <state>s)
+CGACT=?
7.6.3
Field <state>: indicates the state of PDP context activation 0 - deactivated 1 - activated Other values are reserved and will result in an ERROR response to the execution command. <cid>: a numeric parameter which specifies a particular PDP context definition
7.7
7.7.1
7.7.2
Format
Command
+CGCMOD=<cid> +CGCMOD=?
Possible Response(s)
OK ERROR +CGCMOD: (list of <cid>s associated with active contexts)
Confidential
Page: 67
AT Command Set
7.7.3
Field <cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT and +CGDSCONT commands).
7.8
7.8.1
7.8.2
Format
Command
+CGDATA=[<L2P> ,[<cid>]] +CGDATA=?
Possible Response(s)
CONNECT ERROR +CGDATA: (list of supported <L2P>s)
7.8.3
Field <L2P>: a string parameter that indicates the layer 2 protocol to be used between the TE and MT PPP Point-to-point protocol for a PDP such as IP Other values will result in an ERROR response. <cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT and +CGDSCONT commands).
7.9
7.9.1
7.9.2
Format
Command
+CGPADDR=<cid> +CGPADDR=?
Possible response(s)
+CGPADDR: <cid>,<PDP_addr> +CGPADDR: (list of defined <cid>s)
Confidential
Page: 68
AT Command Set
7.9.3
Field <cid>: a numeric parameter which specifies a particular PDP context definition (see the +CGDCONT and +CGDSCONT commands). If no <cid> is specified, the addresses for all defined contexts are returned. <PDP_address>: a string that identifies the MT in the address space applicable to the PDP. The address may be static or dynamic. For a static address, it will be the one set by the +CGDCONT and +CGDSCONT commands when the context was defined. For a dynamic address it will be the one assigned during the last PDP context activation that used the context definition referred to by <cid>. <PDP_address> is omitted if none is available.
7.10 AT+CGAUTO Automatic response to a network request for PDP context activation (Sec 10.1.15)
7.10.1 Description The set command disables or enables an automatic positive response (auto-answer) to the receipt of a Request PDP Context Activation message from the network. When the +CGAUTO=0 command is received, the MT shall not perform a PS detach if it is attached. Subsequently, when the MT announces a network request for PDP context activation by issuing the unsolicited result code RING or +CRING, the TE may manually accept or reject the request by issuing the +CGANS command or may simply ignore the network request. When the +CGAUTO=1 command is received, the MT shall attempt to perform a PS attach if it is not already attached. Failure will result in ERROR or, if enabled, +CME ERROR being returned to the TE. Subsequently, when the MT announces a network request for PDP context activation by issuing the unsolicited result code RING or +CRING to the TE, this is followed by the intermediate result code CONNECT. The MT then enters V.250 online data state and follows the same procedure as it would after having received a +CGANS=1 with no <L2P> or <cid> values specified. 7.10.2 Format
Command
+CGAUTO=<n> +CGAUTO? OK ERROR
Possible response(s)
+CGAUTO: <n>
7.10.3
Field <n>: 0 1 turn off automatic response for Packet Domain only turn on automatic response for Packet Domain only
For <n> = 0 Packet Domain network requests are manually accepted or rejected by the +CGANS command. For <n> = 1 Packet Domain network requests are automatically accepted according to the description above.
Confidential
Page: 69
AT Command Set
7.11 AT+CGANS Manual response to a network request for PDP context activation (Sec 10.1.16)
7.11.1 Description The execution command requests the MT to respond to a network request for Packet Domain PDP context activation which has been signaled to the TE by the RING or +CRING: unsolicited result code. The <response> parameter allows the TE to accept or reject the request. 7.11.2 Format
Command
+CGANS=[<response>, [<L2P> ,[<cid>]]] +CGANS=? OK ERROR
Possible response(s)
7.11.3
Field <response>: is a numeric parameter which specifies how the request should be responded to. 0 reject the request 1 accept and request that the PDP context be activated <L2P>: a string parameter which indicates the layer 2 protocol to be used (see +CGDATA command). <cid>: a numeric parameter which specifies a particular PDP context definition
Command
+CGCLASS=[<class>] +CGCLASS? +CGCLASS=? OK ERROR
Possible response(s)
7.12.3
Field <class>: a string parameter which indicates the GPRS mobile class (in descending order of functionality) A class A (highest)
Confidential
Page: 70
AT Command Set
B classB CG class C in GPRS only mode CC class C in circuit switched only mode (lowest) Other values are reserved and will result in an ERROR response to the set command. If the MT is GPRS attached when the set command is issued with a <class> = CC specified, a detach request shall be sent to the network.
7.13.2
Format
Command
+CGREG=[<n>] +CGREG?
Possible response(s)
+CGREG: <n>,<stat>[,<lac>,<ci>] +CME ERROR: <err>
7.13.3
Field <n>: 0 disable network registration unsolicited result code 1 enable network registration unsolicited result code +CGREG: <stat> 2 enable network registration and location information unsolicited result code +CGREG: <stat>: 0 not registered, MT is not currently searching an operator to register to 1 registered, home network 2 not registered, but MT is currently trying to attach or searching an operator to register to 3 registration denied 4 unknown 5 registered, roaming <lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in decimal) <ci>: string type; two byte cell ID in hexadecimal format
Confidential
Page: 71
AT Command Set
Command
+CGSMS= <service> +CGSMS?
Possible Response(s)
OK ERROR +CGSMS: <service>
7.14.3
Field <service>: a numeric parameter which indicates the service or service preference to be used 0 Packet Domain 1 circuit switched 2 Packet Domain preferred (use circuit switched if GPRS not available) 3 circuit switched preferred (use Packet Domain if circuit switched not available)
Confidential
Page: 72
AT Command Set
8.1
8.1.1
8.1.2
Format
Command
+CMEE=[<n>] +CMEE? +CMEE=?
Possible response(s)
+CMEE: <n> +CMEE: (list of supported <n>s)
8.1.3
Field <n>: 0 1 2 disable +CME ERROR: <err> result code and use ERROR instead enable +CME ERROR: <err> result code and use numeric <err> values (refer next subclause) enable +CME ERROR: <err> result code and use verbose <err> values (refer next subclause)
<err> values (numeric format followed by verbose format): 9.2.1 General errors 0 phone failure 1 no connection to phone 2 phone adaptor link reserved 3 operation not allowed 4 operation not supported 5 PH SIM PIN required 6 PH-FSIM PIN required 7 PH-FSIM PUK required 10 SIM not inserted 11 SIM PIN required 12 SIM PUK required 13 SIM failure 14 SIM busy 15 SIM wrong 16 incorrect password 17 SIM PIN2 required 18 SIM PUK2 required 20 memory full
Confidential
Page: 73
AT Command Set
21 22 23 24 25 26 27 30 31 32 40 41 42 43 44 45 46 47 48 100
invalid index not found memory failure text string too long invalid characters in text string dial string too long invalid characters in dial string no network service network timeout network not allowed - emergency calls only network personalization PIN required network personalization PUK required network subset personalization PIN required network subset personalization PUK required service provider personalization PIN required service provider personalization PUK required corporate personalization PIN required corporate personalization PUK required hidden key required (NOTE: This key is required when accessing hidden phonebook entries.) unknown
Confidential
Page: 74
AT Command Set
9 07.07 Annex C
9.1
9.1.1
9.1.2
Format
Command
+FCLASS=<n> +FCLASS? +FCLASS=? 9.1.3 Field <n> 0 1.0 2 2.0 Mode data fax class 1 (ITU T T.31 [11]) fax (manufacturer specific) fax class 2 (ITU T T.32 [12] and TIA 592) <n>
Response
9.2
9.2.1
9.2.2
Format
Command
+VTS=<dtmf> +VTS=?
Return
(list of supported <tone1>s),(list of supported <tone2>s) ,(list of supported <duration>s)
9.2.3
Field <DTMF>. A single ASCII character in the set .0-9, #, *, A-D. For example: AT+VTS = 9 or AT+VTS = A
Confidential
Page: 75
AT Command Set
Command
+CSMS=<service> +CSMS? +CSMS=? 10.1.3 Field
Possible response(s)
+CSMS: <mt>,<mo>,<bm> +CMS ERROR: <err> +CSMS: <service>,<mt>,<mo>,<bm> +CSMS: (list of supported <service>s)
<service>: 0 3GPP TS 23.040 [3] and 3GPP TS 23.041 [4] 1 3GPP TS 23.040 [3] and 3GPP TS 23.041 [4] the requirement of <service> setting 1 is mentioned under corresponding command descriptions) <mt>, <mo>, <bm>: 0 type not supported 1 type supported
Command
+CPMS=<mem1>, <mem2>,<mem3> +CPMS?
Possible response(s)
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3> +CMS ERROR: <err> +CPMS: <mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>, <mem3>,<used3>,<total3> +CMS ERROR: <err> +CPMS: (list of supported <mem1>s),(list of supported <mem2>s), (list of supported <mem3>s)
+CPMS=?
10.2.3
Field <mem1> : memory from which messages are read and deleted.
Confidential
Page: 76
AT Command Set
<mem2> : memory to which writing and sending operations are made. <mem3> : memory to which received SMS are preferred to be stored. <usedx> : number of SMS stored into <memx>. <totalx> : max number of SMS that <memx> can contain. Note: current support <mem>s. "SM" : SIM SMS memory storage. "ME" : ME internal storage. "SM_P" : SIM memory storage preferred. "ME_P" : ME memory storage preferred. "MT" : Both of memory storage. 10.3.4 Example AT+CPMS="SM","ME","SM" +CPMS: 1, 50, 5, 200, 1, 50 OK
Command
+CMGF=[<mode>] +CMGF? +CMGF=? 10.3.3 Field <mode>: 0 PDU mode (default when implemented) 1 text mode
Possible response(s)
+CMGF: <mode> +CMGF: (list of supported <mode>s)
Command
+CSCA=<sca>[,<tosca>] +CSCA? +CSCA=?
Possible response(s)
+CSCA: <sca>,<tosca>
Confidential
Page: 77
AT Command Set
255) or define the absolute time of the validity period termination (<vp> is a string). The format of <vp> is given by <fo>. 10.5.2 Format
Command
+CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]] +CSMP? +CSMP=?
Possible response(s)
+CSMP: <fo>,<vp>,<pid>,<dcs>
Command
+CSDH=[<show>] +CSDH? +CSDH=?
Possible response(s)
+CSDH: <show> +CSDH: (list of supported <show>s)
Command
+CSCB=[<mode>[,<mids>]] +CSCB? +CSCB=? 10.7.3 Field
Possible response(s)
+CSCB: <mode>,<mids> +CSCB: (list of supported <mode>s)
<mode>: 0 message types specified in <mids> and <dcss> are accepted <mids>: We support 10 message identifiers at most. string type: all different possible combinations of CBM message identifiers (refer <mid>) (default is empty string); e.g. "0,1,5,320-478,922"
Confidential
Page: 78
AT Command Set
Command
+CSAS[=<profile>] +CSAS=?
Possible response(s)
+CMS ERROR: <err> +CSAS: (list of supported <profile>s)
10.8.3
Field <profile>: 0...255 manufacturer specific profile number where settings are to be stored
Command
+CRES[=<profile>] +CRES=?
Possible response(s)
+CMS ERROR: <err> +CRES: (list of supported <profile>s)
10.9.3
Field <profile>: 0...255 manufacturer specific profile number where settings are to be stored
Confidential
Page: 79
AT Command Set
Command
+CNMI=[<mode>[,<mt>[,<bm>[,< ds> [,<bfr>]]]]] +CNMI? +CNMI=?
Possible response(s)
+CMS ERROR: <err> +CNMI: <mode>,<mt>,<bm>,<ds>,<bfr> +CNMI: (list of supported <mode>s),(list of supported <mt>s),(list of supported <bm>s),(list of supported <ds>s),(list of supported <bfr>s)
10.10.3 Field <mode> 0 disable unsolicited result code 1 Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved (e.g. in on-line data mode). Otherwise forward them directly to the TE. 2 Buffer unsolicited result codes in the TA when TA-TE link is reserved, Otherwise forward them directly to the TE. <mt> 0 1 2
3 <bm> 0 1 2
No SMS-DELIVER indications are routed to the TE. If SMS-DELIVER is stored into ME/TA, indication of the memory location is routed to the TE using unsolicited result code: +CMTI: <mem>,<index> SMS-DELIVERs (except class 2 messages and messages in the message waiting indication group (store message)) are routed directly to the TE using unsolicited result code: +CMT: [<alpha>],<length><CR><LF><pdu> (PDU mode enabled); or +CMT: <oa>, [<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>, <length>] <CR><LF> <data> (text mode enabled; about parameters in italics, refer command Show Text Mode Parameters +CSDH) Class 3 SMS-DELIVERs are routed directly to TE using unsolicited result codes defined in <mt>=2. Messages of other data coding schemes result in indication as defined in <mt>=1. No CBM indications are routed to the TE. If CBM is stored into ME/TA, indication of the memory location is routed to the TE using unsolicited result code: +CBMI: <mem>,<index> New CBMs are routed directly to the TE using unsolicited result code: +CBM: <length><CR><LF><pdu> (PDU mode enabled); or +CBM: <sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data> (text mode enabled) If ME supports data coding groups which define special routing also for messages other than class 3 (e.g. (U)SIM specific messages), ME may choose not to route messages of such data coding schemes into TE (indication of a stored CBM may be given as defined in <bm>=1). Class 3 CBMs are routed directly to TE using unsolicited result codes defined in <bm>=2. If CBM storage is supported, messages of other classes result in indication as defined in <bm>=1.
Page: 80
Confidential
AT Command Set
<ds>: 0 1
No SMS-STATUS-REPORTs are routed to the TE. SMS-STATUS-REPORTs are routed to the TE using unsolicited result code: +CDS: <length><CR><LF><pdu> (PDU mode enabled); or +CDS: <fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> (text mode enabled)
<bfr>: 1 TA buffer of unsolicited result codes defined within this command is cleared when <mode> 1...3 is entered.
Command
+CMGL[=<stat>]
Possible response(s)
if text mode (+CMGF=1), command successful and SMS-SUBMITs and/or SMSDELIVERs: +CMGL: <index>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda>, <length>]<CR><LF><data>[<CR><LF> +CMGL: <index>,<stat>,<da/oa>,[<alpha>],[<scts>][,<tooa/toda>, <length>]<CR><LF><data>[...]] if text mode (+CMGF=1), command successful and SMS-STATUS-REPORTs: +CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> [<CR><LF> +CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> [...]] if text mode (+CMGF=1), command successful and SMS-COMMANDs: +CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF> +CMGL: <index>,<stat>,<fo>,<ct>[...]] if text mode (+CMGF=1), command successful and CBM storage: +CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages> <CR><LF><data>[<CR><LF> +CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages> <CR><LF><data>[...]] otherwise: +CMS ERROR: <err>
+CMGL=?
10.11.3 Field 0- new message 1- read message 2- stored message not yet sent 3- stored message already sent 4- all messages.
Confidential
Page: 81
Command
+CMGL[=<stat>]
Possible response(s)
if PDU mode (+CMGF=0) and command successful: +CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu> [<CR><LF>+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu> [...]] otherwise: +CMS ERROR: <err> +CMGL: (list of supported <stat>s)
2- stored message not yet sent 3- stored message already sent 4- all messages.
Command
+CMGR=<index>
Possible response(s)
if text mode (+CMGF=1), command successful and SMS-DELIVER: +CMGR: <stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>, <sca>,<tosca>,<length>]<CR><LF><data> if text mode (+CMGF=1), command successful and SMS-SUBMIT: +CMGR: <stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>], <sca>,<tosca>,<length>]<CR><LF><data> if text mode (+CMGF=1), command successful and SMS-STATUS-REPORT: +CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> if text mode (+CMGF=1), command successful and SMS-COMMAND: +CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length> <CR><LF><cdata>] if text mode (+CMGF=1), command successful and CBM storage: +CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data> otherwise: +CMS ERROR: <err>
+CMGR=?
Confidential
Page: 82
Command
+CMGR=<index>
Possible response(s)
if PDU mode (+CMGF=0) and command successful: +CMGR: <stat>,[<alpha>],<length><CR><LF><pdu> otherwise: +CMS ERROR: <err>
+CMGR=?
Command
if text mode (+CMGF=1): +CNMA +CNMA=?
Possible response(s)
+CMS ERROR: <err>
Command
if PDU mode (+CMGF=0): +CNMA[=<n>[,<length>[<CR> PDU is given<ctrl-Z/ESC>]]] +CNMA=?
Possible response(s)
+CMS ERROR: <err>
Confidential
Page: 83
Command
if text mode (+CMGF=1): +CMGS=<da>[,<toda>]<CR> text is entered<ctrl-Z/ESC> +CMGS=? 10.17.3 Field <da>- destination address. <toda>- type of destination address. 129 - number in national format 145 - number in international format(contains the "+") 10.17.4 Example AT+CMGF=1 AT+CMGS="1380013800",129 >Test message +CMGS:125 OK
Possible response(s)
if text mode (+CMGF=1) and sending successful: +CMGS: <mr>[,<scts>] if sending fails: +CMS ERROR: <err>
Command
if PDU mode (+CMGF=0): +CMGS=<length><CR> PDU is given<ctrl-Z/ESC> +CMGS=? 10.18.4 Example AT+CMGF=0 AT+CMGS=19 > 0031000D91683119472260F90000A704D4F29C0E +CMGS:26 OK
Possible response(s)
if PDU mode (+CMGF=0) and sending successful: +CMGS: <mr>[,<ackpdu>] if sending fails: +CMS ERROR: <err>
Confidential
Page: 84
AT Command Set
10.19.2 Format
Command
+CMSS=<index>[,<da>[,<toda>]]
Possible response(s)
if text mode (+CMGF=1) and sending successful: +CMSS: <mr>[,<scts>] if sending fails: +CMS ERROR: <err>
+CMSS=?
Command
+CMSS=<index>[,<da>[,<toda>]]
Possible response(s)
if PDU mode (+CMGF=0) and sending successful: +CMSS: <mr>[,<ackpdu>] if sending fails: +CMS ERROR: <err>
+CMSS=?
Command
if text mode (+CMGF=1): +CMGW[=<oa/da>[,<tooa/toda>[,<stat>]]]<CR> text is entered<ctrl-Z/ESC> +CMGW=? 10.21.3
Possible response(s)
+CMGW: <index> +CMS ERROR: <err>
Field <da> - destination address. <toda> - type of destination address. 129 - number in national format 145 - number in international format(contains the "+") <stat> - message status "STO UNSENT" - message stored not yet sent(default) "STO SENT" - message stored alread sent Example AT+CMGF=1 AT+CMGW="1380013800" >Test message +CMGW:12 OK
Page: 85
10.21.4
Confidential
AT Command Set
Command
if PDU mode (+CMGF=0): +CMGW=<length>[,<stat>]<CR>PDU is given <ctrl-Z/ESC> +CMGW=? 10.22.3
Possible response(s)
+CMGW: <index> +CMS ERROR: <err>
Field <length> - length in bytes of the PDU to be written. <stat> - message status. 0 - new message /*PDU refer 1 - read message /*PDU refer 2 - stored message not yet sent(default) /*PDU refer 3 - stored message already sent. /*PDU refer Example
10.22.4
AT+CMGF=0 AT+CMGW=19 //Write message not yet sent > 0031000D91683119473160F90000A704D4F29C0E +CMGW:12 OK AT+CMGW=24,1 //Store a read message PDU > 0891683108200105F0240D91683118461315F200008090014123622304D4F29C0E +CMGW:13 OK
Command
+CMGD=<index>[,<delflag>] +CMGD=?
Possible response(s)
+CMS ERROR: <err> +CMGD: (list of supported of <index>s)[,(list supported <delflag>s)]
Confidential
Page: 86
AT Command Set
10.23.3 Field <delflag>: an integer indicating multiple message deletion request as follows: 0 (or omitted) Delete the message specified in <index> 1 Delete all read messages from preferred message storage, leaving unread messages and stored mobile originated messages (whether sent or not) untouched 2 Delete all read messages from preferred message storage and sent mobile originated messages, leaving unread messages and unsent mobile originated messages untouched 3 Delete all read messages from preferred message storage, sent and unsent mobile originated messages leaving unread messages untouched. 4 Delete all messages from preferred message storage including unread messages. 10.23.4 Example /*Delete all messages*/
AT+CMGD=0,4 OK
Command
if text mode (+CMGF=1): +CMGC=<fo>,<ct>[,<pid>[,<mn>[,<da>[,<toda >]]]]<CR> text is entered<ctrl-Z/ESC> +CMGC=?
Possible response(s)
if text mode (+CMGF=1) and sending successful: +CMGC: <mr>[,<scts>] if sending fails: +CMS ERROR: <err>
Command
if PDU mode (+CMGF=0): +CMGC=<length><CR> PDU is given<ctrl-Z/ESC> +CMGC=?
Possible response(s)
if PDU mode (+CMGF=0) and sending successful: +CMGC: <mr>[,<ackpdu>] if sending fails: +CMS ERROR: <err>
Confidential
Page: 87
AT Command Set
Command
+CMMS=[<n>] +CMMS? +CMMS=? 10.26.3 Field <n>: 0 2
Possible response(s)
+CMMS: <n> +CMMS: (list of supported <n>s)
disable enable (if the time between the response of the latest message send command and the next send command exceeds 1-5 seconds (the exact value is up to ME implementation), ME shall close the link but TA shall not switch automatically back to <n>=0)
Confidential
Page: 88
AT Command Set
integer
style
Integer
Timeout
Timeout timer
11.1.4
Response Test command : Execution command : +CASP: <op>,<sound_id>[,<style>,<timeout>] OK | ERROR | +CME ERROR: <err>
Example1: at+casp=? +CASP: <1-2>,<id>[,<0-3>[,<1-25>]] OK at+casp=1,151,0,3 ( 3 ) OK at+casp=1,152,2 ( once) OK at+casp=1,153,3,10 ( 10 ) OK at+casp=1,5,1(tone ) OK at+casp=2,5 (stop the tone) OK
Confidential
Page: 89
AT Command Set
Integer
mode
mode
11.2.4
Response Read command : + CEMS: <mode> OK It only reflects ATs setting (+CEMS: 0 and +CEMS: 1) Set command with mode=2 and 3 wont affect Read commands value. + CEMS: (0-3) OK
+BATS: <status> Description: This is indication report the battery status to MMI. Type Short name Long name Parameter/comment PMIC_VBAT_STATUS PMIC_CHARGER_IN PMIC_CHARGER_OUT PMIC_OVERVOLPROTECT PMIC_OVERBATTEMP PMIC_OVERCHARGECURRENT PMIC_CHARGE_COMPLETE PMIC_LOW_BATTERY PMIC_LOW_BATTERY_POWER_OFF PMIC_INVALID_BATTERY
Integer
status
Battery status
0 1 2 4 5 6 7 8 9 10
+GPIOS: <device>,<status> Description: This is indication report the GPIO device status to MMI.
Confidential
Page: 90
AT Command Set
Type
Short name
Long name
Integer
device
gpio device
integer
status
device status
Parameter/comment EXT_DEV_NONE EXT_DEV_HANDFREE EXT_DEV_EARPHONE EXT_DEV_CARKIT EXT_DEV_KEY_1 EXT_DEV_KEY_2 EXT_DEV_UART EXT_DEV_CALM_OPEN EXT_DEV_CALM_CLOSE Off On
0 1 2 3 4 5 6 8 9 0 1
integer
mode
audio mode
integer
type
audio type
level gain
+EADP: (0,1),(0-2),(0-4),(0-6),(0-255) OK
Confidential
Page: 91
AT Command Set
Example: 1. Get Audio mode with Normal Mode , Melody type, volume level is 0. The return value with gain 40 at+eadp=0,0,0,0 +EADP: 40 OK 2.Set Normal Mode , Melody type, volume level with 0 and gain is 99 at+eadp=1,0,0,0,99 OK 2.Set HeadSet Mode , Mic type, gain is 60 at+eadp=1,1,3,0,60 OK
Integer
type
Device type
integer
level
Device level
11.4.4
Confidential
Page: 92
AT Command Set
Execution command :
OK /ERROR
Example: 1.Set the GPIO value with GPIO type GPIO_LABELID_20 , Device level turn on at+egpio=20,1 OK
11.5.4
11.5.5
Unsolicited result code +EADC: <index0 >,< index1 >,< index2 >,< index3>,< index4 > Description: This is indication report the battery status to MMI. Type Long name index0 index1 index2 index3 index4 Parameter/comment Battery voltage (micro-voltage) Battery temperature ( 1/100 C) AUX voltage (micro-voltage) Charge current (micro A) Charger voltage (micro-voltage)
integer
ADC value
Confidential
Page: 93
AT Command Set
11.6.2
Format Execution command : Test command : AT+ ELCD = <op>,<lcd>,[<type>,[ value1.value2.value.3s]] AT+ ELCD =? Show if the command is supported
11.6.3
Field Type Short name Long name Parameter/comment Gets number of parameters for the specified LCD operation function. (need to specify the function type) Test the value of the function (need to specify the function type) Get the saved value of all functions 0
1 2 3 0 1 0 1 2 3
Integer
op
operation
Integer
Lcd
integer
type
Save the parameter values of all functions MAIN Lcd type SUB bias function contrast function function type line rate function temperature compensation function
11.6.4
Response Test command : Execution command : Example1: 1.Get the main LCD, bias function parameters number at+elcd=0,0,0 +ELCD: 3 (depend on each project) OK 2.test with main LCD type, bias function, and the value is 8, 8, 8.(The number of parameters of each function is project-dependent and can be query by <op>==0. In this case, number is 3) at+elcd=1,0,0,"8.8.8" OK 3.Get the saved <bias>, <contrast>, <line rate> and <temperature compensation> parameter values, each set of function is separate be comma. (Here we see each function has 3 parameter number, which is project-dependent and can be query by <op>==0) at+elcd=2,0 +ELCD: "0.0.0","0.0.0","0.0.0","0.0.0" OK + ELCD: (0-3) OK
Confidential
Page: 94
AT Command Set
4.save <bias>, <contrast>, <line rate> and <temperature compensation> parameter values with main LCD , each set of function is separate be comma. (The number of parameters of each function is project-dependent and can be query by <op>==0) at+elcd=3,0,"1.4.6","4.5.6","2.4.7","8.7.6" OK 5. Get the saved <bias>, <contrast>, <line rate> and <temperature compensation> parameter values at+elcd=2,0 +ELCD: "1.4.6","4.5.6","2.4.7","8.7.6" OK
Short name
Long name
integer
op
operation
Parameter/comment Get level value Set level value Start Test Stop Test PWM1 PWM2 Alter 0 - 4 in unit of Hz percentage
0 1 2 3 0 1 2
Confidential
Page: 95
AT Command Set
11.7.4
Example1: (in this example, PWM1 presents keypad backlight, PWM2 presents LCD backlight) at+epwm=2,0,5,5 (keypad backlight is blinking) OK at+epwm=3,0 (keypad backlight stops blinking) OK at+epwm=2,1,3,4 (LCD is blinking) OK at+epwm=3,1 (LCD stops blinking) OK Example2: 1.Start PWM2 testing with frequency=4, duty=6 at+epwm=2,1,4,6 OK 2.Stop PWM2 Testing. at+epwm=3,1 OK
Integer
color
Color type
11.8.4
//start
Confidential
Page: 96
AT Command Set
11.9.4
Response Read command : Test command : Execution command : + EKPD: <op> OK + EKPD: (0,1) OK
11.9.5
Unsolicited result code +EKPDS: <status >,< code > Description: This is indication report the keypad event to MMI. Type integer integer Short name status code Long name Key status Key code Key Press Parameter/comment 0 1 0-9 10 11 12
Confidential
Page: 97
AT Command Set
D/d V/v ^ < > M/m(reserved) F/f (reserved) [ ] S/s E/e P/p (reserved)
13 14 15 16 17 18 19 20 21 22 23 24
Example: AT+EKPD = 1; After push key 1 and release, the following key event will report as follow. +EKPD: 0,1 +EKPD:1,1
[NOTE] The command can be used to test Headset Loop Back as well, +ESAM should be set first: AT+ESAM=1 OK AT+EALT=1 OK
Confidential
Page: 98
AT Command Set
Integer
type
Audio type
Gain
Gain value
+ ESLT: (0-6),(0-255) OK
Confidential
Page: 99
AT Command Set
operation
integer
type
Revision type
Baseband chipset (only for op= 0) DSP code (only for op= 0) DSP patch (only for op= 0) MCU software (only for op= 0) MS board(hardware) (only for op= 0)
Serial Number Melody revision IMEI MMI resource ver.
11.13.4 Response Test command : Execution command : + EGMR: (0,1),(0-9) When type = (1-7, 9): [+EGMR: str] OK When type = 8 (+EGMR=0,8 to get MMI resource): +AUDIO: ver +IMAGE: ver +FONT: ver
Confidential
Page: 100
AT Command Set
+STR: ver OK 11.13.5 Example 1. read IMEI: AT+EGMR=0,7 +EGMR: "135790246811220" OK Write IMEI: AT+EGMR=1,7,"123451234512345" OK AT+EGMR=0,7 +EGMR: "123451234512345" OK read SV of IMEISV AT+EGMR=0,9 +EGMR: "78" OK Write SV AT+EGMR=1,9,"01" OK AT+EGMR=0,9 +EGMR: "01" OK
2.
3.
4.
Confidential
Page: 101
Integer
device
GPIO Device
integer
level
Device level
Confidential
Page: 102
AT Command Set
11.16.2 Format Execution command : Test command : AT+ ESLP = <op> AT+ ESLP =? Show if the command is supported
11.16.3 Field Type Integer Short name op Long name operation enable disable Parameter/comment 1 0
Confidential
Page: 103
AT Command Set
11.18.3 Field Type Integer Short name Op Long name Operation Enable disable Parameter/comment 1 0
11.19.2 Format Execution command : Test command : 11.19.3 Field Type Integer Short name op Long name operation Parameter/comment Lock disable(reserved) Lock enable Temp disable(reserved) 0 1 2 AT+ ELNVRM = <op> AT+ ELNVRM =? Show if the command is supported
Confidential
Page: 104
AT Command Set
11.20.3 Field Type Integer Short name op Long name operation Query command set Wall paper Ring tone Home City Theme Select Short Cut Wall paper Home City Theme Select Short Cut integer param1 Parameter/comment 0 1 0 1 2 3 4
default
Ring tone(profile)
0 1 2 3 4
integer
param2
Wall paper Home City Theme Select Short Cut Ring tone(type))
default
Power on (reserved)
0 1
Integer
param3
Start from 1, maximum is project dependent Start from 1, maximum is Ring tone(index) project dependent Start from 1, maximum is Home(index) project dependent Start from 1, maximum is Theme(index) project dependent a. b. c. d. e. f. g. h. Select Short i. j Cut(index list) (each a,b,c should present as integer) Wall paper(index)
[NOTE] 1. Depend on each project, when set Ring tone, <param1> ProfileID might map to different profile name. Such as general, meetingetc. 1. Depend on each project, the range of <param3>, might have different maximum value. If <param3> is larger than the maximum value in SET command. No action will take effect.
Confidential
Page: 105
AT Command Set
11.20.4 Response Test command : Execution command : + ESDP: <0-1>,<0-4> OK +ESDP: <param1>,<param2> OK
Example: 1. we want to query the wall paper set value AT+ESDP = 0,0<CR> +ESDP: 0, 0 OK we can set wall paper with index 5 using AT+ESDP = 1, 0, 0, 0, 5 OK 2. we can set ring tone by using query first then set. AT+ESDP = 0, 1<CR> +ESDP: 0-4, 0 OK (Then set ring tone 7 in general profile for power on type.) AT+ESDP = 1, 1, 0, 0, 7 OK 3. Set Home City AT+ESDP =0,2,0,0 +ESDP: 0, 0 OK AT+ESDP =1,2,0,0,35 OK 4. Set Theme AT+ESDP =0,3 +ESDP: 0, 0 OK AT+ESDP =1,3,0,0,7 OK AT+ESDP=1,3,0,0,5 OK 5. Set shortcut AT+ESDP =0,4 +ESDP: 0, 0 OK at+esdp=1,4,0,0,"1.2.3.4.5.6.7.8.9.10" OK
Confidential
Page: 106
AT Command Set
will apply a positive or negative offset to the value of each level. Reboot is needed. . 11.21.2 Format Execution command : Test command : 11.21.3 Field Type Integer integer 11.21.4 Response Test command : Execution command : + ESLCD: (0,1), (0-254) OK OK Short name sign value Long name negative positive 0-254 Parameter/comment 0 1 AT+ ESLCD = <sign>,<value> AT+ ESLCD=? Show if the command is supported
Integer
operation
integer
type
Integer value
get 0 set 1 PWM1 1 PWM2 2 type Alter 3 Main LCD contract value 4 Sub LCD contract value 5 When <op> =1, TEN <value>s is needed. PWM value <freq1>,<duty1>,<freq2>,<duty2>,<freq3>,<duty3>,<freq4> ,<duty4><freq5>,<duty5> Lcd When <op>=1, Fifteen <value>s is needed contract value
Confidential
Page: 107
AT Command Set
Example: at+eshw=0,1 /* get PWM1 default value */ (255,10),(255,25),(255,30),(255,45),(255,60) OK at+eshw=0,2 /* get PWM2 default value */ (255,20),(20000,40),(20001,60),(20000,80),(20000,100) OK at+eshw=0,3 /* get PWM3(Alter) default value */ (250,20),(250,40),(250,60),(250,80),(250,100) OK at+eshw=0,4 /* get Main LCD contract default value */ 126,127,128,129,130,131,132,133,134,135,136,137,138,139,140 OK at+eshw=0,5 /* get Sub LCD contract default value */ 20,22,24,26,28,30,32,34,36,38,40,42,44,46,48 OK /* set Main LCD contract default value */ at+eshw=1,4,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140 OK at+eshw=0,4 126,127,128,129,130,131,132,133,134,135,136,137,138,139,140 OK /* set PWM1 contract default value */ at+eshw=1,1,250,20,250,40,250,60,250,80,250,100 OK at+eshw=0,1 (250,20),(250,40),(250,60),(250,80),(250,100) OK
Confidential
Page: 108
AT Command Set
11.23.2 Format Action command : Set command: Test command : 11.23.3 Response Action command : Set command: Test command : 11.23.4 Field Type integer integer String 11.23.5 Example AT+ETEST="1122" /*Restore factory setting*/ Short name Test item result Phone_lock_code Parameter/comment The number of test items 0 untested 1 Fail 2 Pass Password of Phone lock [+ETEST: <test item>, <result>] OK / ERROR OK AT+ ETEST AT+ ETEST=<phone lock code> /*Default code is "1122"*/ AT+ ETEST=? Show if the command is supported
Command
+ACTTEST=<state> ,<cid> +ACTTEST=? OK ERROR OK
Possible Response(s)
11.24.3 Field <state>: indicates the state of PDP context activation 0 - deactivated 1 - activated Other values are reserved and will result in an ERROR response to the execution command. <cid>: a numeric parameter which specifies a particular PDP context definition
Confidential
Page: 109
AT Command Set
11.25.2 Format
Command
+EREG=<reg_index>[,<value>]
Possible Response(s)
If only < reg_index> is given: (read) +EREG:<reg_index>,<value> If <value> is also given: (write) OK/ERROR OK
+EREG=?
11.25.3 Field Type integer integer Short name Reg_index value Parameter/comment indicates the index of register that wants to be wrote or read value that write to or read from register index
Command
+EPMIC=<category> [,<value>]
Possible Response(s)
+EPMIC=<category>,<param1>[,<param2>[, <param3>]]
[NOTE] 1.Only category 0 ~ 3 will need <value> 2.The number of parameter is depends on different categories. At least one parameter will be returned, and at most three parameters will be returned. The meaning of parameter is listed as following: If <category> = 0: <param1>:charger status If <category> = 1: <param1>: charger enable or not <param2>: Charging current If <category> = 2: <param1>: Duty cycle <param2>: current If <category> = 3: <param1>: LDO status
Confidential
Page: 110
AT Command Set
If <category> = 4: <param1>: Charge pump status <param2>: Charge pump current <param3>: DIM clock If <category> = 5: <param1>: Bypass divider or not <param2>: DIM clock If <category> = 6: <param1>: Speaker amplifier status If <category> = 7: <param1>: Speaker gain 11.26.3 Field Type Short name 0 1 2 3 4 5 6 7 integer value Parameter/comment Read charging control status Read AC USB status Read LED configuration Read LDO status Read R/G/B dim clock and charge pump configuration Read BL/dim clock setting Read audio amplifier status Read speaker gain status 0 CHR_STAT_OV 1 CHR_STAT_CHRDET 2 CHR_STAT_BAT_ON 3 CHR_STAT_AC_DET 4 CHR_STAT_USB_DET 5 CHR_STAT_CV 6 CHR_STAT_CHRG_DIS 0 AC_CHR 1 USB_CHR 0 R_LED 1 G_LED 2 B_LED 3 KP_LED 4 BL_LED 0 MISC_STAT_VISENSE 1 MISC_STAT_VBOUT 2 MISC_STAT_USB_PWR 3 MISC_STAT_VASW_SEL 4 MISC_STAT_VASW
integer
category
Category = 0
Category = 1
Category = 2
Category = 3
Confidential
Page: 111
AT Command Set
5 6 7 8
Confidential
Page: 112
AT Command Set
12.2
12.2.1
12.2.2
Format Execution command : Test command : AT+ EMBT= <mode> [, <name>, <addr>] [,<level>] AT+ EMBT=? Show if the command is supported
12.2.3
12.2.4
Field Type Short name Parameter/comment Factory set BT name and address BT module enter test mode BT module enter test mode BT module power on/off BT module GPIO reset high/low Bluetooth friendly name Bluetooth address Range:(0,1) - the level of RESET and POWER 0 1 2 3 4
integer
result
12.2.5
Example
AT+EMBT=1 OK //(BT module now is in test mode) AT+EMBT=3,1 OK //(BT module power-on) AT+EMBT=3,0 OK //(BT module power-off)
Confidential
Page: 113
AT Command Set
AT+EMBT=4,1 OK //(Set BT module RESET as high) AT+EMBT=4,0 OK //(Set BT module RESET as low) AT+EMBT=0, EVBoard, 1234565b0101 //[Note] <name> and <addr> are without double quotes. OK
OK/ERROR +BTFP= <op>,<para1>[,<ext_pa>,<int_pa> ,<output_pwr>] +BTFP=? OK Note: parameter <ext_pa>, <int_pa> and <out_pwr> are only needed when op = 0. 12.3.3 Field Type Integer Integer Integer Integer Integer Short name opertation Para1 Ext_pa Int_pa Output_pwr Parameter/comment 0 Set power table 1 Set ana_trim When op=0, para1 is index in power table When op=1, para1 is ana_trim value External_pa(only needed when mode=0) Internal_pa(only needed when mode=0) Output_power(only needed when mode=0)
12.3.4
Example
Set power table: /*to set row 1 of power table with ext_pa=2, int_pa=12, output_pwr=209*/ AT+BTFP=0,1,2,12,209 OK (ERROR) Set ana_trim: /*to set ana_trim as 10*/ AT+BTFP=1,10 OK (ERROR)
Confidential
Page: 114
AT Command Set
12.4.4
Example
Loopback 1 testing: AT+EBTLB=1 OK (ERROR) Loopback 2 testing: AT+EBTLB=2, 12345601025b, 0000 OK (ERROR) Note: 1. Bluetooth address 12345601025b => LAP=123456, UAP=5b, NAP=0102 2. PIN code 0000 => is the passcode of remote bluetooth headset
12.5
12.5.1
Confidential
Page: 115
AT Command Set
Confidential
Page: 116
AT Command Set
12.9.4
Field Type Short name 0 1 2 Parameter/comment Inquiry complete Inquiry cancelled Maximum number of responses received
integer
status
integer
status
Confidential
Page: 117
AT Command Set
integer
status
Confidential
Page: 118
AT Command Set
6 7
Confidential
Page: 119
AT Command Set
12.16.2 Format +CPROFILE=<status> 12.16.3 Response none 12.16.4 Field Type Short name 0 1 2 3 4 5 Parameter/comment Reserved Audio Gateway Dial-up Networking Serial Prot Profile Hands Free Profile Fax Profile
integer
status
integer
integer
Current SCO
Confidential
Page: 120
AT Command Set
connect status
1 6 7 8 9 10 11 12 13 14 15 16 17 18
Idle Connecting Connectable Connected Discoverable Inquiring Host_inquiring_all Host_inquiring_audio PairingAsSalve PairingAsMaster Pairing to device Pair successful Pair unsuccessful Connect pending
Confidential
Page: 121
AT Command Set
12.19.4 Field Type Hex String Hex string Short name Bd_addr Link key Parameter/comment address of Bluetooth device Link key
12.20
Discription
<command> will be forward to BT chip
Confidential
Page: 122
AT Command Set
The file path : \USER\image The open command is for writing a file. Therefore it is only allowed to create a new file. If the filename is already existed in File system, ERROR will be returned when you try to open it. after open a file, write/close command should be issued in 10 seconds. Otherwise, the target might consider it as PC connection broken. The file handle will be closed.
13.1.2
Format Execution command : AT+ EIMG = <op>[,<file>[,<folder>]][,<length>,<eof_flag>, data ] (When <op>=0,3,4,5,6 : <file> and <folder> is needed) (When <op>=2, <length>,<eof_flag>, data are needed) (When <op>=7, <folder> is needed) Read command : AT+ EIMG =? Show if the command is supported
13.1.3
Field Type Integer Short name op Long name Operation 0 1 2 3 4 5 Parameter/comment Open image file Close image file Write image file Retrieve image Delete image Display image
Confidential
Page: 123
AT Command Set
Stop display image (to Idle screen) Retrieve image file list The file name in the FAT system (in UCS2)
Integer
fld
folder
Image standard The length of data field. The Max length is 64 (after 05.29 max length = 200)
Integer
len
Length
Enf_flag
0 1
True False File data block. Each bytes of file will present by HEX mode in this block.
string
data
Hex data
13.1.4
Response Test command : + EIMG: (0-7) Execution command : [+EIMG: <number of data block>, <eof_flag> ,< data_len/ total_length>, <data>]s [+EIMG: <filename>]s OK Example: 1. Download a file, named ki.gif, of file size 128 bytes. AT+EIMG =0,"6B0069002E00670069006600",0 OK AT+EIMG = 2,64,0,"D1CC53C73F9597DD792977D64A42A63559EEA6E3167DD16CFF754AB4CB969503 3CF00DA2B02C71453CD5ECCEC6717F5CA3CA29EFBDF2A3539D7BF8F1435F956F" OK AT+EIMG =2, 64,1,"D1CC53C73F9597DD792977D64A42A63559EEA6E3167DD16CFF754AB4CB969503 3CF00DA2B02C71453CD5ECCEC6717F5CA3CA29EFBDF2A3539D7BF8F1435F956F" OK AT+ EIMG = 1 OK 2. Retrieve the previous downloaded file AT+ EIMG =3,"6B0069002E00670069006600",0 +EIMG: 1, 0, 64, "D1CC53C73F9597DD792977D64A42A63559EEA6E3167DD16CFF 754AB4CB9695033CF00DA2B02C71453CD5ECCEC6717F5CA3CA29EFBDF2A3539D7BF8F1435F956F" +EIMG: 2, 1, 64, "D1CC53C73F9597DD792977D64A42A63559EEA6E3167DD16CFF 754AB4CB9695033CF00DA2B02C71453CD5ECCEC6717F5CA3CA29EFBDF2A3539D7BF8F1435F956F" OK 3. Remove a file
//<op>=3 //<op>=7
Confidential
Page: 124
AT Command Set
AT+ EIMG =4,"6B0069002E00670069006600",0 OK 4. Display a image file AT+EIMG = 5, "6B0069002E00670069006600",0 OK 5. List files in DIR AT+EIMG = 7,0 +EIMG: "6B0069007400740079002E00670069006600" +EIMG: "70006F00720073006300680065002E00670069006600" OK
The file path : \USER\sound The open command is for writing a file. Therefore it is only allowed to create a new file. If the filename is already existed in File system, ERROR will be returned when you try to open it. after open a file, write/close command should be issued in 10 seconds. Otherwise, the target might consider it as PC connection broken. The file handle will be closed.
13.2.2
Format Execution command : Read command : AT+ EMDY = <op>[,<file>,<folder>][,<length>,<eof_flag>, data ] AT+ EMDY =? Show if the command is supported
13.2.3
Field Type Integer Short name op Long name Operation 0 1 2 3 4 5 Parameter/comment Open midi file Close midi file Download midi Retrieve midi Delete midi Play one midi by name
Confidential
Page: 125
AT Command Set
Stop play one midi by name Retrieve midi file list The file name in the FAT system (in UCS2 format) .imy .mid The length of data field. The Max length is 64 (after 05.29 max length = 200) True False File data block. Each bytes of file will present by HEX mode in this block.
Integer
fld
Integer
len
Length
Integer
Enf_flag
0 1
string
data
Hex data
13.2.4
Response Test command : + EMDY: (0~7) Execution command : [+EMDY: <number of data block>, <eof_flag> ,< data_len/ total_length>, <data>]s //<op>=3 [+EMDY: <filename>]s //<op>=7 OK Example: 1. Download a file, named test.mid, of file size120 byes. AT+EMDY = 0,74006500730074002E006D0069006400,1 OK ( the data field contains 128 chars for 64 bytes binary data) AT+EMDY =2, 64 , 0 ,00FFFB. OK AT+EMDY = 2,56,1,BB FA.. OK AT+EMDY = 1 OK 2. Retrieve the previous downloaded file(test.mid) AT+EMDY = 3, 74006500730074002E006D0069006400, 1 +EMDY= 1, 0, 64, 00FFFB. +EMDY= 1, 1, 8, BBFA. OK 3. Remove a midi file AT+EMDY = 4, 74006500730074002E006D0069006400, 1 OK 4. Play a midi file AT+EMDY = 5, 74006500730074002E006D0069006400, 1 OK 5. Stop Playing a midi file AT+EMDY = 6, 74006500730074002E006D0069006400, 1 OK
Confidential
Page: 126
AT Command Set
6.Get specify folder file list. AT+EMDY = 7, 1 +EMDY: 74006500730074002E006D0069006400 +EMDY: 74006500730073002e006D0069006400 OK
13.3.2
Format Execution command : Test command : Action command: Type AT+ EFSR = <filename> AT+ EFSR =? Show if the command is supported AT+EFSR Long name fullpath should be given. eg: C:\USER\MMS\msg.s In IRA format or UCS2 format, set by +CSCS first. Note that the full path that FS support is up to 260 chars, the file name can up to 255 chars.
Note: AT has limitation of UART_QUEUE= 512. Therefore, AT cannot support for UCS2 chars filename length > 125,
Short name
string
<filename>
Full Filepath
which represents 500 HEX chars, so please use IRA format if the full path is longer than 120 chars.
According to V.25ter section 5.4.2.2, backslash\ is a special char in string, If the "\" character itself is to be represented in a string, it shall be encoded as "\5C". Eg: C:\5CUSER\5CMMS\5Cmsg.s must be given in AT Command for C:\USER\MMS\msg.s
13.3.3
Confidential
Page: 127
AT Command Set
Test command :
Type Integer
Integer
Eof_flag
Integer String
Discription If the file size is 300 The number of data there will be 5 data blocks, block from index 1 to index 5. 0: FALSE (There is remaining raw data for the file) End of file 1: TRUE (End of file, the last part of raw data) Length of raw data Maximum = 64 (Bytes) (after 05.24 Maximum = 128) Raw data of the In HEX format file
Long name
AT+ EFSW = <op> [, <filename>] [,<eof_flag>,<length>,<rawdata>] AT+ EFSW = ? Show if the command is supported Long name 0 Parameter/comment Create and open a file Close the file (will close the file which was opened by <op>=0 Write raw data to a open file
Short name
Integer
op
Operation
1 2
When <op>=0: <filename> shall be present String filename Fullpath of Filename Refer to <filename> in +EFSR
When <op>=2 : <eof_flag>,<length>,<rawdata> shall be present 0: FALSE (There is remaining raw data for the End of file flag file) 1: TRUE (End of file, the last part of raw data) Maximum = 64 Length of raw (after 05.29 Maximum = 200) data (Bytes)
Integer
eof_flag
Integer
length
Confidential
Page: 128
AT Command Set
String
Raw data
In HEX format
13.4.3
Same as +EFSR
13.5.3
AT+ EFSF = <op> , <foldername> AT+ EFSF = ? Show if the command is supported Long name Parameter/comment Create the folder Delete the folder
Integer
Operation
0 1
Confidential
Page: 129
AT Command Set
Enter the folder (available after 04.22) (When the full file path is longer than 120 UCS2 chars (represent by 480 ascii chars), this command can provide the way to access the file, please see example. Note This command need to be provided before every action command, since the stored path is cleared after every action. Also a 10 seconds timer is used. So if theres no file operation in 10 seconds after +EFSF=2 is used, the stored path will be cleared as well.)
String
folder
13.6.3
Type String
13.7.2
Response Execution command : Test command : [+EFSF: <filename> [,<filesize>, <fileatt>]] OK /ERROR OK
Confidential
Page: 130
AT Command Set
Parameter/comment According to +CSCS format 0x01 0x02 0x04 0x08 0x10 0x20 RTF_ATTR_READ_ONLY RTF_ATTR_HIDDEN RTF_ATTR_SYSTEM RTF_ATTR_VOLUME RTF_ATTR_DIR RTF_ATTR_ARCHIVE
Integer
fileatt
File attribute
NOTE: if +CSCS is set as IRA but filename contains Chinese UCS2 characters, the filename might not be displayed correctly.
13.8.2
Format Action command : Response: Execution command : Response: AT+ EFS (Query the available size of default drive C:) +EFS: <size> AT+ EFS= <drv> +EFS: <size> Show if the command is supported name drv comment C: D: E: F: G:
67 68 69 70 71
Integer
size
In bytes
Confidential
Page: 131
AT Command Set
13.9.2
AT+ EFSRN = <op> , <filename> AT+ EFSRN = ? Show if the command is supported Long name Parameter/comment Execute the FS_Rename action. (After execute the Rename action, the temporary paths stored in ME will be cleaned automatically.) Set the file name, which will be renamed. (The path can be appended by continuously issuing this command. A long file path can be given by this way. Please see example.) Set the new file name. (The path can be appended by continuously issuing this command. A long file path can be given by this way. Please see example.) Clear the temporary paths stored in ME.
Integer
op
Operation
3 String filename
13.9.3
13.9.4
Example /* clear temporary file paths stored in ME */ at+efsrn=3 OK /* Move the folder "D:\erica2" to "D:\test1\erica1" */ //set file path "D:\erica2" at+efsrn=1,"0044003A005C006500720069006300610032" OK //set new file path "D:\test1\erica1" at+efsrn=2,"0044003A005C00740065007300740031005C006500720069006300610031" OK at+efsrn=0 OK //do Rename action
/* Move the folder "D:\test1\erica1" to "D:\2erica" */ //set file path "D:\test1\erica1" at+efsrn=1,"0044003A005C00740065007300740031005C006500720069006300610031" OK //set new file path: "D:\2erica" at+efsrn=2,"0044003A005C003200650072006900630061"
Confidential
Page: 132
AT Command Set
/* Rename the folder "D:\2erica" to "D:\1" */ //set file path "D:\" at+Efsrn=1,"0044003A005C" OK //append and set file path "D:\2erica" at+efsrn=1,"003200650072006900630061" OK //set new file path "D:\" at+efsrn=2,"0044003A005C" OK //append and set new file path "D:\1" at+efsrn=2,"0031" OK at+efsrn=0 OK //do Rename action
/* move the file "D:\1.txt" to "D:\1\1.txt" */ //set file path "D:\" at+efsrn=1,"0044003A005C" OK //append and set file path "D:\1.txt" at+efsrn=1,"0031002E007400780074" OK //set new file path "D:\" at+efsrn=2,"0044003A005C" OK //append and set new file path "D:\1\" at+efsrn=2,"0031005C" OK //append and set new file path "D:\1\1.txt" at+efsrn=2,"0031002E007400780074" OK at+efsrn=0 OK //do Rename action
Confidential
Page: 133
AT Command Set
OK at+efsl="D:\5CUSER" +EFSL: ".", 0, 16 +EFSL: "..", 0, 16 +EFSL: "image", 0, 16 +EFSL: "sound", 0, 16 OK at+efsl="D:\5CUSER\5Cimage" +EFSL: ".", 0, 16 +EFSL: "..", 0, 16 +EFSL: "mini.bmp", 17462, 32 +EFSL: "icon1.gif", 422, 32 +EFSL: "ems", 0, 16 +EFSL: "cooper6.bmp", 17462, 32 OK at+efsr="D:\5CUSER\5Cimage\5Cicon1.gif" +EFSR: 1, 0, 64, "4749463839611D001900D53300BDE469FFCA1799CF29FFB00BE1FAA9FFE423 ABD949523D00CFEF898B6800719823447403FFED27A5D63ED5F293C9EB7EB1DD53" +EFSR: 2, 0, 64, "FFDC1F987200497807FFA707654C00FFB90F90B038B285007F5F006C941FAF C21F53800ED9EC72725500AB8000628C18785A00A57B0085A831E7FB8D7BA02ABD" +EFSR: 3, 0, 64, "CF3B9E7600769C265842005D88155884116B500085630067901C80A42D8AAC 34FFFF33FF9900FFFFFF0000000000000000000000000000000000000000000000" +EFSR: 4, 0, 64, "0000000000000000000000000021F90401000033002C000000001D00190000 06C3C09970482C1A8FC8A472C96C3A9FD0E8657AC4589FB00EC0042B7E0A81C1A7" +EFSR: 5, 0, 64, "3922210086CD68288A81073211F345381B04AFE1C91D969D982566681B2543 127C70124D285A262845126F8A4C0A95960A43099A9B094B1A040E0F00100D021A" +EFSR: 6, 0, 64, "332D310C11011614322D4A2EA0A2A4022E3319AAACAE32194A20B4A3A52033 21BBADAF214A2AC2B62A331EC8BD1E4B2B7568022B432C88322C4C1CD8771C4315" +EFSR: 7, 1, 38, "DE154C13E30213E6E8EAECEE4229DE294C0BF9FA0B4307FEFF07A2081C48B0 A0C1224100003B" OK /***************************************/ /* get file lists using +CSCS = "UCS2" */ at+cscs="UCS2" OK at+efsl +EFSL: "0044003A" OK at+efsl="0044003A" +EFSL: "0061007500640069006F", 0, 16 +EFSL: "0055005300450052", 0, 16
Confidential
Page: 134
AT Command Set
OK at+efsl="0044003A005C0055005300450052" +EFSL: "002E", 0, 16 +EFSL: "002E002E", 0, 16 +EFSL: "0069006D006100670065", 0, 16 +EFSL: "0073006F0075006E0064", 0, 16 OK at+efsl="0044003A005C0055005300450052005C0069006D006100670065" +EFSL: "002E", 0, 16 +EFSL: "002E002E", 0, 16 +EFSL: "006D0069006E0069002E0062006D0070", 17462, 32 +EFSL: "00690063006F006E0031002E006700690066", 422, 32 +EFSL: "0065006D0073", 0, 16 +EFSL: "0063006F006F0070006500720036002E0062006D0070", 17462, 32 OK at+efsr="0044003A005C0055005300450052005C0069006D006100670065005C00690063006F006 E0031002E006700690066" +EFSR: 1, 0, 64, "4749463839611D001900D53300BDE469FFCA1799CF29FFB00BE1FAA9FFE423 ABD949523D00CFEF898B6800719823447403FFED27A5D63ED5F293C9EB7EB1DD53" +EFSR: 2, 0, 64, "FFDC1F987200497807FFA707654C00FFB90F90B038B285007F5F006C941FAF C21F53800ED9EC72725500AB8000628C18785A00A57B0085A831E7FB8D7BA02ABD" +EFSR: 3, 0, 64, "CF3B9E7600769C265842005D88155884116B500085630067901C80A42D8AAC 34FFFF33FF9900FFFFFF0000000000000000000000000000000000000000000000" +EFSR: 4, 0, 64, "0000000000000000000000000021F90401000033002C000000001D00190000 06C3C09970482C1A8FC8A472C96C3A9FD0E8657AC4589FB00EC0042B7E0A81C1A7" +EFSR: 5, 0, 64, "3922210086CD68288A81073211F345381B04AFE1C91D969D982566681B2543 127C70124D285A262845126F8A4C0A95960A43099A9B094B1A040E0F00100D021A" +EFSR: 6, 0, 64, "332D310C11011614322D4A2EA0A2A4022E3319AAACAE32194A20B4A3A52033 21BBADAF214A2AC2B62A331EC8BD1E4B2B7568022B432C88322C4C1CD8771C4315" +EFSR: 7, 1, 38, "DE154C13E30213E6E8EAECEE4229DE294C0BF9FA0B4307FEFF07A2081C48B0 A0C1224100003B" OK /* query free size of 'D' drive */ at+efs=68 +EFS: 31656960 OK /* create a TEST folder under D:\USER */ at+cscs="IRA" OK at+efsf=0,"D:\5CTEST" OK at+efsl="D:"
Confidential
Page: 135
AT Command Set
+EFSL: "audio", 0, 16 +EFSL: "USER", 0, 16 +EFSL: "TEST", 0, 16 OK /* upload temp3.gif to TEST folder */ at+efsw=0,"D:\5CTEST\5Ctemp3.gif" OK AT+EFSW=2, 0, 64, "4749463839611D001900D53300BDE469FFCA1799CF29FFB00BE1FAA9FFE423ABD949523D00CFEF898B6800719 823447403FFED27A5D63ED5F293C9EB7EB1DD53" OK AT+EFSW=2, 0, 64, "FFDC1F987200497807FFA707654C00FFB90F90B038B285007F5F006C941FAFC21F53800ED9EC72725500AB800 0628C18785A00A57B0085A831E7FB8D7BA02ABD" OK AT+EFSW=2, 0, 64, "CF3B9E7600769C265842005D88155884116B500085630067901C80A42D8AAC34FFFF33FF9900FFFFFF0000000 000000000000000000000000000000000000000" OK AT+EFSW=2, 0, 64, "0000000000000000000000000021F90401000033002C000000001D0019000006C3C09970482C1A8FC8A472C96 C3A9FD0E8657AC4589FB00EC0042B7E0A81C1A7" OK AT+EFSW=2, 0, 64, "3922210086CD68288A81073211F345381B04AFE1C91D969D982566681B2543127C70124D285A262845126F8A4 C0A95960A43099A9B094B1A040E0F00100D021A" OK AT+EFSW=2, 0, 64, "332D310C11011614322D4A2EA0A2A4022E3319AAACAE32194A20B4A3A5203321BBADAF214A2AC2B62A331EC8B D1E4B2B7568022B432C88322C4C1CD8771C4315" OK AT+EFSW=2, 1, 38, "DE154C13E30213E6E8EAECEE4229DE294C0BF9FA0B4307FEFF07A2081C48B0A0C1224100003B" OK at+efsw=1 OK at+efsl="D:\5CTEST" +EFSL: ".", 0, 16 +EFSL: "..", 0, 16 +EFSL: "temp3.gif", 422, 32 OK /* read temp3.gif */ at+efsr="D:\5CTEST\5Ctemp3.gif" +EFSR: 1, 0, 64, "4749463839611D001900D53300BDE469FFCA1799CF29FFB00BE1FAA9FFE423ABD949523D00CFEF898B6800719 823447403FFED27A5D63ED5F293C9EB7EB1DD53" +EFSR: 2, 0, 64, "FFDC1F987200497807FFA707654C00FFB90F90B038B285007F5F006C941FAFC21F53800ED9EC72725500AB800 0628C18785A00A57B0085A831E7FB8D7BA02ABD"
Confidential
Page: 136
AT Command Set
+EFSR: 3, 0, 64, "CF3B9E7600769C265842005D88155884116B500085630067901C80A42D8AAC34FFFF33FF9900FFFFFF0000000 000000000000000000000000000000000000000" +EFSR: 4, 0, 64, "0000000000000000000000000021F90401000033002C000000001D0019000006C3C09970482C1A8FC8A472C96 C3A9FD0E8657AC4589FB00EC0042B7E0A81C1A7" +EFSR: 5, 0, 64, "3922210086CD68288A81073211F345381B04AFE1C91D969D982566681B2543127C70124D285A262845126F8A4 C0A95960A43099A9B094B1A040E0F00100D021A" +EFSR: 6, 0, 64, "332D310C11011614322D4A2EA0A2A4022E3319AAACAE32194A20B4A3A5203321BBADAF214A2AC2B62A331EC8B D1E4B2B7568022B432C88322C4C1CD8771C4315" +EFSR: 7, 1, 38, "DE154C13E30213E6E8EAECEE4229DE294C0BF9FA0B4307FEFF07A2081C48B0A0C1224100003B" OK /* delete temp3.gif */ at+efsd="D:\5CTEST\5Ctemp3.gif" OK at+efsl="D:\5CTEST" +EFSL: ".", 0, 16 +EFSL: "..", 0, 16 OK /* delete TEST folder */ at+efsf=1,"D:\5CTEST" OK at+efsl="D:" +EFSL: "audio", 0, 16 +EFSL: "USER", 0, 16 OK /* In order to use relative path, +EFSF=2 must be provide before every action */ at+Efsf=2,"D:\5CUSER" OK at+efsl="image" +EFSL: ".", 0, 16 +EFSL: "..", 0, 16 +EFSL: "icon5.gif", 1065, 32 +EFSL: "mini5.bmp", 17462, 32 +EFSL: "yellow.bmp", 17462, 32 +EFSL: "cooper.bmp", 17462, 32 +EFSL: "ems", 0, 16 OK at+efsf=2,"D:\5CUSER" OK
Confidential
Page: 137
AT Command Set
at+efsr="image\5Cicon5.gif" +EFSR: 1, 0, 64, "4749463839611D001900F70000FFFFFFFFFFDAFFFFD7FFFEE4FFFFCFFFFFCA FFFFCDFFFFBCFFFED0FFFFADFFFEBBFFFEC3FFFAEAFFFCBEFFFEADFFFE9BFFFCB2" +EFSR: 17, 1, 41, "A13E4E70882D58274D908E759AF091F2542021349915CE645EE727C13F26C 38B061F4FBE3CC480003B" OK at+cscs="UCS2" OK at+efsf=2,"0044003A" /* D: */ OK at+efsf=2,"0055005300450052" /* D:\USER */ OK at+efsl="0069006D006100670065" /* D:\USER\image */ +EFSL: "002E", 0, 16 +EFSL: "002E002E", 0, 16 +EFSL: "00690063006F006E0035002E006700690066", 1065, 32 +EFSL: "006D0069006E00690035002E0062006D0070", 17462, 32 +EFSL: "00790065006C006C006F0077002E0062006D0070", 17462, 32 +EFSL: "0063006F006F007000650072002E0062006D0070", 17462, 32 +EFSL: "0065006D0073", 0, 16 OK
Integer
folderID
Folder ID
Integer
RetrievalMode
RetrievalMode
Confidential
Page: 138
AT Command Set
Type
Short name 0 1 2 3 4 5 6 7 8 9 10 11 12
Integer
result
Long name OK (No ERROR) BUSY Insufficient Memory Insufficient Persistent Storage Invalid Message Message ID not found File Operation ERROR Invalid Folder Access Deny Invalid Parameter Exceed MAX messages ERROR MMS Not Ready Number of Msg Number of Unread msg MMS Home directory (Ex. C:\USER\MMS\) Filename which keeps msg infomation
13.12.2 Format Execution command : Test command : AT+ EMMSEXE = <op> [,<folderID> [,<msgID>]] [,<filepath>] AT+ EMMSEXE =? Show if the command is supported
13.12.3 Field Type Integer Short name Op Long name operation 0 1 0 1(0x01) 2(0x02 4(0x04) 8(0x08) 64(0x40) Parameter/comment Delete message Add message Delete <msgID> Delete all msg in Inbox Delete all msg in Outbox Delete all msg in Sent Delete all msg in Drafts Delete all msg in Templates
Integer
folderID
Folder ID
msgID filepath
Message ID filepath
Execution command :
Confidential
Page: 139
AT Command Set
Integer
result
Integer
msgID
0 OK (No ERROR) 1 BUSY 2 Insufficient Memory 3 Insufficient Persistent Storage 4 Invalid Message 5 Message ID not found result 6 File Operation ERROR 7 Invalid Folder 8 Access Deny 9 Invalid Parameter 10 Exceed MAX messages 11 ERROR 12 MMS Not Ready The message ID which MMS assigned for Message ID the upload req.
Example: 1.Delete a message, <msgid> =1 AT+EMMSEXE = 0,0,1 +EMMSEXE: 0 OK 2. Delete all messages in SENT Box AT+EMMSEXE = 0, 4 +EMMSEXE: 0 OK 3. Add a MMS message, the files <filepath>=00xxxxx AT+EMMSEXE = 1, 00xxxxxx +EMMSEXE : 0, 5 => assigned <msgid> will be returned. OK
13.13 AT+EJAVA
13.13.1 Description Request the Java task to install the jad and jar files. 13.13.2 Format Execution command : Test command : Type Short name AT+ EJAVA = <is_force>, <jad_file_name>, <jar_file_name> AT+ EJAVA =? Show if the command is supported Comment
Confidential
Page: 140
AT Command Set
integer
is_force
string
string
FALSE: if the local installation request is trying to install the AP without user intervention. 1 TRUE: if the installation is by force, that is, answer yes for every installation confirmation. jad_file_name Local directory for the jad file. This field can be empty (AT+EJAVA = <is_force>, ,<jar_file_name> or AT+EJAVA = <is_force>, , <jar_file_name>) and it means the request installation is a JAR only installation. jar_file_name Local directory for the jar file. This field cannot be empty.
13.13.4 Error code <error> : Short name J2ME_NO_ERROR MISSING_PROVIDER_CERT CORRUPT_PROVIDER_CERT Value 256+ 0 256+ 4 256+ 5 Comment The local install was successful The content provider certificate is missing. The content provider certificate cannot be decoded. The CA that issued the content provider certificate is unknown. The signature of the content provider certificate is invalid. The JAR signature cannot be decoded. The signature of the JAR is invalid. The content provider certificate is a supported version. The content provider certificate is expired. The CA's public key has expired. The name of MIDlet suite is missing. The vendor is missing.
UNKNOWN_CA
256+6
INVALID_PROVIDER_CERT
256+7
Confidential
Page: 141
AT Command Set
VERSION_MISMATCH
256+26
VENDOR_MISMATCH
256+27
INVALID_KEY INVALID_VALUE
256+28 256+29
JAD_MOVED
256+34
CORRUPT_JAR ALREADY_INSTALLED
256+36 256+39
DEVICE_INCOMPATIBLE
256+40
MISSING_CONFIGURATION MISSING_PROFILE
256+41 256+42
The version is missing. The format of the version is invalid. This suite is older that the one currently installed. The URL for the JAR is missing. The JAR was not found. The JAR size is missing. The MIDlet suite name does not match the one in the JAR manifest. The version does not match the one in the JAR manifest. The vendor does not match the one in the JAR manifest. A key for an attribute is not formatted correctly. A value for an attribute is not formatted correctly. Not enough storage for this suite to be installed The JAR was not size in the JAD. This suite is newer that the one currently installed. The JAD URL is for an installed suite but different than the original JAD URL. An entry could not be read from the JAR. The JAD matches a version of a suite already installed The device does not support either the configuration or profile in the JAD. The configuration is missing from the manifest. The profile is missing from the manifest.
Confidential
Page: 142
AT Command Set
PUSH_DUP_FAILURE PUSH_FORMAT_FAILURE
256+45 256+46
PUSH_PROTO_FAILURE
256+47
AUTHORIZATION_FAILURE ATTRIBUTE_MISMATCH
256+49 256+50
TRUSTED_OVERWRITE_FAILURE
256+52
DEFAULT_GAME
256+60
DISK_OPERATION_FAIL
256+80
The connection in a push entry is already taken. The format of a push attribute has an invalid format. The class in a push attribute is not in MIDlet-<n>; attribute. Application authorization failure. An attribute in both the JAD and JAR manifest does not match. This error is for trusted suites only. Indicates that the user tried to overwrite a trusted suite with an untrusted suite during an update. The AP is one of the default games and cannot be updated. Disk operation fail. The installation was not finished.
+EVCARD=?
13.14.3 Field Type integer Short name mode 0 1 Parameter/comment Write operation Read operation
Confidential
Page: 143
AT Command Set
integer string
index path
Confidential
Page: 144
AT Command Set
Command
+STKPD=<profile> +STKPD=? 14.1.3 Field <profile> HEX string of STK profile OK OK
Response
Command
+STKTR=<terminal_response> +STKTR=? 14.2.3 Field <terminal_response> HEX string of STK response OK OK
Response
Command
+STKENV=<sat_command> +STKENV=? OK OK
Response
Confidential
Page: 145
AT Command Set
14.3.3 Field <sat_command> HEX string of STK command
14.3.4 Example AT+STKENV="D30702020181100101"//ME send a structure of envelope cmd to SIM,here is a menu item OK //selction SELECT ITEM +STKPCI: 0,"D02C81030124008202818285098070ED70B963A883508F0A018053057F574E078C61 8F0A0280638C4E2D80A15E02"
Command
+STKCALL +STKCALL=? OK OK
Response
Command
+STKSMS +STKSMS=? OK OK
Response
Command
+STKSS +STKSS=? OK OK
Response
Confidential
Page: 146
AT Command Set
14.7.2
Format
Command
+STKUSSD +STKUSSD=? OK OK
Response
Command
+STKDTMF +STKDTMF=? 14.8.3 Field <profile> HEX string of STK profile OK OK
Response
Confidential
Page: 147
AT Command Set
14.10.2 Format +STKTRIND: <result> [,<additional_info>] 14.10.3 Field <result> please refer to 3GPP TS11.14. <additional_info> HEX string of additional information
14.11 STK AT commands example MD231 STK Function example as follows: +EIND: 128 //module power on indication SETUP MENU +STKPCI: 0,"D0768103012500820281828507805982610F901A8F0A018070ED70B963A883508F06 028070AB94C38F0A038077ED4FE17FA453D18F0A048081EA52A9670D52A18F0A0580624B673A97F 34E508F0606808D854FE18F0A07804F1195F25A314E508F0A0880751F6D3B8D448BAF8F0A09807CBE 5F694E0A6D77" //SIM proactive cmd,here is a setup menu indication,the context is the first item menu of SIM +CSIM: PBK Ready +CSIM: SMS Ready DSPL TEXT +STKPCI: 0,"D0328103012101820281028D27085C0A656C76845982610F901A5BA26237FF1A6B22 8FCE60A84F7F75288054901A4E1A52A1FF01"//SIM proactive command,Display text indication AT+STKTR="8103012400"//ME to SIM for display text indication response OK AT+STKENV="D30702020181100101"//ME send a structure of envelope cmd to SIM,here is a menu item //selction OK SELECT ITEM +STKPCI: 0,"D02C81030124008202818285098070ED70B963A883508F0A018053057F574E078C61 8F0A0280638C4E2D80A15E02" AT+STKTR="810301240002028281030100100101"//ME send a response for last envelope cmd to SIM OK SELECT ITEM +STKPCI: 0,"D0258103012400820281828F0601805B9A52368F06028053D66D888F0A03804E1A52 A14ECB7ECD"//SIM proactive cmd,the second item menu
Confidential
Page: 148
AT Command Set
send envelop command to select a menu,here it is selected the first menu item of all the main menu please refer GSM1114_731 in subclauses 8.2 Structure of ENVELOPE (MENU SELECTION) in details D0 //Proactive SIM command Tag 2C //Length 81 //Command details 03 01 24 00 82 //Device identities 02 81 82 85 //Alpha string tag 09 //Length 80 70 ED 70 B9 63 A8 83 50//unicode encode, 8F //item tag 0A // length 01 80 53 05 7F 57 4E 07 8C 61//item 1,unicode encode 8F 0A 02 80 63 8C 4E 2D 80 A1 5E 02//item 2,unicode encode
send a response to SIM,please refer GSM1114_731 in subclauses 6.8 Structure of TERMINAL RESPONSE in details AT+STKTR="8103012101" //DISPLAY TEXT RSP OK 81 //Command details tag 03 //Length = '03' 01 //Command number 21 //Type of command,DISPLAY TEXT 01 //Command Qualifier
Confidential
Page: 149
AT Command Set
Command
+CPBSE=<band> +CPBSE? +CPBSE =? 15.1.3 Field <band> 0 1 2 3 4 5 6 7 8 9 10 11 12 BAND 900 BAND 1800 BAND 1900 Dual Band (900/1800) BAND 850 => after w05.06 Dual Band (850/1900) => after w05.06 Dual Band (850/1800) => after w05.38 Dual Band (900/1900) => after w05.38 Triple Band (850/900/1800) => after w05.38 Triple Band (900/1800/1900) => after w05.38 Triple Band (850/900/1900) => after w05.38 Triple Band (850/1800/1900) => after w05.38 Quad Band (850/900/1800/1900) => after w05.38
Response
+CPBSE: <band> (list of supported <band>s)
Confidential
Page: 150
AT Command Set
Integer
is_chap
Negotiation protocol
PAP CHAP
0 1
15.2.4
Response Test command : Execution command : + EGPAU: (0,1), (<cid range>), (0-1) OK
Command
+EPIN2=<pin2> or +EPIN2= <puk2>,<newpin2> +EPIN2? +EPIN2=?
Possible response(s)
+CME ERROR: <err>
15.3.3
Field <pin2>, <newpin2>, <puk2>: string type values <code> values reserved by the present document: READY MT is not pending for any password SIM PIN2 MT is waiting SIM PIN2 to be given SIM PUK2 MT is waiting SIM PUK2 to be given
Command
+EPINC +EPINC? +EPINC=?
Possible response(s)
+EPINC: <pin1>,<pin2>,<puk1>,<puk2> +CME ERROR: <err> +EPINC: <pin1>,<pin2>,<puk1>,<puk2> +CME ERROR: <err>
Confidential
Page: 151
AT Command Set
15.4.3
Command
+ESMSS= <mode> +ESMSS? +ESMSS=?
Possible response(s)
+CME ERROR: <err> +ESMSS : <mode> +ESMSS : (0-1)
15.5.3
Field <mode> 0 Unchange - SMS status remains as REC UNREAD after +CMGR or +CMGL Change - SMS status changes from REC UNREAD to REC READ after +CMGR or +CMGL. 1
Command
+EOPN= <format>,<oper_num> +EOPN=?
Possible response(s)
+EOPN: <format>, <oper_alpha> +CME ERROR: <err> +CME ERROR: <err>
15.6.3
Field <format> : <oper_num>: <oper_alpha>: 0 long alphanumeric format 1 short alphanumeric format the operator in numeric format the operator in alphanumeric format
[NOTE] We DO NOT support full set of alphanumeric format of <oper>, since the code size will become very large. If the customer needs the alphanumeric format, the table can be customized in mcu\custom\ps\xxx_bb\customer_operator_names.c.
Confidential
Page: 152
AT Command Set
Command
+CGSDATA=<byte>
Possible response(s)
+CME ERROR: <err>
15.7.3
Field <byte> the number of byte sending to network example: at+cgsdata = 500 (sending 500 bytes)
OK/ERROR +MMI_STR:<state>,(<x>,<y>),<len>,< data> +EMMISTR=? OK Note: parameter <len>, <data> are only needed when <op> = 2. 15.8.3 Field Type Integer Integer Integer Integer Integer Integer 15.8.4 Example Short name op len data State x Y 0 1 2 The Parameter/comment Disable MMI trace string Enable MMI trace string Send data to MMI length of data when <op> = 2 Row data send to MMI 0 No more string 1 Normal string 2 Highlighted string Coordination X Coordination Y
Confidential
Page: 153
AT Command Set
AT+EMMISTR=2,3,0A0B0C /*PC sends data to MMI*/ OK +MMI_STR:1, (40,25), 3, 0A0B0C /*normal MMI trace string*/ +MMI_STR:2, (5,35), 4, 0A0B0C0D /*highlighted MMI trace string*/ +MMI_STR:0 /*no more string*/ AT+EMMISTR=0 /*disable MMI trace string*/ OK
Command
+EQUERY=<op> +EQUERY=? OK ERROR OK
Possible Response(s)
15.9.3
Field Type integer Short name op 0 1 2 Parameter/comment Query SMS stats to write SMS to inbox Query charger status Query clam status
15.9.4
// charger is plug-in
// clam is closed
Confidential
Page:154
AT Command Set
Command
+CMIC=<level> +CMIC? +CMIC=? OK ERROR
Possible response(s)
+CMIC:<level> OK +CMIC:(0-6) OK
15.10.3
15.10.4
Example AT+CMIC=5 OK
Command
+CADC?
+CADC: 1, 2400
Possible response(s)
15.11.3
Field <0-1> : return status, 1 success, 0 failure. <volt> : integar voltage , the unit is mV.
Confidential
Page: 155
AT Command Set
Command
+SNUM=[<index>][,<number>[,<type>[,<text>]]]
Possible response(s)
OK ERROR
15.12.3
Field <index> : MSISDN index(0-1) <number> : Phone number <type> : name text code type,0-ASCII code, 1-UCS2 code <text> : name text.If UCS2 code,input the Hex format.
15.12.4
Command
+CPOWD=1
Possible response(s)
NORMAL POWER DOWN
OK +CPOWD=? +CPOWD: OK
Confidential
Page: 156
AT Command Set
Command
+GDT=<op> +GDT=?
OK ERROR +GDT: (0, 1) OK
Possible response(s)
15.14.3
Field Type Integer Short name op Long name operation play stop Parameter/comment 1 0
15.14.4
Command
+GBT=<op> +GBT=?
OK ERROR
Possible response(s)
+GBT:(0, 1)
OK
15.15.3
Field Type Integer Short name op Long name operation play stop Parameter/comment 1 0
15.15.4
Confidential
Page: 157
AT Command Set
Command
+BEEP +BEEP=?
OK ERROR
Possible response(s)
+BEEP:
OK
15.16.3
Command
+SHUTDOWN
OK
Possible response(s)
SHUTDOWN SUCCESS / SHUTDOWN FAILURE
ERROR
+SHUTDOWN=?
+SHUTDOWN:
OK
15.17.3
Confidential
Page: 158
Command
OK
Possible response(s)
ERROR INVALID GPIO
+GPIOS=<gpioNo>,<level>
+GPIOS=?
15.18.3
Field <gpioNo> : These GPIOs that configured to output dierctory, can be set. <level> : the Max GPIO number is 53 in the module version. 1: Highlevel; 0: Lowlevel
GPIO No
8 13 1 2 25
Pin Name
LCD_RSTB LCD_CS0 LCD7 LCD5 IO25
PinNo On MD231
6 8 59 60 65
Command
+GPIOR=<gpioNo> +GPIOR=?
Possible response(s)
+GPIOR:<level>
OK ERROR
+GPIOR:(0-1)
OK
15.19.3
Field <gpioNo> : Both output and input GPIOs can use the command to read it's value. the Max GPIO number is 53 in the module version. <level> : 1: Highlevel; 0: Lowlevel
GPIO No
22 21 20 30 26
Pin Name
IO 22 IO 21 IO 20 IO 30 JTRST
Page: 159
PinNo On MD231
56 58 64 71 79
Confidential
AT Command Set
Command
OK
Possible response(s)
ERROR
+EINTS=<eintNo>,<State>,<Sens> +EINTS=?
+EINTS:<eint>,(0-1),(0-1)
OK
EINT No
0 1 3
Pin Name
EINT0 EINT1 EINT2
PinNo On MD231
10 26 23
NOTE2 : If EINTx enable and an interrupt generate, will give an indication. +EINT:<eintno>,<level> 15.20.3 Field <eintNo> : eintNo(0 ~ 3) can be used for user configure. <State> : 1: interrupt is enable; 0: interrupt is disable <Sens> : 1: Level sensitive; 0: Edge sensitive <level> : 1: High Level; 0: Low level 15.20.4 Example AT+EINTS=0,1,1 OK /*Enable eintNo0 and level sensitive*/
Command
+EINTR=<eintNo>
OK
Possible response(s)
+EINTR:<State>,<Sens>
ERROR
+EINTR=?
+EINTR:<eint>
OK
15.21.3
Field <eintNo> : eintNo(0 ~ 3) can be used for user configure. <State> : 1: interrupt is enable; 0: interrupt is disable <Sens> : 1: Level sensitive; 0: Edge sensitive
Page: 160
Confidential
AT Command Set
Command
+CCED=<mode> +CCED=?
Possible response(s)
OK ERROR
+CCED:<mcc>,<mnc>,<lac>,<ci>,<bsci>,<arfcn>,<RSSI>
OK
15.22.3
Field <mode> : 0 1 2 0,1,or 2 = one shot requested = automatic shots requested = stop automatic shots
Command
+REG?
Possible response(s)
+REG:<state>,"lac","cellId" OK ERROR
<state>: 0 not registered, MT is not currently searching a new operator to register to 1 registered, home network 2 not registered, but MT is currently searching a new operator to register to 3 registration denied 4 unknown 5 registered, roaming
Confidential
Page: 161
AT Command Set
Command
OK
Possible response(s)
ERROR
+EPCM=<mode> +EPCM? +EPCM=? 15.24.3 Field <mode> : 0,1, 0 = normal mode 1 = PCM mode
+EPCM:<mode> +EPCM:(0-1)
Confidential
Page: 162
AT Command Set
16 TCP/IP AT Commands
16.1 AT+SETCID Set CID parameters
16.1.1 Description This command is used to set PDP context parameters for a CID be used in socket connecting. 16.1.2 Format
Command
+SETCID=[<cid>,[APN], [username], [password]]
Possible response(s)
OK INVALID CID PARAM ERROR ERROR
+SETCID=?
16.1.3
Field <cid>: Value range (1~8) (PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition. The context is kept in NVRAM GPRS account profile. Be used in TCP/IP socket connecting <APN>: (Access Point Name) a string parameter which is a logical name that is used to select the GGSN or the external packet data network. <user name>: string type. <password>: string type.
16.1.4
Example AT+SETCID=1,"cmnet",, OK
Command
+ACTCID=<cid>
Possible response(s)
OK ERROR INVALID CID +ACTCID: (range of supported <cid>s) OK
+ACTCID=?
NOTE:The default CID is 5, that <apn>= "cmnet", <username> = " ", <password> = " ".
Confidential
Page: 163
AT Command Set
16.2.3
Field <cid>: Value range (1~8) (PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition. The context is kept in NVRAM GPRS account profile. Be used in TCP/IP socket connecting
Command
+DEACTCID=<cid>
Possible response(s)
OK ERROR INVALID CID NOT ACTIVE CID
/*Deactivate Success*/ /*Error Command*/ /*Invalid CID*/ /*If the CID not in active state*/
+DEACTCID=?
NOTE:The default CID is 5, that <apn>= "cmnet", <username> = " ", <password> = " ".
16.3.3
Field <cid>: Value range (1~8) (PDP Context Identifier) a numeric parameter which specifies a particular PDP context definition. The context is kept in NVRAM GPRS account profile. Be used in TCP/IP socket connecting
Confidential
Page: 164
AT Command Set
Command
+CIPCREATE=<type>
Possible response(s)
NEW SOCKET=<socketid> CREATE FAIL:<error> ERROR
+CIPCREATE=?
+CIPCREATE:(<type>s) OK
16.4.3
Field <type> : a string parameter which indicates the connection type. "TCP" : Establish a TCP connection "UDP" : Establish a UDP connection <socketid> : socket handle. <error> : a error value will be return if create socket failure. 0: SOC_SUCCESS -1: SOC_ERROR -2: SOC_WOULDBLOCK -3: SOC_LIMIT_RESOURCE -4: SOC_INVALID_SOCKET /* limited resource */ /* invalid socket */
-5: SOC_INVALID_ACCOUNT /* invalid account id */ /* address too long */ -6: SOC_NAMETOOLONG /* operation already in progress */ -7: SOC_ALREADY -8: SOC_OPNOTSUPP -9: SOC_CONNABORTED -10:SOC_INVAL -11:SOC_PIPE -12:SOC_NOTCONN -13:SOC_MSGSIZE -14:SOC_BEARER_FAIL -15:SOC_CONNRESET -16:SOC_DHCP_ERROR -17:SOC_IP_CHANGED -18:SOC_ADDRINUSE 16.4.4 Example AT+CIPCREATE="TCP" NEW SOCKET=0 OK /* operation not support */ /* software caused connetcion abort */ /* invalid argument */ /* broken pipe */ /* socket is not connected */ /* msg is too long */ /* brearer is broken */ /* TCP half-write close,i.e, FINED */
Confidential
Page: 165
AT Command Set
Command
+CIPCONNECT=[<socketid>, <ip address>/Domain Name, <port>] +CIPCONNECT=?
Possible response(s)
CONNECT OK CONNECT FAIL:<error> ERROR +CIPCONNECT:<socketid >,[IP ADDRESS/DNS],[PORT] OK
16.5.3
Field <socketid> : socket handle. <error> : a error value will be return if socket failure. <port> : remote server port. error value : Refer AT+CIPCREATE
16.5.4
Command
+CIPSEND=<socketid>
Note
Send changeable length data response">",then type data for send, tap CTRL+Z/ESC to send.
Possible response(s)
SEND OK SEND FAIL:<error> ERROR
Send fixed length data, Max len is 1400. +CIPSEND=[<socketid> response">",then type data for ,<datalength>] send, if reached the datalength will be auto sent out. +CIPSEND=?
+CIPSEND:<socketid>, [length] OK
NOTE1 :Only received response ">", user can send raw data by socket. NOTE2 :CTRL+Z ascii is 0x1a, ESC ascii is 0x1b. Changeable mode: only single char 0x1a or 0x1b will be handled as the end symbol. if string include 0x1a or 0x1b will be handled as send data. NOTE3 :If a socket received data, will give data as follw format: SOCKET=<id> RECV=<datalen>:\r\n<rawdata> <datalen>: Always take 5 bytes. 16.6.3 <id>: 1 byte
Field <socketid> : is an existing socket handle, which connects to an IP adress and port. <datalength> : data length too be sent. must less than 1400. if =0, same as the changeable length data be handle.
Confidential
Page: 166
AT Command Set
16.6.4 Example Send changeable length data AT+CIPSEND=0 >Test Data (CTRL+Z/ESC) SEND OK If received data SOCKET=0 RECV=00012: TestRecvData Send fixed length data AT+CIPSEND=0,10 >Test DataT SEND OK will auto send out if reached the datalength 10
Command
+CIPCLOSE=<socketid>
Possible response(s)
CLOSE OK CLOSE FAIL:<error> ERROR
+CIPCLOSE=?
+CIPCLOSE:<socketid range> OK
16.7.3
Field <socketid> : is an existing socket handle. <error> : a error value will be return if socket failure. error value : Refer AT+CIPCREATE
16.7.4
NOTE1 :If the socket is closed by remote server, will return "CLOSE SOCKET=<socketid>".
Command
+CIPGETIP
Possible response(s)
IP=xxx.xxx.xxx.xxx ERROR
+CIPGETIP=?
+CIPGETIP: OK
16.8.3
Confidential
Page: 167
AT Command Set
Command
+CIPBIND=[<socketid> <ip address>, <port>] +CIPBIND=?
Possible response(s)
SOCKET=<socketid range> BIND OK IP=xxx.xxx.xxx.xxxPORT=<port> BIND FAIL:<error> ERROR +CIPBIND:<socketid range>, [IP ADDRESS],[PORT] OK
16.9.3
Field <socketid> : socket handle. <ip address> : local IP address. <port> : local port. <error> : a error value will be return if socket failure. error value : Refer AT+CIPCREATE
16.9.4
Command
+CIPLISTEN=<socketid>
Possible response(s)
LISTEN OK LISTEN FAIL:<error> ERROR
+CIPLISTEN:<socketid range> OK
<socketid> : is an existing socket handle, which connects to an IP address and port. <error> : a error value will be return if socket failure. error value : Refer AT+CIPCREATE 16.10.4 Example AT+CIPLISTEN=0 LISTEN OK
Confidential
Page: 168
AT Command Set
Command
+CIPSHUT
Possible response(s)
SHUT OK ERROR /*If close success*/
+CIPSHUT=?
+CIPSHUT: OK
Command
+CDNSGIP="DomainName"
Possible response(s)
IP= <IP address> ERROR
+CDNSGIP=?
+CDNSGIP:("DOMAIN NAME") OK
16.11.3
Confidential
Page: 169
AT Command Set
Description This command is used to lock sim pin Format Command: AT+ISP=RPIN:para1;para2;para3; para1:0 means sim pin lock disable,1 menas sim pin lock enable para2:length of original sim pin code +original sim pin code para3;length of new sim pin code + new sim pin code,it means original pin code be changed to special pin code if para3 equal 0,it means will change original sim pin code to rand of sim pin code
17.1.3
Example AT+ISP=RPIN:1;41234;45678; This AT commands means the original sim pin code 1234 will change to 5678 AT+ISP=RPIN:1;41234;0; This AT commands means the original pin code 1234 will change to a rand of pin code
Phone
Lock
Description This command is used to lock module Format Command: AT+ISP=RPIN:para1; para1:0 means phone lock disable,1 menas phone lock enable
17.2.3
Example AT+ISP=RLSJ:1; This AT commands means the phone lock will be opened, when restart the module,the module will save the current sim's ICCID,and then will check this ICCID with SIM card,if SIM card be changed,the check result will fail.
Confidential
Page: 169