AT Command Interface Specification
Issue Date
No Warranty
Version Date Chapter Descriptions
About This Document
History
Contents
Identity Information Query Commands
Example
Security Control Commands
Network Service Interface Commands
Issue 01 Huawei Proprietary and Confidential
Call Control Commands
SMS Interface Commands
101
Internet Service Interface Commands
108
123
128
146
Product Description
Content Description
Overall Description
Overview of AT Command Interfaces
A command or a response
Instructions for Use
Line feed character. For details, see the description in S4
2shows the basic organization format of the AT command line
Prefixed with +
1Format of a basic command
Command Format Description
Command Command Format Description Type
Abort Attributes of AT Commands
Organization of This Document
Chapter Description
Chapter Description
Basic Configuration Commands
Echo Command
Command Possible Responses
Evalue
S3-Command Line Termination Character
S4-Response Format Character
S5? CRLFvalueCRLF
S5-Backspace Character
S5=value
Command for Setting the Response Format
String FormatV1 Digit Format Meaning
Command for Controlling Return of the Execution Result
F-Command for Restoring Factory Settings
Case of an MT-related error
Crlferrorcrlf
V-Command for Querying the Current Configuration
Command Parameter
+IFC +ICF +CNMI
+CPMS
+CMEE +CREG
A/-Command for Repeating the Previous Command
+IPR
10 +CMEE-Command for Setting the Error Report Format
AT+CGSN
+CMEE?
+CMEE=?
+CFUN=?
11 +CFUN-Command for Setting the Operating Mode
+CFUN?
VOLT-Command for Querying the voltage
Reset Command for Delaying the Module Reset Function
RESET?
Volt
MSO-Shutdown Command
HS-Command for Shaking Hands with the TE
MSO Crlfokcrlf
Crlfcrlfokcrlf
ATHS=0,0 HS494BBC7E,0,0,2,3
Ivalue CRLFmodule infoCRLF
Identity Information Query Commands
Command for Querying Product Identity Information
AT+CGMI
+CGMI/+GMI-Command for Querying Manufacturer Information
ATI
AT+CGMM
+CGMM/+GMM-Command for Querying Product Name
+CGMR/+GMR-Command for Querying the Software Version
+GSN CRLF+GSNESNCRLF Crlfokcrlf
+GSN-Command for Querying the ESN
AT+CGMR
+CGSN-Command for Querying the ESN
AT+GSN
+GSN80469bb7
+CGSN Crlfesncrlf Crlfokcrlf +CGSN=?
HWVER-Command for Querying the Hardware Version
MEID-Command for Querying the Meid
There are a maximum of 15 characters
+CIMI-Command for Querying the Imsi
ICCID-Command for Querying the Iccid
MDN
MDN-Command for Querying the MDN
ATICCID?
Atmdn
MDN8613312121001
Security Control Commands
+CLCK-Command for Enabling the PIN and Querying the Status
When mode≠2 and the command is successfully
+CLCK=?
+CPIN-PIN Management Command
+CPIN=pin,newpin
+CPIN?
CRLF+CPINcodeCRLF
CPIN=? Crlfokcrlf
CPIN-PIN Extension Management Command
CPIN?
Parameter Description
+CPWD-Command for Changing the Password
+CPWD=?
AT+CLCK=SC,2 +CLCK1
AT+CPWD=SC,1111,2222
Serial Port Control Commands
C-Command for Setting the Changing Mode of DCD Signals
This command sets the changing mode of DCD signals
Cvalue
Svalue
S-Command for Setting the Changing Mode of DSR Signals
Dvalue
+ICF-Command for Setting the Character Frame Format
+ICF?
+IPR-Command for Setting the Fixed Baud Rate
+IPR=rate
+IPR?
CRLF+IPRrateCRLF
Crlf
+IFC-Command for Setting Flow Control
+IFC?
AT+IFC is equivalent to AT+IFC=0,0
Crlf Simst simstate Crlf
Network Service Interface Commands
SIMST-change of uim state instructions
SYSINFO-Command for Querying System Information
Sysinfo
DSDORMANT-Instructions into the dormant
8CDMA/HDR Hybrid
0NOSRV
11REVA
MODE-Command for Indicating the System Mode Change
PREFMODE-Command for setting the network mode
Crlferrorcrlf PREFMODE?
Crlfokcrlf PREFMODE=?
Rfswitch-Command for Setting the Flight Mode
Prefmode 2 Cdma mode HDR mode CDMA/HDR Hybrid mode
RFSWITCH?
Rfswitch =?
Rfswitch 0,1
+CSQ-Command for Querying the Rssi
Atrfswitch ?
RSSILVL-Command for Reporting the Rssi
Test command queries the current Rssi and BER values
HRSSILVL-Command for Reporting the HDR Rssi
RSSIREP-Command for Setting the Reporting of the Rssi
RSSIREP?
RSSIREP=?
CRSSI-Command for Reporting the Rssi
Crssi
CRLFCRSSIrssiCRLFOKCRLF
CRLFCRSSIrssiCRLF
Time
HDRRSSI-Command for Reporting the HDR Rssi
Hdrrssi
COTKSLACT-Command for Defining a Subscriber
Attime
COTKSLACT=MDN,MIN Crlfokcrlf
COTKSLACT? Crlfokcrlf COTKSLACT=?
OTAACTED?
OTAACTED-Command for Querying the OTA Activation Status
OTACMSG-Command for Indicating the OTA Update Status
CURRSID-Command for Query SID of The Current System
CURRSID?
CURRSID=? Crlfokcrlf
Atcurrsid
Atcurrsid CURRSID0,0,8E4FC
CURRSID0,0,0
Crlfno Carriercrlf
Call Control Commands
Command for Originating a Data Service Call
Command for Disconnecting the Data Service
+CDV-Command for Originating a Voice Call
Hvalue
+CDVdialstring
+CHV-Command for Disconnecting a Voice Call
Command for Answering a Call a
This command disconnects a voice call
AT+CDV13372311111 ORIG0,0
RING-Command for Indicating a Call
S0-Command for Setting Automatic Answer
S0=value
S0? CRLFvalueCRLF
This command indicates that the MT is originating a call
ORIG-Command for Indicating the Origination of a Call
CONN-Command for Indicating a Call Connection
UseCRLF
CEND-Command for Indicating the End of a Call
CRLFCENDcallx,duration,endstatus,ccca
11 +CLIP-Command for Setting the Presentation of Caller ID
+CLIP?
+CLIP=?
URC
+CLCC=? Crlfokcrlf
12 +CLCC-Command for Querying the Call Status
+CLCC
DTMF-Two-Stage Dialing Command
AT+CLCC
+CLCC1,0,0,0,0,13801000841,129
DTMF=callx,dtmfdigit
PPPCFG-Command for Setting the PPP User Name and Password
PPPCFG=userid,password
Pppcfg or PPPCFG? CRLFPPPCFGuserid,password
AT+CDV10000 ORIG2,0 CONN2,0
15 +CTA-Command for Setting operating mode
+CTA?
Cta the time to enter the dormant
+CPMS=?
SMS Interface Commands
+CPMS?
CRLF+CNMImode,mt,bm,ds,bfrCR
+CNMI=mode,mt
+CNMI?
CRLF+CNMIsupported mode list,supported
+CNMI=?
Mt list,supported bm list,supported ds
List,supported bfr list Crlf
Hcmt
Yes
+CMTI
+CMTI-Command for Indicating the Arrival of a Short Message
Hcds
HCMT-Command for Reporting a New Short Message
Wmstagmtnotread Wmstagmtread Wmstagmonotsent Wmstagmosent
CRLF+CDSImem,indexCRLF
Crlfhcds reserved,lengthCRLF layer3
Crlfhcds
CallerID,year,month,day,hour,minute,second
Lang,format,length,prt,prv,type,tagCRLF
Wmstagmtnotread 1:WMSTAGMTREAD
+CNMA-Command for Acknowledging a New Short Message
:WMSTAGMOSENT
+CNMA Crlfokcrlf
+CNMA=? Crlfokcrlf
Crlfokcrlf HSMSSS=?
HSMSSS-Command for Setting Short Message Parameters
HSMSSS?
HCMGS=? Crlfokcrlf
HCMGS-Command for Sending a Short Message
Case of an SMS-related error CRLF+CMS ERRORerrCRLF
Text mode HCMGS=da,toda command is sent with the end of CR
HCMGSF-Command for Reporting Short Message Sending Failure
Parameter Description
HCMGW-Command for Storing a Short Message
Wmsothergeneralproblemsmorelasts
CRLF+CMS
HCMGW=? Crlfokcrlf
Issue 01 Huawei Proprietary and Confidential 100
It saves a message but don‟t send out At HCMGW=44,2
HCMGW1
HCMGL-Short Message List Command
HCMGL=?
HCMGR-Command for Reading a Short Message
Crlfhcmgr
Crlfhcmgr :
HCMGR=? Crlfokcrlf
Issue 01 Huawei Proprietary and Confidential 104
15 +CMGD-Command for Deleting a Short Message
+CMGD=?
17 +CMGF- Command for Set Message Format
+CMGF=mode
+CMGF?
CRLF+CMGFmodeCRLF
+CMGF=?
CRLF+CMGFlist of supported
Phonebook Interface Commands
+CPBS-Command for Selecting a Phonebook Memory
+CPBS?
+CPBS=?
CPBR=?
CPBR-Command for Reading the Phonebook
Crlfcpbr
CPBW-Command for Writing Entries to the Phonebook
CPBW=?
Atcpbw = 1,28780808,129,80534E4E3A,1
Internet Service Interface Commands
IPINIT-Command for Initializing a TCP/UDP Connection
IPINIT?
CRLFIPINIT0CRLF
Issue 01 Huawei Proprietary and Confidential 113
Crlfokcrlf IPOPEN=?
IPOPEN-Command for Establishing a TCP/UDP Connection
IPOPEN?
IPLISTEN-Command for Enabling Server Listening
ATIPOPEN?
IPLISTEN?
IPLISTEN=?
ATIPLISTEN=TCP,12000 ATIPLISTEN? IPLISTENTCP,12000,2
ATIPLISTEN? IPLISTENNULL,0,2 ATIPLISTEN=?
IPLISTENTCP,UDP,1-65535,0-5
IPSEND-Command for Transmitting TCP/UDP Data
IPSEND=linkid,data CRLFIPSENDlinkidCRLF
IPSEND=? Crlfokcrlf
ATIPSEND=3,ASDF IPSEND3
Crlfipgetdata
IPGETDATA?
IPGETDATA=?
ATIPGETDATA? IPGETDATA0,2,4 IPGETDATA1,2,3
ATIPGETDATA=1 IPGETDATA1,2,3 ADF
IPDATA-Command for Indicating the Arrival of TCP/UDP Data
IPGETDATA2,3,4 ATIPGETDATA=0 IPGETDATA0,2,4
IPCLOSE-Command for Disabling a TCP/UDP Connection
IPCLOSE?
IPCLOSE=?
ATIPCLOSE?
IPENTRANS=linkid
IPCLOSE1,1,0,0,0
ATIPCLOSE=1 OK ATIPCLOSE? IPCLOSE0,1,0,0,0
ATIPENTRANS=1
CPCM-Configure PCM audio
Audio Commands
Swspath -Switch Sound Path
CPCM?
PCM CLK
11.4 +CLVL -Tune loudspeaker volume level
11.3 +CMIC -Tune microphone gain level
+CMIC?
+CMIC=?
11.5 +CMUT -Switch mute status
+CLVL=?
+CMUT?
+CMUT=?
SMUT=?
Smut -Switch speaker mute status
SMUT?
Wakeup Commands
Wakeupcfg -Wakeup Function Configuration
WAKEUPCFG? Crlfwakeupcfg
WAKEUPCFG=?
Query the current configuration parameters
Configuration Succeed
ATWAKEUPCFG?
Wakeupcfg 1,1,7
CURC=?
Curc -Unsolicited report control command
Crlfokcrlf CURC?
SAR Commands
BODYSARON-Disable or Enable Body SAR
Crlferrorcrlf Bodysaron ?
BODYSARON=? CRLFBODYSARON0,1CRLF Crlfokcrlf
Bodysarcdma -Set the max tx Power Limit
Crlferrorcrlf BODYSARCDMA?
Crlferrorcrlf Bodysarcdma =?
THERM-Thermal Protection Activated Usolicited Report
Issue 01 Huawei Proprietary and Confidential 133
GPS Commands
WPDOM-Command for Setting Operation Mode
WPDOM?
Crlfokcrlf WPDOM=?
Error code Error Description
Operation not supported
WPDST-Command for Setting Session Type
Error code Error description
WPDST?
Crlfokcrlf WPDST=?
Issue 01 Huawei Proprietary and Confidential 137
Crlfokcrlf WPQOS=?
WPQOS-Command for Setting Fix QoS
WPQOS? Crlfwpqos
WPDGP-Command for Starting GPS Position
WPEND-Command for ending GPS Position
Wpdgp Crlfokcrlf
Wpend Crlfokcrlf
POSITION-Command for Reporting Position Result
276 GPS function disabled 284 PD session is in off status
POSEND-Command for Reporting Position End
When position success POSITION:113.94026d,22.53206d, 270m
Issue 01 Huawei Proprietary and Confidential 142
WPDIM-Command for Deleting Assisted Data
WPDIM=mode
WPDIM=?
Crlfwpdim list of supported modes
GPSTYPE-Command for Quering GPS Type
This command queries current GPS type
GPSTYPE?
Crlfgpstype typeCRLF
If the module support all GPS types
ATGPSTYPE? GPSTYPE:31
CME Error List
Appendix
Err 100 65280 Value
+CPWD= +CPIN= +CPIN? +CFUN= +CIMI= +CGSN CPBS=
Phone failure
CPBR= CPBW= DTMF=
Err Code String Text
Issue 01 Huawei Proprietary and Confidential 148
Issue 01 Huawei Proprietary and Confidential 149
CMS Error List
+CNMI +CMGD +CNMA +CPMS Hcmgs Hcmgw
Final Result Codes
Final result code Description
Initial Value
Initial Values of Command Parameters After MT Restart
Phone Number Type
Issue 01 Huawei Proprietary and Confidential 153
Acronyms and Abbreviations
Abbreviation Full Spelling
CTS
DCD
DCE
DCS
PPP
PRI
PRL
PUK