background image

 

                                                                           GSM Module 

2.1.30

 

  +CSCS: character set selection 

Description 

This command is used to select the type of languages; 

Format 

AT+CSCS=<string> 

 

Example AT+CSCS=? 

 

+CSCS: "IRA", "GSM", "HEX", 
"PCCP437", "8859-1", "UCS2", 
"UCS2_0X81"  
OK  
AT+CSCS=”IRA”  
OK  
AT+CSCS?  
+CSCS: ”IRA”   
OK  

 

 

2.1.31

 

+CLCC: check call status 

 

Description 

This command is used to check the status of current calls or each call; 

Format AT+CLCC 

 

+CLCC:<id1>,<dir>,<stat>,<mode>,<mpty>,[,<number>,<type>  
[,<alpha>[,<priority>]]]  
+CLCC:<id2>,<dir>,<stat>,<mode>,<mpty>,[,<number>,<type>  
[,<alpha>[,<priority>]]]  
……  
OK  

Example AT+CLCC 

 

OK  
ATD10086 ;   
OK  
AT+CLCC  
+CLCC: 1,0,2,0,0,"10086",129   
OK  

 

                                                                                                       

24

Summary of Contents for ME3000_V2

Page 1: ...GSM Module AT Command Manual For ZTE Corporation s ME3000_V2 Module Version V1 5 ZTE CORPORATION ...

Page 2: ...ng photocopying and microfilm without the prior written permission of ZTE Corporation 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 ex...

Page 3: ...t 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 documentation The authorized module customers could download the latest technical documentation from our websit...

Page 4: ...mmand Complete the description of ZIPSETUP U command V1 4 Modify the format of ZMICGB command Delete VTD command Support ATD ZTK01234568 and the call of special symbol Add pas 1 not ready unable to receive AT commands in CPAS Modify the timeout for TCP return succeeded from 20s to 75s Prompt of inputting PUK after entering wrong PIN for three times Do not display the characters transmitted excessi...

Page 5: ...5 2 1 12ATS0 auto answer setting 15 2 1 13 CRC set ringer type 15 2 1 14 CLVL volume level 16 2 1 15 CLIP Calling Line Identification Presentation 16 2 1 16 ZSETMUTE mute control 16 2 1 17 CIMI International Mobile Identification 17 2 1 18 CGMR get product version 17 2 1 19 ECHO echo remove 17 2 1 20 C GSN get current IMEI 17 2 1 21 ZVERS get current software version 18 2 1 22 CLCK lock 18 2 1 23 ...

Page 6: ...e 35 2 5 7 CMGS message send 36 2 5 8 CPMS preferred message storage 36 2 5 9 CMGD message delete 37 2 5 10 CMGL message list 38 2 5 11 CMSS messages saved in SIM card 40 2 5 12 ZSMGS message full indication 40 2 6 Phonebook Command 41 2 6 1 CPBS phonebook storage 41 2 6 2 CPBR phonebook read 41 2 6 3 CPBW phonebook write 42 2 6 4 CPBF phonebook find 43 2 6 5 CNUM owner s number 44 2 7 Data Compre...

Page 7: ... 57 2 11 6 ZIPRECV receive data from current data link 57 2 12UDP Link Commands 58 2 12 1 ZIPSETUPU set up UDP server link 58 2 12 2 ZIPSENDU send data to UDP server 58 2 12 3 ZIPSTATUSU check UDP status 58 2 12 4 ZIPCLOSEU close UDP link 58 2 12 5 ZIPRECVU receive UDP data 59 2 13Server Commands 60 2 13 1 ZTCPLISTEN set port monitoring 60 2 13 2 ZTCPSENDP send data through passively opened link 6...

Page 8: ...tion 71 2 16 2 ZBCCH lock BCCH 72 2 16 3 ZBAND lock GSM band 73 2 16 4 ZOPT lock network operator 74 2 16 5 ZCALIST read carrier wave list 75 3 Application Cases and Precautions 76 3 1 SMS Application Case 76 3 2 Phonebook Application Case 77 7 ...

