Home
AT Command Manual For ZTE Corporation`s
Contents
1. Description This command is used to check GPRS device levels Syntax AT CGCLASS lt class gt Example AT CGCLASS Check GPRS device levels CGCLASS B OK Parameter class B support Class B CG support GPRS only CC support circuit exchange only 50 ZTEPX 2 9 ZTE Exclusive Commands 2 9 1 ZGPIO read write GPIO GSM Module Description This command is used to set input output interface and read write GPIO value Syntax AT ZGP1lO lt flag gt lt index gt lt value gt Example AT ZGPIO 0 5 read ZGPIO 0 OK AT ZGPIO 1 22 1 write OK Parameter lt flag gt 0 read 1 write lt index gt Index for GPIO to read write lt value gt 0 I O set as 0 1 I O setas 1 Remarks Only GPIO5 GPIO22 provided to users for operation 2 9 2 ZSTR check module s status Description This command is used to check the module s operation status Syntax AT ZSTR lt status gt ZSTR lt status gt lt value gt Example AT ZSTR 1 Check initialization status AT ZSTR 2 Check network status AT ZSTR Check the list of parameters Parameters lt status gt 1 No meaning input AT ZSTR 1 and display ZSTR 1 2 2 network status lt value gt 0 network unavailable 1 network available 2 no meaning 2 9 3 ZGETICCID set ICCID Description Read ICCID in SIM card Syntax AT ZGETICCID Exam
2. Descriptions of returned values No returned value 55 ZTEPX GSM Module 2 10 Network Parameter Commands 2 10 1 ZPNUM set APN username and password Description This command is used to set the operator s APN username and password Syntax AT ZPNUM lt APN gt lt USER gt lt PWD gt Example AT ZPNUM cmnet user pwd OK AT ZPNUM Check current APN USER PWD settings Parameter APN GPRS APN provided by operator USER username PWD password APN USER PWD is a kind of character string 2 10 2 ZPPPOPEN open GPRS connection Description This command is used to open GPRS connection Syntax AT ZPPPOPEN Example AT ZPNUM cmnet user pwd OK AT ZPPPOPEN ZPPPOPEN CONNECTED OK AT ZPPPOPEN ZPPPOPEN ESTABLISHED OK 2 10 3 ZPPPCLOSE close GPRS connection Description This command is used to close GPRS connection Syntax AT ZPPPCLOSE Example AT ZPPPCLOSE OK AT ZPPPCLOSE ZPPPCLOSE DISCONNECTED OK 2 10 4 ZIPGETIP check current IP address Description This command is used to obtain the IP address Syntax AT ZIPGETIP 56 IF GSM Module Example AT ZIPGETIP Obtain the module s IP address ZIPGETIP OK Parameter is a value from 0 255 2 10 5 ZDNSSERV set DNS IP address Description T
3. ZTEPX GSM Module Example ATD 99 Dial to enter GPRS data connection CONNECT Switch from data mode to command mode SR Switch from command mode to data mode ATO 2 1 11ATP pulse Description This command is used for pulse dialling Syntax ATP Example ATP Set pulse dialling method OK 2 1 12ATSO auto answer setting Description This command is used to control the module s auto answer mode Syntax ATS0 lt value gt Example ATS0 2 Auto answer after ringing twice OK ATSO Check current settings 2 OK ATSO 0 Cancel auto answer OK Parameter lt value gt ringing times 2 1 13 CRC set ringer type Description This command is used to display the type of ringer Syntax AT CRC lt num gt Example AT CRC 1 Set RING as ringer type os Set CRC as ringer type CRING VOICE Parameters lt num gt 0 Do not display the type of ringer 1 display the type of ringer Descriptions of ringer type VOICE Voice 15 ZTEBR GSM Module GPRS GPRS service FAX Fax 2 1 14 CLVL volume level Description This command is used to set the volume level of the speaker Syntax AT CLVL lt level gt Example AT CLVL 100 Set current receiver volume as 100 OK Parameters AT CLVL Check the current receiver volume CLVL 100 lt level gt ran
4. data Description This command is used to set the timeout for connecting the server and sending data as the module works as the client end Syntax AT ZIPTIOMEOUT lt connect_timeout gt lt send_data_timeout gt Description of connect_timeout connection timeout parameters send_data_timeout sending data timeout If the module does not send out the data within the specified time it might think that there is something wrong with the server or network and close the connection The module works as the server and client end Descriptions of OK setting succeeded returned value ERROR setting failed Example AT ZIPTIMEOUT Check the range of ZIPTIMEOUT 5 120 5 18000 timeout value OK AT ZIPTIMEOUT 30 60 Set the timeout OK at ziptimeout ZIPTIMEOUT 30 60 OK Check the range of current timeout 64 ZTEPX GSM Module 2 13 7 ZTCPTIMEOUT set the timeout for receiving data Description This command is used to set the timeout for receiving data Syntax AT ZTCPTIMEOUT lt recv data timeout gt Description of If the module does not receive the data within the specified time it will parameters close the connection otherwise the number of connections exceeds the limit other client ends can t be connected The default value is 0 and it means the timeout is no needed Descriptions of OK Succeeded returned value ERROR Failed Example at ztcptimeout Check the range of ZTCPTIMEOUT 0
5. 66 ZTE GSM Module Remarks If you upload or download the files for the first time you have to set the file type and perform relevant operation If you need not change the file type you can ignore the settings 2 14 3 ZFTPUPLOAD upload files Description This command is used to upload files to FTP server Syntax AT ZFTPUPLOAD lt dir amp filename gt lt put_mode gt lt size gt Description dir amp filename file directory or file name of put_mode Upload operation mode parameters 1 STOR mode create the file on the server and write the data If the file exists already cover the original file 2 APPE mode if the file doesn t exist on the server create it If it exists attach the data at the end of the file Size size of file Example at zftpupload test1 txt 2 511 Upload a txt file to the server with the files gt name test1 txt and size of OK 511 bytes ZFTPUPLOAD OK Remarks The data length sent each time does not exceed 4K byte If you want to write a large file use STOR mode and then APPE mode Prior to the uploading you d better set the file type 2 14 4 ZFTPDNLOAD download files Description This command is used to download files from FTP server Syntax AT ZFTPDNLOAD lt dir amp filename gt lt Content or Info gt lt output_interval gt Description dir amp filename file directory or file name of Content or Info specify wha
6. Description This command is used to set the module s baud rate and automatically save the current baud rate Syntax AT IPR lt baud rate gt 47 ZTE py GSM Module AT IPR Check current module s baud rate IPR 115200 Example OK AT IPR Check supported baud rate AT IPR 115200 Set the baud rate as 115200 OK Remarks The default is the saved setting of baud rate 2 7 5 amp F restore factory settings Description This command is used to restore factory settings Syntax AT amp F Example AT amp F Restore factory settings Remarks AT amp F command s parameters include ATS ATQ amp ATE AT amp F basic parameters can t be validated from the echo of AT commands Reference validation method after turning on the module firstly input AT amp V obtain basic parameters use the set parameters such as ATS CREG after setting use AT amp F to obtain the basic parameters Compare these parameters and check if they are identical 2 7 6 amp W save settings Description This command is used to save the current parameter settings Syntax AT amp W Example AT amp W Save the current parameter settings Remarks AT amp W command s parameters used to save include ATE ATQ and ATS The user parameters saved by AT amp W can t be validated from the echo of AT commands Reference validation method firstly use the set parameters such as ATE ATQ
7. Write the number and number at Index 1 in the phonebook Read the first name and number in phonebook Delete the first entry in phonebook 44 ZTE py GSM Module Parameters Index index length number length type phone type 129 domestic 145 international tlength length of contact s name Number phone number Name name corresponding to the number Remarks For Chinese name the limit length of Chinese name is not 14 because the Chinese string is ended with O 0 2 6 4 CPBF phonebook find Description This command is used to find the information in phonebook Syntax AT CPBF lt name gt CPBF lt index gt lt number gt lt type gt lt name gt CPBF lt nlength gt lt tlength gt Example AT CPBF Check current phonebook information CPBF 40 14 Phone number length 40 Name length 14 OK AT CPBS SM Select phonebook OK AT CPBW 1 130 129 Write phone information in the first field of john current phonebook OK Read relevant information AT CPBR 1 CPBR 1 130 129 Search the contacts with the name John john OK AT CPBF john CPBF 1 130 129 john OK Parameter index index nlength number length type phone type 129 domestic 145 international tlength length of contact s name Number phone number Name name corresponding to the number Remarks Only find in GMT MET can t find in LD MC R
8. Check the current SMS service CSMS 0 1 1 1 Support receive transmit message and OK cell broadcast AT CSMS 0 Set current SMS service as GSM Phase 2 CSMS 1 1 1 Support receive transmit message and OK cell broadcast AT CSMS Check the settings CSMS 0 1 1 1 Succeed OK Parameter lt service gt 0 compatible with GSM07 05 Phase 2 version 4 7 0 1 compatible with GSM07 05 Phase 2 version lt mo gt 1 support send message lt mt gt 1 support receive message lt bm gt 1 support cell broadcast 2 5 8 CMGS message send Description This command is used to send the message from the terminal to the network Return the parameter to the terminal after the message is sent Note there is error prompt as the message is sent to illegal number Syntax Text mode AT CMGF 1 AT CMGS lt de gt lt CR gt lt data gt lt Ctrl Z ESC gt PDU mode AT CMGF 0 AT CMGS lt length gt lt CR gt lt pdu gt lt Ctrl Z ESC gt Example AT CMGF 1 Set as text mode OK AT CMGS 13316538879 lt CR gt Send a ABC message to 13316538879 ABC lt ctrl Z gt OK AT CMGF 0 Set as PDU mode OK AT CMGS 17 lt CR gt Send a ABC message to 13028862427 0891683108705505f01 1000b81312 0882624f700f1 ff0361f1 18 lt Ctrl Z gt CMGS 2 OK 37 IF GSM Module Parameter lt de gt message sending number under text mode lt length gt length of bytes in TPDU under PDU mode lt data gt
9. Upload files Larvene bindende este 67 2 14 4 ZFTPDNLOAD download les 67 2 14 5 ZFTPDEL delete files cceccccececeeeeeeeeeneeeceeeeeeeeeeeaeaeeeeeeeeeesaaaaaaeaeceeeeeseseeesenaeeseeeeees 68 2 14 6 ZFTPQUIT quit FTP E 69 2 15 Relevant Audio Commands vusesscciuecsctcicersscevsguvian caberancedeennecsdabenntcuendanedwadlbiad eadebeaadeuetinddcudbanecde 70 2 15 1 ZCALLTONE set pick up tone cceceecceeeeseeeeceeeeeeeaaeeeeaeeceeeeeeeaaeeeeaeeseeaeeesiaeeeeaeeeeeaees 70 2 15 2 ZDTMFTONE set ZDTMF tone sssssssessseeseessresssrnstrsstnretnnttnttnnnttnnttnnntnnntnnnntnnnnnn tenent 70 2 15 3 SPEAKER audio channel switch commande 71 ZTE py GSM Module 2 15 4 ZMICGB set MIC audio parameters sseesseesseesseesrieesistnttntttnntttnttnnnnnnttnetnnnrnnntnnnt 71 3 Application Cases and Precautons 74 a NEEN elle e e 74 3 2 Phonebook Application Case 75 ZTE py GSM Module 1 General Description 1 1 Description of AT Commands MG2639 provides AT command interfaces through which the module could communicate with the external devices conveniently The AT commands set provided by MG2639 module not only covers the standard GSM voice call and SMS applications but adds some other commands based on GSM specification and some ZTE exclusive commands for users to use conveniently 1 1 1 Type of AT Commands As a standard interface the returned values and syntax of AT commands are both fixed As a whole the AT comma
10. amp ATS use AT amp V to read the user information and then input ZT amp W after restarting the module use ATZ1 to read NV and use AT amp V to read the user information Compare to the parameters before restarting and check if they are identical 48 ZTEPX 2 8 GPRS Command 2 8 1 CGDCONT set PDP GSM Module Description This command is used to set GPRS PDP syntax Syntax AT CGDCONT cid type APN PDP_ADDR Example At CGDCONT 1 IP CMNET ATD 99 Connect Parameters cid used to mark the number of PDP minimum 1 type a type of PDP package IP use TCP IP package APN access point network PDP_ADDR user designated IP address optional 2 8 2 CGACT activate deactivate PDP Description This command is used to activate deactivate PDP settings Syntax AT CGACT lt state gt lt cid gt lt cid gt LI Example At CGDCONT 1 IP CMNET OK AT CGACT 1 1 OK Parameters cid used to mark PDP parameter state used to indicate PDP status 0 deactivate 1 activate 2 8 3 CGATT set GPRS Description This command is used to set GPRS service Syntax AT CGATT lt state gt Example AT CGATT CGATT 0 OK AT CGATT 1 OK Check GPRS service status Set GPRS service status Parameter state 0 detach 1 attach 49 ZTE py GSM Module 2 8 4 CGCLASS GPRS device class
11. t GPRS EE 49 2 8 4 CGCLASS GPRS device Class AA 50 ZTE Exclusive Commande 51 2 9 1 ZGPIO read write GP 51 2 9 2 ZSTR check module s status 51 ZTE py GSM Module 2 9 3 ZGETIGGID Set ICO Dhirendra ata taczenecesadanesesedseschieedaneasierabialadeaes tease 51 2 9 4 ZCSQ set auto display CC 52 2 9 5 ZEDT set DTR inspection MOG errrrnvovnnnnnnnnvnnnnnnnvnnnnnannennnnnnnnennnnannvnnnenennvnnesnnnensen 52 2 9 6 ZDSLEEP 32KHz Deep sleep mode 53 2 9 7 CUSD send USSD data wise teccisssthivdiaiebeisadnnthivadenwwadsaaetetedeast thvtveaselstsadtyeleiaadcwwadeadsentens 53 2 9 8 ZRINGPINMODE set RING PIN Signal mode 55 2 10 Network Parameter Commande sssssssninnnsstrssetttnnnt tr terttn nennt ttnn rttr annat tnta st nA Enant nnns nenn nn nenen Eneee nn 56 2 10 1 ZPNUM set APN username and D ssword 56 2 10 2 ZPPPOPEN open GPRS Connection 56 2 10 3 ZPPPCLOSE close GPRS Connechon nnn ankn naaa KANNA ARKAAN RRNA RKE NAAKKA 56 2 10 4 ZIPGETIP check current IP address 2 0 0 eecccceceesceceeseecceeeeeneeeeesesneeeesseneaeeeeseneaeeessseeaees 56 2 10 5 ZDNSSERV set DNS IP address 57 2 10 6 ZDNSGETIP obtain Internet Domain name s IP address ernnrrnannvnnnrrrvnnnrrvnnnnnnnervenen 57 2 11 TCP Link G mmands E 58 2 11 1 ZIPSETUP Set up TCP eener link 58 2 11 2 ZIPSEND send TCP data to target address esseeesesesenessrnesrn nentrn ustun nsenntnnsennsen nne 58 2 11 3 ZPPPSTATUS check
12. 1500 bytes otherwise error occurs 61 ZTE py GSM Module 2 13 Server Commands 2 13 1 ZTCPLISTEN set port monitoring Description This command is used to enable disable port monitoring function Syntax AT ZTCPLISTEN lt on off gt lt portNum gt AT ZTCPLISTEN Parameter On off 1 start listening 2 stop listening portNum the listening port num If lt on off gt is 2 please set this parameter as 0 Example AT ZTCPLISTEN 1 1174 Monitoring port 1174 OK at ztcplisten Check monitoring status ZTCPLISTEN 1 1174 OK AT ZTCPLISTEN 2 0 Stop monitoring OK ZTCP P INCOMING CONNECT Indicating one monitoring to one external ACCEPTED connection and the connection is accepted Note 1 One port can be monitored currently and only two connections are allowed on each port 2 Prior to the monitoring please firstly use AT ZPPPOPEN to open the PPP link 2 13 2 ZTCPSENDP send data through passively opened link Description This command is used to send data through monitored passively opened link Syntax AT ZTCPSENDP lt channel gt lt n gt Parameter lt channel gt the sign of connected client ends lt n gt the length of data to send Descriptions of Input AT command according to the above syntax press carriage return to returned value display gt In this case you can input the data to transmit When inputting size 1 data it can be any da
13. 18000 timeout value OK at ztcptimeout 30 Set the timeout OK at ztcptimeout Check the range of ZTCPTIMEOUT 30 current timeout OK 65 ZTEPX 2 14 FTP Commands 2 14 1 ZFTPLOGIN log in FTP server GSM Module Description This command is used to log in the FPT server Syntax AT ZFTPLOGIN lt IP gt lt PORT gt lt Username gt lt Password gt Description IP server s IP address of PORT server s FTP port number 21 by default parameters Note according to RFC959 it s advised to set the port no as 21 Username username used to log in FTP server Password password used to log in FTP server Example at zftplogin 183 37 36 5 21 test test Logged in FTP server successfully OK ZFTPLOGIN OK at zftplogin 183 37 36 5 21 test test Log in FTP server connection timeout OK ZFTPLOGIN CONNECT FAIL Remarks 1 As long as the syntax of command is correct return OK However this doesn t mean logged in successfully The log in is successful only after ZFTPLOGIN OK is returned 2 Prior to logging in FTP server you must open PPP 2 14 2 ZFTPTYPE set FTP file type Description This command is used to set the type of FTP file Syntax AT ZFTPTYPE lt TYPE gt Description TYPE file type of 1 ASCII parameters 2 Binary Example at zftptype 1 Set the file type as text mode OK ZFTPTYPE OK at zftptype Check the settings of file type ZFTPTYPE 1
14. 2 CPBR phonebook read Description This command is used to read the phonebook information Syntax AT CPBR lt index1 gt lt index2 gt CPBR lt index gt lt number gt lt type gt lt text gt Example AT CPBR Check current phonebook information CPBR 1 10 40 13 OK AT CPBR 1 Read the first number of currently CPBR 1 130 129 selected phonebook OK 43 ZTEPX GSM Module AT CPBS SM OK AT CPBR CPBR 1 10 40 13 AT CPBR 1 3 CPBR 1 8151 129 CPBR 2 8636 129 CPBR 3 8604 129 Select SIM card phonebook Check SIM card phonebook information Read the contacts information from 1 to 3 Parameters index1 read phonebook index index2 read the contacts information from index1 to index2 index index number phone number type phone type 129 domestic 145 international text number s corresponding name 2 6 3 CPBW phonebook write Description This command is used to write information into the phonebook Syntax AT CPBW lt index gt lt number gt lt type gt lt name gt CPBW lt index gt lt length gt lt type gt lt tlength gt Example AT CPBW AT CPBW CPBW 1 250 40 129 145 14 CPBW 1 250 40 129 145 14 OK OK AT CPBS SM Select SIM card memory OK AT CPBW 1 130 129 john OK AT CPBR 1 CPBR 1 130 129 john OK AT CPBW 1 OK
15. 2 Delete the second message OK 39 ZTE py GSM Module AT CMGF 0 Set as PDU mode AT CMGL 4 List all messages CMGL 1 3 21 0891683108705505F0010F0B813 120882624F700 0808738B54084F1F5927 CMGL 2 3 21 0891683108705505F001100B813 120882624F700 0808738B54084F1F5927 CMGL 3 3 21 0891683108705505F001110B8131 20882624F700 0808738B54084F1F5927 OK AT CMGD 1 Delete the first message OK at cmgd 1 1 Delete all read messages OK at cmgd 1 2 Delete all read and sent messages OK at cmgd 1 3 Delete all read sent and unsent OK messages at cmgd 1 4 OK Delete all messages Parameters lt start_Index gt index of saved messages lt mode gt delete marks 0 delete the message at the designated 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 delete the message at the designated index 2 5 11 CMGL message list Description The command is used to read a kind of messages saved in the selected memory via CPMS command Syntax AT CMGL lt stat gt 40 ZTEPX GSM Module Example AT CMGF 1 Set as text mode OK AT CMGL ALL Use text mode Check all messages CMGL 1 REC READ 130 i abcdefg CMGL 2 REC READ 1 31 So abcdef CMGL 3 STO SENT 133 ren oparxt OK Returned syntax 1 text mode as below CMGL lt index gt lt stat gt lt da oa gt
16. 77
17. GPRS connection status 58 2 11 4 ZIPCLOSE close TCP lin cisentscccssnteatewseetaavecentaaneleceactcsuuned ARARNAR KAA ANARAN AKARANA 59 2 11 5 ZIPSTATUS check current TCP link status 59 2 11 6 ZIPRECV receive data from current data link rnrrrrerrnnrrrrronnnrrrrrrnnrvrrerrnnvvrrrrnnnrrrerrnnnn 59 2 12 UDP Bil deele 60 2 12 1 ZIPSETUPU set up UDP server link 00 2 2 ceeceeeeeee cece eeeeeeeeeeeeeseaeeeenaeeeeaeeeseaeeeeaeeeneees 60 2 12 2 ZIPSENDU send data to UDP server 60 2 12 3 ZIPSTATUSU check UDP Status 000 0 ecccecceceesneeeeeeseeeeeeeeaeeeeesaeeeeeesaeeeeesseeeeenees 60 2 12 4 Alle Bee Gei DICHTER 61 2 12 5 ZIPRECVU receive UDP data vunnet aaret ad 61 213 Server Commands u EE 62 2 13 1 ZTCPLISTEN set port mopnitoring ne 62 2 13 2 ZTCPSENDP send data through passively opened link uarnrrnannvrnnorvnnnnrrvnnnnnnnevnnnenr 62 2 13 3 ZTCPCLOSEP close monitored connection rrernrrrnnnnrnnnnrvnrnnrrnnnnrnnrnnrenrrrrernnnnnnrnnennn 63 2 13 4 ZTCPRECV P receive data report 63 2 13 5 ZTCPSTATUSP check passively opened link urnrrrannrrnnonrvnrnrrrnnnnrnnnnnnnrrrrrennrnnnnnnnnnn 64 2 13 6 ZIPTIMEOUT set the timeout for connecting the server A sending data rrnrvrrrrnrn 64 2 13 7 ZTCPTIMEOUT set the timeout for receiving data 65 Z MFIP COMANO endte 66 2 14 1 ZFTPLOGIN log in FTP server 66 2 14 2 ZFIPTYPE Set FTP file type seriais riensi ier a AEE ANE 66 2 14 3 ZFTPUPLOAD
18. Mobile Identification Description This command is used to read the International Mobile Identification of SIM card and check current PIN Syntax AT CIMI Example AT CIMI Check CIMI 460030916875923 Return CIMI OK 2 1 18 CGMR get product version Description This command is used to obtain the module s current product version Syntax AT CGMR Example AT CGMR OK No meaning AT CGMR Return current module s version CGMR Revision 1 0 OK 2 1 19 ECHO echo remove Description This command is used to remove the echo Syntax AT ECHO num Example AT ECHO ECHO 1 OK Check current echo settings AT ECHO 0 Cancel echo remove OK 17 ZTE py GSM Module Syntax Num default value 1 1 set echo remove function 0 cancel echo remove function 2 1 20 C GSN get current IMEI Description This command is used to get the current device s IMEI Syntax AT GSN Example AT GSN Return current IMEI N OK 2 1 21 ZVERS get current software version Description This command is used to get the current software version Syntax AT ZVERS Example AT ZVERS get the current software version ZVERS bin OK 2 1 22 CLCK lock Description This command is used to lock the terminal or network function Syntax AT CLCK lt fac gt lt mode gt lt passw
19. Seed E 13 247 a Rail elt el E 14 2 1 8 ATQ set whether or not to display the returned value rrnsnnrnnnnrrnnnnvnnnonvnnnnrrvnnnrnnnennnnnn 14 2 1 9 switch from data mode to command mode rarnrrnnrvrnnrrnnnrnnrrrnnrrnnrrnnrrnnnrrenrrnnrrnnnrrnnn 14 2 1 10 ATO switch from command mode to data mode rernnrennnnvnnonvvnnnnrrvnnnrnnnenvenrrrreennnrnnennnnnn 14 2111 ATP Pulsen AEE E SE EEA 15 2 1 12 ATSO auto answer Setting 15 2 1 13 CRC set ringer fwvpe iiien eiaa aasa aasia edain iaia 15 2 1 14 Ee AUER ll 16 2 1 15 CLIP Calling Line Identification Presentation ursrerannrrnnorrnnnnrrrnnnnrnnrrrvnrrrrnnnnnnnnrnnenn 16 2 1 16 ZSETMUTE mute contra 17 2 1 17 CIMI International Mobile Identification cccccccececeeeeeeeeeeeeeeesaeeeeeeeseeeeeseaeeeeeeeesaees 17 2 1 18 CGMR get product version 17 2 1 19 ECHO echo Bun VE 17 2 1 20 C GSN get current MEI 18 2 1 21 ZVERS get current software version 18 21 22 CE ee 18 2 1 23 CCFC call forwarding number and conditions 19 EEN UN DEE 21 2 1 25 FGHLUD Call Hold TEE 22 2 1 26 TSIMINS check SIM Card Status ccccccccseeeeseeceeeeeeeaeeeeeeeceeaeeesaaeeseaeeeseaeeesaeeeeeneeeeaees 22 2 1 27 CPWD change Passwordiknaagsengeaisudeakeensdeseusinn mem 23 2 1 28 CGMI inquire manufacturer s information anrrnrnrrrnannrnnnnvennnnrrvnnnrnnnnnrnnrrrrernnnnenennenenn 23 EN NEE 23 2 1 30 CSCS character set selection cccecec
20. ZEDT set DTR inspection mode Description This command is used to set the inspection mode for DTR pin There are two inspection modes A the module reads DTR pin s level as DTR pin is at low level the module think DTR signal is valid namely the module is effectively connected with DTE device otherwise the module is disconnected with DTE device B the module doesn t read DTR pin s level and the DTR signal would be always valid namely the module will be always connected with DTE device effectively Syntax AT ZEDT lt NUM gt Example AT ZEDT 1 OK AT ZEDT ZEDT 1 OK 52 ZTE py GSM Module AT ZEDT ZEDT 0 1 OK Parameter lt NUM gt range 0 1 Remarks The command ZEDT is mainly used to set the module at low power consumption mode under low power consumption mode the module could intermittently turn off the RF components besides the MCU DSP PLL external clock at digital baseband part can enter dormant mode and 26MHz main crystal oscillator would enable disable regularly to reduce the module s power consumption Whether or not the module can enter low power consumption mode depends on the following factors 1 Key including ON OFF key event and exception external interruption 2 whether or not receive valid DTR signal 3 OTA event e g receive text message incoming call etc In order to make the module enter low power consumption mode please
21. call Syntax ATA Example RING An incoming call rings ATA Answer the incoming call 2 1 3 ATD dial Description This command is used to originate a voice call data and fax call Syntax ATDestring gt ATD gt lt mem gt lt n gt ATD gt lt n gt ATD gt name Example AT CPBS SM Select SIM card phonebook as the current ATD13024540756 phonebook Search the number from SIM card phonebook and dial AT CPBS SM Select SIM card phonebook as the current ATD gt 2 phonebook OK Search the second phone number in current phonebook ATD gt SM1 Dial the first number in SIM card phonebook ATD13714393404 Directly dial the phone number 12 ZTEPX GSM Module Search the phone number with name in SIM card and nvram ATD gt name Parameters lt mem gt phonebook SM SIM card phonebook ME local phonebook LD last dialled calls in phonebook MC missed calls RC received calls lt n gt the n th option in phonebook lt string gt the number of called party e g 99 2 1 4 ATDL dial last Description This command is used to dial the last outgoing number Syntax ATDL Example ATD34394036 Dial 34394036 OK ATH Hang up the call OK ATDL Dial 34394036 again 2 1 5 ATE enable Description This command is used to enable echo display Syntax ATE lt n gt Example
22. documentation The authorized module customers could download the latest technical documentation from our website If you have more requirements you could send an E mail to module zte com cn You can also call us at 0755 86360280 for technical support ZTE py GSM Module Preface Target Readers This manual is mainly applicable for the following engineers System designing engineers Hardware engineers Software engineers l Test engineers Update History l V1 1 Completely follow MG2636 AT command Set user manual V1 2 Completely follow ME3000_V2 AT command Set user manual V13 Modify the previous documents and make them further standardized Delete Relay station Command and Transparent transmission Command ZTE py GSM Module Contents General Description EEN 1 1 Description of AT Commande renannvvnnnrrnnnnnvnnnnnvnnnrrrnnnnrnnsnnnnernrresnnnnnsnnnenrnrresnnnnnnennenrnrrenennnnnennneennn 8 Valet Type of AT Commands rrisni iania aaaea a aaaea eaaa aa EEEE EA 8 1 1 2 Returned Syntax of AT Commands rannnvnnorvvnnnvrnnnnnvnnenrnnnnnrnnennnnrerrrennnrnnennennrrrreennrnnsenneeenn 8 1 1 3 AT Command Syntaksi nai asnan eain eaa aeaa akoni a Ea Eakin 8 1 2 eege 9 LE Sega EE 12 21 Common ConMmand EE 12 211 NTG 12 21 2 RETTEN 12 ENER Re TEE 12 2 1 4 ATDL dal laStiscssccccnccndececaveescataadedesnesetesaanveasestanneey ahaa vine a akter de anita 13 21 5 Ne Ee EE 13 2 1 6 ATH hang Upside nii EE Ee
23. only supports 6 sockets online at the same time The total number of TCP and UDP links can t exceed 6 when establishing the links 2 11 2 ZIPSEND send TCP data to target address Description This command is used to connect the target server Syntax AT ZIPSEND port length lt CR gt Send data after prompt with gt Example AT ZIPSEND 1 10 Send data to TCP server after gt abcdefghij successfully connecting the server Send ZIPSNED OK 10 bytes abcdefghij OK Parameter port the channel number of TCP links length data length support up to 1000 bytes and support 0x00 0xff transmitting 2 11 3 ZPPPSTATUS check GPRS connection status Description This command is used to check GPRS link status Syntax AT ZPPPSTATUS Example AT ZPPPSTATUS Check GPRS link status ZPPPSTATUS ESTABLISHED OK AT ZPPPSTATUS Check GPRS link status ZPPPSTATUS DISCONNECTED OK 58 ZTEPX GSM Module 2 11 4 ZIPCLOSE close TCP link Description This command is used to close TCP link Syntax AT ZIPCLOSE lt N gt Example AT ZIPCLOSE 1 Close TCP link ZIPCLOSE OK OK Parameter N the number of TCP links and the value is 1 2 11 5 ZIPSTATUS check current TCP link status Description This command is used to check the status of current TCP link Syntax AT ZIPSTATUS lt N gt Example AT ZIPSTATUS 1 Check the curr
24. terminated by network 3 other local client has responded 4 operation not supported 5 network time out 2 There is no data display Example at cusd 1 5 15 1 Connect 100 and gt returned information is OK within and the encoding CUSD method is UCS2 1 6b228fce4f7f75285e7f4e1c79fb52a85feb4fe1003 2 After gt appears you 100300030ff01000a003165b095fb59296c14000a00 can input any data stream 3280a17968884c60c5000a00334f1195f29a7f7ad00 in binary mode but there a00346c11751f67e58be2000a00357ecf51 786d4b8b is no display d5000a0036621176845feb4fe1000a00374f7f75285 e2e52a9000a 72 Note 1 The second parameter must be larger than 0 2 9 8 ZRINGPINMODE set RING PIN signal mode Description This command is used to set RING PIN signal mode Syntax AT ZRINGPINMODE lt N gt Parameters lt N gt y 0 RING PIN is at original signal mode the pin is at low level upon incoming call and is at high level during other time No change remaining to be at high level upon the receipt of text message y 1 RING Pin is at new signal mode The PIN generates 1s low level and 4s high level upon an incoming call until the call is ended or terminated and is at high level during other time Generate 1s low level pulse upon the receipt of new messages maintain high level during other time Example AT ZRINGPINMODE 0 Set RING pin as original mode AT ZRINGPINMODE 1 Set RING pin as new signal mode
25. that the message is not sent STO UNSENT at cmss 1 CMSS 1 OK Send the saved message at cmgr 1 74 ZTE py GSM Module CMGR STO SENT 13360504647 goodbye OK Read this message with the index No From the returned information CMGR we know that the message has been sent STO SENT at cnmi 3 2 0 0 0 OK Set the status of newly received message as Directly display but not save CMT 8615986672056 OK 07 08 27 13 23 56 32 WESDDR Receive a new message which is directly displayed but not saved 8615986672056 is the number of message recipient 07 08 27 13 23 56 32 is the sending time and WESDDR is the message text at cnmi 3 1 0 0 0 OK Set the status of newly received message as Save but not display CMTI SM 28 Receive a new message which is saved but not displayed From CMTI we know that the message is saved in the index 28 in SM at cmgr 28 CMGR REC UNREAD 15986672056 07 08 27 13 36 48 32 CDFF OK Read this message with the index No REC UNREAD is the status of the message 15986672056 is the number of message recipient 07 08 27 13 36 48 32 is the sending time and CDFF is the message text 3 2 Phonebook Application Case Note The following text marked in red should be entered at cpbs CPBS SM 0 200 OK Check the current memory The default phonebook memory is SM From CPMS we know that the cur
26. use the command AT ZEDT to check the module s current settings after start up if returning with ZEDT 0 please use the command AT ZEDT 1 to change the settings If you ever use the ON OFF jumper cap remove it Disconnect the COM port including AT port and debugging port The module would enter the low power consumption mode after a while 1 3 minutes The default value of the setting value lt NUMs is 0 Besides the command ZEDT would effect the status LED After setting AT ZEDT 1 the status LED would not flash The status LED will restore normally after changing the settings through the command AT ZEDT 0 and restarting the module 2 9 6 ZDSLEEP 32KHz Deep sleep mode Description This command is used to enable disable 32KHz sleep mode Syntax AT ZDSLEEP lt mode gt Example AT ZDSLEEP 1 Enable sleep mode AT ZDSLEEP 0 Disable sleep mode Parameter lt mode gt 0 disable sleep mode 1 enable sleep mode Remarks After entering sleep mode awaken through DTR Valid at high level 2 9 7 CUSD send USSD data Description Send USSD data ASCII code Syntax AT CUSD n 0 str dcs Parameter 1 lt n gt 53 IF GSM Module 0 disable result code presentation in the TA 1 enable result code presentation in the TA 2 cancel session Mi keet i x lt Str gt string type USSD string see 3GPP 27 007 for use Pleas
27. 1 Set as TEXT mode OK CMT Received a message TEXT from 86130 07 02 14 180 10 29 04 32 text Returned CMTl lt mem gt lt index gt receive new message results CMT lt length gt lt CR gt lt LF gt lt pdus directly output message PDU mode CBM lt length gt lt CR gt lt LF gt lt pdu gt directly output cell broadcast message PDU mode 33 ZTE py GSM Module Parameters lt mode gt control the processing of message alert code 0 message alert code cached in TA if TA is full the alert code may be saved in other place or the oldest code might be abandoned and replaced by the latest code 1 when the connection of TA TE is held abandon the saved message alert code and reject the new alert code in other cases directly display the alert code on the terminal 2 when the connection of TA TE is held the message alert code is cached in TA as the connection is released directly display the alert code on the terminal in other cases directly display the alert code on the terminal 3 directly display the alert code on the terminal lt mt gt set the syntax of new message alert code 0 save received messages to default memory including class 3 do not notify TE 1 The syntax of new message alert code is CMTI MT lt index gt message contents saved but not directly displayed 2 The syntax of New message alert code is Text mode CMT lt oa gt lt alpha gt lt sc
28. 78901 234 56789012345678901234567890 123456789012 345678901 23456789012345678012345678901 234567890 123456 78901234567890 123456789 01234567890123456789012345678012345678 901234567890 12345678901 234567890123456 789012345678901 23456789012345678012345 678901 234567890 12345678901 234567890123 456789012345678901 23456789012345678012 345678901 23456789012345678901 234567890 123456 78901234567890123456 789012345678 01234567890123456789012345678901 234567 89012345678901234567890123456789012345 678012345678901 23456789012345678901 234 56789012345678901234567890 123456789012 63 IF GSM Module 345678012345678901 23456789012345678901 234567890 12345678901 234567890 123456789 01234567801234567890123456 789012345678 901234567890 12345678901 234567890123456 78901234567801234567890123456789012345 678901 23456789012345678 2 13 5 ZTCPSTATUSP check passively opened link Description This command is used to check if there is any passively opened link Syntax AT ZTCPSTATUSP lt channel gt Descriptions of ZTCPSTATUS P DISCONNECT One passively link not existed returned value ZTCPSTATUS P CONNECT One passively link existed Example at ztcpstatusp 0 No passively opened ZTCPSTATUS P DISCONNECT link OK at ztcpstatusp The current monitoring ZTCPSTATUS P DISCONNECT port does not start OK working 2 13 6 ZIPTIMEOUT set the timeout for connecting the server amp sending
29. 9 DTMF Parameters String is a combination of characters separated by comma The character ranges from 0 to 9 A D 26 ZTEPX GSM Module 2 3 Network Service Command 2 3 1 CREG network registration and roaming Description This command is used to check the module s network registration and roaming status Note Need AT amp W to save the result when setting 0 or 1 Syntax AT CREG lt mode gt CREG lt mode gt lt stat gt return code Example AT CREG 0 Disabled network registration and provide OK result code AT CREG Display the module s registration status CREG 0 1 AT CREG Check status range CREG 0 2 OK Parameter lt mode gt 0 Disabled network registration and provide result code default 1 Enabled network registration and provide result code CREG lt stat gt 2 Enabled network registration and provide the location information lt stat gt 0 Not logged on the network yet currently not searching for new operator 1 Already logged on the local network 2 Not logged on the network currently searching for the BS 4 unknown code 5 Already logged on the network under roaming status 2 3 2 COPS network selection Description This command is used for network selection Syntax AT COPS lt mode gt lt syntax gt lt oper gt Example AT COPS Return current network s COPS lt mode gt lt syntax gt lt oper gt registrat
30. ATEO ATEO don t display input command on the OK terminal OK ATE1 ATE1 displays input command on the OK terminal ATE1 OK Parameters lt n gt 0 Disable echo display lt n gt 1 Enable echo display 2 1 6 ATH hang up Description This command is used to hang up the call Syntax ATH Example ATA Answer the call OK 13 ZTEPX GSM Module ATH Hang up the call 2 1 7 ATI Information Description This command is used to display the module manufacturer s information Syntax ATI Example ATI Display the module manufacturer s ZTE Mobile LTD GSM GPRS Mobile Station Revision 1 0 OK information 2 1 8 ATQ set whether or not to display the returned value Description This command is used to set whether or not to display the returned value Syntax ATQ lt n gt Example ATQO OK ATQO OK Set the terminal displays the returned value ATQ1 OK ATQ1ATQ1 Set the terminal doesn t display the returned value 2 1 9 switch from data mode to command mode Description This command is used to switch from data mode to command mode Syntax Example ATD 99 CONNECT Dial to enter data mode Switch from data mode to command mode 2 1 10ATO switch from command mode to data mode Description This command is used to switch from command mode to data mode Syntax ATO
31. C FD DC ON 45 ZTEPX 2 6 5 CNUM owner s number GSM Module This command is used to read the owner s number Description Syntax AT CNUM Example AT CNUM Read the owner s number CNUM 130 129 7 4 OK Parameter The owner s number can be written into SIM card through AT CPBS ON AT CPBW command and read through AT CNUM command 46 ZTEPX GSM Module 2 7 Data Compression Command 2 7 1 IFC flow control Description This command is used to set the flow control between TE TA Syntax AT IFC lt mode1 gt lt mode2 gt Example AT IFC 2 2 Set mode of TE TA flow control as RTS OK mode2 as CTS Parameter mode1 0 no flow control 1 XON XOFF don t transmit data 2 RTS 3 XON XOFF transmit data mode2 0 no flow control 1 XON XOFF 2 CTS 2 7 2 amp D set DTR mode Description This command is used to set DTR mode Syntax AT amp D lt value gt Example AT amp DO Omit DTR signal OK Parameter value 0 Omit DTR signal 1 DTR from OFF to ON 2 DTR from ON to OFF 2 73 amp C set DCD mode Description This command is used to set DCD mode Syntax AT amp C lt value gt Example AT amp CO DCD signal is always valid OK Parameter value 0 DCD signal is always valid 1 DCD signal is valid if there is data 2 7 4 IPR set module s baud rate
32. CPIN check PIN status CPIN SIM PIN Need input PIN AT CPIN Enter correct PIN OK Parameter AT CPIN check if what passwords need to be entered CPIN READY don t need to enter any password CPIN SIM PIN need enter PIN CPIN SIM PUK PIN unlock password CPIN PH SIM PIN SIM card bundle password CPIN SIM PIN2 PIN2 password CPIN SIM PUK2 PIN2 unlock password CPIN PH NET PIN network password Pin string value 2 4 6 CSQ check signal strength Description This command is used to check received signal strength indicator rssi and bit error rate ber 30 ZTEPX GSM Module Syntax AT CSQ Example AT CSQ CSQ lt rssi gt lt ber gt parameters lt rssi gt 0 113dbm 1 111dbm 2 30 109 53dbm 31 51dbm 99 network unavailable lt ber gt 0 7 normal 99 network unavailable 2 4 7 CCLK clock management Description This command is used to set and check the date time of real time clock Syntax AT CCLK lt time gt Example AT CCLK Check current time and date CCLK 04 02 09 17 34 23 Current network time and date parameters AT CCLK 04 02 09 18 34 23 Set current date and time Time string syntax yy mm dd hh mm ss 31 ZTEPX 2 5 Message Service Command 2 5 1 CSCA SMS center number GSM Module Description This command is used to set SMS center number Syntax A
33. LTONE AT ZCALLTONE Parameter lt n gt 0 pause the pick up tone 1 play 400Hz pick up tone 2 play 400HZ 25Hz pick up tone 3 play 400HZ 50Hz pick up tone Descriptions of OK returned value ZCALLTONE lt n gt OK Example AT ZCALLTONE 2 Play pickup tone OK at zcalltone ZCALLTONE 2 OK AT ZCALLTONE 0 Stop pickup tone OK at zcalltone ZCALLTONE 0 OK 2 15 2 ZDTMFTONE set ZDTMF tone Description Play pause the pick up tone Syntax AT ZDTMFTONE lt n gt lt Duration gt AT ZDTMFTONE AT ZDTMFTONE Parameter lt n gt 0 9 play DTMF tone from 0 to 9 10 13 play DTMF tone from A to D 14 play DTMF tone 15 play DTMF tone 16 stop playing DTMF tone lt Duration gt DTMF playing duration unit 20ms Value range 0 1000 Set as 0 continue to play 70 ZTEPX GSM Module Descriptions returned value of OK OK ZDTMFTONE lt n gt lt Duration gt Example AT ZDTMFTONE 1 0 OK AT ZDTMFTONE ZDTMFTONE 1 0 OK AT ZDTMFTONE 16 0 OK AT ZDTMFTONE ZDTMFTONE 16 0 OK AT ZDTMFTONE 2 100 OK Continue to play DTMF tone of number key 1 Stop playing DTMF tone Play DTMF tone of number key 2 for 2s 2 15 3 SPEAKER audio channel switch command Description This command is used to switch between the microphone and headset Syntax AT SPEAKER lt mode gt Example AT SPEAKER 0 OK Swi
34. MGR Example AT CMGF 1 CMTI AT CMGR 1 MT 1 CMGR REC UNREAD 133 _ Receive the message saved at index 1 04 02 25 12 58 04 04 Set TEXT syntax ABCD OK Read the first TEXT message AT CMGF 0 Set PDU mode AT CMGR 1 CMGR 1 127 Read first PDU message 0891683108705505F00408A1 705581 060008701091905564236E5C0A656C 76845BA26237FF0C60A85DF27ECF62 10529F5F00901A4E860031 00300030 514300470050005200535957991 04F 1860E04E1A52A1FFOC4ECE00320030 003000375E74003000326708003000 3165E55F0059CB751F654830028C22 8C22FF016DF1573379FB52A8 516C53F8 Returned AT CMGR lt index gt results Return syntax The terminal adaptor would return the message of index saved in mem1 if select text mode CMGF 1 CMGR lt stat gt lt oa gt lt alpha gt lt scts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt used to read received message CMGR lt stat gt lt da gt lt alpha gt lt toda gt lt fo gt lt pid gt lt dcs gt lt vp gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt used to read transmitted message if select PDU mode CMGF 0 CMGR lt stat gt lt alpha gt lt lenth gt lt CR gt lt LF gt lt pdu gt OK if error occurs prompt CMS ERROR lt err gt Note after reading message the status will change from REC UNREAD to REC READ EN ZTEPX GSM Mo
35. PSENDU 1 10 Send data to UDP server after gt abcdefghij successfully connecting the server Send ZIPSNEDU OK 10 bytes abcdefghij OK Parameter port the channel number of UDP links length data length support up to 1000 bytes and support 0x00 0xff transmitting 2 12 3 ZIPSTATUSU check UDP status Description This command is used to check current UDP link status Syntax AT ZIPSTATUSU lt N gt Example AT ZIPSTATUSU 1 Check the No 1 UDP status ZIPSTATUSU ESTABLISHED The No 1 UDP is in use OK Parameter ESTABLISHED UDP already ESTABLISHED DISCONNECTED UDP already disconnected 60 ZTEPX GSM Module 2 12 4 ZIPCLOSEU close UDP link Description This command is used to close the designated UDP link Syntax AT ZIPCLOSEU lt N gt Example AT ZIPCLOSEU 1 Successfully close the No 1 UDP link ZIPCLOSE OK OK Prompt that the No 1 UDP link closed Parameter N the channel number of UDP links representing the channels to be closed ranging from 0 to 4 2 12 5 ZIPRECVU receive UDP data Description This command is used to receive UDP data from UDP server Syntax ZIPRECVU N LEN lt DATA gt Example wee o ZIPRECVU 1 5 abcde Received 5 data abcde from the No 1 are UDP data link Parameter N the channel number of UDP links ranging from 0 to 4 LEN received data length DATA received data The size of each UDP package shall not exceed
36. T CSCA lt sca gt lt tosca gt Example AT CSCA 861380 500 OK AT CSCA CSCA 8613800755500 145 OK Set SMS center number Check SMS center number Parameters lt sca gt SMS center address lt tosca gt SMS center syntax 2 5 2 CNMA message acknowledgement Description This command is used for message acknowledgement Syntax AT CNMA Example at cnmi 2 2 0 0 0 Set message indication syntax OK at csms 1 Set message service syntax CSMS 1 1 1 OK CMT 60 AT CNMA Message acknowledgement OK Parameters Valid when setting CNMI 2 2 0 0 0 and CSMS 1 1 1 1 2 5 3 CMGF SMS mode Description This command is used to set SMS input method Syntax AT CMGF lt num gt Example AT CMGF 1 Set the text mode OK AT CMGF Check current input method CMGF 1 Current settings as text mode AT CMGF Check current setting range CMGF 0 1 OK Parameters 0 PDU mode 1 Text mode 32 ZTE py GSM Module 2 5 4 CNMI message indication Description This command is used to set new message indication Syntax AT CNMl lt mode gt lt mt gt lt bm gt lt ds gt lt bfr gt Example AT CNMI Check current setting range CNMI 0 3 0 3 0 2 3 0 1 0 1 OK AT CNMI 3 1 0 0 0 Set message receiving mode as CMTI OK men index CMTI SM 19 Receive new messages AT CNMI 3 2 0 0 0 Set message receiving mode OK AT CMGF
37. ZTE py GSM Module AT Command Manual For ZTE Corporation s MG2639 Modules Version V2 0 ZTE CORPORATION ZTE py GSM Module Copyright Statement Copyright 2011 by ZTE Corporation All rights reserved No part of this publication may be excerpted reproduced translated or utilized in any form or by any means electronic or mechanical including photocopying and microfilm without the prior written permission of ZTE Corporation ZTEDH is the registered trademark of ZTE Corporation All other trademarks appeared in this manual are owned by the relevant companies ZTE Corporation reserves the right to make modifications on print errors or update specifications in this manual without prior notice ZTE Corporation keeps the right to make the final explanation to this manual ZTE py GSM Module With strong technical force ZTE Corporation can provide CDMA GPRS module customers with the following all around technical support 1 Provide complete technical documentation 2 Provide the development board used for R amp D test production after sales etc 3 Provide evaluations and technical diagnosis for principle diagram PCB test scenarios 4 Provide test environment ZTE Corporation provides customers with onsite supports and also you could get supports through telephone website instant communication E mail etc The module website module ztemt com cn provides the relevant industry information and module technical
38. ata bit 1 digit stop bit no parity check no CTS RTS data rate 115200bps ZTEPX 1 2 Abbreviations GSM Module A ADC Analog Digital Converter AFC Automatic Frequency Control AGC Automatic Gain Control ARFCN Absolute Radio Frequency Channel Number ARP Antenna Reference Point ASIC Application Specific Integrated Circuit B BER Bit Error Rate BTS Base Transceiver Station C CDMA Code Division Multiple Access CDG CDMA Development Group CS Coding Scheme CSD Circuit Switched Data CPU Central Processing Unit D DAI Digital Audio interface DAC Digital to Analog Converter DCE Data Communication Equipment DSP Digital Signal Processor DTE Data Terminal Equipment DTMF Dual Tone Multi Frequency DTR Data Terminal Ready E EFR Enhanced Full Rate EGSM Enhanced GSM EMC Electromagnetic Compatibility EMI Electro Magnetic Interference ESD Electronic Static Discharge ETS European Telecommunication Standard F FDMA Frequency Division Multiple Access ZTEPX GSM Module FR Full Rate G GPRS General Packet Radio Service GSM Global Standard for Mobile Communications H HR Half Rate l IC Integrated Circuit IMEI International Mobile Equipment Identity ISO Inter
39. ation code character string type newpasswd new password or operation code character string type Length password length supported by fac 2 1 28 CGMI inquire manufacturer s information Description This command is used to inquire manufacturer s information Syntax AT CGMI Example AT CGMI Inquire manufacturer s information CGMI ZTE Mobile LTD OK 2 1 29ATZ reset Description This command is used to read the parameter in NVRAM and set it as the current parameter Syntax ATZ lt n gt Example ATZO Reset the parameter correctly OK 23 ZTE py GSM Module 2 1 30 CSCS character set selection Description This command is used to select the type of languages Syntax AT CSCS lt string gt Example AT CSCS CSCS IRA GSM HEX PCCP437 8859 1 UCS2 UCS2_0X81 OK AT CSCS IRA OK AT CSCS CSCS IRA OK Parameters String a type of string selecting IRA GSM etc IRA International Reference Alphabet refer to ITU T T 50 13 excluding some special alphabets GSM GSM default symbols refer to section 6 2 1 in GSM 03 38 UCS2 16bit ISO IEC10646 32 UCS2 string converts to hexadecimal number ranging from 0000 to FFFF 2 1 31 CLCC check call status Description This command is used to check the status of current calls or each call Syntax AT CLCC CLCC lt id1 gt
40. d gt lt class gt CLCK lt status gt Example AT CLCK CLCK PF SC AO Ol OX Al IR AB AG AC FD PN PU PP PC OK 18 IF GSM Module Parameters lt fac gt SC SIM card AO all outgoing calls barring Ol Outgoing international calls barring OX Outgoing international calls barring except for local Al all incoming calls barring IR Incoming roaming barring AB all services barring AG barring of all outgoing calls AC barring of all incoming calls FD Fixed dial PN Personalized network PU Personalized sub network PP Personalized provider PC Personalized corporate lt mode gt 0 unlock 1 lock 2 check the status lt passwd gt password or operation code character string type lt class gt 1 voice call 2 data 4 fax 7 All lt status gt 0 Disable 1 Enable kkk 2 1 23 CCFC call forwarding number and conditions Description This command is used to set call forwarding number and conditions Syntax AT CCFC lt reason gt lt mode gt lt number gt L lt type gt lt class gt lt subaddr gt lt saytype gt time If mode 2 setting successfully return OK If mode 2 setting successfully return CCFC lt status gt lt class gt Example AT CCFC Check call forwarding control setting CCFC 0 1 2 3 4 5 OK Return reason range 19 ZTEPX GSM Module Parameters
41. d send it to CMGW 2 1331653 OK The message will be saved in index 2 AT CMSS 2 Send the messages saved in index 2 CMSS 0 Message sent OK CMSS return initial value 0 AT CMSS 2 As the message is saved CMSS 1 Do not designate the number to send the OK message Message sent send to the address used to save the message CMSS return value 1 AT CMSS 2 1302755 Use number 1302755 to replace the CMSS 2 original number 1331653 and send a OK message to new number 2 5 13 ZSMGS message full indication Description This command is used to indicate the message full status Syntax ZSMGS lt status gt Example ZSMGS FULL ZSMGS FULL OK OK Parameters lt status gt messages status full 42 ZTE py GSM Module 2 6 Phonebook Command 2 6 1 CPBS phonebook storage Description This command is used to select phonebook memory Syntax AT CPBS lt type gt Example AT CPBS Check current phonebook settings CPBS SM 1 250 Select SIM card as current phonebook OK AT CPBR 1 Check phonebook storage memory CPBR 1 130 129 OK AT CPBS Select the phonebook saved in SIM card CPBS ME SM LD MC RC FD DC ON OK Parameters Type SM SIM card FD Fixed dial LD Last dial MC Missed calls ME Module memory DC Dialed calls RC Received calls ON number list in SIM card or ME 2 6
42. db5 MIC PGA 9dbO MIC PGA 10db5 MIC PGA 12dbo MIC PGA 13db5 MIC PGA 15dbo MIC PGA 16db5 72 ZTE pX GSM Module MIC_PGA_18db0 MIC_PGA_19db5 MIC_PGA_21db0 MIC PGA 22db5 L1BbclnputPgaGain Descriptions of returned value OK parameter settings succeed ERROR incorrect parameter syntax Example AT ZMICGB 0 3 12 Note Gain 0 Bias 3 PGA 12 Microphone LDO Regulator Figure 1 73 ZTE py GSM Module 3 Application Cases and Precautions 3 1 SMS Application Case Note The following text marked in red should be entered at cmgf 1 OK Set the message s input mode as text mode at cmgs 13360504647 lt CR gt hallo lt ctrl Z gt CMGS 1 OK Send one message 13360504647 is the number of message recipient and hallo is the message text at cmgw 13360504647 lt CR gt goodbye lt ctrl Z gt CMGW 1 OK write a message in SM 13360504647 is the number of message recipient and goodbye is the message text From the returned information CMGW we could see that the message is saved to the index 1 at cpms CPMS SM 1 50 SM 1 50 SM 1 50 OK Check the current memory From CPMS we know there is a message in SM which is the newly composed message at cmgr 1 CMGR STO UNSENT 13360504647 goodbye OK Read this message with the index No From the returned information CMGR we know
43. dule Parameter lt alpha gt the name of corresponding lt da gt or lt oa gt on the terminal lt stat gt the message status in memory lt Oa gt message original number string lt da gt message target string lt scis gt message service center time string lt lenth gt length of message body lt data gt lt pdu gt ME TA hex value lt stat gt 0 REC UNREAD received unread message 1 REC READ received read message 2 STO UNSENT saved unread message 3 STO SENT saved read message 4 All all messages 2 5 6 CMGW message write Description This command is used to save the messages into lt mem2 gt Syntax TEXT mode AT CMGF 1 AT CMGW lt phone number gt gt string lt ctrl Z gt PDU mode AT CMGF 0 AT CMGW lt string len gt gt pdu string lt ctrl Z gt Example AT CMGF 1 OK AT CMGW 13714393404 Write messages under Text gt AT CMGW 13714393404 lt ctrl Z gt mode CMGW 41 OK AT CMGF 0 OK AT CMGW 17 Write messages under PDU gt 0891683108705505f01 1000b813120 mode 882624f700f1 ff0361f1 1 8 lt ctrl Z gt CMGW 42 OK Parameters phone number string len length of PDU string 2 5 7 CSMS select SMS service Description The command is used to select SMS lt service gt Send SMS MO receive SMS MT cell broadcast SMS CB Syntax AT CSMS lt service gt 36 ZTE py GSM Module Example AT CSMS
44. e cece ee cece tenets eeaeeeeeaeeseeeeeseaaeeeeaeeseeaeeesiaeeeeaaeeenaees 24 2 1 31 4 CLCOG Check Call Status sireisas iannis aaia a a a aaa EEE EAE 24 2 2 DTMF Command a ee EE EA NAS 26 2 21 VTS send E le 26 2 3 Network Service Commande 27 ZTE py GSM Module 2 4 2 5 2 6 2 7 2 8 2 9 2 3 1 CREG network registration and roaming cececceeeeeeeeeeeeeeeeee sae eeeeneeseeeeeseaeeeeaeesennees 27 2 3 2 COPS network selection eccceceeceeeence cece cesses eeeneeeceaeseeaaeeeaeeesaaeseeaaeesseeesaeeseeneessaees 27 Mobile Device Control and Status Hepnort 29 2 4 1 CPAS check modules status 29 2 4 2 CFUN set module s funchon 29 2 4 3 CMEE mobile equipment errors rrnnanrrnrorrrnnnnvnnrnvvnrrr rann nnnnrnrennrrrnennnnnnrrrreennrnennnnnernnnen 29 2 44 ZPWROFF power off uusnsiuinrvmesrte EENS AEN CAE 30 WE e d le iv E 20 2 4 6 CSQ check Signal etrengh 30 2 4 7 CCLK clock management 31 Message Service Commande 32 2 5 1 CSCA SMS center number 32 2 5 2 CNMA message acknowledgement mmnrrnnnnnvnnnnvvnnnrrrvnnnvnnnnnnnnnrnrnnnnnnenvrnnnrrneennnnnrnnnen 32 25 3 CMGF SMS MOdE esaeo hinas ita aae eaae ian ea aa deeded ee AE 32 2 5 4 CNMI message indication cccceceeeceeeeeeeeeeeeeeeeeeecaeeeeaaeeseeeesaaeeeseseeseeeeseaeeeeaeessaees 33 2 5 5 CMGR message read 35 2 5 6 CMGW message write cccccceeeeeeeeneeeceeeeeeeaeeeceeeeseaeeesaaaeeseeeeseaeeeseaaeseeeeesecaeees
45. e result code of call waiting Parameters lt n gt 0 do not send the result code of call waiting 1 send the result code of call waiting lt mode gt 0 Deactivate call waiting 1 Actiavte call waiting 2 Check current state lt class gt 1 voice call lt status gt 0 deactivate 1 activate lt number gt call waiting number and its syntax designated by lt type gt lt type gt lt number gt syntax lt alpha gt lt CLI validity gt see AT CLIP 21 ZTE py GSM Module 2 1 25 CHLD call hold Description This command is used to set call held and conference call Syntax AT CHLD lt n gt Example AT CHLD Check supported lt n gt CHLD list of supported lt n gt s OK AT CHLD lt n gt Set call held and conference call If the setting is successful OK If there is an error in operation CME ERROR lt err gt Parameters lt n gt 0 release all held calls or set a waiting call as UDUB 1 Release all activated calls and receive a held or waiting call 1X Release call X 2 Hold all activated calls and receive another held or waiting call 2X hold all calls except for call X 3 Add the held call into the conference call 4 Connect two calls or end two calls 5 Activate call request from busy subscriber Remarks 1 This command is used for telecom service 2 The range of X value 1 7 3 When there is both held call and waiting call the process ab
46. e use ASCII code 3 lt dcs gt integer type 3GPP 23 038 Cell Broadcast Data Coding Scheme Recommended to use 15 Descriptions of returned value CUSD lt m gt lt str gt lt dcs gt OK Among lt m gt 0 no further user action required 1 further user action required 2 USSD terminated by network 3 other local client has responded 4 operation not supported 5 network time out Example AT CUSD 1 0 100 15 Connect 100 and CUSD returned information is 1 6b228fce4f7f75285e7f4e1 c79fb52a85feb4fe1003 within and the encoding 100300030ff01000a003165b095fb59296c14000a00 method is UCS2 3280a17968884c60c5000a00334f1 195f29a7f7ad90 00a00346c11751f67e58b e 2000a00357ecf51 786d4b8bd5000a00366211 7684 5feb4fe1000a00374f7f75285e2e52a9000a 72 OK Note The second parameter must be 0 Description Send USSD data binary Syntax AT CUSD n len dcs Parameter 1 lt n gt Odisable result code presentation in the TA y 1 enable result code presentation in the TA 2 cancel session 2 lt len gt The length of binary data required unit byte 3 lt dcs gt integer type 3GPP 23 038 Cell Broadcast Data Coding Scheme Recommended to use 15 Descriptions of returned value CUSD lt m gt lt str gt lt dcs gt OK 54 IF GSM Module Among lt m gt 0 no further user action required 1 further user action required 2 USSD
47. ent TCP link status ZIPSTATUS ESTABLISHED OK Parameter ESTABLISHED TCP link established DISCONNECTED TCP link disconnected 2 11 6 ZIPRECV receive data from current data link Description This command is used to receive data asynchronously Syntax ZIPRECV N LEN lt DATA gt Example of eee ee ZIPRECV 1 5 abcde Received 5 data abcde from No 1 TCP EE data link Parameter N the number of TCP links and the value is 1 LEN length of received data DATA received data 59 ZTEPX GSM Module 2 12 UDP Link Commands 2 12 1 ZIPSETUPU set up UDP server link Description This command is used to bundle with the UDP server link Syntax AT ZIPSETUPU lt N gt lt IP gt lt M gt Example AT ZIPSETUPU 1 61 144 216 219 2332 The UDP server s bundled address is OK 61 144 216 219 with the port no 2332 Return with bundling succeeded Parameter N the channel No of UDP links ranging from 0 to 4 support 5 UDP links with 5 different IP addresses and ports IP IP address of target server ranges from 0 255 M port number Remarks MTK only supports 6 sockets online at the same time The total number of TCP and UDP links can t exceed 6 when establishing the links 2 12 2 ZIPSENDU send data to UDP server Description This command is used to send data to the bundled UDP server Syntax AT ZIPSENDU port length lt CR gt Send data after prompt with gt Example AT ZI
48. ging 0 100 the lower the level is the smaller the volume is 2 1 15 CLIP Calling Line Identification Presentation Description This command is used to set CLIP The default settings are to disable CLIP Syntax AT CLIP lt mode gt CLIP lt mode gt return from AT CLIP CLIP lt number gt lt type gt lt name gt lt subaddr gt lt cli_validity gt AT CLIP CLIP lt mode gt lt status gt Example AT CLIP 1 Enable CLIP OK RING CLIP 130 129 There is an incoming call incoming name 70 number is 130 AT CLIP 0 Disable CLIP OK RING No CLIP At CLIP Inquire CLIP CLIP 0 1 OK Parameters lt mode gt 0 disable CLIP 1 enable CLIP lt number gt incoming number need apply for relevant service lt type gt 129 lt name gt contact s name lt subaddr gt syntax of sub address specified by satype Default as null by MTK lt status gt CLIP status 0 Do not provide CLIP service 1 Provide CLIP service 2 Unknown unavailable network 16 ZTEPX GSM Module 2 1 16 ZSETMUTE mute control Description This command is used for mute control and it can be used only during the call Syntax AT ZSETMUTE lt Mode gt Example AT ZSETMUTE ZSETMUT 0 1 OK check the setting parameters AT ZSETMUTE 1 OK Mute on AT ZSETMUTE 0 OK Mute off Parameters lt Mode gt 0 Turn off mute 1 Turn on mute 2 1 17 CIMI International
49. his command is used to set the IP address of the DNS Syntax AT ZDNSSERV lt IP1 gt lt IP2 gt Parameter lt IP1 gt the IP address of main DNS lt IP2 gt the IP address of sub DNS Example AT ZDNSSERV 211 136 20 203 211 136 18 171 Set DNS IP address OK AT ZDNSSERV 211 136 20 203 OK AT ZDNSSERV Check DNS IP address 211 136 20 203 211 136 18 171 OK Remarks When setting the server you must mandatorily set the main DNS server and selectively set the secondary DNS server For IP settings the parameter can t exceed 255 2 10 6 ZDNSGETIP obtain Internet Domain name s IP address Description This command is used to obtain Internet Domain name s IP address Syntax AT ZDNSGETIP lt domain name gt Parameter lt domain name gt Internet domain name Example AT ZDNSGETIP WWW 163 COM Obtain IP address 202 108 09 32 202 108 09 33 OK 57 ZTEPX 2 11 TCP Link Commands 2 11 1 ZIPSETUP Set up TCP server link GSM Module Description This command is used to send data to a bundled TCP server Syntax AT ZIPSETUP lt N gt lt IP gt lt M gt Example AT ZIPSETUP 1 61 144 216 219 2332 Connect to TCP server ZIPSETUP CONNECTED OK Parameter N the channel No of TCP links ranging from 0 to 4 support 5 TCP links with 5 different IP addresses and ports IP IP value of one target address range 0 255 M port number Remarks MTK
50. ion mode and network OK AT COPS lt mode gt lt syntax gt lt oper gt Select and register network OK 27 ZTEPX GSM Module Parameter lt mode gt 0 auto select omit lt syntax gt lt oper gt 1 manual select need lt syntax gt lt oper gt 3 not involve network registration this command is used to set syntax only at this point need lt syntax gt 4 manual auto If manual registration fails auto register lt syntax gt 0 syntax of long character lt oper gt 1 ormat of short character lt oper gt 2 number syntax lt oper gt lt syntax gt 0 long syntax alpha lt oper gt up to 16 character 1 short lt oper gt up to 8 character 2 numeric lt oper gt MCC MNC default lt stat gt 0 unknown 2 current registered network 3 forbidden registered network 28 ZTE py GSM Module 2 4 Mobile Device Control and Status Report 2 4 1 CPAS check module s status Description This command is used to check the module s work status Syntax AT CPAS Example AT CPAS Check the module s current work status CPAS 2 OK Parameter lt pas gt 0 Ready to receive AT command 2 Unknown status default 3 Incoming call ring 4 Ina call lt pas gt lt pas gt 0 ready to receive AT command 1 Not ready to receive AT command 2 Unrecognized status 3 Incoming call Ring 4 can receive AT command but in a call 5 In low powe
51. lt alpha gt lt scts gt lt tooa toda gt lt length gt lt CR gt lt LF gt lt data gt lt CR gt lt LF gt CMGL lt index gt lt stat gt lt da oa gt lt alpha gt lt scts gt lt tooa toda gt lt length gt lt CR gt lt LF gt lt data gt Received transmitted message list OK 2 PDU mode as below CMGL lt index gt lt stat gt lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt Parameters 1 text mode CMGF 1 lt stat gt REC UNREAD receive unread message REC READ receive read message STO UNSENT store unsent message STO SENT store sent message ALL all messages 2 PDU Mode CMGF 0 lt stat gt lt stat gt 0 received unread message 1 received read message 2 saved unsent message 3 saved unsent message 4 All messages lt index gt message index lt length gt TPDU length in PDU mode lt pdu gt binary system in PDU mode lt data gt message text in text mode 41 ZTE py GSM Module 2 5 12 CMSS messages saved in SIM card Description This command is used to send the messages saved in SIM card Syntax AT CMSS lt index gt lt da gt lt toda gt Return syntax CMSS lt mr gt CMS ERROR lt err gt If the new target number is designated the new number will replace the number saved in the message Example AT CMGF 1 Set as text mode AT CMGW 1331653 lt CR gt ABC lt ctrl Z gt Write a message an
52. lt dir gt lt stat gt lt mode gt lt mpty gt lt number gt lt type gt lt alpha gt lt priority gt CLCC lt id2 gt lt dir gt lt stat gt lt mode gt lt mpty gt lt number gt lt type gt lt alpha gt lt priority gt Example AT CLCC OK ATD10086 OK AT CLCC CLCC 1 0 2 0 0 10086 129 OK 24 ZTEPX GSM Module Parameters lt idx gt caller ID lt dir gt call direction taking the following value 0 MO 1 MT lt stat gt call status taking the following value 0 activated 1 call held status 2 call originated dialing 3 call originated ringing 4 Incoming call ring status 5 call waiting lt mode gt call type taking the following value 0 voice call 1 data call 2 fax lt mpty gt multi party call taking the following value 0 Non multi party call 1 Multi party call lt number gt call number ASCII code lt type gt call number type lt alpha gt the text information corresponding to the call number in the phonebook don t support temporarily reserve the string lt priority gt do not support string temporarily 25 IF 2 2 DTMF Command 2 2 1 VTS send DTMF GSM Module Description This command is used to send DTMF Syntax AT VTS lt string gt Example AT VTS VTS 0 9 A B C D 1 255 OK Check VTS parameter ATD AT VTS 3 6 9 AT VTS 3 AT VTS 6 AT VTS 9 Dial Send 36
53. lt reason gt O unconditional 1 mobile device busy 2 No answer 3 Can t be connected 4 All calls 5 all conditions lt mode gt 0 disabled 1 enabled 2 check status 3 register 4 delete lt number gt phone number lt type gt 145 international number 129 other number lt subaddr gt address of character string type lt saytype gt 128 lt class gt 1 voice 2 data 4 fax 7 all Time 1 20 30 multiplies 5 seconds lt status gt 0 deactivate 1 activate Remarks Need apply for relevant services 20 ZTE py GSM Module 2 1 24 CCWA call waiting Description This command is used for call waiting Syntax AT CCWA lt n gt lt mode gt lt class gt Example AT CCWA List all supported lt n gt CCWA list of supported lt n gt s OK AT CCWA Read current lt n gt CCWA lt n gt OK AT CCWA lt n gt Call waiting setting lt mode gt As mode 2 if successful lt class gt OK As mode 2 return CCWA lt status gt lt class1 gt lt CR gt lt LF gt CCWA lt status gt lt class2 gt OK If there is an error in operation CME ERROR lt err gt If lt n gt 1 send the result code of call waiting CCWA lt number gt lt type gt lt class gt lt alpha gt lt CLI validity gt Under the premise of call waiting activated during the call connection process As the call terminates in the system send th
54. message under text mode 2 5 9 CPMS preferred message storage Description This command is used for preferred message storage Syntax AT CPMS lt mem1 gt lt mem2 gt lt mem3 gt CPMS lt used1 gt lt total gt Example AT CPMS SM SM SM Check message storage in SIM card CPM5 4 50 4 50 4 50 OK at cpms CPMS SM ME SMP ME P MIT SM ME SM P ME P MIT SM ME SM Pr ME Pr MT OK at cpms CPMS SM 4 50 SM 4 50 SM 4 50 OK at cpms me me me CPMS 0 450 0 450 0 450 OK at cpms CPMS ME 0 450 ME 0 450 ME 0 450 OK mem total capacity 50 entries 4 used mem total capacity 50 entries 4 used mem total capacity 50 entries 4 used 38 ZTEPX GSM Module Parameters lt mem1 gt used to read delete message in SIM card lt mem2 gt used to write and send message in SIM card lt mem3 gt used for messages not saved to PC in SIM card lt used gt used entries lt total gt total number of memory SM SIM card ME NVRAM 2 5 10 CMGD message delete Description This command is used to delete a message from selected memory Syntax AT CMGD lt Index gt Example AT CMGF 1 Set as text mode AT CMGL all List all messages CMGL 1 REC READ 30 m abcdefg CMGL 2 REC READ mi 31 E abcdef CMGL 3 STO SENT 1391 m oparxt OK AT CMGD
55. naeeeeees 36 2 5 7 CSMS select SMS Service rrrrnrnnrnnnnnvnnnrrrnannrnnnnnvnnnnrrrnnnrnnnnnrennnrnrsnnnnenenressrnessnnnnnensen 36 2 5 8 EE ME Ee TEE 37 2 5 9 CPMS preferred message storage nnn 38 2 5 10 CMGD message delete cccccccceeeeseeeceeeeeeeaeeeeeeeeceaeeeeeaaeeeeeeeseaeeeeeaaeseeeeeesiaeeesiaeeseaes 39 25 11 ee Ee CHE A0 2 5 12 CMSS messages Saved in SIM can 42 2 5 13 ZSMGS message full indication eeeeeeceeeeeteeceeeee eee aeeeeeeececeeeesaaeeeeaaeeseeeessaeeeseneeeeaees 42 Phonebook Command uisksmmdvrsmbeden cane stints cacadas ddesnasval oeages wcedchtdacevedddesesdendsaidvavectatadeeniaes dot 43 26 1 CPBS phonebook Storage Au 43 2 6 2 CPBR phonebook read 43 2 6 3 CPBW phonebook write ceccceccceceeeeeeceeeeeeeaeeeeeeeeseaeeeeeaaeeeeeeeseeaeeesaaeseeeeeessaeeeeiaeeeeaes 44 2 6 4 CPBF phonebook md 45 2 6 5 FGNUMBOWNEl S NUMDEN cccasczcccnss cecnend Ada ee envaicauasnevtnes iaudcadesae ects aaa A Tee 46 Data Compression Commande 47 20 1 E lege Ve Tute anne denmig amter 47 2 1 2 AD Sot DIR Mode E 47 2 73 QC set DOD e 47 2 7 4 IPR set modules Daud rate errnnornnrrnvnvnrnnnnnnvnnnnannvnnnrnnnnvnnrnannnvnnnnannnnnnrnennnnnesennnennen 47 2 19 A amp F restore factory Settings sorcer maser sendetid 48 2 16 amp W save le EE 48 EIS Renn ul Gaunt stam dukens 49 2 8 1 GCGDCONT set PDP uranet eddik bier ented 49 2 8 2 CGACT activate deactivate PDP 49 2 8 3 GGAT T s
56. national Standards Organization ITU International Telecommunications Union L LCD Liquid Crystal Display LED Light Emitting Diode M MCU Machine Control Unit MMI Man Machine Interface MS Mobile Station P PCB Printed Circuit Board PCL Power Control Level PCS Personal Communication System PDU Protocol Data Unit PLL Phase Locked Loop PPP Point to point protocol R RAM Random Access Memory RF Radio Frequency ROM Read only Memory RMS Root Mean Square RTC Real Time Clock 10 ZTEPX GSM Module SIM Subscriber Identification Module SMS Short Message Service SRAM Static Random Access Memory T TA Terminal adapter TDMA Time Division Multiple Access TE Terminal Equipment also referred it as DTE U UART Universal asynchronous receiver transmitter UIM User Identifier Management USB Universal Serial Bus V VSWR Voltage Standing Wave Ratio Z ZTE ZTE Corporation 11 ZTEPX 2 AT Commands 2 1 Common Commands 2 1 1 A repeat GSM Module Description This command is used to repeat the previous command Syntax Al AT CSQ Inquire current signal strength Al Repeat AT CSQ command Example AT CMGS 13714393404 Send a text message gt 123 Al Repeat AT CMGS command gt 123 2 1 2 ATA answer Description This command is used to answer a
57. nds could be divided into four types Without parameter a type of simple commands Syntax AT amp lt command gt e g AT CSQ AT amp W I Query used to inquire the current setting value Syntax AT amp lt command gt e g AT CNMI Help used to list the possible parameters of the command Syntax AT amp lt command gt e g AT CMGL Parameter a kind of mostly common syntax which provides strong flexibility to the command Syntax AT amp lt command gt lt par1 gt lt par2 gt lt par3 gt The returned values of this type of commands are all the same This will be clarified in details later The basic frame of the returned value is lt CR gt lt LF gt lt Response string gt lt CR gt lt LF gt lt CR gt lt LF gt lt OK ERROR gt ERROR INFO lt CR gt lt LF gt 1 1 2 Returned Syntax of AT Commands The following describes the AT commands and returned descriptions supported by MG2639 module I AT command returned syntax lt CR gt lt LF gt lt corresponding strings gt lt CR gt lt LF gt An exceptional case e g AT ZPOWEROFF directly return with OK I AT command status report OK ERROR If there is error in AT command syntax return with ERROR If AT command executes successfully return with OK 1 1 3 AT Command Syntax I AT command starts with AT and ends with lt CR gt I After the module runs the serial port default setting will be 8 digit d
58. nload larger files the data might be lost if you set a smaller value of output interval Generally select a value from 5 to 10 For large files select 10 3 As you download larger files data echo might be displayed in sections The file information would generally not be packaged 4 Prior to the downloading you d better set the file type 5 If there is no command operation or data transmitting within a certain period of time the FTP server may initiatively close Therefore during the process of data echo the timeout prompt might appear 2 14 5 ZFTPDEL delete files Description This command is used to delete the files on the FTP server Syntax AT ZFTPDEL lt dir amp filename gt Description dir amp filename file directory or file name of parameters Example at zftpdel test1 txt Delete the file test1 txt on the FTP server OK ZFTPDEL OK Remarks None 68 ZTEPX 2 14 6 ZFTPQUIT quit FTP GSM Module Description This command is used to quit the FTP server Syntax AT ZFTPQUIT Description None of parameters at zftpquit Quit the FTP server OK ZFTPQUIT OK Example at zftpquit Quitted FTP server already execute the FTP IS NOT LOGIN delay command Remarks None 69 ZTE py GSM Module 2 15 Relevant Audio Commands 2 15 1 ZCALLTONE set pick up tone Description Play pause the pick up tone Syntax AT ZCALLTONE lt n gt AT ZCAL
59. ove should be applied for the waiting call 4 When releasing call please firstly use AT CHLD 1 to release the current call and use ATH to hang up the call 5 Please refer to the method of conference call provided by the operator when using AT CHLD 3 2 1 26 TSIMINS check SIM card status Description This command is used to check SIM card status Syntax AT TSIMINS num status Example AT TSIMINS Check SIM card status TSIMINS 0 0 OK No SIM card 22 ZTEPX GSM Module Parameters Num take 0 or 1 no meaning Status 0 There is no SIM card 1 There is SIM card 2 1 27 CPWD change password Description This command is used to change the password Syntax AT CPWD lt fac gt lt passwd gt lt newpasswd gt CPWD lt fac length gt s Example AT CPWD Check the setting range CPWD Return the list of parameters SC 8 P2 8 AO 4 Ol 4 OX 4 Al 4 IR 4 AB 4 AG 4 AC 4 OK AT CPWD SC 1234 2345 OK Change password of SIM card Parameters Fac SC SIM card AO all outgoing calls barring Ol Outgoing international calls barring OX Outgoing international calls barring except for local Al all incoming calls barring IR Incoming roaming barring AB all services barring AG barring of all outgoing calls AC barring of all incoming calls FD Fixed dial Passwd password or oper
60. ple No parameter Descriptions of ZGETICCID 89860042190733578148 Description ICCID value as returned 89860042190733578148 values OK 51 ZTE py GSM Module 2 9 4 ZCSQ set auto display CSQ Description This command can be used to set a threshold value lt NUM gt As the RSSI is larger than the threshold value the module will send CSQ at the COM port Note Note the threshold value lt NUM gt does not refer to the RSSI The threshold value is identical to the lt rssi gt displayed by the command AT CSQ Besides the command would affect RI status Please pay attention and avoid mixing with incoming call indication Syntax AT ZCSQ lt NUM gt Example AT ZCSQ 5 CSQ 24 0 OK AT ZCSQ 5 OK AT ZCSQ ZCSQ 0 32 OK Parameter lt NUM gt range 0 32 Remarks As the RSSI is larger than the threshold value lt NUM gt the module would pull RI pin ME3000 Pin15 down 50ms and display the current RSSI value in the syntax of CSQ lt rssi gt lt ber gt while restoring RI pin s high level If the threshold value lt NUMs is equal to 0 stop reporting the signal quality If the threshold value lt NUM gt default value is 0 the module will auto restore to the default settings after restart When checking RSSI if return CSQ 99 99 99 doesn t represent the actual lt rssi gt value but the valid lt rssi gt value which is not yet obtained 2 9 5
61. r consumption mode can t normally receive AT command 2 42 CFUN set module s function Description This command is used to enable disable some functions of the module Syntax AT CFUN lt func gt lt rst gt Example AT CFUN Check the setting range CFUN 1 4 0 1 OK AT CFUN 1 0 Settings validate invalid after reset AT CFUN 1 1 Settings valid after reset Parameter lt fun gt 1 Full function default 4 Disable RF Tx and Rx Function lt rst gt 0 valid after settings 1 valid after restart 2 4 3 CMEE mobile equipment errors Description This command is used for mobile equipment s error report Syntax AT CMEE lt n gt 29 ZTE py GSM Module Example AT CMEE CMEE lt n gt OK Check current error report method AT CMEE lt n gt OK Select error report method Parameter lt n gt 0 Only ERROR 1 Provide error s specific number 2 Provide error s specific number and detailed prompt 2 4 4 ZPWROFF power off Description This command is used to power off the module Syntax AT ZPWROFF Example AT ZPWROFF Power off the module OK 2 4 5 CPIN input PIN Description This command is used to check PIN status and input PIN The functions can be used only after the correct PIN is entered Syntax AT CPIN Example AT CPIN check PIN status CPIN READY No need to input new PIN OK AT
62. rent phone memory SM is empty 75 ZTE py GSM Module at cpbw 1 13086672098 129 john OK Write a phone entry into current phonebook memory SM 1 represents save by auto searching space 13086672098 is the telephone number 120 is the type of phone number and john is the name at cpbs CPBS SM 1 200 OK Check the current memory From CPMS we know that the entry has been stored at the index 1 in the current phone memory SM at cpbr 1 CPBR 1 13086672098 129 john OK Read the phonebook entry atd gt 1 OK Dial the index number in the current phonebook atd gt john OK Dial the name from the current phonebook ath OK Use ATH to hang up the call at cpbs ME OK Select ME phonebook memory at cpbs CPBS ME 0 18 OK Check the current memory From CPMS we know that the current phone memory ME is empty at cpbw 1 13086672098 129 john OK Write a phone entry into the current phonebook memory ME 1 represents save by auto searching space 13086672098 is the telephone number 129 is the type of phone number and john is the name at cpbs 76 ZTE py GSM Module CPBS ME 1 18 OK Check the current memory From CPMS we know that the entry has been stored at the index 1 in the current phone memory ME at cpbr 1 CPBR 1 13086672098 129 john OK Read this phonebook entry
63. t you want to obtain is Content or Info parameters 1 obtain file contents 2 obtain file or designated directory information output_interval interval 1500 byte each time as the module outputs through COM port Take the value from 0 10 with the unit of second 0 represents the default value 20ms Example at zftpdnload test1 txt 1 4 Download a txt file from the OK server with the file s name ZFTPDNLOAD Recv Start test1 txt and 12345678901234567890123456789012345678901234 size of 511 56789012345678901234567890123456789012345678 bytes 67 ZTEPX GSM Module 90123456789012345678901234567890123456789012 34567890123456789012345678901234567890123456 78901234567890123456789012345678901234567890 12345678901234567890123456789012345678901234 56789012345678901234567890123456789012345678 90123456789012345678901234567890123456789012 34567890123456789012345678901234567890123456 78901234567890123456789012345678901234567890 12345678901234567890123456789012345678901234 567890123456789012345678901 ZFTPDNLOAD Recv End at zftpdnload test1 txt 2 4 Obtain the relevant OK information of testi output at ZFTPDNLOAD Recv Start the interval of rw r r 1 ftp ftp 511 Jun 08 16 28 test1 txt 45 ZFTPDNLOAD Recv End Remarks 1 This command is only used to read the file not larger than 10K if the file is larger than 10K the data might be lost 2 Pay attention to the setting of output interval As you dow
64. ta OxOd recommended it will trigger the transmitting process Example AT ZTCPSENDP 10 Send 10 characters through the gt 1234567890 monitored link ZTCPSEND P OK OK Note Prior to the use of this command the monitored connection must be established 62 ZTEPX GSM Module 2 13 3 ZTCPCLOSEP close monitored connection Description This command is used to close the monitored connection Syntax AT ZTCPCLOSEP lt channel gt Descriptions of OK connection closed returned value ERROR link not existed or other error Example at ztcpclosep Close the No 1 connection ZTCPCLOSEP OK monitored OK Note Prior to the use of this command the monitored connection must be established 2 13 4 ZTCPRECV P receive data report Description This command is used to receive data report Syntax ZTCPRECV P lt channel gt lt dataLength gt data Parameter Channel upon multiple connections mark the connection through which transmits the data dataLength the length of received data Data received data Example ZTCPRECV P 1050 1050 characters received 789012345678901 23456789012345678901 234 567890123456780 12345678901 234567890123 456789012345678901 23456789012345678901 234567890 123456 78012345678901234567890 123456 78901234567890123456 789012345678 901234567890 12345678012345678901 234567 89012345678901234567890123456789012345 678901 234567890 123456780123456
65. tch to microphone AT SPEAKER 1 OK Switch to headset AT SPEAKER SPEAKER 0 1 OK Check status Parameters lt mode gt 0 microphone default 1 headset 2 15 4 ZMICGB set MIC audio parameters Description This command is used to change MIC input channel s audio parameters Syntax AT ZMICGB lt Gain gt lt Bias gt lt PGA gt set parameters AT ZMICGB check parameter setting syntax AT ZMICGB check current parameters Parameter Refer to the definitions of three parameters in MIC output circuit in figure 1 1 Gain 0 7 refer to the corresponding relationship between the parameter and the gain 71 ZTE py GSM Module typedef enum L1BbcMicGainTag MIC GAIN 0 0 MIC GAIN 1 MIC GAIN 2 MIC GAIN 3 MIC GAIN 4 MIC GAIN 5 MIC GAIN 6 MIC GAIN 7 L1BbcMicGain 2 Bias 0 7 refer to the corresponding relationship between the parameter and the current typedef enum LiBbcMicBiasTag MIC BIAS CURRENT 500 UA 0 MIC BIAS CURRENT 303 UA MIC BIAS CURRENT 183 6 UA MIC BIAS CURRENT 111 25 UA MIC BIAS CURRENT 67 41 UA MIC BIAS CURRENT 40 85 UA MIC BIAS CURRENT 24 75 UA MIC BIAS CURRENT 15 UA L1BbcMicBias 3 PGA 0 15 refer to the corresponding relationship between the parameter and the db value typedef enum L1BbclnputPgaGainTag MIC_PGA_Odb0 0 MIC_PGA_1db5 MIC_PGA_3db0 MIC_PGA_4db5 MIC_PGA_6db0 MIC PGA 7
66. ts gt lt tooa gt lt fo gt lt pid gt lt dcs gt lt sca gt lt tosca gt lt length gt lt CR gt lt LF gt lt data gt message contents directly displayed but not saved PDU mode CMT lt alpha gt lt length gt lt CR gt lt LF gt lt pdu gt 3 For class 3 messages directly send to TE just as lt mt gt 2 For other class the same goes to lt mt gt 1 lt bm gt Indication method upon the receipt of broadcast message 0 No CBM alert sent to TE 2 Send new CBM directly to TE text mode CBM lt sn gt lt mid gt lt dcs gt lt page gt lt pages gt lt CR gt lt LF gt lt data gt text mode cell broadcast contents directly displayed but not saved PDU mode CBM lt length gt lt CR gt lt LF gt lt pdu gt 3 Class 3 CBM uses the result code defined in lt mt gt 2 and directly sends to TE lt ds gt message status report 0 no message status report sent to TE 1 send message status report to TE CDS lt length gt lt CR gt lt LF gt lt pdu gt PDU mode CDS lt fo gt lt mr gt lt ra gt lt tora gt lt scts gt lt dt gt lt st gt TEXT mode lt bfr gt 0 as lt mode gt is set as 1 3 the code saved in TA will be sent to TE return OK prior to transmitting the code 1 as lt mode gt is set as 1 3 t code saved in TA will be erased ZTE py GSM Module 2 5 5 CMGR message read Description This command is used to read the received message Syntax AT C
Download Pdf Manuals
Related Search
Related Contents
Computing Server User Guide - Cellular Imaging & Analysis AVer FV2006 EJ600 Series Instructions Samsung Máy giặt cửa trước với Thiết kế Pha lê trắng 7,5kg (WW75J4213IW) Hướng dẫn sử dụng K&M 17541 VT-1252 EV1M2-12/24 取 扱 説 明 書 警告 Manual Classy 3200 bauab_fp_dr_prud - Repositório Institucional UNESP Copyright © All rights reserved.
Failed to retrieve file