background image

 

                                                                      

     GSM Modules 

 

 

 

 

 

AT Command Manual 

For ZTE Corporation’s MG2636 Modules

 

                                                                               

 

 

 

 

 

 

Version: V1.4 

 

 

 

 

 

ZTE Corporation 

 

 

 

 

 

Summary of Contents for MG2636

Page 1: ...GSM Modules AT Command Manual For ZTE Corporation s MG2636 Modules Version V1 4 ZTE Corporation ...

Page 2: ...ding 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 ...

Page 3: ...B 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 documentation The authorized module customers could download the latest technical documentation for our we...

Page 4: ...pdate history records the descriptions of manual update every time The latest version includes the updates of all previous versions Version V1 4 2010 06 30 It is the 4th time to release the document See the updates below Modify 1 12 CLIP Modify 1 16 CLCK Modify 1 17 CPWD Modify 8 5 MYNETWRITE Modify 9 1 MYNETCREATE Version V1 3 2010 06 13 It is the 4th time to formally release the document See the...

Page 5: ...1 MYNETCREATE Version V1 1 2010 05 18 It is the 2nd time to release the document See the updates below Add 8 1 MYNETCREATE Modify 6 1 MYNETCON Modify 7 1 MYNETSRV Modify 7 2 MYNETOPEN Modify 7 3 MYNETCLOSE Modify 7 4 MYNETREAD Modify 7 5 MYNETWRITE Version V1 0 2010 04 15 It is the 1st time to formally release the document ...

Page 6: ...MI check manufacturer s information 13 1 19 IPR set module s baud rate 13 1 20 CCFC call forwarding conditions 13 1 21 CCWA call waiting 14 1 22 CHLD call held 15 1 23 CMUT Mute control 16 1 24 ESIMS check SIM card status 17 1 25 ESLP set sleep mode 17 2 Network Service Command 18 2 1 CREG network registration and roaming 18 2 2 COPS network selection 18 3 Mobile Device Control and Status Report 2...

Page 7: ...mat 36 6 2 CGACT activate and deactivate PDP 36 6 3 CGATT set GPRS service 36 6 4 CGCLASS GPRS device levels 37 7 Public Transmitting Commands 38 7 1 MYNETCON set network connection initializing parameters 38 7 2 MYTYPE check module s work mode and network type 40 8 Non Transparent Transmission Command 41 8 1 MYNETSRV set service parameters 41 8 2 AT MYNETOPEN open service 43 8 3 AT MYNETCLOSE clo...

Page 8: ... from SIM card phonebook and dial it AT CPBS SM ATD 2 OK Select SIM card phonebook as the current phonebook Dial the second number in the current phonebook Example ATD SM1 the first number in SIM card phonebook Parameters mem Phonebook SM SIM card phonebook LD Latest dial in phonebook MC Missed calls ME local phonebook n the nth option in phonebook string the number of called party e g 99 1 3 ATE ...

Page 9: ...ate Description This command is used to indicate the manufacturer s information of the module Format ATI Example ATI ZTE Mobile LTD GSM GPRS Mobile Station Revision 1 0 OK indicate the manufacturer s information of the module 1 6 ATQ Display returned value Description This command is used to set whether or not display the returned value Format ATQ n ATQ0 OK ATQ0 OK Display the returned value on th...

Page 10: ... Dial to enter GPRS data connection Switch from data mode to command mode Switch from command mode to data mode 1 9 ATS0 set auto answer Description This command is used to control auto answer mode of the module Format ATS0 value ATS0 2 OK Auto answer after ringing twice ATS0 2 OK Check the current setting Example ATS0 0 OK Cancel auto answer Parameter value ringing times 1 10 CRC caller ringer ty...

Page 11: ...ller the number is the smaller the volume is 1 12 CLIP caller ID presentation Description This command is used to set caller ID presentation The default is turn off caller ID presentation Format AT CLIP mode CLIP mode of return from AT CLIP CLIP number type presentation mode AT CLIP 1 OK RING CLIP 130 129 0 0 Turn on caller ID presentation Incoming call number is 130 Example AT CLIP 0 OK RING Turn...

Page 12: ... current software revision Format AT C GMR AT C GMR OK No meaning Example AT C GMR C GMR bin Get current software revision 1 15 CGSN get current IMEI Description This command is used to get current device s IMEI Format AT CGSN Example AT CGSN 355670010290001 OK Return current IMEI 1 16 CLCK function lock Description This command is used to lock the terminal or network function Format AT CLCK fac m...

Page 13: ...pes status 0 disable 1 enable 1 17 CPWD change password Description This command is used to change the password Format AT CPWD fac passwd newpasswd CPWD fac length s Example AT CPWD CPWD SC 8 P2 8 AO 4 OI 4 OX 4 AI 4 IR 4 AB 4 AG 4 AC 4 AT CPWD SC 1234 2345 OK Check command setting range Return list of parameters Change password SIM password fac SC SIM card P2 SIM PIN2 AO all outgoing calls OI out...

Page 14: ... current baud rate AT IPR Check supported baud rate Example AT IPR 115200 OK Set baud rate as 115200 Parameter Only EDGE or 3G platform support baud rate higher than 115200bps Use AT W to save the settings Otherwise auto return with 115200bps after the module s power cut off 1 20 CCFC call forwarding conditions Description This command is used to set call forwarding number and conditions Format AT...

Page 15: ...ternational number 129 other number subaddr address of string type saytype 128 class 1 voice 2 data 4 fax 7 all types Time 1 20 30 multiply 5s status 0 deactivate 1 activate Remarks Need apply for relevant services 1 21 CCWA call waiting Description This command is used for call waiting Format AT CCWA n mode class AT CCWA List all supported n CCWA list of supported n s OK Example AT CCWA Read curr...

Page 16: ...e result code Parameter 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 call waiting 2 check current status class 1 voice call status 0 deactivated 1 activated number call waiting number designated by type type number format alpha CLI validity 见AT CLIP 1 22 CHLD call held Description This command is used to set call held and c...

Page 17: ...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 conference call provided by the operator when using AT CHLD 3 1 23 CMUT Mute control Description This command is used for mute control The command i...

Page 18: ... OK Check SIM card status No SIM card Parameter Status 0 SIM card does not exist 1 SIM card exists 1 25 ESLP set sleep mode Format This command is used to disable and enable sleep mode Example AT ESLP mode AT ESLP 0 OK Disable sleep mode AT ESLP 1 OK Enable sleep mode Example AT ESLP ESLP 0 1 OK Check status Parameter mode 0 disable 1 enable ...

Page 19: ...sult code default 1 Enabled network registration and provide result code CREG stat 2 Enabled network registration and provide the location information stat 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 2 CO...

Page 20: ...nly at this point need format 4 manual auto If manual registration fails auto register format 0 format of long character oper 1 ormat of short character oper 2 number format oper format 0 long format alpha oper up to 16 character 1 short oper up to 8 character 2 numeric oper MCC MNC default stat 0 unknown 2 current registered network 3 forbidden registered network ...

Page 21: ... CFUN set module s function Format This command is used to set disable some functions of the module Example AT CFUN func rst AT CFUN CFUN 1 4 OK Check the setting range AT CFUN 1 0 Setting invalid after restart Example AT CFUN 1 1 Settings valid after restart Parameter fun 1 Full function default 4 Disable RF Tx and Rx Function rst 0 valid after settings 1 valid after restart 3 3 CMEE mobile equip...

Page 22: ...er 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 unlock password CPIN PH NET PIN network password Pin string value 3 5 CSQ check signal strength Description This command is used to...

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