Page 9: ...ommands used to list the possible parameters of the command with the format of AT command e g AT CMGL Parameter commands normally used format which provides strong flexibility with the format of AT command par1 par2 par3 The returned values of this type of commands are all the same This will be clarified in details later The basic frame format of the returned value is CR LF Response string CR LF C...

Page 10: ...ion 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 Electro...

Page 11: ... International 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...

Page 12: ...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 ...

Page 13: ...ING An incoming call rings Example ATA Answer the incoming call 2 1 3 ATD dial Description This command is used to originate a voice call data and fax call Format ATD string ATD mem n ATD n ATD name AT CPBS SM ATD13024540756 Select SIM card phonebook as the current phonebook Search the number from SIM card phonebook and dial AT CPBS SM ATD 2 OK Select SIM card phonebook as the current phonebook Se...

Page 14: ... is used to dial the last outgoing number Format ATDL ATD34394036 OK Dial 34394036 ATH OK Hang up the call Example ATDL Dial 34394036 again 2 1 5 ATE enable Description This command is used to enable echo display Format ATE n ATE0 OK OK ATE0 don t display input command on the terminal Example ATE1 OK ATE1 OK ATE1 displays input command on the terminal Parameters n 0 Disable echo display n 1 Enable...

Page 15: ...to set whether or not to display the returned value Format ATQ n ATQ0 OK ATQ0 OK Set the terminal displays the returned value Example 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 Format Example ATD 99 CONNECT AT OK Dial to enter data mode Switch from data mo...

Page 16: ...s command is used to control the module s auto answer mode Format ATS0 value ATS0 2 OK Auto answer after ringing twice ATS0 2 OK Check current settings Example ATS0 0 OK Cancel auto answer Parameter value ringing times 2 1 13 CRC set ringer type Description This command is used to display the type of ringer Format AT CRC num Example AT CRC 1 OK CRING VOICE Set RING as ringer type Set CRC as ringer...

Page 17: ...on This command is used to set CLIP The default settings are to disable CLIP Format AT CLIP mode CLIP mode return from AT CLIP CLIP number type CLIP format AT CLIP 1 OK RING CLIP 130 129 name 0 Enable CLIP There is an incoming call incoming number is 130 Example AT CLIP 0 OK RING Disable CLIP No CLIP Parameters mode 0 disable CLIP 1 enable CLIP number incoming number need apply for relevant servic...

Page 18: ...roduct version Description This command is used to obtain the module s current product version Format AT CGMR AT CGMR OK No meaning Example AT CGMR CGMR Revision 1 0 OK Return current module s version 2 1 19 ECHO echo remove Description This command is used to remove the echo Format AT ECHO num AT ECHO ECHO 1 OK Check current echo settings Example AT ECHO 0 OK Cancel echo remove Format Num default...

Page 19: ...AO OI OX AI IR AB AG AC FD PN PU PP PC OK Parameters fac SC SIM card AO all outgoing calls barring OI Outgoing international calls barring OX Outgoing international calls barring except for local AI 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 su...

Page 20: ...et call forwarding number and conditions Format AT CCFC reason mode number type class subaddr saytype time If mode 2 setting successfully return OK If mode 2 setting successfully return CCFC status class Example AT CCFC CCFC 0 1 2 3 4 5 OK Check call forwarding control setting Return reason range 19 ...

Page 21: ...ons mode 0 disabled 1 enabled 2 check status 3 register 4 delete number phone number type 145 international number 129 other number subaddr address of character string type saytype 128 class 1 voice 2 data 4 fax 7 all Time 1 20 30 multiplies 5 seconds status 0 deactivate 1 activate Remarks Need apply for relevant services 20 ...

Page 22: ... ERROR err If n 1 send the result code of call waiting CCWA number type class alpha CLI validity Under the premise of call waiting activated during the call connection process As the call terminates in the system send the result code of call waiting Parameters n 0 do not send the result code of call waiting 1 send the result code of call waiting mode 0 Deactivate call waiting 1 Actiavte call waiti...

