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