ZTE MG3006 User Manual

Page 1
MG3006 Module
ZTE MG3006 Module User Manual
VER: V 1.2
ZTE Corporation
Page 2
ME3000 Module
Copyright Statement
Copyright © 2007 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.
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.
1
Page 3
ME3000 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&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 documentation. The authorized module customers could download the latest technical documentation for 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 more supports.
2
Page 4
ME3000 Module
Preface
Summary
This manual is applicable for ME3000, ME3006, ME3030 and ME3036 modules. Taking ME3000 for example, this manual describes the AT command interfaces of the modules, which contains standard GSM voice and data applications. According to GSM standard, some specific ZTE commands are added for users’ convenience. This manual might help you to understand how to use AT commands of these modules.
Target Readers
z System Designing Engineers z Hardware Engineers z Software Engineers z Testing Engineers
Brief Introduction
Chapters Contents
1 General Description Briefly introduces the types and basic formats of ME3000, ME3006, ME3030
and ME3036 modules.
2 AT Command Explains AT command operations of ME3000 modules in details.
Update History
The update history includes the update descriptions each time. The update contents will be included in the latest version.
Document Version: V1.2 (June-4-2007)
Change the manual name from AT Command Manual for ZTE Corporation’s GSM/GPRS Modules》to《AT Command Manual for ZTE Corporation’s ME3000 Modules. Add the applicable modules such as ME3000, ME3006, ME3030 and ME3036 modules.
Document Version: V1.1 April-17-2007
This is the second time to release formally. The update contents include:
2. A T Command Newly added commands: ATO: Switch from command mode to data mode +++: Switch from data mode to command mode CLIP: Set caller ID presentation CCFC: Set call forwarding number and conditions CLCK: Lock device or network CPWD: Modify password
3
Page 5
ME3000 Module
CNMA: SMS confirmation CSCA: Set short message center number CPBS: Select contacts memorizer CPBR: Read contacts CPBW: W r ite contacts CPBF: Search for contacts IFC: Set flow control &D: Set DTR mode &C: Set DCD mode CGACT: Deactivate/activate PDP mode CGATT: Set GPRS startup CGCLASS: Device class ZIPSETUPU: Bundle UDP port ZIPSENDU: Send UDP data ZIPSTATUSU: Query UDP status ZIPCLOSEU: Close UDP port ZIPRECVU: Receive UDP data
Document Version: V1.0 March-05-2007
This is the first time to release formally.
4
Page 6
ME3000 Module
Table of Contents
1 General Description.......................................................................................................8
1.1 AT Commands ........................................................................................................................................... 8
1.1.1 Type of AT Commands .............................................................................................................. 8
1.1.2 Returned Type and Format of AT Commands............................................................................ 8
1.2 GSM Glossary ........................................................................................................................................... 9
2 AT Command...............................................................................................................11
2.1 Common Command................................................................................................................................. 11
2.1.1 A/: repeat previous command.................................................................................................. 11
2.1.2 ATA: answer a call................................................................................................................... 11
2.1.3 ATD: dial a number.................................................................................................................. 11
2.1.4 ATDL: dial the la st outgoing number ...................................................................................... 12
2.1.5 ATE: enab le echo..................................................................................................................... 12
2.1.6 ATH: hang up the call.............................................................................................................. 12
2.1.7 ATQ: set if returned value displayed on the terminal .............................................................. 12
2.1.8 +++: switch from data mode to command mode..................................................................... 13
2.1.9 ATO: switch from command mode to data mode.................................................................... 13
2.1.10 ATP: perform pulse dialing...................................................................................................... 13
2.1.11 ATS0: set auto answer.............................................................................................................. 14
2.1.12 +CRC: set incoming call type.................................................................................................. 14
2.1.13 +CLVL: set call volume........................................................................................................... 14
2.1.14 +CLIP: set caller ID presentation ............................................................................................ 15
2.1.15 +ZSETMUTE: mute control.................................................................................................... 15
2.1.16 +CIMI: inquire International ID .............................................................................................. 15
2.1.17 +CGMR: obtain product version............................................................................................. 16
2.1.18 +ECHO: remove echo.............................................................................................................. 16
2.1.19 +(C) GSN: obtain current IMEI............................................................................................... 16
2.1.20 +ZVERS: obtain current software version............................................................................... 16
2.1.21 +CLCK: function lock............................................................................................................. 17
2.1.22 +CCFC: set call forwarding number and conditions ............................................................... 17
2.1.23 *TSIMINS: inquire SIM card status........................................................................................ 18
2.2 DTMF Command..................................................................................................................................... 19
2.2.1 +VTD: set DTMF duration...................................................................................................... 19
2.2.2 +VTS: send DTMF.................................................................................................................. 19
2.3 Network Service Command..................................................................................................................... 19
2.3.1 +CREG: network registration and roam.................................................................................. 20
2.4 Mobile Device Control and Status Report............................................................................................... 20
2.4.1 +CPAS: module status query ................................................................................................... 20
2.4.2 +CFUN: set module function................................................................................................... 21
2.4.3 +ZPWROFF: turn off module.................................................................................................. 21
2.4.4 +CPIN: input PIN code............................................................................................................ 21
2.4.5 +CSQ: signal strength query.................................................................................................... 22
2.4.6 +CCLK: clock management.................................................................................................... 22
2.5 SMS Command........................................................................................................................................ 22
5
Page 7
ME3000 Module
2.5.1 +CSCA: set SMS center number ............................................................................................. 22
2.5.2 +CNMA: confirm SMS ........................................................................................................... 23
2.5.3 +CMGF: set SMS mode .......................................................................................................... 23
2.5.4 +CNMI: set SMS indicator format .......................................................................................... 23
2.5.5 +CMGR: view SMS ................................................................................................................ 25
2.5.6 +CSMS: select SMS service.................................................................................................... 27
2.5.7 +CMGS: message origination.................................................................................................. 28
2.5.8 +CPMS: prioritize message memorizer................................................................................... 28
2.5.9 +CMGD: delete a message...................................................................................................... 29
2.5.10 +CMGL: message list.............................................................................................................. 29
2.5.11 +CMSS: send messages stored in SIM card............................................................................ 31
2.6 Phonebook Command.............................................................................................................................. 31
2.6.1 +CPBS: select phonebook ....................................................................................................... 31
2.6.2 +CPBR: read phonebook......................................................................................................... 32
2.6.3 +CPBW: write phonebook....................................................................................................... 32
2.6.4 +CPBF: find phonebook.......................................................................................................... 33
2.7 Data Compression Command.................................................................................................................. 34
2.7.1 +IFC: flow control................................................................................................................... 34
2.7.2 &D: set DTR mode.................................................................................................................. 34
2.7.3 &C: set DCD mode.................................................................................................................. 35
2.7.4 +IPR: set the module’s baud rate............................................................................................. 35
2.7.5 &F: factory default................................................................................................................... 35
2.7.6 &W: save setting...................................................................................................................... 35
2.8 ZTE Exclusive Command........................................................................................................................ 35
2.8.1 +ZGPIO: read/write GPIO....................................................................................................... 36
2.8.2 +SPEAKER: switch audio channel..........................................................................................36
2.8.3 +ZDSLEEP: 32KHz deep sleep mode..................................................................................... 36
2.8.4 +ZSTR: query module’s status ................................................................................................ 37
2.9 GPRS Command...................................................................................................................................... 37
2.9.1 +CGDCONT: set PDP format.................................................................................................. 37
2.9.2 + CGACT: deactivate/activate PDP setting............................................................................. 37
2.9.3 +CGATT: set GPRS................................................................................................................. 38
2.9.4 +CGCLASS: query GPRS class .............................................................................................. 38
2.10 TCP/IP Command.................................................................................................................................... 38
2.10.1 +ZPNUM: set APN, username, password................................................................................39
2.10.2 +ZPPPOPEN: open GPRS data link........................................................................................ 39
2.10.3 +ZPPPCLOSE: close GPRS data link..................................................................................... 39
2.10.4 +ZIPSETUP: establish TCP server connection........................................................................ 39
2.10.5 +ZIPSEND: send TCP data to target address...........................................................................40
2.10.6 +ZPPPSTATUS: query GPRS connecting status..................................................................... 40
2.10.7 +ZIPCLOSE: close TCP link................................................................................................... 40
2.10.8 +ZIPGETIP: query current IP address of the module.............................................................. 41
2.10.9 +ZIPSTATUS: query current TCP link status.......................................................................... 41
2.10.10 +ZIPRECV: Prompt to Receive Data from Current Data Link................................................41
6
Page 8
ME3000 Module
2.10.11 +ZIPSETUPU: establish UDP server link............................................................................... 41
2.10.12 +ZIPSENDU: send data to UDP server................................................................................... 42
2.10.13 +ZIPSTATUSU: query UDP status.......................................................................................... 42
2.10.14 +ZIPCLOSEU: close UDP link............................................................................................... 42
2.10.15 +ZIPRECVU: prompt to receive UDP data............................................................................. 42
7
Page 9
ME3000 Module
1 General Description
1.1 AT Commands
ME3006, ME3030 and ME3036 modules provide AT command interfaces, through which the modules could communicate with external devices. AT command set provided by ME3006, ME3030 and ME3036 modules not only covers standard GSM voice and short message applications, but adds some commands according to GSM specification and some ZTE exclusive commands for users.
1.1.1 Type of AT Commands
Since AT command is used as a st an da rd int erfa ce , the ret u rne d va lue s a nd formats of the command are both fix ed . As a whole, AT command could be divided into four types:
z Non-parameter command: a type of simple command with the format of AT[+|&]<command>,e.g.: AT+CSQ,
AT&W
z Query command: used to inquire the current setting value. The format is AT[+|&]<command>?, e.g.:
AT+CNMI?
z Help command: used to list the possible parameters of the command. The format is AT[+|&]<command>=?,
e.g.: AT+CMGL=?
z Parameter command: normally used format which provides strong flexibility. The format is
AT[+|&]<command>=<par1>,<par2>,<par3>…
The returned values of this type of command 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> <CR><LF><OK/ERROR>[ERROR INFO]<CR><LF>
1.1.2 Returned Type and Format of AT Commands
The following are ME3006, ME3030 and ME3036 modules’ AT command and their format and returned descriptions:
z AT command format:
--AT command starts with “AT” and ends with <CR>;
--After the module runs, the serial port default setting will be: 8-digit data bit, 1-digit stop bit, no parity check, no CTS/RTS, data rate 115200bps.
z AT command returned format:
--<CR><LF><corresponding strings ><CR><LF>
--An exceptional case: e.g.: AT+ZPOWEROFF (response format) directly return with “OK”
z AT command status report (OK, ERROR):
--If there is error in AT command format, “Error” will return;
--If AT command executes successfully, “OK” will return.
8
Page 10
ME3000 Module
1.2 GSM Glossary
Abbreviations Definitions
ADC AFC Automatic Frequency Control
AGC Automatic Gain Control ARFCN Absolute Radio Frequency Channel Number ARP Antenna Reference Point ASIC Application Specific Integrated Circuit BER Bit Error Rate BTS Base Transceiver Station CDMA Code Division Multiple Access CDG CDMA Development Group CS Coding Scheme CSD Circuit Switched Data CPU Central Processing Unit 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 EFR Enhanced Full Rate EGSM Enhanced GSM EMC Electromagnetic Compatibility EMI Electro Magnetic Interference ESD Electronic Static Discharge ETS European Telecommunication Standard FDMA Frequency Division Multiple Access FR Full Rate GPRS General Packet Radio Service GSM Global Standard for Mobile Communications HR Half Rate IC Integrated Circuit IMEI International Mobile Equipment Identity ISO International Standards Organization ITU International Telecommunications Union LCD Liquid Crystal Display LED Light Emitting Diode MCU Machine Control Unit MMI Man Machine Interface
Analog-Digital Converter
9
Page 11
ME3000 Module
Abbreviations Definitions
MS Mobile Station 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 RAM Random Access Memory RF Radio Frequency ROM Read-only Memory RMS Root Mean Square RTC Real Time Clock SIM Subscriber Identification Module SMS Short Message Service SRAM Static Random Access Memory TA Terminal adapter TDMA Time Division Multiple Access TE Terminal Equipment also referred it as DTE UART Universal asynchronous receiver-transmitter UIM User Identifier Management USB Universal Serial Bus VSWR Voltage Standing Wave Ratio ZTE ZTE Corporation
10
Page 12
ME3000 Module
2 AT Command
2.1 Common Command
2.1.1 A/: repeat previous command
Description Format Example
This command is used to repeat the previous command. A/ AT+CSQ Inquire current signal strength
A/ Repeat AT+CSQ command
2.1.2 ATA: answer a call
Description Format Example
This command is used to answer a call. ATA RING Incoming call ATA Answer a call
2.1.3 ATD: dial a number
Description Format
Example
This command is used to dial a number, transmit data or send a fax. ATD<string>; ATD><mem><n>; ATD><n>; AT+CPBS=“SM” ATD13024540756;
Select SIM card phonebook as the current contacts Search for this number in SIM card phonebook and dial it
Description
AT+CPBS=“SM” ATD>2; OK ATD>SM1; Dial the first number in SIM card phonebook
<mem>: contacts “SM”: SIM card phonebook; “LD”: last dialled number in the contacts; “MC”: missed call contacts; “ME”: local contacts; <n>: the n-th option of the contacts. <string>: called number, e.g. *99#.
Select SIM card phonebook as the current contacts Dial the second number in the current phonebook
11
Page 13
ME3000 Module
2.1.4 ATDL: dial the last outgoing number
Description Format
Example
This command is used to dial the last outgoing number. ATDL
ATD34394036; OK
ATH OK ATDL Dial 34394036 again
2.1.5 ATE: enable echo
Description Format Example
Parameters
This command is used to enable echo. ATE<n> ATE0 OK
OK ATE1 OK ATE1 OK <n>=0 Disable. <n>=1 Enabled.
Call 34394036
Hang up the call
ATE0, don’t display input command on the terminal
2.1.6 ATH: hang up the call
Description Format Example
This command is used to hang up the call. ATH ATA OK ATH Hang up the call
Answer the call
2.1.7 ATQ: set if returned value displayed on the terminal
Description Format
This command is used to set if the returned value is displayed on the terminal. ATQ<n>
12
Page 14
ME3000 Module
Example
ATQ0 OK ATQ0 OK ATQ1 OK ATQ1ATQ1
Display the returned value on the terminal
Do not display the returned value on the terminal
2.1.8 +++: switch from data mode to command mode
Description Format Example
This command is used to switch from data mode to command mode. +++ ATD*99# CONNECT +++ …… AT OK
Dial and enter data mode switch from data mode to command mode
2.1.9 ATO: switch from command mode to data mode
Description Format Example
This command is used to switch from command mode to data mode. ATO ATD*99# CONNECT +++ …… ATO ……
Dial and establish GPRS data connection
Switch from data mode to command mode
Switch from command mode to data mode
2.1.10 ATP: perform pulse dialing
Description Format Example
This command is used to perform pulse dialing. ATP ATP OK
Set pulse dialing method
13
Page 15
ME3000 Module
2.1.11 ATS0: set auto answer
Description Format Example
Parameters
This command is used to control auto answer mode of the module. ATS0=<value> ATS0=2 OK
ATS0? 2 OK ATS0=0 OK
<value>:times for ringing.
2.1.12 +CRC: set incoming call type
Description Format Example
Parameters
This command is used to set the incoming call type. AT+CRC=num AT+CRC=1 OK +CRING: VOICE num: 0: don’t display incoming call type; 1: display incoming call type Incoming call type:
-VOICE;
-GPRS;
-FAX.
Auto answer after ringing twice
Query the current setting
Cancel anto answer
RING prompts the incoming call type
Set CRC as the prompt of incoming call
2.1.13 +CLVL: set call volume
Description Format Example
Parameters
This command is used to set the volume of the speaker. AT+CLVL=<level> AT+CLVL=100 OK AT+CLVL? +CLVL:100 <level> between 0 and 100 <the number is smaller, the volume is lower >.
Set the current volume as 100 for the receiver
Query the current volume
14
Page 16
ME3000 Module
2.1.14 +CLIP: set caller ID presentation
Description
Format
Example
Parameters
This command is used to set caller ID presentation. The default setting is “Turn off caller ID presentation”. AT+CLIP=<mode> +CLIP: <mode> retuned value of AT+CLIP? Command +CLIP: <number>,<type>,<> caller ID presentation format AT+CLIP=1 OK RING:+CLIP: “130********”,129, “”,“”,0
AT+CLIP=0 OK RING <mode>: 0: Turn off caller ID presentation; 1: Turn on caller ID presentation. <number>: Incoming call number (need apply for relevant service). <type>: 129.
Turn on caller ID presentation.
There is an incoming call, and the number is 130******** Turn off caller ID presentation.
No alert upon an incoming call
2.1.15 +ZSETMUTE: mute control
Description Format Example
Parameters
This command is used for mute control, and it can be used only during the calling. AT+ZSETMUTE=<Mode> AT+ZSETMUTE=? +ZSETMUT:(0-1) OK AT+ZSETMUTE=1 OK AT+ZSETMUTE=0 OK <Mode> 0: Turn on mute; 1: Turn off mute.
2.1.16 +CIMI: inquire International ID
Query the settable parameters
Turn on mute
Turn off mute
Description
This command is used to read SIM card’s international ID and query the PIN code you need input.
15
Page 17
ME3000 Module
Format Example
AT+CIMI AT+CIMI 460030916875923 OK
Inquire CIMI Return with CIMI
2.1.17 +CGMR: obtain product version
Description Format Example
This command is used to obtain the product version. AT+CGMR AT+CGMR=? OK AT+CGMR <Revision>
No meaning
Return with the current module version
2.1.18 +ECHO: remove echo
Description Format Example
Parameters
This command is used to remove echo. AT+ECHO=num AT+ECHO? +ECHO:1 OK AT+ECHO=0 OK Num: default value,1. 1:set remove echo; 0:cancel remove echo.
2.1.19 +(C) GSN: obtain current IMEI
Description Format Example
This command is used to obtain the current IMEI of the device. AT+GSN AT+GSN N
Inquire the current echo setting
Cancel remove echo
Return with the current IEMI
2.1.20 +ZVERS: obtain current software version
Description Format
This command is used to obtain current software version AT+ZVERS
16
Page 18
ME3000 Module
Example
AT+ZVERS +ZVERS: ***.bin OK
2.1.21 +CLCK: function lock
Description Format
Example
Parameters
This command is used to lock the terminal or the network.. AT+CLCK=<fac>,<mode>[,<passwd>[,<class>]] +CLCK:<status> AT+CLCK=? +CLCK:(“SC”“AO” “OI”“OX”“AI”“IR” “AB”,“AG”,“AC”,“FD” “BN”,“PN”,“PU”,“PP” “PC” OK <fac>: “SC”: SIM card, “AO”: All originated calls, “OI”: Originate International Calls, “OX”: All international calls except local area; “AI”: All Incoming Calls, “IR”: Roam all incoming calls except local area; “AB”: All call services, “AG”: all outgoing call services, “AC”: all incoming call services, “FD”: SIM card fixed dial space, “PN”: network certification; “PU”network unit certification;“PP”: provider certification; “PC”corporate certification. <mode>: 0: unlock; 1: lock; 2: query status. <passwd>:password, character string “***” <class>: 1: voice service; 2: data service; 4: fax service; 7: all service. <status>: 0: Disable; 1: Enable.
Obtain the current software version
2.1.22 +CCFC: set call forwarding number and conditions
Description
This command is used to set call forwarding number and conditions.
17
Page 19
ME3000 Module
Format
Example
Parameters
AT+CCFC=<reason>,<mode>[,<number> [,<type>[,<class>[,<subaddr>[,<saytype>[,time]]]]]] If mode!=2,return after setting is successful: OK; If mode=2, return after setting is successful: +CCFC:<status>,<class> AT+CCFC=? +CCFC: (0,1,2,3,4,5) OK
Query call forwarding setting range
Return with reason
<reason> 0: unconditional; 1: mobile device busy; 2: no reply; 3: unreachable ; 4: all calls; 5: All. <mode> 0: disable; 1: enable; 2: query; 3: register; 4: delete. number: phone number. <type> 145: international number; 129: other number. <subaddr>: string address. <saytype>:128. <class> 1: voice; 2: data; 4: fax; 7: all. Time:1..20..30 (muliply 5) <status>: 0: Disable; 1: Enable.
2.1.23 *TSIMINS: inquire SIM card status
Description Format
This command is used to inquire SIM card status.
AT*TSIMINS=num,status
18
Page 20
ME3000 Module
Example
Parameters
AT*TSIMINS? *TSIMINS:0,0 OK
num:0 or 1 has no meaning. status: 0:no SIM card; 1:SIM card.
2.2 DTMF Command
2.2.1 +VTD: set DTMF duration
Description Format Example
Parameters
AT+VTD set DTMF duration. AT+VTD=<duration> AT+VTD=? +VTD:(1-255) OK AT+VTD? OK AT+VTD=200 OK <duration> 0:default setting. 1-255 length, unit: 100ms.
Inquire SIM card status
No SIM card
Query the range for DTMF duration
Return with “OK”
Set DTMF duration as 20s
2.2.2 +VTS: send DTMF
Description Format Example
Parameters
This command is used to send DTMF. AT+VTS=<string> AT+VTS=? +VTS:(0-9,*#,A,B,C,D),,(1-255) OK ATD********; AT+VTS=“3,6,9” String, use comma to separate the symbols. Symbols 0-9,*,#,A-D.
2.3 Network Service Command
Query +VTS parameter
Dial the call Send DTMF 369
19
Page 21
ME3000 Module
2.3.1 +CREG: network registration and roam
Description
Format
Example
Parameters
This command is used to query the module’s registration and roaming status. Note: need AT&W command to save the results as you set 0 or 1. AT+CREG=<mode> +CREG :<mode>,<stat> return code AT+CREG=0 OK AT+CREG? +CREG: 0,1 AT+CREG=? +CREG: (0-2) OK <mode> 0: Forbid network registration to provide result code(default setting); 1:allow network registration to provide result code:+CREG:<stat>; 2:allow network registration to provide local information. <stat> 0:Unregistered, terminal isn’t searching for new operator; 1:Registered to local network; 2:Unregistered, terminal is searching for BS; 4:Unknow code; 5:Registered, roaming.
Forbid network registration to provide result code
Display module registration status
Quert status range
2.4 Mobile Device Control and Status Report
2.4.1 +CPAS: module status query
Description Format Example
Parameters
This command is used to query the module’s work status. AT+CPAS AT+CPAS +CPAS:2 OK <pas>: 0:get ready to receive AT command; 2:unknow status (default); 3:Incoming call (ring); 4:In calling.
Query the module’s current work status
20
Page 22
ME3000 Module
2.4.2 +CFUN: set module function
Description Format Example
Parameters
This command is used to set module function. AT+CFUN=<func>,<rst> AT+CFUN=? +CFUN(0,1,4),(0-1) OK AT+CFUN=1,0 Setting valid immediately AT+CFUN=1,1 Reset valid <func>: 0: minor function; 1: Full function; 4: Turn off RF Rx/Tx circuit. <rst> : 0: the function activated immediately after setting; 1: the function activated after reset.
2.4.3 +ZPWROFF: turn off module
Query setting range
Description Format Example
This command is used to turn off the module. AT+ZPWROFF AT+ZPWROFF OK
2.4.4 +CPIN: input PIN code
Description
Format Example
This command is used to query PIN code status and input PIN code. The functions can be used only after the correct PIN code is entered. AT+CPIN=<pin> AT+CPIN? +CPIN:READY
OK AT+CPIN?
+CPIN:SIM PIN AT+CPIN="****" OK
Turn off the module
Query current PIN code No need to input new PIN code
Query current PIN code status PIN code must be correct Enter the correct PIN code
21
Page 23
ME3000 Module
Parameters
AT+CPIN?: check if what kind of passwords should be entered. +CPIN:READY::don’t need enter any password. +CPIN:SIM PIN: need enter PIN code. Pin: string value.
2.4.5 +CSQ: signal strength query
Description Format Example
Parameters
This command is used to inquire receive signal strength indicator(rssi) and bit error rate (ber) AT+CSQ AT+CSQ +CSQ:<rssi>,<ber> <rssi>: 0–113dbm; 1-111dbm;
2..30–109..-53dbm; 31-51dbm; 99: network unavailable. <ber>: 0~7: normal; 99: network unavailable.
2.4.6 +CCLK: clock management
Description Format Example
Parameters
This command is used to set and query the data/time of real-time clock. AT+CCLK=<time> AT+CCLK? +CCLK: "04/02/09,17:34:23+8" AT+CCLK="04/02/09,18: 34:23+08" Time format:"yy/mm/dd,hh:mm:ss±zz"; ±zz time difference between local time and GMT.
Querycurrent time and date Current network time and dat
Set the data/time of real-time clock
2.5 SMS Command
2.5.1 +CSCA: set SMS center number
Description Format Example
This command is used to set SMS center number. AT+CSCA=<sca>[,<tosca>] AT+CSCA="1380****500" Set SMS center number
22
Page 24
ME3000 Module
OK
Parameters
<sca>: SMS center address. <tosca>: SMS center format.
2.5.2 +CNMA: confirm SMS
Description Format Example
Parameters
This command is used to confirm the receipt of short messages. AT+CNMA at+cnmi=2, 2, 0, 0, 0 OK at+csms=1 +CSMS: 1, 1, 1 OK +CMT:60 ………… AT+CNMA OK It is valid when setting +CNMI=2, 2, 0, 0, 0 and +CSMS=1, 1, 1, 1.
2.5.3 +CMGF: set SMS mode
Description Format Example
Parameters
This command is used to set SMS input mode. AT+CMGF=< num> AT+CMGF=1 OK AT+CMGF? +CMGF:1 AT+CMGF=? +CMGF=(0-1) OK 0: PDU mode; 1: T ext mode.
Set SMS indicator format
Set SMS service format
Confirm the receipt of short message
Set SMS input mode as text input
Query current input mode setting Current setting as text mode Query current setting range
2.5.4 +CNMI: set SMS indicator format
Description Format
This command is used to set SMS indicator format. AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>
23
Page 25
ME3000 Module
Example
Returned Results
AT+CNMI=?
Query the range for current settings +CNMI: (0-3),(0-3),(0,2,3),(0-1),(0) OK AT+CNMI=3,1,0,0,0 OK
Set SMS receiving mode as +CMTI: men,index format
Receive new messages +CMTI: "SM",19 AT+CNMI=3,2,0,0,0 OK AT+CMGF=1 OK
Set SMS receiving mode
Set current setting as Text Mode
Receive SMS text from 130******** +CMT: "+86130********","","07/02/14, 10:29:04+32"
text +CMTI:<mem>,<index>: indicate receipt of new message. +CMT:,<length><CR><LF><pdu>: directly output received message (PDU mode). +CBM:<length><CR><LF><pdu>: directly output cell broadcast info (PDU mode).
24
Page 26
ME3000 Module
Description
<mode>: Control the handling of message indication code. Support <mode>=2 only, the
module could be set as (0, 1, 3), but the handling of code is the same as <mode>=2. 0: the message indication code will be stored in TA, if TA is full, the code will be stored in other places or the original code will be deleted and replaced by the latest received code;
1. As the connection between TA-TE is hold, delete saved message indication code and reject new indication code. In other cases, directly display the code on the terminal;
2. As the connection between TA-TE is hold, message indication code will be saved in TA; while the connection is released, directly display the message indication code on the terminal. In other cases, directly display the code on the terminal.; 3: Directly display the code on the terminal.. <mt>: Set new message indication code format;the default value is 1. 0: no any new message indication code, the message won’t be saved; 1: new message indication code is +CMTI: "MT", <index>, the message will be saved but not displayed directly; 2: new message indication code format is: (In text mode) +CMT :<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>
<sca>,<tosca>,<length><CR><LF><data>, the message will be displayed directly but not
saved. (In PDU Mode) +CMT:[<alpha>],<length><CR><LF><pdu>. <bm>: indication method when the broadcast message arrives: 0: don’t send CBM indication to termina; 2: directly send to terminal to display when new cell broadcast arrives: (display as below In text mode) +CBM :<sn>,<mid>,<dcs>,<page>,<pages>
<CR><LF><data>(text mode), cell broadcast directly displayed but not saved (display as below in PDU mode) +CBM:<length><CR><LF><pdu>. <ds>: indicating status as the message is being sent: 0: status report as no message is sent <bfr>: 0: as <mode> is set as 1..3, the code of this command stored in TA will be sent to TE,
and ”OK” will be returned before the module transmits the code;
1: as <mode> is set as 1..3, the code of this command stored in TA wil be cleared.
2.5.5 +CMGR: view SMS
Description Format
This command is used to view the received messages. AT+CMGR=?
25
Page 27
ME3000 Module
Example
Returned Results
AT+CMGF=1 AT+CMGR=1 +CMGR:"REC UNREAD","133********",, "04/02/25,12 :58 :04+04" ABCD OK
AT+CMGF=0 AT+CMGR=1 +CMGR: 1,,127 0891683108705505F00408A170558106000870109190
"MT": 1 Receive new message, store it at location 1 Set TEXT mode
View the first message in TEXT mode Set PDU format
View the first message in PDU
format 5564236E5C0A656C76845BA26237FF0C60A85DF27ECF 6210529F5F00901A4E86003100300030514300470050 00520053595799104F1860E04E1A52A1FF0C4ECE0032 0030003000375E740030003267080030003165E55F00 59CB751F654830028C228C22FF016DF1573379FB52A8 516C53F8 AT+CMGR=<index> Returned format: The terminal adaptor will return the message with index stored in the memorizer.
-If selected text mode (+CMGF=1): +CMGR :<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>, <sca>,<tosca>,<length>] <CR><LF> <data> (used to read received messages) +CMGR :<stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>, [< vp>],< sca>, <tosca>,<length>] <CR><LF> <data> (used to read sent messages)
-if selected PDU mode (+CMGF=0): +CMGR: <stat>,[<alpha>],<lenth>,<CR>,<LF>,<pdu> OK
-if there is error, it will prompt: +CMS ERROR:<err>
Note: after viewing the messages, “REC UNREAD”will change as “REC READ”.
26
Page 28
ME3000 Module
Parameters
<alpha> the corresponding name of <da> or <oa> on the terminal. <stat>: SMS status in memory. <oa>: SMS original number string. <da>: SMS target address string. <scts>: SMS service center time string. <length>: text length in text mode. <data>: TPDU length in PDU mode. <pdu>: ME/TA’s hex value <stat>: 0: "REC UNREAD" received unread messages; 1: "REC READ" received read messages; 2: "STO UNSENT" stored unsent messages; 3: "STO SENT" stored sent messages; 4: "ALL": all messages
2.5.6 +CSMS: select SMS service
Desription Format Example
Parameters
This command is used to originate (SMS-MO), terminate (SMS-MT), cell broadcast (SMS-CB). AT+CSMS = <service> AT+CSMS? +CSMS:128,1,1,1 OK AT+CSMS=0 +CSMS: 1,1,1 OK AT+CSMS? +CSMS:0,1,1,1 OK <service> 0: Normal mode ; 128: PDU mode. <mo> 1: support message origination. <mt> 1: support message termination. <bm> 1: support cell broadcast.
Query current SMS Support message origination/termination and cell broadcast Set current SMS as normal mode Support message origination/termination and cell broadcast Inquire setting result Setting succeeded
27
Page 29
ME3000 Module
2.5.7 +CMGS: message origination
Description
Format
Example
Parameters
This command is used to originate the message from the terminal to the network.. Return with parameters to the terminal after the message is originated successfully. Text mode (AT+CMGF=1) AT+CMGS=<de><CR> <data><Ctrl-Z/ESC> PDU mode (AT+CMGF=0) AT+CMGS=<length><CR> <pdu><Ctrl-Z/ESC>
AT+CMGF=1 OK
AT+CMGS="13316538879"<CR> ABC<ctrl/Z> OK AT+CMGF=0 OK AT+CMGS=17<CR> 0891683108705505f011000b81312 0882624f700f1ff0361f118<Ctrl-Z> +CMGS:2 OK <de>:the number which the message is sent to in text mode. <length>: character length of TPDU text in PDU mode. <data>: text in text mode.
set as text mode
Send the text of “ABC” to 13316538879
Set as PDU mode
Send the text of “ABC” to 13028862427
2.5.8 +CPMS: prioritize message memorizer
Description Format
Example
Parameters
This command is used to prioritize message memorizer. AT+CPMS=<mem1>[,<mem2>[<mem3>]] +CPMS=<used1>,<total> AT+CPMS="SM" +CPMS:4,5,4,5,4,5 OK
<mem1>: "SM" : SIM card is used to view, delete message memory. <mem2>: "SM" : SIM card is used to compose, send message memory. <mem3>: "SM" : SIM card message memorizer when not saved to PC. <used>:used capacity. <total>:total capacity of the memorizer.
28
Query the message memory status of SIM card: mem1’s total capacity 5 pieces, 4 pieces used; Mem2’s total capacity 5 pieces, 4 pieces used; Mem3’s total capacity 5 pieces, 4 pieces used.
Page 30
ME3000 Module
2.5.9 +CMGD: delete a message
Description Format Example
Parameters
This command is used to delete a message from selected memorizer. AT+CMGD=<Index> AT+CMGF=1 AT+CMGL="all" +CMGL:1,"REC READ","130********","", abcdefg
+CMGL:2,"REC READ","131********","", abcdef
+CMGL:3,"STO SENT","1331********","" opqrxt OK AT+CMGD=2 OK
AT+CMGF=0 AT+CMGL=4 +CMGL: 1,3,,21 0891683108705505F0010F0B813120882624 F700 0808738B54084F1F5927 +CMGL: 2,3,,21 0891683108705505F001100B813120882624 F700 0808738B54084F1F5927 +CMGL: 3,3,,21 0891683108705505F001110B813120882624 F700 0808738B54084F1F5927
OK AT+CMGD=1 OK <Index>: record number of stored message
Set as text mode List all messages
Delete the second message Set as PDU mode List all messages
Delete the first message
2.5.10 +CMGL: message list
Description
This command is used to view the stored message, and the message will be viewed in the memorizer selected by +CPMS command.
29
Page 31
ME3000 Module
Format Example
Returned Format
Parameters
AT+CMGL=<stat> AT+CMGF = 1 OK AT+CMGL=“ALL”
+CMGL:1,"REC
Set as text mode
Use text mode
Query all messages READ","130********","", abcdefg
+CMGL:2,"REC READ","131********","", abcdef
+CMGL:3,"STO SENT","1331********","", opqrxt OK
1) in text mode: +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/sent message list) OK
2) in PDU mode: +CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>
1. text mode(+CMGF=1) <stat>: REC UREAD: received unread messages; REC READ: received read messages; STO UNSENT: stored unsent messages; STO SENT: stored sent messages; ALL: all messages.
2.PDUmode (+CMGF=0) <stat>: 0: received unread messages; 1: received read messages; 2: stored unsent messages; 3: stored sent messages; 4: all messages. <index> message index. <length> TPDU length in PDu mode. <pdu> binary content in PDU mode. <data> message text in text mode.
30
Page 32
ME3000 Module
2.5.11 +CMSS: send messages stored in SIM card
Description Format
Example
This command is used to send the messages stored in SIM card. AT+CMSS=<index>[,<da> [,<toda>]] Returned format:+CMSS : <mr> +CMS ERROR: <err> If a new target number is specified, then the number stored in the message will be replaced by the new number AT+CMGF=1 AT+CMGW="1331653****";<CR> ABC<ctrl-Z> +CMGW:2 OK AT+CMSS=2 +CMSS:0 OK AT+CMSS=2 +CMSS:1 OK
AT+CMSS=2, "1302755****" +CMSS:2 OK
Set as text mode
Compose a message and send it to 1331653**** The message will be stored in record 2 Send the message stored in record 2 Message sent successfully CMSS returned value 0 When the message is stored: Don’t specify the number and send the message, Message sent successfully,(send it to the address where the message is stored) CMSS returned value 1 Replace the original number 1331653**** with 1302755****, and send the message to the new number
2.6 Phonebook Command
2.6.1 +CPBS: select phonebook
Description Format Example
This command is used to select the phonebook.. AT+CPBS=<type> AT+CPBS? +CPBS: "SM",1,250
OK AT+CPBR=1 +CPBR=1,"130********",129,"" OK AT+CPBS=? +CPBS:("MC","RC","DC","LD","LA","ME", "SM","FD","ON","BN","SD","VM")
OK
Query the setting of current phonebook SIM card memory used by current phonebook
Query phonebook status
Select SIM card phonebook
31
Page 33
ME3000 Module
Parameters
Type: "SM":SIM card; "FD":SIM card phonebook; "LD":Last dialed number in SIM card; "MC":Missed calls in NV; "DC":Dialed calls in SIM card.
2.6.2 +CPBR: read phonebook
Description Format
Example
Parameters
This command is used to read phonebook. AT+CPBR=<index1>,[<index2>] +CPBR:<index>,<number>,<type>,<text> AT+CPBR=? +CPBR: (1-10),40,13
OK AT+CPBR=1 +CPBR=1,"130********",129,"" OK 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,"" index1: read phonebook index. index2: read phonebook from index 1 to index 2 when using this value. index: SN. number: phone number. type: phone type. 129: domestic. 145: international. text: the name of corresponding number.
Query current phonebook
Read the first the number of selectedphonebook
Select SIM card phonebook
Query SIM card phonebook
Read phonebook information saved from 1 to 3
2.6.3 +CPBW: write phonebook
Description Format
This command is used to write phonebook. AT+CPBW= <index>,<number>,<type>,<name> +CPBW:(<index>),<length>,(<type>),<tlength>
32
Page 34
ME3000 Module
Example
Parameters
AT+CPBW=? +CPBW: (1-10),40,(129,145, 161,177),13
OK AT+CPBS="SM" OK AT+CPBW=1,"130********",129,"john" OK AT+CPBR=1 +CPBR:1,"130********",129,"john" OK index: SN. length: phone number length. type: phone type. 129: domestic. 145: international. tlength: the length of the name of corresponding phone number. number: phone number. name: the name of corresponding number.
2.6.4 +CPBF: find phonebook
Description Format
Example
This command is used to search for contacts in the phonebook. AT+CPBF= <name> +CPBF: <index>,<number>,<type>,<name> +CPBF:<nlength>,<tlength> AT+CPBF=? +CPBF:40,13
OK 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
Query current phonebook Phone number length: 40 Name length:13
Select phonebook
Write the information in the firstoption in current
phonebook
Read relevant information
Find the information wit h the nameofJohn
33
Page 35
ME3000 Module
Parameters
index: SN. nlength: phone number length. type: phone type. 129: domestic. 145: international. tlength: the length of the name of corresponding phone number. number: phone number. name: the name of corresponding number.
2.7 Data Compression Command
2.7.1 +IFC: flow control
Description Format Example
Parameters
This command is used to set TE-TA flow control. AT+IFC=[<mode1 >[,<mode2>]] AT+IFC=2,2 OK 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.
Set TE-TA flow control mode1:RTS; mode2:CTS.
2.7.2 &D: set DTR mode
Description Format Example
Parameters
This command is used to set DTR mode. AT&D[<value>] AT&D0 OK value: 0: ignore DTR signal; 1: DTR from OFF to ON; 2: DTR from ON to OFF.
Ignore DTR signal
34
Page 36
ME3000 Module
2.7.3 &C: set DCD mode
Description Format Example
Parameters
This command is used to set DCD mode. AT&C[<value>] AT&C0 OK value: 0:DCD signal is always valid; 1: DCD signal is only valid when there is data.
2.7.4 +IPR: set the module’s baud rate
Description Format Example
Remarks
This command is used to set the module’s baud rate. AT+IPR=<baud rate> AT+IPR? +IPR: 115200 OK AT+IPR=?
AT+IPR=115200 OK Baud rates higher than 115200bps could only be used on EDGE and 3G platform. Use AT&W to save the setting baud rate, otherwise, it will reset to 115200bps if the module is turned off.
DCD signal is always valid
Query the module’s current baud rate
Query the supported baud rates
Set baud rate as 115200
2.7.5 &F: factory default
Description Format Example
This command is used to return to factory default setting. AT&F AT&F Factory default
2.7.6 &W: save setting
Description Format Example
This command is used to save the current setting. AT&W AT&W Save setting
2.8 ZTE Exclusive Command
35
Page 37
ME3000 Module
2.8.1 +ZGPIO: read/write GPIO
Description Format Example
Parameters
Remarks
This command is used to set the port as input/output, and read/write GPIO value. AT+ZGPIO=<flag>,<index>,<value> AT+ZGPIO=0,5(read) +ZGPIO: 0 OK AT+ZGPIO=1,22,1(write) OK <flag>: 0: read; 1: write. <index>: the GPIO index to be read/written. <value>: 0: I/O set as 0; 1: I/O set as 1. Only GPIO5, GPIO22 could be provided to users to operate.
2.8.2 +SPEAKER: switch audio channel
Description Format Example
Parameters
This command is used to switch between earpiece and receiver. AT+SPEAKER=<mode> AT+SPEAKER=0 OK AT+SPEAKER=1 OK AT+SPEAKER=? +SPEAKER:(0-1) OK <mode> 0: receiver(default); 1: earpiece.
2.8.3 +ZDSLEEP: 32KHz deep sleep mode
Description Format Example
Parameters
This command is used to enable/disable 32KHz sleep mode. AT+ZDSLEEP=<mode> AT+ZDSLEEP=1 enable sleep mode AT+ZDSLEEP=0 disable sleep mode <mode>
Receiver
Earpiece
Query status
36
Page 38
ME3000 Module
0: Enable sleep mode; 1: Disable sleep mode.
2.8.4 +ZSTR: query module’s status
Description Format
Example
Parameters
This command is used to query the module’s status. AT+ZSTR=<status> +ZSTR: <status>,<value> AT+ZSTR=1 Query the initializing status AT+ZSTR=2 Query network status AT+ZSTR=? Query parameter list <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 meaning.
2.9 GPRS Command
2.9.1 +CGDCONT: set PDP format
Description Format
Example
Parameters
This command is used to set GPRS’s PDP format. at+CGDCONT=cid, type, APN[,PDP_ADDR]
At+CGDCONT=1, "IP","CMNET" ATD*99# …… Connect cid: used to define PDP number; min.:1. type: PDP packet type, IP: use TCP/IP packet. APN: access node network name.. PDP_ADDR: IP address specified by user (optional).
2.9.2 + CGACT: deactivate/activate PDP setting
Description Format
This command is used to deactivate/activate PDP setting. at+CGACT=[<state>[,<cid>[,<cid>[,..]]]]
At+CGDCONT=1, "IP","CMNET" ATD*99# …… Connect
37
Page 39
ME3000 Module
Example
Parameters
At+CGDCONT=1,"IP","CMNET" OK AT+CGACT=1,1 OK cid: used to define PDP number. state: indicate PDP status: 0: deactivated; 1: activated.
2.9.3 +CGATT: set GPRS
Description Format
Example
Parameters
This command is used to set GPRS. AT+CGATT=[<state>]
AT+CGATT? +CGATT: 0 OK AT+CGATT=1 OK state: 0: not connected; 1: connected.
Query GPRS
Set GPRS
2.9.4 +CGCLASS: query GPRS class
Description Format
Example
Parameters
This command is used to query GPRS class. AT+CGCLASS=[<class>]
AT+CGCLASS? +CGCLASS:"B" OK class: A:support class A ; B:support class B; CG :support GPRS only; CC:support circuit exchange only.
2.10 TCP/IP Command
Query GPRS class
38
Page 40
ME3000 Module
2.10.1 +ZPNUM: set APN, username, password
Description Format
Example
Parameters
This command is used to set the operator’s APN, username and password. AT+ZPNUM=<APN>,<USER>,<PWD>
AT+ZPNUM="cmnet","user","pwd" OK APN: GPRS (APN) provided by GPRS operator. USER: username. PWD: password. APN:USER, PWD "string".
2.10.2 +ZPPPOPEN: open GPRS data link
Description Format
Example
This command is used to open GPRS data link. AT+ZPPPOPEN
AT+ZPNUM="cmnet","user","pwd" OK AT+ZPPPOPEN +ZPPPOPEN:CONNECTED OK …. AT+ZPPPOPEN +ZPPPOPEN: ESTABLISHED OK
2.10.3 +ZPPPCLOSE: close GPRS data link
Description Format
Example
This command is used to close GPRS data link. AT+ZPPPCLOSE
AT+ZPPPCLOSE OK
AT+ZPPPCLOSE +ZPPPCLOSE: DISCONNECTED OK
2.10.4 +ZIPSETUP: establish TCP server connection
Description
This command is used to establish TCP server connection.
39
Page 41
ME3000 Module
Format Example
Parameters
AT+ZIPSETUP=<N>,<IP>,<M> AT+ZIPSETUP=1,61.144.216.219,2332
+ZIPSETUP:CONNECTED OK
N: max. number of TCP links is 5, ranging from 0 to 4. IP: IP for next target address, *.*.*.*. * ranges from 0 to 255 M: port.
2.10.5 +ZIPSEND: send TCP data to target address
Description Format
Example
Parameters
This command is used to connect to target server. AT+ZIPSEND=<N>,<len>,<DATA>
AT+ZIPSEND=1,10,abcdefghij OK N: max. number of TCP links is 5, ranging from 0 to 4. Len: data length (max. 60 characters). DATA: text, composed of characters.
Establish TCP server connection
Connect to target server
2.10.6 +ZPPPSTATUS: query GPRS connecting status
Description Format
Example
This command is used to inquire GPRS link status. AT+ZPPPSTATUS
AT+ZPPPSTATUS ZPPPSTATUS: ESTABLISHED OK AT+ZPPPSTATUS +ZPPPSTATUS: DISCONNECTED OK
Query GPRS connecting status
Query GPRS connecting status
2.10.7 +ZIPCLOSE: close TCP link
Description Format
Example
This command is used to close TCP link. AT+ZIPCLOSE=<N>
AT+ZIPCLOSE=0 OK
Close TCP link
Parameters
N: max. number of TCP links is 5, ranging from 0 to 4.
40
Page 42
ME3000 Module
2.10.8 +ZIPGETIP: query current IP address of the module
Description Format Example
Parameters
This command is used to obtain the IP address of the module. AT+ZIPGETIP AT+ZIPGETIP +ZIPGETIP: *.*.*.* OK A value between 0 and 255.
2.10.9 +ZIPSTATUS: query current TCP link status
Description Format Example
Parameters
This command is used to query current TCP link status. AT+ZIPSTATUS=<N> AT+ZIPSTATUS=0 +ZIPSTATUS: ESTABLISHED OK ESTABLISHED :TCP link established . DISCONNECTED: TCP link disconnected.
Obtain the IP address of the module
Query current TCP link status
2.10.10 +ZIPRECV: Prompt to Receive Data from Current Data Link
Description Format Example
Parameters
This command is used to receive data from current data link. +ZIPRECV:N,LEN,<DATA> …… +ZIPRECV:0,5,abcde …… N: max. number of TCP links is 5, ranging from 0 to 4. LEN: length of received data. DATA: received data.
…… Receives 5 data abcde
2.10.11 +ZIPSETUPU: establish UDP server link
Description Format Example
Parameters
This command is used to bundle UDP server connection. AT+ZIPSETUPU=<N>,<IP>,<M> AT+ZIPSETUPU=1,61.144.216.219,2332 OK N: max. number of UDP links is 5, ranging from 0 to 4. IP: IP address for target server, *.*.*.*. * ranges from 0 to 255. M: port.
Bundle address: 61.144.216.219; port: 2332 Return with bundle succeeded
41
Page 43
ME3000 Module
2.10.12 +ZIPSENDU: send data to UDP server
Description Format Example
Parameters
This command is used to send data to bundled UDP server. AT+ZIPSENDU=<N>,<len>,<DATA> AT+ZIPSENDU=1,10,abcdefghij OK N: max. number of UDP links is 5, ranging from 0 to 4. Len: data length (max. 60 characters). DATA: text, composed of characters.
2.10.13 +ZIPSTATUSU: query UDP status
Description Format Example
Parameters
This command is used to query current TCP link status. AT+ZIPSTATUSU=<N> AT+ZIPSTATUSU=0 +ZIPSTATUSU: ESTABLISHED OK ESTABLISHED: UDP used. DISCONNECTED:UDP OFF.
After connecting server successfully, send 10-byte data (abcdefghij) to UDP server
Query UDP status of number 0 Number O UDP being used
2.10.14 +ZIPCLOSEU: close UDP link
Description Format Example
Parameters
This command is used to turn off designated UDP link. AT+ZIPCLOSEU=<N> AT+ZIPCLOSEU=0 OK +ZIPCLOSEU: 0 N: max. number of UDP links is 5, ranging from 0 to 4.
2.10.15 +ZIPRECVU: prompt to receive UDP data
Description Format Example
This command is used to prompt to receive UDP data from UDP server. +ZIPRECVU:N,LEN,<DATA> …… +ZIPRECVU:0,5,abcde ……
Successfully turn off/on numbe 0 UDP link
Prompts number 0 UDP link turned off
…… Receives 5 data abcde
42
Page 44
ME3000 Module
Parameters
N: max. number of UDP links is 5, ranging from 0 to 4. LEN: length of received data. DATA: received data.
43
Page 45
War ni n g:
This device complies with part 15 of the FCC Rules. Operation is subject
to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
Changes or modifications to this unit not expressly approved by the
party responsible for compliance will void the user’s authority to
operate the equipment. Any change to the equipment will void FCC grant.
This equipment has been tested and found to comply with the limits
for a Class B digital device,pursuant to part 15 of the FCC Rules. These
limits are designed to provide reasonable protection against harmful
interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed
used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that
interference will not occur in a particular installation. If this equipment
does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is
encouraged to try to correct the interference by one or more of the
following measures:
--Reorient or relocate the receiving antenna.
--Increase the separation between the equipment and receiver.
--Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
--Consult the dealer or an experienced radio/TV technician for help.
The equipment compliance with FCC radiation exposure limit set forth for uncontrolled Environment
Loading...