Page 23: ... calls except for call X 3 Add the held call into the conference call 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 above 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 conf...

Page 24: ...oming 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 operation ocde 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 inquir...

Page 25: ...37 8859 1 UCS2 UCS2_0X81 OK AT CSCS IRA OK AT CSCS CSCS IRA OK 2 1 31 CLCC check call status Description This command is used to check the status of current calls or each call Format AT CLCC CLCC id1 dir stat mode mpty number type alpha priority CLCC id2 dir stat mode mpty number type alpha priority OK Example AT CLCC OK ATD10086 OK AT CLCC CLCC 1 0 2 0 0 10086 129 OK 24 ...

Page 26: ...ncoming call ring status 5 call waiting mode call type taking the following value 0 voice call 1 data call 2 fax mpty multi party call taking the following value 0 Non multi party call 1 Multi party call number call number ASCII code type call number type alpha the text information corresponding to the call number in the phonebook don t support temporarily reserve the string priority do not suppor...

Page 27: ...ated by comma The character ranges from 0 to 9 A D 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 W to save the result when setting 0 or 1 Format AT CREG mode CREG mode stat return code AT CREG 0 OK Disabled network registration and provide result code AT CREG CREG 0...

Page 28: ...d for network selection Format AT COPS mode format oper Example AT COPS COPS mode format oper OK Return current network s registration mode and network AT COPS mode format oper OK Select and register network Parameter mode 0 auto select omit format oper 1 manual select need format oper 3 not involve network registration this command is used to set format only at this point need format 4 manual aut...

Page 29: ...ion This command is used to enable disable some functions of the module Format AT CFUN func rst Example AT CFUN CFUN 1 4 0 1 OK Check the setting range AT CFUN 1 0 Settings validate invalid after reset AT CFUN 1 1 Settings valid after reset Parameter fun 1 Full function default 4 Disable RF Tx and Rx Function rst 0 valid after settings 1 valid after restart 2 4 3 CMEE mobile equipment errors Descr...

Page 30: ...IN READY OK check PIN status No need to input new PIN Example AT CPIN CPIN SIM PIN AT CPIN OK check PIN status Need input PIN Enter correct PIN 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 un...

Page 31: ... 2 4 7 CCLK clock management Description This command is used to set and check the date time of real time clock Format AT CCLK time Example AT CCLK CCLK 04 02 09 17 34 23 Check current time and date Current network time and date AT CCLK 04 02 09 18 34 23 Set current date and time parameters Time string format yy mm dd hh mm ss 30 ...

Page 32: ...his command is used for message acknowledgement Format AT CNMA Example at cnmi 2 2 0 0 0 OK at csms 1 CSMS 1 1 1 OK CMT 60 AT CNMA OK Set message indication format Set message service format Message acknowledgement 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 Format AT CMGF num Example AT CMGF 1 OK AT CMG...

Page 33: ... 0 0 OK CMTI SM 19 Set message receiving mode as CMTI men index Receive new messages Example AT CNMI 3 2 0 0 0 OK AT CMGF 1 OK CMT 86130 07 02 14 10 29 04 32 text Set message receiving mode Set as TEXT mode Received a message TEXT from 130 Returned results CMTI mem index receive new message CMT length CR LF pdu directly output message PDU mode CBM length CR LF pdu directly output cell broadcast me...

Page 34: ...eceived message saved to default memory and notify TE including class 3 The notice form is CMTI SM index 2 Save Class 2 message to SIM card and notify TE as for other class directly forward message to TE CMT alpha length CR LF pdu PDU mode Or CMT oa alpha scts tooa fo pid dcs sca tosca length CR LF data text mode 3 as for other class 3 directly forward message to TE same as mt 2 as for other class...

Page 35: ...4E1A52A1FF0C4ECE00320030 003000375E74003000326708003000 3165E55F0059CB751F654830028C22 8C22FF016DF1573379FB52A8 516C53F8 Set PDU mode Read first PDU message Returned results AT CMGR index Return format The terminal adaptor would return the message of index saved in mem1 if select text mode CMGF 1 CMGR stat oa alpha scts tooa fo pid dcs sca tosca length CR LF data used to read received message CMGR...

Page 36: ... 6 CSMS select SMS service Description The command is used to select SMS service Send SMS MO receive SMS MT cell broadcast SMS CB Format AT CSMS service AT CSMS CSMS 0 1 1 1 OK Check the current SMS service Support receive transmit message and cell broadcast Example AT CSMS 0 CSMS 1 1 1 OK AT CSMS CSMS 0 1 1 1 OK Set current SMS service as GSM Phase 2 Support receive transmit message and cell broa...

Page 37: ...pdu Ctrl Z ESC AT CMGF 1 OK Set as text mode AT CMGS 13316538879 CR ABC ctrl Z OK AT CMGF 0 OK Send a ABC message to 13316538879 Set as PDU mode Example AT CMGS 17 CR 0891683108705505f011000b81312 0882624f700f1ff0361f118 Ctrl Z CMGS 2 OK Send a ABC message to 13028862427 Parameter de message sending number under text mode length length of bytes in TPDU under PDU mode data message under text mode 2...

Page 38: ...essage storage in SIM card mem1 total capacity 50 entries 4 used mem2 total capacity 50 entries 4 used mem3 total capacity 50 entries 4 used Parameters mem1 used to read delete message in SIM card mem2 used to write and send message in SIM card mem3 used for messages not saved to PC in SIM card used used entries total total number of memory 2 5 9 CMGD message delete Description This command is use...

Page 39: ...B813 120882624F700 0808738B54084F1F5927 CMGL 2 3 21 0891683108705505F001100B813 120882624F700 0808738B54084F1F5927 CMGL 3 3 21 0891683108705505F001110B8131 20882624F700 0808738B54084F1F5927 OK AT CMGD 1 OK Set as PDU mode List all messages Delete the first message Parameters Index index of saved message 2 5 10 CMGL message list Description The command is used to read a kind of messages saved in th...

Page 40: ...CR LF data Received transmitted message list OK 2 PDU mode as below CMGL index stat alpha length CR LF pdu Parameters 1 text mode CMGF 1 stat 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 stat stat 0 received unread message 1 received read message 2 saved unsent message 3 saved unsent m...

Page 41: ...31653 The message will be saved in index 2 AT CMSS 2 CMSS 0 OK Send the messages saved in index 2 Message sent CMSS return initial value 0 AT CMSS 2 CMSS 1 OK As the message is saved Do not designate the number to send the message Message sent send to the address used to save the message CMSS return value 1 Example AT CMSS 2 1302755 CMSS 2 OK Use number 1302755 to replace the original number 13316...

Page 42: ...AT CPBS CPBS ME SM LD MC RC FD DC ON OK Select the phonebook saved in SIM card Parameters Type SM SIM card FD Fixed dial LD Last dial MC Missed calls ME Module memory DC Dialed calls RC Received calls 2 6 2 CPBR phonebook read Description This command is used to read the phonebook information Format AT CPBR index1 index2 CPBR index number type text AT CPBR CPBR 1 10 40 13 OK Check current phoneboo...

Page 43: ...his command is used to write information into the phonebook Note as the number length exceeds 20 digits the first 20 digits will be saved in one file and the remaining digits saved in another expanded file The expanded file is smaller than the first file therefore a number exceeding 20 digits can t be added into SIM card after the expanded file is full Format AT CPBW index number type name CPBW in...

Page 44: ...tlength AT CPBF CPBF 40 13 OK Check current phonebook information Phone number length 40 Name length 13 Example AT CPBS SM OK AT CPBW 1 130 129 john OK AT CPBR 1 CPBR 1 130 129 john OK AT CPBF john CPBF 1 130 129 john OK Select phonebook Write phone information in the first field of current phonebook Read relevant information Search the contacts with the name John Parameter index index nlength num...

