ZTE CDMA Module at Commands Specification
ZTE CDMA Module at Commands Specification
ZTE CDMA Module at Commands Specification
Version5.0
ZTE CORPORATION
Update Records
Document SN Version 4.0 5.0 Author Min Sihe Zhang kui Date April.14, 2006 Aug.11,2006 Update Reason Remarks (Key Point ONLY)
Note: 1. Please fill in this table every time you update the document. 2. For the first time, the fields for Update Reason and Remarks remain empty.
Table of Contents
1 Summary............................................................................................................................................................ 1 1.1 Types of AT Commands..................................................................................................................... 1 1.2 AT Commands ................................................................................................................................... 1 1.3 TERMS.............................................................................................................................................. 1 General Commands ........................................................................................................................................... 3 2.1 +CGMRRequest revision identification ........................................................................................ 3 2.2 +CGSNProduct Serial Number...................................................................................................... 3 2.3 +ZNFREQChange the frequency point ....................................................... 2.4 +SECCELL Switch the frequency band ............................................................................................ 3 2.5 +CIMIRequest IMSI...................................................................................................................... 3 2.6 +CRMPRing Melody Playback ..................................................................................................... 3 2.7 +CRSLRinger Sound Level ........................................................................................................... 4 2.8 A/Repeat last command ................................................................................................................. 4 CALL CONTROL COMMANDS..................................................................................................................... 6 3.1 AAnswer a call .............................................................................................................................. 6 3.2 DDial command............................................................................................................................. 6 3.3 HHang-Up command..................................................................................................................... 7 3.4 ATDLRedial last telephone number............................................................................................... 7 3.5 ATS0Automatic answer ................................................................................................................. 8 3.6 +CEERExtended error report......................................................................................................... 8 3.7 +CICBIncoming Call Bearer ......................................................................................................... 8 3.8 +VGTMicrophone Gain control .................................................................................................... 9 3.9 +VGRVolume Gain control ........................................................................................................... 9 3.10 +CMUTMicrophone Mute Control ............................................................................................... 9 3.11 +SPEAKERSpeaker & Microphone selection............................................................................. 10 3.12 +ECHOEcho Cancellation........................................................................................................... 10 3.13 +SIDETSide Tone modification .................................................................................................. 10 3.14 +VIPInitialize Voice Parameters.................................................................................................. 11 3.15 +VTDDefine DTMF signals........................................................................................................ 11 3.16 +VTSSend DTMF signals ........................................................................................................... 11 3.17 +ZSDTDTMF START ................................................................................................................. 12 3.18 +ZSDSDTMF STOP.................................................................................................................... 12 3.19 +ZFLSHSend Flash to base station ............................................................................................. 12 Network Service Commands ........................................................................................................................... 14 4.1 +CREGNetwork registration & roaming ..................................................................................... 14 4.2 +CLCKFacility Look and PIN1/PIN2 Setup/query ..................................................................... 15 4.3 +CPWDChange PIN1/PIN2 ........................................................................................................ 15 4.4 +CLIPCalling line identification presentation ............................................................................. 16 4.5 +CLIRCalling line identification restriction................................................................................ 16 4.6 +CCFCCall forwarding ............................................................................................................... 17 4.7 +ZRMPRoam Preference............................................................................................................. 17
ZTE CDMA Module AT Commands Specification 5 Mobile Equipment Control and Status Commands.......................................................................................... 19 5.1 +CPASPhone activity status ........................................................................................................ 19 5.2 +CFUNSet phone functionality ................................................................................................... 19 5.3 +ZPWROFFPower off the module .............................................................................................. 19 5.4 +CPINEnter PIN.......................................................................................................................... 20 5.5 +CSQSignal Quality .................................................................................................................... 20 5.6 +ZINDModule Indication ............................................................................................................ 21 5.7 +CCLKClock Management ......................................................................................................... 21 5.8 +CPIN2Enter PIN2 ...................................................................................................................... 21 5.9 +CPINCPIN Remaining Attempt Number................................................................................... 22 5.10 +CMEEReport Mobile Equipment errors.................................................................................... 22 Short Messages Service commands................................................................................................................. 23 6.1 Parameters definition ....................................................................................................................... 23 6.2 +CSMSSelect message service.................................................................................................... 23 6.3 +CNMANew Message Acknowledgement.................................................................................. 24 6.4 +CSDHShow text mode parameters ............................................................................................ 24 6.5 +CPMSPreferred Message Storage.............................................................................................. 24 6.6 +CNMINew message indication.................................................................................................. 25 6.7 +CMGRRead message................................................................................................................. 27 6.8 +CMGLList message................................................................................................................... 27 6.9 +CMGSSend message ................................................................................................................. 28 6.10 +CMGWWrite Message to Memory............................................................................................ 29 6.11 +CMSSSend Message From Storage........................................................................................... 30 6.12 +CMGDDelete message .............................................................................................................. 30 6.13 +ZMSGLSet SMS compose language and encoding................................................................... 31 6.14 +ZMSGTSet timestamp of MT SMS........................................................................................... 31 Data Service commands .................................................................................................................................. 33 7.1 +FCLASSSelect mode................................................................................................................. 33 7.2 +CRC: Cellular result codes ............................................................................ Data Compression Commands ........................................................................................................................ 34 8.1 +IPRSpecifies daud rate............................................................................................................... 34 8.2 +ICFDTE-DCE character framing............................................................................................... 34 8.3 +IFC DTE-DCE local flow control ............................................................................................ 34 8.4 &CSet DCD signal ...................................................................................................................... 35 8.5 &D: Set DTR signal......................................................................................................................... 35 8.6 O: Back to online mode ................................................................................................................... 35 8.7 Q: Result code suppression.............................................................................................................. 36 8.8 V: DCE response format .................................................................................................................. 36 8.9 &T: Auto-tests.................................................................................................................................. 36 8.10 E: Echo ............................................................................................................................................ 36 8.11 IRequest Identification Information............................................................................................. 37 8.12 &FRestore Factory Setting .......................................................................................................... 38 8.13 &WSave Configuration ............................................................................................................... 38 Unsolicited AT Commands .............................................................................................................................. 39 9.1 +ZCED Cell Environment Description Indication...................................................................... 39
ZTE CDMA Module AT Commands Specification +CCWACall Waiting Indication .................................................................................................. 39 +CDSSMS Status Report Indication Directly Displayed............................................................. 39 +CLIP Caller ID Presentation ..................................................................................................... 40 +CMTIncoming Message Directly Displayed ............................................................................. 40 +CMTIIncoming Message Stored in Memory............................................................................. 40 +COPSMode Preference.............................................................................................................. 40 +CREGRegistration & Roaming ................................................................................................. 40 +CRINGIncoming Call................................................................................................................ 41 +CSQAutomatic RxLev Indication ............................................................................................. 41 +RINGIncoming Call .................................................................................................................. 41 +ZCANSCall Answered .............................................................................................................. 42 +ZCMP Pulse_count signal indication ............................................................................................ 42 +ZCCNTCall Connected ............................................................................................................. 42 +ZCENDCall Ended.................................................................................................................... 43 +ZFLSHFlash indication ............................................................................................................. 43 +ZINDGeneral Indicator.............................................................................................................. 43 +ZCORGCall Originated............................................................................................................. 44 +ZCVPRCall Privacy indication ................................................................................................. 44 +ZCROAMRoaming indication .................................................................................................. 44 +ZMGFSMS Message Storage Full............................................................................................. 44 10 ZTE Proprietary Commands.................................................................................................................... 46 10.1 +ZGPIORead/Write GPIO value ................................................................................................. 46 10.2 +ZTONEPlay tone ....................................................................................................................... 46 10.3 +ZDTMFPlay DTMF tone........................................................................................................... 46 10.4 +ZSVGSelect Voice Gain ............................................................................................................ 47 10.5 +ZSTRStatus Request.................................................................................................................. 47 10.6 +ZRIM Ring Indicator Mode...................................................................................................... 48 10.7 +ZDSLEEP32 kHz Deep Sleep Mode......................................................................................... 48 10.8 +ZCDMChange Default Melody ................................................................................................. 49 10.9 +ZRSTReset ................................................................................................................................ 49 10.10 +ZCVPRSet voice privacy level.................................................................................................. 50 10.11 +ZPINSecurity PIN ..................................................................................................................... 50 10.12 +ZPRLRequest PRL Version information ................................................................................... 51 10.13 +ZTMRView Module Timers ...................................................................................................... 51 10.14 +ZCEDCell environment description .......................................................................................... 52 10.15 +ADCAnalogy digital converters measurements ........................................................................ 52 11 Phone Book Commands .................................................................................................................................. 54 11.1 +CPBFFind phonebook entries.................................................................................................... 54 11.2 +CPBPPhonebook search ............................................................................................................ 54 11.3 +CPBRPhonebook read ............................................................................................................... 54 11.4 +CPBSSelect phone book memory storage ................................................................................. 54 11.5 +ZDPBSelect the Default Phonebook Memory........................................................................... 55 11.6 +CPBUReturn selected phonebook locations.............................................................................. 55 11.7 +CPBWWrite phonebook entry ................................................................................................... 55 11.8 +ZAIPAvoid phonebook init ....................................................................................................... 56 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 9.10 9.11 9.12 9.13 9.14 9.15 9.16 9.17 9.18 9.19 9.20 9.21
ZTE CDMA Module AT Commands Specification +ZDCPDelete calls from phonebook........................................................................................... 56 12 Appendices .............................................................................................................................................. 57 12.1 MS error result code +CME ERROR: <error> ........................................................................... 57 12.2 Message service failure result code+CMS ERROR : <er>.......................................................... 57 12.3 Specific error result codes................................................................................................................ 58 12.4 Extended Error Report (+CEER) Call Processing codes ................................................................. 58 12.5 Final result codes ............................................................................................................................. 58 12.6 Intermediate result codes. ................................................................................................................ 59 12.7 Parameters Storage .......................................................................................................................... 59 12.8 Possible codes for SMS-STATUS-REPORT as reported by +CDS and +CMGR ........................... 60 12.9 AT commands supported when SIM card removed ......................................................................... 61 13 TCP/IP AT COMMANDS ....................................................................................................................... 62 13.1 TCP/IP Unsolicited AT commands .................................................................................................. 62 13.1.1 +ZPNUMData service inquiry mumber setting ................................................................... 62 13.1.2 +ZPIDPWDData service ID & Password setting ................................................................ 62 13.1.3 +ZPPPOPENDial-up the module......................................................................................... 62 13.1.4 +ZPPPCLOSE: Disconnect the dial-up connection................................................................. 62 13.1.5 +ZPPPSTATUS: Dial-up connection status inquiry ................................................................ 62 13.1.6 +ZIPSETUP Set up the TCP connection to send data in the TCP way .................................... 63 13.1.7 +ZIPSETUPU Set up the TCP connection to send data in the UDP way ................................ 63 13.1.8 +ZIPCLOSEDisconnect the TCP connection ...................................................................... 63 13.1.9 +ZIPCLOSEUDisconnect the UDP connection................................................................... 64 13.1.10 +ZIPSENDSend data in the TCP channel.................................................................... 64 13.1.11 +ZIPSENDUSend data in the UDP channel ........................................................................ 64 13.1.12 +ZIPGETIPCapture the IP address of module............................................................. 65 13.1.13 +ZIPSTATUSInquire whether TCP socket is successfully connected or no................ 65 13.1.14 +ZPPPREDIALSet the interval of redialing after dropped.......................................... 65 13.2 +ZPKEEPALIVETurn on/off the function of keeping alive........................................................ 65 13.3 Indication list of asynchronous affair............................................................................................... 67 13.3.1 +ZIPRECV: Receive the data from TCP channel .................................................................... 67 13.3.2 +ZIPRECVU: Receive the data from UDP channel ................................................................ 67 13.3.3 +ZPPPSTATUS: Indicate the shift of connection .................................................................... 67 13.3.4 + ZTCPESTABLISHED: Indicate the connection with TCP .................................................. 68 13.3.5 + ZTCPCLOSED: Indicate the disconnection with TCP......................................................... 68 13.4 The error code list of written operation ........................................................................................... 68 11.9
Summary
ZTE CDMA modules provide AT command interface, through which users could conveniently communicate with external devices. AT Command Set provided by ZTE CDMA modules not only covers standard CDMA voice and data applications, but contains some commands according to GSM standard, as well as some ZTE exclusive commands which bring great conveniences to users.
1.1
Types of AT Commands
Since AT commands are being used as an interface, their returned value and format are fixed. Generally speaking, AT commands could be classified into four types: 1) Commands without parameters A type of simple commands, and the format is AT[+|&]<command>, e.g.: AT+CSQAT&V 2) Query Commands Used to inquire the current value set by the command, and the format is AT[+|&]<command>?,e.g.: AT+CNMI? 3) Help Commands Used to list the possible parameters of the command, and the format is AT[+|&]<command>=?,e.g.: AT+CMGL=? 4) Commands with parameters Commonly used commands providing great flexibility, and the format is AT[+|&]<command>=<par1>,<par2>,<par3> The returned value of this type of commands may vary differently according to different commands. The following will give a detailed description. The basic framework of the returned value is as below: <CR><LF><Response String><CR><LF> <CR><LF><OK/ERROR>[ERROR Information]<CR><LF>
1.2
AT Commands
The following describes the supported AT commands and returned descriptions: AT Command Format: AT commands are all started with AT and ended with <CR>. After the module runs, the default setting for the serial port is: 115200 bps, no parity bit, 8 data bits, and 1 stop bit. AT Command Returned Format: <Character string relating to AT commands><CR><LF> There are also exceptions, such as ATV0, ATQ1 AT Command Status Report (OKERROR): 1) If AT command format is wrong, the character string ERROR will return. 2) If extension error report (+CMEE) is enabled, the character string +CME ERROR: <Err> or +CMS ERROR: <SmsErr> and different err codes will return. 3) If AT commands execute successfully, the character string OK will return.
1.3
TERMS
ZTE CDMA Module AT Commands Specification modulation scheme for cellular communication systems. It has approximately 3 times the voice capacity of GSM networks. See IS-95, IS-95A, IS-95B, IS-2000. CDMA2000See IS-2000. DCE Data Communications Equipment. This is the modem in the traditional serial communication paradigm of a computer connected via two modems to another computer. DTEData Terminal Equipment. This is the computer in the traditional serial communication paradigm of a computer connected via two modems to another computer. DTMFDual Tone Multi-Frequency: A pre-defined set of tones sent over the air when keys are pressed on the keypad. ESNElectronic Serial Number Handset (Path): The audio path (microphone & speaker) that connects to a traditional hand held telephone receiver, usually dual balanced electrical lines. IMSIInternational Mobile Station ID. This is an international 15 digital phone number that uniquely identifies a mobile. IMSI = MCC + MNC + MIN. IS-95The first CDMA standard published by Qualcomm in 1993. IS-95AA CDMA standard with improved voice quality. This standard is widely used throughout the world. IS-95BThis CDMA standard contains Medium Data Rate capabilities and bug fixes for system access failures. It is considered a 2.5G system. IS-2000The first 3G CDMA standard based on IS-95B. It contains a significant increase in voice capacity and high-speed data rates. It is backward compatible with IS-95B and IS-95A. MCCMobile Country Code. A pre-defined 3-digital number that represents a country in the IMSI. MINMobile ID Number: The traditional 10 digit phone number of the mobile. MNCMobile Network Code. A pre-defined 2-digital number that represents a sub-network in the IMSI (usually set to 00). MSMobile Station. The term MS is commonly used to represent the phone or mobile. NIDNetwork ID. The NID is an identification number that represents geographic location of a common coverage area; but is a subset of the SID, usually a neighborhood in a large city. NID is usually not used and is set to zero. Also see SID. SIDSystem ID. The SID is an identification number that represents geographic location of a common coverage area, usually a large city. Also see NID. PSTNPublic Switching Telephone Network. The traditional telephone network. RSSIReceive Signal Strength Indicator: This parameter represents the total RF received signal power from the base station(s) the mobile sees. SMSShort Messaging Service: A supplement service that is capable of sending and receiving short length text messages to/from the mobile. V24-V25;V42A data compression algorithm.
2 2.1
2.2
2.3
OK
2.4
+CIMIRequest IMSI
This command is used to read and identify the IMSI (International Mobile Subscriber Identity) of the SIM card. The PIN may need to be entered before reading the IMSI. AT+CIMI AT+CIMI +CIMI460030916875923 OK
2.5
ZTE CDMA Module AT Commands Specification Description This command allows a melody to be played. All melodies are manufacturer defined. Ten manufacturer-defined melodies can be played back (in a loop). Note: Loop melodies must be stopped by a +CRMP command with the <index> field set to 0 (example: +CRMP=0,,,0). AT+CRMP=<call type>[,<volume>,<type>,<index>] AT+CRMP=0,2,0,2 Note: Play voice call melody index 2 with volume level 2. AT+CRMP=0,,,0 Note: Stop the melody. AT+CRMP=? Note: supported parameters Defined values OK
Syntax Demonstration
OK +CRMP: (0-3),(0-4),(0-0),(0-10) OK
<call type> 0 Incoming voice call 1 Incoming data call 3 Incoming fax call 4 Incoming short message (SMS) <volume> 0 Min volume (mute) 1 Default volume 4 Max volume <type> 0 Manufacturer Defined (default) <index> 0 Stop Melody Playbacks 1-10 Melody ID for voice/data/fax call type (default: 1)
2.6
Defined values
2.7
Description
ZTE CDMA Module AT Commands Specification Syntax Demonstration A/ AT+CSQ A/ +CSQ: 31, 99 OK +CSQ: 31, 99 OK
3 3.1
Description
Syntax Demonstration
3.2
DDial command
The ATD command is used to originate a voice, data or fax call. For a data or a fax call, the application sends the following ASCII string to the product: ATD<nb> where <nb> is the destination phone number. Note: ATD<nb> is followed by PPP negotiation. For a voice call, the application sends the following ASCII string to the product: ATD<nb>; The response to the ATD command is one of the following: OK 0 Command executed (voice)
Description
CONNECT<speed> 10 11 If the call succeeds, for data calls only, 12131415 <speed> takes the value negotiated by the product. BUSY 7 If the called party is already in Communication. If no hang up is detected after a fixed network time-out Call setup failed or remote user release. OK Note: Command executed. +ZCORG:34394036 Note: Voice call origination sent to Base Station. +ZCCNT:0,3 Note: Call Attempt ended. +ZCANS1
NO ANSWER8 NO CARRIER3 Syntax Demonstration ATD<nb>[;] ATD34394036 Note: Attempt a voice call.
ZTE CDMA Module AT Commands Specification ATD1001 Note: Example of a failed voice call attempt. OK Note: Command executed. +ZCORG:1001 Note: Voice call origination sent to Base Station. +ZCEND:3 Call Attempt failed.
Direct Dialing from a phonebook (stored in the RUIM card or NV) can be performed with the following command: ATD><index>; to call <index> from the selected phonebook (by the +CPBS command). ATD>Bill; to call Bill from the selected phonebook (by the +CPBS command). ATD>mem<index>; (mem is a phone book listed by the +CPBS=? Command) and <index> is a valid location from the phonebook. Syntax ATD><index>[<|>][;] ATD>[<mem>]<name>[<|>][;] ATD>[<mem>]<index>[<|>][;] AT+CPBS Note: Which phonebook is selected ATD>5; Note: Dial location #1 from ME phonebook. ATD>SM202; Note: Dial location 202 from the SIM(RUIM card) phonebook. ATD>Bill; Note: This command is NOT valid for MC,RC, and LD phonebooks as they are supported in CDMA networks. +CPBS: ME,11,100 OK Note: Command executed OK Note: Command executed +ZCORG:1001 +ZCEND:3 OK +ZCORG:1001 +ZCCCNT:3 OK +ZCORG:1001 +ZCCCNT:3
Demonstration
3.3
HHang-Up command
The ATH (or ATH0) command is used by the application to disconnect the remote user. In the case of multiple calls, all calls are released (active, on-hold and waiting calls). The specific ZTE ATH1 command has been appended to disconnect the current outgoing call, only in dialing or alerting state (i.e. ATH1 can be used only after the ATD command, and before its terminal response (OK, NO CARRIER, ...) It can be useful in the case of multiple calls. ATH ATH Note: Ask for disconnection. OK +ZCEND:10
Description
Syntax Demonstration
3.4
ZTE CDMA Module AT Commands Specification Description Syntax Demonstration This command is used by the application to redial the last number used in the ATD command. ATDL ATDL OK +ZCORG:1001 +ZCCNT:0,3
3.5
ATS0Automatic answer
This S0 (zero) parameter determines and controls the product automatic answering mode. ATS0=<value> ATS0=2 Note: Automatic answer after 2 rings. ATS0 Note: Current value. ATS0=0 Note: No automatic answer. OK
002 OK OK
Note
3.6
ATD1001; Note: Outgoing voice call while already in a call. AT+CEER Note: Ask for reason of release.
3.7
ZTE CDMA Module AT Commands Specification AT+CICB=2 Note: If no incoming bearer, force a voice call. AT+CICB Note: Interrogate value. AT+CICB= Note: Test command. Defined values <mode> 0: Data 1: Fax 2: Speech 3: Data once (10 minute timeout) 4: Fax once (10 minute timeout) OK
3.8
3.9
3.10
OK
ZTE CDMA Module AT Commands Specification AT+CMUT=0 Note: Mute OFF Defined values <Mode> 0: Microphones mute off (default value). 1: Microphones mute on. OK
3.11
+SPEAKER0 OK
Defined values
3.12
+ECHOEcho Cancellation
This command is used to enable, disable or configure the Echo Cancellation functions for voice calls. AT+ECHO=<mode> AT+ECHO=0 Note: Set Echo Cancellation Off AT+ECHO Note: Read current settings AT+ECHO=2 Note: Set Echo Cancellation to Headset OK +ECHO0 OK OK
Defined values
<mode> 0: Vocoder Echo Cancellation Off 1: Ear Seal Echo Cancellation 2: Head Set Echo Cancellation 3: AEC 4: Speaker Echo Cancellation for car kit operation 5: Default Echo Cancellation for current path settings
3.13
10
ZTE CDMA Module AT Commands Specification Defined values <val1> 0: SideTone is disabled 1: SideTone is enabled <val2> 0: No side tone 1: Handset Sidetone levels 2: Headset Sidetone levels 3: Max Sidetone level
3.14
3.15
+VTD 0-5,0-3 OK
Defined values
<ON> 0: 95 milliseconds 1: 150 milliseconds 2: 200 milliseconds 3: 250 milliseconds 4: 300 milliseconds 5: 350 milliseconds <OFF> 0: 60 milliseconds 1: 100 milliseconds 2: 150 milliseconds 3: 200 milliseconds
3.16
11
ZTE CDMA Module AT Commands Specification Description Syntax Demonstration This command enables tones to be transmitted. AT+VTS=<Tone> AT+VTS=# AT+VTS=11 AT+VTS=4AB <Tone>0-9,*,#ABCD OK OK OK
3.17
+ZSDTDTMF START
Starts a DTMF tone while in a call state (conversation). AT+ZSDT=<X> AT+ZSDT=2 Note: Starts DTMF tone. <X> 0-9,*,# OK
3.18
+ZSDSDTMF STOP
Stops a DTMF tone while in a call state (conversation) AT+ZSDS AT+ZSDS Note: Stops DTMF tone OK
3.19
Description
Syntax Demonstration
12
ZTE CDMA Module AT Commands Specification AT+ZFLSH Note: Send a flash to the Base Station (toggle to the second call). OK +ZFLSH Note: Flash sent to the Base Station. Call switches to the second call. However, this is not 100% guaranteed because the there is not confirmation from the Base Station. OK +ZCEND10 OK +ZCORG13316819064 +ZCCNT3 OK +ZFLSH OK +ZFLSH OK +ZFLSH OK +ZCEND10
ATH Note: Release the all calls. ATD13316819064 Note: Make a voice call. AT+ZFLSH=26010681 Note: Place first call on hold, connect to second party. AT+ZFLSH Note: All 3 parties now connected. AT+ZFLSH Note: Disconnect second party, connected to first party only. ATH
13
4 4.1
AT+CREG=
Defined values
<mode> 0: Disable network registration unsolicited result code (default) 1: Enable network registration unsolicited code result code +CREG: <stat> <stat> 0: not registered, MS is not currently searching for a new operator. 1: registered, home network. 2: not registered, MS currently searching for a base station. 4: unknown. 5: registered, roaming
14
4.2
Description
Syntax Demonstration
AT+CLCK="SC",1,1234 Note: Enable PIN AT+CLCK Note: Get status AT+CLCK="SC",0,55555 Note: Enter Incorrect PIN Code Defined values
<fac> SC : PIN1 enabled (<mode> = 1) / disabled (<mode> = 0) P2 : PIN2 enabled (<mode> = 1) / disabled (<mode> = 0) AO : BAOC (Barr All Outgoing Calls) AI : BAIC (Barr All Incoming Calls) <mode> 0: unlock the facility 1: lock the facility 2: query status
4.3
ZNFREQ 283 OK
15
ZTE CDMA Module AT Commands Specification Defined values <POS>: 0-3, see the frequency location as below: 0-Primary A 1-Secondary A 2-Primary B 3-Secondary B <FREQ>: Frequency Point
4.4
+CPWDChange PIN1/PIN2
This command is used by the application to change a password. (PIN1, PIN2). AT+CPWD=<fac>,<oldpwd>,<newpwd> AT+CPWD=SC,1234,5555 Note: Change UIM PIN1 AT+CPWD=SC,1234,5555 AT+CPWD Note: Get status OK +CME ERROR16 Note: PIN incorrect +CPWD:(SC,8),(P2,8) OK Note: PIN1 & PIN2 passwords are supported with 8 digit maximum
Defined values
4.5
Description
Syntax
Demonstration
Defined values
4.6
16
ZTE CDMA Module AT Commands Specification Description Syntax Demonstration This command allows control of the outgoing caller ID restriction supplementary service. AT+CLIR=<mode> AT+CLIR=1 AT+CLIR Note: Ask for current functionality Defined values OK +CLIR1 OK
<mode> 0: Outgoing Caller ID works normally, according to the subscription of the Caller ID service. 1: Outgoing Caller ID is restricted. The called party will see Restricted on their Caller ID display. Please note that this command works by automatically pre-pending a *67 to the outgoing dialing string. Thus, this command will only work on CDMA networks that recognizes a *67 to suppress outgoing caller ID.
4.7
+CCFCCall forwarding
This command allows control of the call forwarding supplementary service, if supported by the carrier. AT+CCFC=<number> AT+CCFC=26010681 Note: Register to an unconditional call forwarding AT+CCFC=0 Note: Cancel forwarding unconditional call +ZCORG:*7226010681 +ZCCNT:0,3 +ZCORG:*720 +ZCCNT:0,3
Defined values
4.8
+ZRMPRoam Preference
The Roam Preference of a CDMA module informs the MS whether it is allowed to roam on foreign CDMA networks or only allow operation on home networks. The determination of what is a foreign or home network is programmed into the PRL (Preferring Roaming List). This command simply enables or disables the capability of the MS to roam, based on the PRL configuration. After execution of the +ZRMP command, the MS may change roaming states. The unsolicited result +ZCROAM :< mode> will indicate the new state. AT+ZRMP=<mode> AT+ZRMP Note: Ask for current Mode Preference AT+ZRMP= +ZRMP: 0 OK +ZRMP 0-2 OK Note: Home, Affiliated, Any
Description
Syntax Demonstration
17
ZTE CDMA Module AT Commands Specification AT+ZRMP=0 Note: Allow Home only networks AT+ZRMP=1 Note: Allow Roaming Affiliated Networks AT+ZRMP=2 Note: Allow Roaming on Any Network Defined values OK +ZCROAM:0 OK +ZCROAM:1 OK +ZRMP2
<mode> 0: Home Networks only, as defined in the PRL (default value) 1: Roaming on Affiliated networks, as defined in the PRL 2: Roaming on Any Network, as defined in the PRL.
18
5 5.1
5.2
5.3
19
5.4
+CPINEnter PIN
This command is used to enter the ME passwords (CHV1 / CHV2 / PUK1 / PUK2, etc.), that are required before any ME functionality can be used. CHV1/CHV2 is between 4 and 8 digits long, PUK1/PUK2 is only 8 digits long. The application is responsible for checking the PIN after each reset or power on - if the PIN was enabled. AT+CPIN=<pin> AT+CPIN=1234 AT+CPIN=00000000,1234 Note: Enter PUK and new PIN AT+CPIN=12345678,1234 Note: Enter PUK and new PIN, 2ne attempt OK Note: PIN code is correct +CME ERROR16 Note: Incorrect PUK OK Note: PUK correct, new PIN stored
Description
Syntax Demonstration
Defined values
To ascertain which code must be entered (or not), the following query command can be used: AT+CPIN? The possible responses are: +CPIN: READY ME is not pending for any password +CPIN: UIM PIN CHV1 is required +CPIN: UIM PUK PUK1 is required +CPIN: UIM PIN2 CHV2 is required +CPIN: UIM PUK2 PUK2 is required +CPIN: PH-UIM PIN UIM lock (phone-to-UIM) is required +CPIN: PH-NET PIN Network personalization is required +CME ERROR: <err> SIM failure (13) absent (10) etc. Please note that in this case the mobile equipment does not end its response with the OK string. The response +CME ERROR: 13 (SIM failure) is returned after 10 unsuccessful PUK attempts. The SIM card is then out of order and must be replaced by a new one.
5.5
+CSQSignal Quality
This command is used to ascertain the received signal strength indication (RSSI) and the channel frame error rate (FER). AT+CSQ? AT+CSQ? +CSQ<RSSI>,<FER> OK
<RSSI> 0-31 valid value ranges. Exact meaning of the SQM (RSSI) shall be manufacturer defined.The lowest defined value is 0 and the highest is 31. <FER> 99not known or not detectable currently always returns 99.
20
5.6
+ZINDModule Indication
This command is used to set the indication of module informations: After being called by the terminal, indicate the status of ring; After start-up,the module can receive AT commands. AT+ZIND= <IndLevel> AT+ZIND=8 Note: Start-up the indication of module to port. OK
Description
<IndLevel> 2(bit-1): saved 4(bit-2): saved 8(bit-3): ready for receiving AT commands 16(bit-4): saved 32(bit-5): saved 64(bit-6): indicate the networking service is useable 128(bit-7): indicate network is lost If set <IndLevel> to 0, there isnt any indication.The <IndLevel> can also add up, such as: AT+ZIND=72 (8+64: networkingmodule status indication ). Defined value: 0-255.
5.7
+CCLKClock Management
This command is used to set or get the current date and time of the MS real-time clock. String format for date/time is: yy/MM/dd, hh:mm:ss. Valid years are 98 (for 1998) to 97 (for 2097). AT+CCLK AT+CCLK Note: Get current date and time AT+CCLK=04/02/09,18:34:23 +CCLK: 04/02/09,17:34:23.694
Description
Syntax Demonstration
OK
5.8
+CPIN2Enter PIN2
Description
This specific command is used to validate the PIN2 code (CHV2), or to validate the PUK2 code (UNBLOCK CHV2) and to define a new PIN2 code. Of course, the +CPIN command allows PIN2 or PUK2 codes to be validated, but only when the last command executed resulted in PIN2 authentication failure. PIN2 length is between 4 and 8 digits, PUK2 length is 8 digits only. AT+CPIN2=<pin2> AT+CPIN2=<puk2>,<NewPin2> AT+CPIN2=1234 AT+CPIN2=00000000,1234 Note: Enter PUK2 and new PIN2 OK +CME ERROR: 16
Syntax Demonstration
21
ZTE CDMA Module AT Commands Specification AT+CPIN2=12345678,1234 Note: Enter PUK2 and new PIN2, 2nd attempt Defined values OK
To ascertain which code must be entered (or not), the following query command can be used: AT+CPIN? The possible responses are: +CPIN: READY ME is not pending for any password +CPIN: UIM PIN2 CHV2 is required +CPIN: UIM PUK2 PUK2 is required +CME ERROR: <err> SIM failure (13) absent (10) etc.
5.9
Defined values
<n1>, <n2> are the attempts left for PIN1, PIN2 (0 = blocked, 3 max) <K1>, <K2> are the attempts left for PUK1, PUK2 (0 = blocked, 10 max) For this to work, the card should be present at the time of initialization, otherwise an error will be sent (+CME ERROR: 10).
5.10
Description
Syntax Demonstration
22
6 6.1
<cbn> Call Back Number <da> Destination Address <dcs> Data Coding Scheme, coded like in document [5]. <dt> Discharge Time in string format : yy/MM/dd,hh :mm :ss(Year [00-99], Month [01-12], Day [01-31], Hour, Minute, Second <encod> Encoding <fo> First Octet, coded like SMS-SUBMIT first octet in document [4], default value is 17 for SMS-SUBMIT <index> Place of storage in memory. <lang> Language <mem1> Memory used to list, read and delete messages (+CMGL, +CMGR and +CMGD). <mem2> Memory used to write and send messages (+CMGW, +CMSS). <mid> CBM Message Identifier. <mr> Message Reference. <oa> Originator Address. <pid> Protocol Identifier. <priority> Message Priority <ra> Recipient Address. <sca> Service Center Address <scts> Service Center Time Stamp in string format : yy/MM/dd,hh :mm :ss (Year/Month/Day,Hour:Min:Seconds) <sn> CBM Serial Number <st> Status of a SMS-STATUS-REPORT (see section 17.7 for possible values) <stat> Status of message in memory. <tooa> Type-of-Address of <oa>. <tora> Type-of-Address of <ra>. <tosca> Type-of-Address of <sca>. <total1> Number of message locations in <mem1>. <total2> Number of messages locations in <mem2. <ts> Timestamp for MT SMS. <used1> Total number of messages locations in <mem1>. <used2> Total number of messages locations in <mem2. <vp> Validity Period of the short message, default value is 167
6.2
+CSMSSelect message service The supported services are originated (SMS-MO) and terminated short message (SMS-MT) + Cell Broadcast Message (SMS-CB) services.
Description
23
+CSMS: <MO>,<MT>,<CB> OK
<MO> 0: Mobile Originated SMS not supported. 1: Mobile Originated SMS supported. <MT> 0: Mobile Terminated SMS not supported. 1: Mobile Terminated SMS supported. <CB> 0: Broadcast SMS not supported. 1: Broadcast SMS supported.
6.3
Description
This command allows reception of a new message routed directly to the TE to be acknowledged. In TEXT mode, only positive acknowledgement to the network (RP-ACK) is possible. Acknowledge with +CNMA is possible only when a +CMT or +CDS indication is shown (see +CNMI command). Note: This AT command is not designed for inputting the command in the Hyper terminal by hand, since the acknowledgement will not be quick enough to be received by the network. However, it is possible that client system automatically sends this command when the +CNMI is set to 2, 2, 0, 0, 0. AT+CNMA Syntax Demonstration AT+CNMI=2,2,0,0,0 OK +CMT:8587351530,02/04/03,11 :06 :38,129,7,0<CR><LF> Testing Note: message received AT+CNMA OK Note: acknowledge Note: send positive acknowledgement to the network the message received AT+CNMA +CMS ERROR340 Note: try to Note: no +CNMA acknowledgment expected acknowledge again 6.4 +CSDHShow text mode parameters
This command gives additional information on text mode result codes. Description AT+CSDH Syntax +CSDH0 Demonstration AT+CSDH OK 6.5 +CPMSPreferred Message Storage
24
This command allows the message storage area to be selected (for reading, writing, etc). AT+CPMS=<mem1>,[<mem2>] Syntax +CPMS: (MT,BC,SR, MO),(MO) Demonstration AT+CPMS= Note: Possible message OK storages AT+CPMS +CPMS: MT,3, 30,MO,3,30 Note: Read OK AT+CPMS=BC +CPMS:0,30,3,30 OK Defined values <mem1>: Memory used to list, read and delete messages. It can be: -MT: SMS Mobile Terminated message storage in NV (default) -BC: CBM message storage in NV. -SR: Status Report message storage in NV. <mem2>: Memory used to write and send messages - MO: Mobile Originated SMS message storage. If the command is correct, the following message indication is sent: +CPMS: <used1>,<total1>,<used2>,<total2>. When <mem1> is selected, all following +CMGL, +CMGR and +CMGD commands are related to the type of SMS stored in this memory. Description 6.6 +CNMINew message indication
This command selects the procedure for message reception from the network. Description AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr> Syntax +CMTI : MT,1 Demonstration AT+CNMI=2,1,0,0,0 <mt>=1 Note: message received AT+CNMI=2,2,0,0,0 +CMT : 8585551212,98/10/01,12 :30 <mt>=2 00,129,1,2,5,0<CR><LF> Hello AT+CNMI=2,0,0,1,0 OK <ds>=1 AT+CMGS=13316538879<CR> +CMGS : 7 OK Message to send <ctrl-Z> Note:Send a message in text mode +CDS : 2,2,13316538879,129, 98/10/01,12 :30 :07,98/10/01 12 :30 :08, 32768 Note: message was correctly delivered
25
Defined values
<mode>controls the processing of unsolicited result codes Only <mode>=2 is supported. Any other value for <mode> (0,1 or 3) is accepted (return code will be OK), but the processing of unsolicited result codes will be the same as with<mode>=2. 0: Buffer unsolicited result codes in the TA. If TA result code buffer is full, indications can be buffered in some other place or the oldest indications may be discarded and replaced with the new received indications 1: Discard indication and reject new received message unsolicited result codes when TA-TE link is reserved. Otherwise forward them directly to the TE 2: Buffer unsolicited result codes in the TA when TA-TE link is reserved and flush them to the TE after reservation. Otherwise forward them directly to the TE 3: Forward unsolicited result codes directly to the TE. TA-TE link specific in band used to embed result codes and data when TA is in on-line data mode <mt>sets the result code indication routing for SMS-DELIVERs. 0: No SMS-DELIVER indications are routed. 1: SMS-DELIVERs are routed using unsolicited code: +CMTI: MT,<index> 2: SMS-DELIVERs (except class 2 messages) are routed using unsolicited code:+CMT: <oa>, <scts>, <tooa>, <lang>, <encod>, <priority> [, <cbn>], <length><CR><LF><data> (textmode) <bm>sets the result code indication routing for received CBMs (Cell Broadcast Message). 0: No CBM indications are routed to the TE. The CBMs are stored. 1: The CBM is stored and an indication of the memory location is routed to the customer application using unsolicited result code: +CBMI: BC, <index> 2: New CBMs are routed directly to the TE using unsolicited result code (format matches that of +CBM : <oa>,[<alpha>,] <scts> [,<tooa>, <length>] <CR><LF><data> (text mode) <ds>for SMS-STATUS-REPORTs. 0: No SMS-STATUS-REPORTs are routed. 1: SMS-STATUS-REPORTs are routed using unsolicited code : +CDS : <fo>,<mr>, [<ra>] ,[<tora>], <scts>,<dt>,<st> (Text mode) 2: SMS-STATUS-REPORTs are stored and routed using the unsolicited result code: +CDSI:SR, <index> <bfr>Default is 0. 0: TA buffer of unsolicited result codes defined within this command is flushed to the TE when <mode> 13 is entered (OK response shall be given before flushing the codes) 1: TA buffer of unsolicited result codes defined within this command is cleared when<mode> 13 is entered.
26
6.7
+CMGRRead message This command allows the application to read stored messages. The messages are read from the memory selected by +CPMS command. AT+CMGR=<index> +CMGR :< stat>, <oa>, <scts>, <lang>, <encod>, <priority> [, <cbn>] <CR><LF> <data>(for SMSDELIVER only) +CMGR : <stat>,<da>,<dt>,<lang>,<encod><priority>[,<cbn>]<CR><LF> <data> (for SMS-SUBMIT only) +CMGR : <stat>,<mr>,<scts>,<dt>,<st> (for SMS-STATUS-REPORT only) A message read with status REC UNREAD will be updated in memory with the status RECREAD. Note: the <stat> parameter for SMS Status Reports is always READ. +CMTI: MT,1 Note: New message received AT+CMGR=1 +CMGR:"RECUNREAD","13352930000","04/02/25 Note: Read the message ,12 :58 :04",1,2,0 ABCD OK AT+CMGR=1 +CMGR:"REC READ","13352930000","04/02/25,12 :58 :04",1,2,0 ABCD OK <stat>: Status of message in memory. <oa> : Origination Address Value in string format. <scts>: Service Center Time Stamp in string format <lang>: Language. <encod>: Encoding <priority>: Message priority: 0 NORMAL 1 INTERACTIVE 2 URGENT 3 EMERGENCY <cbn>: Call Back Number
Description Syntax
Demonstrati on
Defined values
6.8
+CMGLList message This command allows the application to read stored messages, by indicating the type of the message to read. The messages are read from the memory selected by the +CPMS command.
AT+CMGL=<stat> +CMGL : <index>, <stat>, <da/oa>, <lang>, <encod> <CR><LF><data> (for SMS-DELIVER and SMS-SUBMIT, may be followed by other <CR> <LF> +CMGL:<index> ) +CMGL : <index>,<stat>,<fo>,<mr>,<scts>,<dt>,<st> (for SMS-STATUS-REPORT only, may be followed by other <CR><LF>+CMGL:<index>)
Description
Syntax
27
ZTE CDMA Module AT Commands Specification Demonstration AT+CMGL=ALL +CMGL:0,"REC READ","13352930077",6,4 _ g:fZpN$N*\ eO`[NN UJ +CMGL:1,"REC UNREAD","13352916156",6,4 b N +CMGL:2,"REC UNREAD","13316538879",6,4 N-Qt +CMGL:3,"REC UNREAD","13316538879",6,4 N-Qt +CMGL:4,"REC UNREAD","13352930036",6,4 Nh7h7 +CMGL:5,"REC UNREAD","13352916156",6,4 v OK +CMGL:1,"REC UNREAD","13352916156",6,4 b N +CMGL:2,"REC UNREAD","13316538879",6,4 N-Qt +CMGL:3,"REC UNREAD","13316538879",6,4 N-Qt +CMGL:4,"REC UNREAD","13352930036",6,4 Nh7h7 +CMGL:5,"REC UNREAD","13352916156",6,4 v OK
AT+CMGL=UREAD
Defined values
UREAD received unread messages READ received read messages USENT stored unsent messages SENT stored sent messages ALL all messages Note: For SMS Status Reports, only ALL and READ values of the <stat> parameter will list messages; other values will only return OK.
6.9
+CMGSSend message
28
ZTE CDMA Module AT Commands Specification Description The <address> field is the address of the terminal to which the message is sent. To send the message, simply type, <ctrl-Z> character (ASCII 26). This command can be aborted using the <ESC> (ASCII 27) character when entering text.The <length> parameter is optional, it is used to set the length of the text string. The command will only process the number of bytes as specified by <length> regardless of whether it contains <ctrl-Z>, <ESC>, or <backspace> characters. The<priority> and <cbm> parameters are optional, and are used to set message priority and call back number. Default message priority is NORMAL, and call back number is not included in the message unless it is specified using this optional field. AT+CMGS= <da> [ ,<length> ] [,<priority>][,<cbn>] <CR> Text is entered <ctrl-Z / ESC > AT+ZMSGL=1,2 AT+CMGS=13316538879<CR> ABC<ctrl-Z> OK +CMGS:4 OK +CDS:2,4,"13316538879",129,"04/02/26, 11 :14 :50","04/02/26,11 :14 :54",32768 CNMI=2,1,1,1,0
Syntax Demonstration
Defined values
<da> : Destination Address Value in string format. <length> : Length of the text message (in bytes). <priority>: Message priority: NORMAL INTERACTIVE URGENT EMERGENCY <cbn>: Call Back Number
6.10
Description
Syntax Demonstration
29
ZTE CDMA Module AT Commands Specification Defined values <oa/da>: Originating or Destination Address Value in string format. <Length>: Length of the text message (in bytes). <Priority>: Message priority: 0 NORMAL 1 INTERACTIVE 2 URGENT 3 EMERGENCY <cbn>: Call Back Number
6.11
+CMSSSend Message From Storage This command sends a message stored at location value <index>.
AT+CMSS=<index>[,<da> [,<toda>]] +CMSS : <mr> +CMS ERROR: <err> If a new recipient address <da> is given, it will be used instead of the one stored with the message. Q AT+CMGW=13316538879<CR> ABC<ctrl-Z> AT+CMSS=2,13316538879 Note: Send the message 2 to a different destination number +CMGW:2 OK +CMSS:1 OK +CDS:2,1,"13316538879",129,"04/02/26, 17 :00 :14","04/02/26,17 :00 :17",32768 CNMI=2,1,1,1,0 Note: Successful transmission +CMSS:2 OK +CDS:2,2,"13316538879",129,"04/02/26, 17 :04 :24","04/02/26,17 :04 :29",32768 CNMI=2,1,1,1,0
Description
Syntax
Demonstration
AT+CMSS=2
6.12
+CMGDDelete message
This command is used to delete one or several messages from preferred message storage. AT+CMGD=<Index>[,<DelFalg>] AT+CMGL="all" +CMGL:0,"REC READ","8591",0,4 y^T k"`geR0y^!Yg`R^[,b10191, +CMGL:1,"REC READ","128",0,4 S CBA9806RQeCBATv +CMGL:2,"STO SENT","13316538879",6,4 ABC +CMGL:3,"STO UNSENT","13316538879",6,4 N-Qt OK
30
ZTE CDMA Module AT Commands Specification AT+CMGD=3 Note: Delete message 3 AT+CMGD=1,4 Note: Delete all messages AT+CMGL="all" Defined values OK OK OK
<index> 0-9 when the preferred message storage is BC. Integer type values in the range of location numbers of Message memory when the preferred message storage is MT or SR. <DelFlag> 0 Delete message at location <index> 1 Delete All READ messages 2 Delete All READ and SENT messages 3 Delete All READ, SENT and UNSENT messages 4 Delete All messages. Note: when the preferred message storage is SR, as SMS status reports are assumed to have a READ status, if <DelFlag> is greater than 0, all SMS status reports will be deleted.
6.13
Defined values
6.14
Description
Syntax Demonstration
31
Defined values
<ts> 0: Original Time Stamp of the received MT SMS 1: Time of arrival GMT Time 2: Time of arrival Local Time
32
7 7.1
Defined values
7.2
Description
Syntax Demonstration
Defined values
for normal voice calls for all types of data calls for all types of fax calls for OTAPA calls for markov, loopback, and test calls for unknown/undefined calls types
7.3
Defined values
0 Traffic Channel not released during inactivity periods. 1-255 Release the Traffic Channel after <value> 1-second intervals have elapsed since last sending or receiving RLP data frames on the Um interface.
33
8 8.1
When in the autobaud mode, the supported auto baud rate is up to 19200. User needs to set the speed rate specifically if it is more than 19200.
8.2
Defined values
<format> 0: Autodetect 1: 8 Data 2 Stop 2: 8 Data 1 Parity 1 Stop 3: 8 Data 1 Stop 4: 7 Data 2 Stop 5: 7 Data 1 Parity 1 Stop 6: 7 Data 1 Stop <parity> 0: Odd 1: Even 2: Mark 3: None Note Rm interface is supported at 8 data bits, No Parity, 1 stop bit. ERROR returned for other formats.
8.3
34
ZTE CDMA Module AT Commands Specification Description Syntax Demonstration This command is used to control the operation of local flow control between the TE2 and the MT2 AT+IFC=<n1>,<n2> AT+IFC? AT+IFC=? AT+IFC=0,0 Defined values +IFC: 2,2 OK +IFC: (0-3),(0-2) OK OK
< n1> 0: none (supported) 1: Xon/Xoff local circuit 103 (not supported) 2: RTS (supported) 3: Xon/Xoff global on circuit 103 (not supported) < n2> 0: none 1: Dc1/DC3 on circuit 104 2: Circuit 106
8.4
Defined values
8.5
OK
8.6
Description
35
ZTE CDMA Module AT Commands Specification you to return to online data mode. Syntax Demonstration Defined values ATO ATO NO CARRIER OK
8.7
Defined values
8.8
Defined values
8.9
&T: Auto-tests
AT&T1 is used to perform audio loop back in the current audio path. This command can be used to validate the audio loop. AT&T<num> AT&T1 Note: Audio loopback is on. AT&T2 Note: Audio loopback is off. OK OK
Defined values
<num> 0 not defined returns OK 1 Audio loopback on for current path 2 Audio loopback is off.
8.10
E: Echo
This command is used to determine whether or not the modem echoes characters received by
Description
36
ZTE CDMA Module AT Commands Specification an external application (DTE). Syntax Demonstration ATE ATE0 Note: Characters are not echoed ATE1 Note: Characters are echoed Defined values OK OK
8.11
ATI3
ATI6
Defined values
37
8.12
8.13
&WSave Configuration
This command writes the current configuration to NV. AT&W AT&W OK +CRSL +ATS0 +CICB +VGT +VGR +SPEAKER +ECHO +SIDET +VTD +CLIP +ZIND +CMEE +FCLASS +CRC +ZSVG +ZRIM +ZCDM +ZAIP
38
9 9.1
9.2
9.3
39
9.4
9.5
9.6
9.7
+COPSMode Preference
This unsolicited command indicates a change in mode preference has taken place. +COPS: <mode> AT+COPS=0 Note: Ask for Automatic mode AT+COPS=1 Note: Ask for PCS mode AT+COPS=2 Note: Ask for Cellular mode OK +COPS:0,0 OK +COPS:1,0 OK +COPS:2,0 +COPS:5 Note: emergency mode
9.8
40
ZTE CDMA Module AT Commands Specification Defined values <stat> 0: not registered, MS is not currently searching for a new operator. 1: registered, home network. 2: not registered, MS currently searching for a base station. 4: unknown. 5: registered, roaming
9.9
+CRINGIncoming Call
11.9.1 Description: This unsolicited command indicates an incoming call. See +CRC, section 9.3 for information about enabling this result. +CRING: <Type> +CRING:VOICE +CRING:DATA +CRING:FAX +CRING:OTAPA +CRING:TEST +CRING:UNKNOWN for normalvoice calls for all types of data calls for all types of fax calls for OTAPA calls for markov, loopback, and test calls for unknown/undefined calls types
Description
Syntax Demonstration
9.11
+RINGIncoming Call
This unsolicited command indicates an incoming call. +RING +RING +RING Note: Incoming Call
41
9.12
+ZCANSCall Answered
This unsolicited command indicates that a voice call has been answered. +ZCANS:<call type> +RING ATA OK +ZCANS:0 Note: Incoming call answered +ZCCNT:0,3 <call type> 0: incoming call 1: outgoing call answered by other party (only available on networks supporting answering supervision for payphone applications)
Defined values
Syntax Demonstration
42
9.15
+ZCENDCall Ended
This unsolicited command indicates that a voice call or attempt to establish a voice call has ended. +ZCEND: <reason> ATD18005551212; OK +ZCORG:18005551212 +ZCCNT:0,3 OK +ZCEND:10 OK +ZCORG:18005551212 +ZCEND:3
ATH ATD18005551212;
Defined values
<reason> 0: phone is offline 20:phone is CDMA locked until power cycle 21:phone has no service 22:Call has ended abnormally 23:received intercept from BS 24:received reorder from BS - orig only 25:received release from BS - no reason given 26:received release from BS - SO reject 27: received incoming call from BS 28:received alert stop from BS - incom only 29:client ended the call 30:received end activation - OTASP call only 31:MC aborts the origination/conversation 34:RUIM is not present 99: NDSS failure 157:connection setup timeout
9.16
+ZFLSHFlash indication
This unsolicited command confirms that a flash has been sent to the base station. See +ZFLSH command, section 3.23, for more information on using flash commands. +ZFLSH AT+ZFLSH OK +ZFLSH
43
ZTE CDMA Module AT Commands Specification Note: General indication that AT commands are read to be accede Defined values <event> 0: R-UIM not present 1: R-UIM present 2: Reserved 4: Reserved 8: Product is ready to process all AT commands 16: Reserved 32: Reserved 64: The network service is available for an emergency call. 128: The network is lost. 256: Reserved 512: Reserved
9.18
+ZCORGCall Originated
This unsolicited command indicates that an attempt to establish a voice call has occurred. +ZCORG:<number> ATD18005551212; OK +ZCORG:18005551212 +ZCCNT:0,3 OK
Defined values
9.19
9.20
+ZCROAMRoaming indication
This unsolicited command indicated roaming status has changed. +ZCROAM: <roam> +ZCROAM:1 <roam> 0: Home. 1: Roam Icon ON (affiliated network) 2: Roam Icon Blink (foreign network)
44
ZTE CDMA Module AT Commands Specification Description This command indicates that the SMS Service Center has attempted to send an SMS message but it was rejected because SMS Message Storage is Full. No new SMS will be received until some room is created by deleting old messages from SMS storage. Message deletion can be done using AT+CMGD. +ZMGF +ZMGF Note: Incoming message rejected.
Syntax Demonstration
45
10.2
+ZTONEPlay tone
This specific command allows a tone to be played on the current speaker or on the buzzer. Frequency, volume and duration can be set. AT+ZTONE=<mode>[,<dest>,<freq>,<volume>,<duration>] OK or ERROR AT+ZTONE=1,1,300,2,50 Note: Play a tone AT+ZTONE? Note: Current value AT+ZTONE=? Note: Test command AT+ZTONE=0 Note: Stop playing OK +ZTONE: 1,1,300,2,50 OK +ZTONE: (0-1),(1-1),(1-4000),(0-4),(0-50) OK OK
Defined values
<mode> 0: Stop playing. 1: Play a tone <dest> 1Speaker <Freq> This parameter sets tone frequency (in Hz) (mandatory if <mode>=1). The range is between 1 and 4000Hz. However, for handset and a person to hear, the effective range may be 150-4000Hz. <volume> 0~XThis parameter sets the tone volume. The default value is 1. <duration> 0~50 This parameter sets tone duration (unit of 100 ms). When this parameter is equal to 0 (default value), the duration is infinite, and the tone can be stopped by AT+ZTONE=0.
10.3
46
ZTE CDMA Module AT Commands Specification Description This specific command allows a DTMF tone to be played on the current speaker. DTMF,volume and duration can be set. This command is only used to play a DTMF tone. To send a DTMF over the CDMA network, use the +VTS command. AT+ZDTMF=<mode>[,<dtmf>,<volume>,<duration>] OK or ERROR AT+ZDTMF=1,*,2,10 Note: Play a DTMF tone AT+ZDTMF? AT+ZDTMF=0 Note: Stop playing AT+ZDTMF=? Note: Test command Defined values OK +ZDTMF: 1,*,2,10 OK ERROR
Syntax Demonstration
<mode> 0: Stop playing. 1: Play a DTMF tone <dtmf> This parameter sets the DTMF to play in {0-9,*,#,A,B,C,D} (mandatory if <mode>=1) <volume> 0~XThis parameter sets tone gain. <duration> This parameter sets the tone duration (unit of 100 ms). When this parameter is 0 (default value), the duration is infinite, and the DTMF tone can be stopped by AT+ZDTMF=0.
10.4
Defined values
10.5
+ZSTRStatus Request
This specific command returns some operation status. AT+ZSTR=<status>
Description Syntax
47
ZTE CDMA Module AT Commands Specification +ZSTR: <status>,<value> Demonstration AT+ZSTR=1 Note: Select the status 1 (INIT SEQUENCE) AT+ZSTR=2 Note: Select the status 2 (NETWORK STATUS) AT+ZSTR=? Note: Ask the list of possible values Defined values <status> 1 Initialization sequence <value> 0: Not started 1: On going 2: Finished <status> 2 Network status 0: No network 1: Network available +ZSTR: 1,2 OK +ZSTR: 2,1 OK +ZSTR: (1-2)
10.6
Description
Syntax Demonstration
Defined values
10.7
Description
Syntax
48
ZTE CDMA Module AT Commands Specification Demonstration AT+ZDSLEEP=1 Note: Enable sleep mode AT+ZDSLEEP=0 Note: Disable sleep mode Defined values <mode> 0: Disable sleep mode 1: Enable sleep mode OK OK
10.8
Description
Syntax Demonstration
Defined values
<melody> 0: No melody (default) 110: Melody 1 to 10 <player> 0: Melody will be played on the buzzer for any new incoming voice call. 1: Melody will be played on the speaker for any new incoming voice call.
10.9 +ZRSTReset
Description Syntax Demonstration This specific command allows to reset the module after the time specified by the second parameter. AT+ZRST =<Mode>,<Delay> +ZRST: <Mode>,<Delay>,<RemainTime> AT+ZRST=? AT+ZRST=0 AT+ZRST=1,001:03 Enable timer and put delay at 1 hour 3 minutes AT+ZRST? Defined values <val1> ERROR OK OK
+ZRST: 1,001:03,001:02 OK
49
ZTE CDMA Module AT Commands Specification 0: timer reset is disabled 1: timer reset is enabled <delay> specify the time for reset 000:00- 199:59 <RemainTime> time before next reset 000:00- 199:59
Syntax
Defined values
level>
50
ZTE CDMA Module AT Commands Specification AT+ZPIN? AT+ZPIN=2,1111,5555 Note: Change the security PIN code from 1111 to 5555 AT+CSQ? +ZPIN: 1 OK OK
+CME ERROR: 44 Note: Module is locked, only ATD & +ZPIN commands will be accepted +CME ERROR: 44 Note: Module is locked, only ATD & +ZPIN commands will be accepted OK
ATD8585551212;
AT+ZPIN=0,5555 Note: Disable the security PIN Defined values <mode> 0 Disable PIN 1 Enable PIN 2 Changes PIN <current val>&<new val> 0000-9999
Syntax Demonstration
Syntax Demonstration
51
ZTE CDMA Module AT Commands Specification Note: Uptime = 1029 seconds Call Time = 45670 seconds Call Count = 289 calls
Syntax Demonstration
Defined values
<mode> 0: One shot requested 1: Automatic shots requested 2: Stop automatic shots <requested dump> 1Main Cell: band class, Channel #, SID, NID, Base Station P Rev,Pilot PN offset, Base Station ID,Slot cycle index, Raw Ec/Io, Rx power, Tx power, Tx Adj 2: Neighbor1 to Neighbor20 (max) : First parameter is the number of neighbors. Following parameters: Neighbor1 band class, Neighbor1 Pilot PN, Neighbor1 frequency assignment, eighbor2 Pilot PN, Neighbor2 band class, Neighbor2 frequency assignment 4: Timing Advance: Always zero for CDMA 8: Main cell RSSI indications (RxLev) from 0 to 31 The response will be a +CSQ response and not a +ZCED response
52
ZTE CDMA Module AT Commands Specification Description Syntax Demonstration This command gets the raw value of the ADC conversion. Six ADC read values are pecified: VBATT, THERM, HDET, ADC_0, ADC_1, ADC_CHG_MON. AT+ADC=<item> AT+ADC=0 AT+ADC=1 AT+ADC= AT+ADC Defined values <item> 0: VBATT 1: THERM 2: HDET 3: ADC_0 4: ADC_1 5: ADC_CHG_MON +ADC: 185 OK +ADC: 238 OK +ADC: (0-5) +ADC: 1 OK
53
11
In this chapter, the AT commands are used to operate on mobile phone book. Note: The phone book SM is only supported in the RUIM capable module.
11.1
Description
Syntax Demonstration
AT+CPBF=<CR>ZTEiT<Ctrl-Z> 41 54 2B 43 50 42 46 3D 0D 5A 54 45 69 54 1A
11.2
+CPBPPhonebook search
This searches the currently selected phonebook for a phone number match and returns it if found. AT+CPBP= <phone number> AT+CPBP=8585551212 Note: Find8585551212 in current honebook if it exiss. AT+CPBP=123 +CPBP=1,8585551212,145,Full Book OK +CME ERROR: 22
11.4
Description Syntax
54
ZTE CDMA Module AT Commands Specification Demonstration AT+CPBS=EN AT+CPBS=? AT+CPBS? Defined values OK +CPBS: ("ME","MC","LD","RC","EN") +CPBS: EN,0,10 OK
<bk> SM: ADN (RUIM phonebook) LD: LND (combined RUIM and ME last dialed phonebook) EN: EN (ME NV emergency numbers) MC: MSD (ME missed calls list) ME: ME (ME NV phonebook) MT: MT (combined ME and RUIM phonebook) RC: LIC (ME received calls list)
11.5
Defined values
<bk> 0:ME (Module Memory) 1:MC (Missed Calls) 2:LD (Last 10 Dialed Calls) 3:RC (Received Calls) 4:EN (Emergency Numbers) 5:SM (RUIM Card Phonebook) 6:MT (Module Phonebook and UIM Card Phonebook)
11.6
11.7
Description Syntax
55
ZTE CDMA Module AT Commands Specification Demonstration AT+CPBW=10,"88888888888",145,<CR>ZTEiT< Ctrl-Z> 41 54 2B 43 50 42 57 3D 31 30 2C 22 38 38 38 38 38 38 38 38 38 38 38 22 2C 31 34 35 2C 0D 5A 54 45 69 54 1A AT+CPBW=0,"88888888888",145,<CR> ZTEiT< Ctrl-Z> AT+CPBW=10,"88888888888",145, ZTEiT +CPBW:010 OK AT+CPBW=0,"88888888888",145, ZTEiT +CPBW:001 OK
Defined values
<index> Integer value for currently selected phonebook. <phone> number> Phone number is in ASCII format. Valid characters are 0-9 and *, #, -. <TON/NPI> Type of address in integer form. The MSB of this will always be set high. <text string> Any text string.
11.8
Defined values
11.9
Defined values
<call phonebook>: LD MC RC
56
12 12.1
46
12.2
<er> 1 to 127 301
57
ZTE CDMA Module AT Commands Specification 302 303 304 305 310-318 321 322 330 340 341 Operation not allowed Reserved Invalid mode parameter Invalid text mode parameter Reserved Invalid memory index Reserved Reserved No +CNMA acknowledgement expected Non Volatile Memory failure +CNMA All SMS commands +CMGR,+CMGD,+CMSS +CMGS,+CMGW +CMGS,+CMGW,+CMSS All SMS commands
12.3
12.4
Cause value 0 1 2 3 4 5 6 7 8 9 10 11
12.5
Verbose result code +CME ERROR<err> +CMS ERROR<err> BUSY ERROR NO ANSWER
58
ZTE CDMA Module AT Commands Specification NO CARRIER OK RING 3 0 2 Connection terminated Acknowledges correct execution of a command line Incoming call signal
12.6
Verbose result code +COLP<number><type> +CR<type> +ILRR<rate> CONNECT 300 CONNECT 1200 CONNECT 1200/75 CONNECT 2400 CONNECT 4800 CONNECT 9600 CONNECT 14400 +CSSI<code>[,<index>]
12.7
Parameters Storage
AT&W X X E2save AT&F X X X X X X X X X X X x(n.0 m) x X X X X X X X X X X X X x 0,0 0 0 0 Default CDMA 0 1 0 0 no auto answer 2 3 2 1 5 Values
Call control commands %D ATS0 +CICB +VGR +VGT +SPEAKER +ECHO +SIDET Network commands +COPS +CREG SMS commands +CSDH +ZMSGU
59
ZTE CDMA Module AT Commands Specification Supplementary service commands +CLIP Data commands +CRC +DS +DR +FCQ +FCR +IPR +ICF +IFC V24-V25 commands E &C &D Phonebook ZAIP X 1 X X X 1 2 2 X X X X X X X X x x x X X 115200 3,3 2,2 0 0 X X 1
12.8
<st>
Network Problems IS-41D 0 1 2 3 4 5 Terminal Problems 32 33 34 35 36 37 38 39 Radio Interface Problems (IS-41D) 64 65 66 General problems (IS-41D)
60
ZTE CDMA Module AT Commands Specification 96 97 98 99 100 101 102 103 104 105 106 107 General codes (Not defined in IS-41D) 32768 32769 32770 32771 32772 32773 32774 32775 32776 32777 SMS OK. Message successfully delivered to base station Waiting for transport layer acknowledgment Out of resources (e.g. out of memory buffer) Message to large to be sent over access channel Message to large to be sent over data traffic channel Network not ready Phone not ready Cannot send message in analog mode Cannot send broadcast message Invalid transaction id Unexpected parameter size SMS Origination denied SMS Termination denied Supplementary service not supported SMS not supported Reserved Missing expected parameters Missing mandatory parameters Unrecognized parameter value Unexpected parameter value User data size error Other General problems
12.9
# list 1 2 3 4 5 6 7 8
61
13 TCP/IP AT COMMANDS 13.1 13.1.1 TCP/IP Unsolicited AT commands +ZPNUMData service inquiry mumber setting
This command is used to set the number for data service inquiry AT+ZPNUM=<NUM> AT+ZPNUM? AT+ZPNUM=#777 Setting the data service number AT+ZPNUM? Inquire the data service number Defined values <NUM>data service number OK AT+ZPNUM:#777
13.1.4
62
ZTE CDMA Module AT Commands Specification Syntax Demonstration AT+ZPPPSTATUS AT+ZPPPSTATUS AT+ZPPPSTATUS +ZPPPSTATUS:CLOSED Note: Dial-up connection is closed +ZPPPSTATUS:OPENED Note: Dial-up connection is open
13.1.6 +ZIPSETUP Set up the TCP connection to send data in the TCP way
Description Syntax Demonstration Set up the TCP connection to send data in TCP AT+ZIPSETUP=<SOCKET_NUM>,<IP>,<PORT> AT+ZIPSETUP? AT+ZIPSETUP=1,10.10.1.1,5600 Note: connect to 1,10.10.1.1,5600 with socket port 1 AT+ZIPSETUP? Note: Feed back the idle socket port Defined values OK +ZIPSETUP:0,2 Note: possible values: 0,2
<SOCKET_NUM>: The values of socket port numbers: 0, 1, and 2 <IP>: Server address <PORT>: Ports connected to the server
13.1.7
+ZIPSETUPU Set up the TCP connection to send data in the UDP way
Set up the UDP connection to send data in UDP AT+ZIPSETUPU=<SOCKET_NUM>,<IP>,<PORT> AT+ZIPSETUPU? AT+ZIPSETUPU=1,10.10.1.1,5600 Note: connect to 10.10.1.1:5600 with socket port 1 AT+ZIPSETUPU? Note: Feed back the idle socket port OK +ZIPSETUPU:0,2
Defined values
<SOCKET_NUM>: The values of socket port numbers: 0, 1, 2, and 3 <IP>: Server address <PORT>: Ports connected to the server
63
Defined values
Defined values
<NUM>: The TCP socket number in ASCII <DATALEN>: The length of the massage in ASCII, values: <1, 1024> <MSG>: The message that is send
64
ZTE CDMA Module AT Commands Specification Defined values <NUM>: The number of UDP socket in ASCII <DATALEN>: The length of the massage in ASCII, values: <1, 1024> <DATA>: The message that is send
65
ZTE CDMA Module AT Commands Specification Description Syntax Demonstration This command is used to turn on/off the online function. AT+ZPKEEPALIVE=<NUM> AT+ZPKEEPALIVE=1 Note: Turn on the online function AT+ZPKEEPALIVE=0 Note: Turn off the online function Defined values AT+ZPKEEPALIVE=1 OK
66
13.3 Indication list of asynchronous affair. 13.3.1 +ZIPRECV: Receive the data from TCP channel
Description Syntax Demonstration Return the data from TCP +ZIPRECV: 0,<DATALEN><DATA>0x0D 0x0A Received message in Hex: 2B 5A 49 50 52 45 43 56 3A 20 30 2C 35 2C 12 00 12 00 34 0D 0A 2B 5A 49 50 52 45 43 56 3A denotes: +ZIPRECV: 20 denotes blank 30 denotes channel 0 in ASCII 2C denotes comma 35 denotes the length of the message in ASCII 2C denotes command 12 00 12 00 34 denotes the received message
Defined values
Defined values
67
ZTE CDMA Module AT Commands Specification Syntax Demonstration + ZPPPSTATUS: OPENED + ZPPPSTATUS: CLOSED + ZPPPSTATUS: OPENED + ZPPPSTATUS: CLOSED Note: Dial-up or Redial-up successfully Note: Failure dial-up or Disconnection (After disconnection, all of the TCP, UDP socket are disabled, you need dial-up again)
Error
EBADF EFAULT EWOULDBLOCK EAFNOSUPPORT EPROTOTYPE ESOCKNOSUPPORT EPROTONOSUPPORT EMFILE EOPNOTSUPP EADDRINUSE EADDRREQ EINPROGRESS EISCONN EIPADDRCHANGED ENOTCONN
Error code
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
Error reason
Invalid socket descriptor Invalid buffer or argument Operation would block Address family not supported Wrong protocol for socket type Socket parameter not supported Protocol not supported No more sockets available for opening Operation not supported Address already in use Destination address required Connection establishment in progress Connection already established IP address changed, causing TCP reset socket not connected
68
ZTE CDMA Module AT Commands Specification ECONNREFUSED ETIMEDOUT ECONNRESET ECONNABORTED EPIPE ENETDOWN EMAPP EBADAPP SOCKEXIST EINVAL 115 116 117 118 119 120 121 122 123 124 Connection attempt refused Connection attempt timed out Connection reset Connection aborted Broken pipe Network subsystem unavailable no more applications available Invalid application ID there are existing sockets invalid operation
69