AT Command Interface Specification
Issue Date
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
Internet Service Interface Commands
108
123
128
146
Overall Description
Content Description
Product Description
Instructions for Use
Overview of AT Command Interfaces
A command or a response
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
Command Possible Responses
Basic Configuration Commands
Echo Command
Evalue
S3-Command Line Termination Character
S4-Response Format Character
S5=value
S5-Backspace Character
S5? CRLFvalueCRLF
Command for Setting the Response Format
String FormatV1 Digit Format Meaning
Case of an MT-related error
Command for Controlling Return of the Execution Result
F-Command for Restoring Factory Settings
Crlferrorcrlf
+IFC +ICF +CNMI
V-Command for Querying the Current Configuration
Command Parameter
+CPMS
+IPR
A/-Command for Repeating the Previous Command
+CMEE +CREG
+CMEE?
10 +CMEE-Command for Setting the Error Report Format
AT+CGSN
+CMEE=?
+CFUN?
11 +CFUN-Command for Setting the Operating Mode
+CFUN=?
RESET?
VOLT-Command for Querying the voltage
Reset Command for Delaying the Module Reset Function
Volt
MSO Crlfokcrlf
MSO-Shutdown Command
HS-Command for Shaking Hands with the TE
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
+GSN80469bb7
+CGSN-Command for Querying the ESN
AT+GSN
+CGSN Crlfesncrlf Crlfokcrlf +CGSN=?
HWVER-Command for Querying the Hardware Version
MEID-Command for Querying the Meid
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
Atmdn
MDN8613312121001
When mode≠2 and the command is successfully
Security Control Commands
+CLCK-Command for Enabling the PIN and Querying the Status
+CLCK=?
+CPIN?
+CPIN-PIN Management Command
+CPIN=pin,newpin
CRLF+CPINcodeCRLF
CPIN?
CPIN-PIN Extension Management Command
CPIN=? Crlfokcrlf
Parameter Description
+CPWD-Command for Changing the Password
+CPWD=?
AT+CLCK=SC,2 +CLCK1
AT+CPWD=SC,1111,2222
This command sets the changing mode of DCD signals
Serial Port Control Commands
C-Command for Setting the Changing Mode of DCD Signals
Cvalue
Dvalue
S-Command for Setting the Changing Mode of DSR Signals
Svalue
+ICF-Command for Setting the Character Frame Format
+ICF?
+IPR?
+IPR-Command for Setting the Fixed Baud Rate
+IPR=rate
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-Command for Querying System Information
Sysinfo
0NOSRV
DSDORMANT-Instructions into the dormant
8CDMA/HDR Hybrid
11REVA
Crlferrorcrlf PREFMODE?
MODE-Command for Indicating the System Mode Change
PREFMODE-Command for setting the network mode
Crlfokcrlf PREFMODE=?
RFSWITCH?
Rfswitch-Command for Setting the Flight Mode
Prefmode 2 Cdma mode HDR mode CDMA/HDR Hybrid mode
Rfswitch =?
Atrfswitch ?
+CSQ-Command for Querying the Rssi
Rfswitch 0,1
RSSILVL-Command for Reporting the Rssi
Test command queries the current Rssi and BER values
RSSIREP?
HRSSILVL-Command for Reporting the HDR Rssi
RSSIREP-Command for Setting the Reporting of the Rssi
RSSIREP=?
CRLFCRSSIrssiCRLFOKCRLF
CRSSI-Command for Reporting the Rssi
Crssi
CRLFCRSSIrssiCRLF
Hdrrssi
HDRRSSI-Command for Reporting the HDR Rssi
Time
COTKSLACT=MDN,MIN Crlfokcrlf
COTKSLACT-Command for Defining a Subscriber
Attime
COTKSLACT? Crlfokcrlf COTKSLACT=?
OTACMSG-Command for Indicating the OTA Update Status
OTAACTED-Command for Querying the OTA Activation Status
OTAACTED?
CURRSID=? Crlfokcrlf
CURRSID-Command for Query SID of The Current System
CURRSID?
Atcurrsid
Atcurrsid CURRSID0,0,8E4FC
CURRSID0,0,0
Command for Originating a Data Service Call
Call Control Commands
Crlfno Carriercrlf
Hvalue
Command for Disconnecting the Data Service
+CDV-Command for Originating a Voice Call
+CDVdialstring
This command disconnects a voice call
+CHV-Command for Disconnecting a Voice Call
Command for Answering a Call a
AT+CDV13372311111 ORIG0,0
S0=value
RING-Command for Indicating a Call
S0-Command for Setting Automatic Answer
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
+CLCC1,0,0,0,0,13801000841,129
DTMF-Two-Stage Dialing Command
AT+CLCC
DTMF=callx,dtmfdigit
Pppcfg or PPPCFG? CRLFPPPCFGuserid,password
PPPCFG-Command for Setting the PPP User Name and Password
PPPCFG=userid,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=?
+CNMI?
+CNMI=mode,mt
CRLF+CNMImode,mt,bm,ds,bfrCR
Mt list,supported bm list,supported ds
CRLF+CNMIsupported mode list,supported
+CNMI=?
List,supported bfr list Crlf
+CMTI
Yes
Hcmt
+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
CallerID,year,month,day,hour,minute,second
Crlfhcds reserved,lengthCRLF layer3
Crlfhcds
Lang,format,length,prt,prv,type,tagCRLF
Wmstagmtnotread 1:WMSTAGMTREAD
+CNMA Crlfokcrlf
+CNMA-Command for Acknowledging a New Short Message
:WMSTAGMOSENT
+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
CRLF+CMS
HCMGW-Command for Storing a Short Message
Wmsothergeneralproblemsmorelasts
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=?
Crlfhcmgr :
HCMGR-Command for Reading a Short Message
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=?
+CMGF?
CRLF+CMGFmodeCRLF
CRLF+CMGFlist of supported
+CPBS?
Phonebook Interface Commands
+CPBS-Command for Selecting a Phonebook Memory
+CPBS=?
Crlfcpbr
CPBR-Command for Reading the Phonebook
CPBR=?
CPBW-Command for Writing Entries to the Phonebook
CPBW=?
Atcpbw = 1,28780808,129,80534E4E3A,1
IPINIT?
Internet Service Interface Commands
IPINIT-Command for Initializing a TCP/UDP Connection
CRLFIPINIT0CRLF
Issue 01 Huawei Proprietary and Confidential 113
IPOPEN?
IPOPEN-Command for Establishing a TCP/UDP Connection
Crlfokcrlf IPOPEN=?
IPLISTEN?
IPLISTEN-Command for Enabling Server Listening
ATIPOPEN?
IPLISTEN=?
IPLISTENTCP,UDP,1-65535,0-5
ATIPLISTEN? IPLISTENNULL,0,2 ATIPLISTEN=?
ATIPLISTEN=TCP,12000 ATIPLISTEN? IPLISTENTCP,12000,2
IPSEND=? Crlfokcrlf
IPSEND-Command for Transmitting TCP/UDP Data
IPSEND=linkid,data CRLFIPSENDlinkidCRLF
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
CPCM?
PCM CLK
+CMIC?
11.4 +CLVL -Tune loudspeaker volume level
11.3 +CMIC -Tune microphone gain level
+CMIC=?
+CMUT?
11.5 +CMUT -Switch mute status
+CLVL=?
+CMUT=?
SMUT?
Smut -Switch speaker mute status
SMUT=?
WAKEUPCFG? Crlfwakeupcfg
Wakeup Commands
Wakeupcfg -Wakeup Function Configuration
WAKEUPCFG=?
ATWAKEUPCFG?
Query the current configuration parameters
Configuration Succeed
Wakeupcfg 1,1,7
Crlfokcrlf CURC?
Curc -Unsolicited report control command
CURC=?
Crlferrorcrlf Bodysaron ?
SAR Commands
BODYSARON-Disable or Enable Body SAR
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?
GPS Commands
WPDOM-Command for Setting Operation Mode
Crlfokcrlf WPDOM=?
Error code Error Description
Operation not supported
WPDST?
WPDST-Command for Setting Session Type
Error code Error description
Crlfokcrlf WPDST=?
Issue 01 Huawei Proprietary and Confidential 137
WPQOS? Crlfwpqos
WPQOS-Command for Setting Fix QoS
Crlfokcrlf WPQOS=?
Wpdgp Crlfokcrlf
WPDGP-Command for Starting GPS Position
WPEND-Command for ending GPS Position
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=?
WPDIM-Command for Deleting Assisted Data
WPDIM=mode
Crlfwpdim list of supported modes
GPSTYPE?
GPSTYPE-Command for Quering GPS Type
This command queries current GPS type
Crlfgpstype typeCRLF
If the module support all GPS types
ATGPSTYPE? GPSTYPE:31
Err 100 65280 Value
CME Error List
Appendix
+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
CMS Error List
+CNMI +CMGD +CNMA +CPMS Hcmgs Hcmgw
Final Result Codes
Final result code Description
Phone Number Type
Initial Values of Command Parameters After MT Restart
Initial Value
Issue 01 Huawei Proprietary and Confidential 153
Acronyms and Abbreviations
Abbreviation Full Spelling
DCE
CTS
DCD
DCS
PRL
PPP
PRI
PUK