Page 45: ...This command is used to read the owner s number Format AT CNUM Example AT CNUM CNUM 130 129 7 4 OK Read the owner s number Parameter The owner s number can be written into SIM card through AT CPBS ON AT CPBW command and read through AT CNUM command 44 ...

Page 46: ...2 D set DTR mode Description This command is used to set DTR mode Format AT D value Example AT D0 OK Omit DTR signal Parameter value 0 Omit DTR signal 1 DTR from OFF to ON 2 DTR from ON to OFF 2 7 3 C set DCD mode Description This command is used to set DCD mode Format AT C value Example AT C0 OK DCD signal is always valid Parameter value 0 DCD signal is always valid 1 DCD signal is valid if there...

Page 47: ...orm If the setting baud rate needs to be saved use AT W command otherwise it will automatically restore to 115200 baud rate after cut off 2 7 5 F restore factory settings Description This command is used to restore factory settings Format AT F Example AT F Restore factory settings 2 7 6 W save settings Description This command is used to save the current parameter settings Format AT W Example AT W...

Page 48: ...ignated IP address optional 2 8 2 CGACT activate deactivate PDP Description This command is used to activate deactivate PDP settings Format AT CGACT state cid cid 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 service Description This command is used to set GPRS service Format...

Page 49: ...cription This command is used to check GPRS device levels Format AT CGCLASS class Example AT CGCLASS CGCLASS B OK Check GPRS device levels Parameter class A support A level B support B level CG support GPRS only CC support circuit exchange only 48 ...

Page 50: ... 9 2 ZSTR check module s status Description This command is used to check the module s operation status Format AT ZSTR status ZSTR status value AT ZSTR 1 Check initialization status AT ZSTR 2 Check network status Example AT ZSTR Check the list of parameters Parameters status 1 No meaning input AT ZSTR 1 and display ZSTR 1 2 2 network status value 0 network unavailable 1 network available 2 no mean...

Page 51: ...mat of CSQ rssi ber while restoring RI pin s high level If the threshold value NUM is equal to 0 stop reporting the signal quality If the threshold value NUM 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 rssi value but the valid rssi value which is not yet obtained 2 9 5 ZEDT set DTR insp...

Page 52: ...ion mode please 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 val...

Page 53: ... time out Example AT CUSD 1 0 100 15 CUSD 1 6b228fce4f7f75285e7f4e1c79fb52a85feb4fe1 003100300030ff01000a003165b095fb59296c1400 0a003280a17968884c60c5000a00334f1195f29a7f 7ad9000a00346c11751f67e58b e2000a00357ecf51786d4b8bd5000a0036621176 845feb4fe1000a00374f7f75285e2e52a9000a 72 OK Connect 100 and returned information is within and the encoding method is UCS2 Note The second parameter must be 0 D...

Page 54: ...Note 1 The second parameter must be larger than 0 2 There is no data display 2 9 8 ZRINGPINMODE set RING PIN signal mode Description This command is used to set RING PIN signal mode Format AT ZRINGPINMODE N Parameters N 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 ...

Page 55: ... 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 Format 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 ...

Page 56: ...V IP1 IP2 Parameter IP1 the IP address of main DNS IP2 the IP address of sub DNS Example AT ZDNSSERV 211 136 20 203 211 136 18 171 OK AT ZDNSSERV 211 136 20 203 OK AT ZDNSSERV 211 136 20 203 211 136 18 171 OK Set DNS IP address Check DNS IP address 2 10 6 ZDNSGETIP obtain Internet Domain name s IP address Description This command is used to obtain Internet Domain name s IP address Format AT ZDNSGE...

Page 57: ... target address Description This command is used to connect the target server Format AT ZIPSEND port length CR Send data after prompt with Example AT ZIPSEND 1 10 abcdefghij ZIPSNED OK OK Send data to TCP server after successfully connecting the server Send 10 bytes abcdefghij Parameter port the channel number of TCP links length data length support up to 1000 bytes and support 0x00 0xff transmitt...

Page 58: ...s of current TCP link Format AT ZIPSTATUS N Example AT ZIPSTATUS 1 ZIPSTATUS ESTABLISHED OK Check the current TCP link status 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 Format ZIPRECV N LEN DATA Example ZIPRECV 1 5 abcde Received 5 data abcde from No...

Page 59: ...ta to UDP server Description This command is used to send data to the bundled UDP server Format AT ZIPSENDU port length CR Send data after prompt with Example AT ZIPSENDU 1 10 abcdefghij ZIPSNEDU OK OK Send data to UDP server after successfully connecting the server Send 10 bytes abcdefghij Parameter port the channel number of UDP links length data length support up to 1000 bytes and support 0x00 ...

Page 60: ...ber 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 Format ZIPRECVU N LEN DATA Example ZIPRECVU 1 5 abcde Received 5 data abcde from the No 1 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 o...

Page 61: ...ting one monitoring to one external 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 Format A...

Page 62: ...ata report Descriptio n This command is used to receive data report Format ZTCPRECV P channel dataLength data Paramete r 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 78901234567890123456789012345678901234 56789012345678012345678901234567890123 45678901234567890123456789012345...

Page 63: ...SCONNECT One passively link not existed ZTCPSTATUS P CONNECT one passively link existed Example at ztcpstatusp 0 ZTCPSTATUS P DISCONNECT OK at ztcpstatusp ZTCPSTATUS P DISCONNECT OK No passively opened link The current monitoring port does not start working 2 13 6 ZIPTIMEOUT set the timeout for connecting the server sending data Description This command is used to set the timeout for connecting th...

Page 64: ...GSM Module ZIPTIMEOUT 5 120 5 18000 OK AT ZIPTIMEOUT 30 60 OK at ziptimeout ZIPTIMEOUT 30 60 OK timeout value Set the timeout Check the range of current timeout 63 ...

Page 65: ...in the specified time it will close the connection otherwise the number of connections exceeds the limit other client ends can not be connected The default value is 0 and it means the timeout is no needed Descriptions of returned value OK Succeeded ERROR Failed Example at ztcptimeout ZTCPTIMEOUT 0 18000 OK at ztcptimeout 30 OK at ztcptimeout ZTCPTIMEOUT 30 OK Check the range of timeout value Set t...

Page 66: ...ptions of returned value As long as the format of AT command is correct the module would return with OK however it does not necessarily mean that the data is read successfully Whether or not the data is read successfully depends on the following information returned by the module 1 ZFTPGET Error Timeout Note connecting the server timeout or no response to the server The timeout is 3 minutes At thi...

Page 67: ...larger than 10240 bytes the excessive part will be abandoned 2 The connection times of one same user within certain period of time will be limited due to the settings of the FTP server s software Therefore there had better be some interval between each read write operation It depends on the settings of your FTP server s software 3 Prior to the use of module s FTP protocol please open the PPP link ...

Page 68: ...he timeout is 3 minutes At this moment the module will disconnect automatically the server might block the connection 2 ZFTPPUT Ftp Ctrl is Closed Note the server rejected the connection The IP address might be wrong 3 ZFTPPUT Send OK length is n Note data is transmitted successfully The length of data transmitted is n 4 ZFTPPUT Error Unknown Cmd Ctrl is close Cmd is n Note unrecognized FTP comman...

Page 69: ...k up tone Description Play pause the pick up tone Format AT ZCALLTONE n AT ZCALLTONE AT ZCALLTONE Parameter n 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 returned value OK ZCALLTONE n OK AT ZCALLTONE 2 OK at zcalltone ZCALLTONE 2 OK AT ZCALLTONE 0 OK at zcalltone ZCALLTONE 0 OK Play pickup tone Stop pickup tone Ex...

Page 70: ...TMFTONE 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 Format AT SPEAKER mode AT SPEAKER 0 OK Switch to microphone Example AT SPEA...