Page 24: ... CMGF 0 1 OK Set the text mode Check current input method Current settings as text mode Check current setting range Parameters 0 PDU mode 1 Text mode 4 3 CNMI set new message indication Description This command is used to set new message indication Format AT CNMI mode mt bm ds bfr AT CNMI CNMI 0 3 0 3 0 2 3 0 1 0 1 OK Check current setting range AT CNMI 3 1 0 0 0 OK CMTI SM 19 Set message receivin...

Page 25: ...default 1 0 received message saved to default memory including class 3 do not notify TE 1 received 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...

Page 26: ...0E04E1A52A1FF0C4ECE00320030 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 C...

Page 27: ...dcast 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 broadcast Check the settings Succeed Parameter service 0 compatible with GSM07 05 Phase 2 version 4 7 0 1 compatible with...

Page 28: ...message under text mode 4 7 CPMS preferred SMS memory Description This command is used for preferred message memory Note ME memory messages will count from 51 Format AT CPMS mem1 mem2 mem3 CPMS used1 total Example AT CPMS SM_P CPMS 2 50 2 50 2 50 OK AT CPMS CPMS SM ME SM_P ME_P MT SM ME SM_P ME_P MT SM ME SM_P ME_P MT OK Check message storage in SIM card mem1 total capacity 50 entries 2 used mem2 ...

Page 29: ...K AT CMGD 2 OK Set as text mode List all messages Delete the second message Example AT CMGF 0 AT CMGL 4 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 OK Set as PDU mode List all messages Delete the first mess...

Page 30: ...CMGL 1 REC READ 130 abcdefg CMGL 2 REC READ 131 abcdef CMGL 3 STO SENT 1331 opqrxt OK Set as text mode Use text mode Check all messages Returned format 1 text mode as below CMGL index stat da oa alpha scts tooa toda length CR LF data CR LF CMGL index stat da oa alpha scts tooa toda length CR LF data Received transmitted message list OK 2 PDU mode as below CMGL index stat alpha length CR LF pdu ...

Page 31: ...de data message text in text mode 4 10 CMSS send messages saved in SIM card Description This command is used to send the messages saved in SIM card Format AT CMSS index da toda Return format CMSS mr 或 CMS ERROR err If the new target number is designated the new number will replace the number saved in the message AT CMGF 1 AT CMGW 1331653 CR note the phone number should not exceed 20 digits ABC ctr...

Page 32: ...s 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 AT CMSS 2 1302755 CMSS 2 OK Use number 1302755 to replace the original number 1331653 and send a message to new number ...

Page 33: ...BS 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 RC Received calls ME Module memory DC Dialed calls ON Owner number 5 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...

Page 34: ... This 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 ...

Page 35: ...th 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 ...

Page 36: ...n 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 ...

Page 37: ...r designated IP address optional 6 2 CGACT activate and deactivate PDP Description This command is used to activate and deactivate PDP settings Format at CGACT state cid cid Example At CGDCONT 1 IP CMNET OK AT CGACT 1 1 OK Parameter cid used to mark PDP parameter state indicate PDP status 0 Deactivate 1 Activate 6 3 CGATT set GPRS service Description This command is used to set GPRS service Format...

Page 38: ...Description 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 ...

Page 39: ...Off Server address not matched with service type Network connecting Network connection time up Connecting network failed Transmitting data failed MYNETCON channel type typenam e Ok The number of parameters displayed according to the number of settings Query command AT MYNETCON ERROR Error Test command AT MYNETCON MYNETCON OK Parameter 1 channel channel number ranging from 0 to 5 2 type conType con...

Page 40: ...t 0 CFGT 200 0 CFGP 800 1 conType GPRS 1 CFGT 1000 1 CFGP 1000 2 conType GPRS 2 CFGT 1000 2 CFGP 1000 3 conType GPRS 3 CFGT 1000 3 CFGP 1000 4 conType GPRS 4 CFGT 1000 4 CFGP 1000 5 conType GPRS 5 CFGT 1000 5 CFGP 1000 OK Description This command is used to set APN username password and transparent transmitting parameters APN must be set During the setting of APN select any channel to set up Note ...

Page 41: ...orkType First byte 8bit Position 0 indicating transparent transmission Position 1 indicating non transparent transmission netType One byte 8bit Position 0 GSM network supports GPRS Position 1 WCDMA network Position 2 TD CDMA network Position 3 CDMA2000 Additional 6bit is reserved If it supports two transmission modes need position 1 for the two bits Example AT MYTYPE MYTYPE 3 1 Description This co...

Page 42: ...command AT MYNETSRV MYNETSRV OK Parameters 1 channel channel number ranging from 0 to 5 2 nettype type service type valuing SOCKET FTP address object server address port and transmitting method etc 3 value nettype corresponding value Example at mynetsrv 0 type SOCKET OK at mynetsrv 0 address UDP 119 123 203 72 7000 OK at mynetsrv 1 type SOCKET OK at mynetsrv 1 address TCP 116 24 228 196 6800 OK at...

Page 43: ...ORT server s FTP port number default 21 Note according to RFC959 it s recommended to change the port number to 21 Dir filename file directory or file name including the directory Note file directory is in terms of FTP s root directory as Dir filename is directory type must be d and root directory should be Type file transmitting mode a ASCII i Binary d file properties and file list 2 FTPput ftp us...

Page 44: ...rror Test command AT MYNE TOPEN MYNETOPEN OK Parameters 1 netchannel channel No ranging from 0 to 5 2 LocalIP the local IP address assigned to the module by the network 3 local_port local port 4 gate gate address 5 DNS1 main domain name resolution server address 6 DNS2 second domain name resolution server address 7 type service type valuing SOCKET FTP 8 dest_ip connected server address 9 dest_port...

Page 45: ...t rw rw rw 1 user group 6666 Apr 30 14 10 test6 txt rw rw rw 1 user group 6000 Apr 30 14 50 test8 txt at mynetsrv 2 address FTPput ftp hj 1234 119 122 174 84 21 hujin test6 txt type a mode d delete file test6 txt at mynetopen 2 Delete file ok Descriptions Use this command to open SOCKET non transparent transmission or FTP service connection Note the connection could be opened only as APN service t...

Page 46: ...one opened connection including transparent transmission and non transparent transmission Besides the command has active report function It should be noted that for FTP mode auto release connection after a complete FTP operation and do not need MYNETCLOSE to close it 8 4 AT MYNETREAD read data Type Command Possible returned results Descriptions MYNETREAD netchannel data_length data OK Succeed ed S...

Page 47: ... MYNETWRITE transmit data Type Command Possible returned results Descriptions MYNETWRITE netchannel data_len Rsend_len Write the data to transmit as the characters appear Set command AT MYNETWRI TE netchannel data_len ERROR errornumber Error MYNETWRITE Ok Succeed Query command AT MYNETWRI TE ERROR Error Test command AT MYNETWRI TE MYNETWRITE OK Parameters 1 netchannel channel No ranging from 0 to ...

Page 48: ...ission SOCKET service mode and FTP service mode FTPput command mode not delete is used to transmit data For each channel the received data s buffer size is 2K and FTP service is 10K If there is anything wrong with the server cut off or drop using the command in TCP mode to transmit the data will prompt with server abnormal ...

Page 49: ...sion connection MYNETCREATE 3 OK ATO enter data mode can t use AT command Enter into data mode please input data OK Enter the data to transmit enter command mode can use AT command Enter into cmd mode please input AT conmmand at mynetclose 3 actively close the connection MYNETCLOSE 3 OK Descriptions Use this command to open transparent transmission service Use AT MYNETCON command to set the networ...

Page 50: ...rong with the server cut off or drop using the command in TCP mode to transmit the data will prompt with server abnormal Note The overall size of transparent transmission data is within 2K when receiving data in UDP mode the data transmitted at UDP mode one time is not allowed to exceed 2K but no limitation to the overall size of transmitted data ...

Reviews: