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