Page 71: ... the gain 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 L1BbcMicBiasTag 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_CU...

Page 72: ...GA_10db5 MIC_PGA_12db0 MIC_PGA_13db5 MIC_PGA_15db0 MIC_PGA_16db5 MIC_PGA_18db0 MIC_PGA_19db5 MIC_PGA_21db0 MIC_PGA_22db5 L1BbcInputPgaGain OK parameter settings succeed ERROR incorrect parameter format Descriptions of returned value Example AT ZMICGB 0 3 12 Note Gain 0 Bias 3 PGA 12 Figure 1 71 ...

Page 73: ...Qual RxQual Full RxQual Sub Idle TS 2 1 to 6 adjacent cell signal source information MCC MNC LAC CI BSIC BCCH Freq absolute RxLev 8 Main cell s signal indication ranging from 0 to 31 refer to CSQ for the response format which is equal to AT CSQ 15 All information output Note can adopt the hybrid output of multiple modes value is the value of ASCII character string decimal except CI and LAC are hex...

Page 74: ...lity AT CCED CCED 0 1 OK AT CCED CCED 0 2 1 2 8 15 OK AT CCED 0 1 CCED 460 0 247c f8d 538 56 43 0 0 0 0 0 0 OK AT CCED 0 2 CCED 460 0 247c f83 82 50 41 CCED 460 0 27a0 fd5 52 46 3 4 CCED 460 0 247c eda 520 48 33 CCED 460 0 247c e44 64 57 3 2 CCED 460 0 279c e58 48 50 3 1 CCED 460 0 247c e9c 13 24 2 9 OK Check current settings Check parameter range Obtain main cell s information Obtain the informat...

Page 75: ... get the strongest 7 BCCH No Descriptio n AT ZBCCH mode bcch OK ZBCCH LOCK SUCESS ERROR AT ZBCCH OK ZBCCH bcch mcc mnc lac cell id AT SGBCCH OK ZBCCH mode list bcch1 bcchn Setting succeeded Failed Check Test Format Descriptio ns of returned value mode 0 Unlock current BCCH 1 lock the designated BCCH bcch BCCH No mcc service provider s code 1 460 mnc service provider s code 2 00 01 lac Zone bit cod...

Page 76: ...nd 850 900 1800 1900MHZ and currently support 900 1800MHZ only in China After locking one frequency band use the setting command to lock another band then the locked band will be automatically unlocked Descriptio n AT ZBAND band OK ZBAND LOCK SUCES ERROR AT ZBAND OK ZBAND band AT ZBAND ZBAND band list OK Setting succeeded Failed Check Test Format band 0 Auto select frequency band 1 GSM900MHZ 2 DCS...

Page 77: ...tc Descriptio n AT ZOPT opt ZOPT state OK ERROR AT ZOPT ZOPT opt list OK Setting succeeded Failed Test Format opt 0 Auto 1 China Mobile 2 China Unicom state current network status Paramete rs Descriptio ns of returned value OK Succeeded ERROR Failed AT ZOPT 1 NET STATE 0 OK AT ZOPT OPT 0 2 0 AUTO 1 China Mobile 2 China Unicom OK Example 2 16 5 ZCALIST read carrier wave list Descriptio 当 BCCH 锁定后 读...

Page 78: ...K Format ca 0 63 有效的载波数目 Paramete rs Descriptio ns of returned value OK 成功 ERROR 失败 AT ZCALIST ZCALIST 2 8 19 34 45 80 94 OK Example 3 Application Cases and Precautions 3 1 SMS Application Case Note The following text marked in red should be entered at cmgf 1 OK 77 ...

Page 79: ...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 that the message is not sent STO UNSENT at cmss 1 CMSS 1 OK Send the saved...

Page 80: ...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 cu...

Page 81: ...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 CPBS ME ...

Page 82: ...GSM Module 81 CPBR 1 13086672098 129 john OK Read this phonebook entry ...

Reviews: