ZTE MG3006 User Manual

MG3006 Module
ZTE MG3006 Module User Manual
VER: V 1.2
ZTE Corporation
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
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
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
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
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
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
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
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
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
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
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
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
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
Loading...
+ 31 hidden pages