gsm module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/at zte.pdfgsm module s 2 with...

62
GSM Modules AT AT AT Command Command Command Manual Manual Manual For For For ZTE ZTE ZTE Corporation Corporation Corporation s ME3000 ME3000 ME3000 Module Module Module VER: V2.00 ZTE ZTE ZTE Corporation Corporation Corporation This manual is applicable for MG3006MG3030MG3036MG3082MG3088 modules also.

Upload: truongtruc

Post on 08-Mar-2018

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

ATATAT

AT

CommandCommandCommand

Command

ManualManualManual

Manual

ForForFor

For

ZTEZTEZTE

ZTE

CorporationCorporationCorporation

Corporation

’’’

sss

s

ME3000ME3000ME3000

ME3000

ModuleModuleModule

Module

VER: V2.00

ZTEZTEZTE

ZTE

CorporationCorporationCorporation

Corporation

This manual is applicable for MG3006、MG3030、MG3036、MG3082、MG3088 modules also.

Page 2: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

1

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 ZTECorporation.

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 manualwithout prior notice.

ZTE Corporation keeps the right to make the final explanation to this manual.

Page 3: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

2

With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with the followingall-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 [email protected]. You can also call us at

0755-86360280 for more supports.

Page 4: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

3

PrefacePrefacePreface

Preface

SummarySummarySummary

Summary

This manual is applicable for ME3000、MG3006、MG3030、MG3036、MG3082、MG3088 modules. TakingME3000 for example, this manual describes the AT command interfaces of the modules, which contains standardGSM 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.

TargetTargetTarget

Target

ReadersReadersReaders

Readers

System Designing Engineers Hardware Engineers Software Engineers Testing Engineers

BriefBriefBrief

Brief

IntroductionIntroductionIntroduction

Introduction

UpdateUpdateUpdate

Update

HistoryHistoryHistory

History

The update history includes the update descriptions each time. The update contents will be included in the latestversion.

DocumentDocumentDocument

Document

Version:Version:Version:

Version:

V2.00V2.00V2.00

V2.00

(2008-03-14)(2008-03-14)(2008-03-14)

(2008-03-14)

This is the eighth time to release formally. The update contents include:AddAT+ZCALLTONE,AT+ZDTMFTONE

DocumentDocumentDocument

Document

Version:Version:Version:

Version:

V1.90V1.90V1.90

V1.90

(2007-12-25)(2007-12-25)(2007-12-25)

(2007-12-25)

This is the seventh time to release formally. The update contents include:AddAT+ZGETICCID

DocumentDocumentDocument

Document

Version:Version:Version:

Version:

V1.80V1.80V1.80

V1.80

(2007-11-21)(2007-11-21)(2007-11-21)

(2007-11-21)

This is the sixth time to release formally. The update contents include:Revise +ZPNUM,+IPR,+ZIPSEND,+ZIPSENDUDelete +ZDSLEEPAdd 3 Applications and cautions

ChaptersChaptersChapters

Chapters

ContentsContentsContents

Contents

1 General Description Briefly introduces the types and basic formats of ME3000 、 MG3006 、

MG3030、MG3036、MG3082、MG3088 modules.2 AT Command Explains AT command operations of ME3000 modules in details.3 Applications and cautions Introduces the SMS and Phonebook

Page 5: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

4

.DocumentDocumentDocument

Document

Version:Version:Version:

Version:

V1.4V1.4V1.4

V1.4

(2007-07-05)(2007-07-05)(2007-07-05)

(2007-07-05)

This is the fifth time to release formally. The update contents include:Add 3 types of modules which are Applicable: ME3006, ME3080, ME3086Add 2.1.26 +CPWD: modify passwordAdd 2.6.5 +CNUM: obtain number of current terminalAdd 2.5.12 +ZSMGS: full SMS indication2.10 change contents of TCP/IP chapter

DocumentDocumentDocument

Document

VersionVersionVersion

Version

V1.3V1.3V1.3

V1.3

(2007-06-15)(2007-06-15)(2007-06-15)

(2007-06-15)

This is the fifth time to release formally. The update contents include:Add 2.1.23 AT+CCWAAdd 2.1.24 AT+CHLDAdd 2.7.7 +ZEDT: set DTR signal detectingRevise 2.10.5 +ZIPSEND:send TCP data to destination addressRevise 2.10.12 +ZIPSENDU:send TCP data to destination address

DocumentDocumentDocument

Document

Version:Version:Version:

Version:

V1.2V1.2V1.2

V1.2

(June-4-2007)(June-4-2007)(June-4-2007)

(June-4-2007)

Change the manual name from 《AT Command Manual for ZTE Corporation’s GSM/GPRS Modules》to《ATCommand Manual for ZTE Corporation’s ME3000 Modules》.Add the applicable modules such as ME3000, ME3006, ME3030 and ME3036 modules.

DocumentDocumentDocument

Document

Version:Version:Version:

Version:

V1.1V1.1V1.1

V1.1

(April-17-2007April-17-2007April-17-2007

April-17-2007

This is the second time to release formally. The update contents include:2. AT CommandNewly added commands:ATO: Switch from command mode to data mode+++: Switch from data mode to command modeCLIP: Set caller ID presentationCCFC: Set call forwarding number and conditionsCLCK: Lock device or networkCPWD: Modify passwordCNMA: SMS confirmationCSCA: Set short message center numberCPBS: Select contacts memorizerCPBR: Read contactsCPBW: Write contactsCPBF: Search for contactsIFC: Set flow control&D: Set DTR mode&C: Set DCD modeCGACT: Deactivate/activate PDP modeCGATT: Set GPRS startupCGCLASS: Device class

Page 6: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

5

ZIPSETUPU: Bundle UDP portZIPSENDU: Send UDP dataZIPSTATUSU: Query UDP statusZIPCLOSEU: Close UDP portZIPRECVU: Receive UDP data

DocumentDocumentDocument

Document

Version:Version:Version:

Version:

V1.0V1.0V1.0

V1.0

(March-05-2007March-05-2007March-05-2007

March-05-2007

This is the first time to release formally.

Page 7: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

6

TableTableTable

Table

ofofof

of

ContentsContentsContents

Contents

1 General Description.......................................................................................................................91.1 AT Commands.............................................................................................................................................. 9

1.1.1 Type of AT Commands................................................................................................................. 91.1.2 Returned Type and Format of AT Commands.............................................................................. 9

1.2 GSM Glossary............................................................................................................................................ 102 AT Command...............................................................................................................................12

2.1 Common Command....................................................................................................................................122.1.1 A/: repeat previous command.....................................................................................................122.1.2 ATA: answer a call......................................................................................................................122.1.3 ATD: dial a number.....................................................................................................................122.1.4 ATDL: dial the last outgoing number......................................................................................... 122.1.5 ATE: enable echo........................................................................................................................ 132.1.6 ATH: hang up the call................................................................................................................. 132.1.7 ATI:Prompt manufacturer identification................................................................................. 132.1.8 ATQ: set if returned value displayed on the terminal................................................................. 142.1.9 +++: switch from data mode to command mode........................................................................142.1.10 ATO: switch from command mode to data mode.......................................................................142.1.11 ATP: perform pulse dialing.........................................................................................................142.1.12 ATS0: set auto answer................................................................................................................ 152.1.13 +CRC: set incoming call type..................................................................................................... 152.1.14 +CLVL: set call volume..............................................................................................................152.1.15 +CLIP: set caller ID presentation............................................................................................... 152.1.16 +ZSETMUTE: mute control.......................................................................................................162.1.17 +CIMI: inquire International ID................................................................................................. 162.1.18 +CGMR: obtain product version................................................................................................ 172.1.19 +ECHO: remove echo.................................................................................................................172.1.20 +(C) GSN: obtain current IMEI..................................................................................................172.1.21 +ZVERS: obtain current software version................................................................................. 172.1.22 +CLCK: function lock................................................................................................................ 172.1.23 +CCFC: set call forwarding number and conditions.................................................................. 182.1.24 +CCWA:call waiting control................................................................................................... 192.1.25 +CHLD:call hold and multiple session....................................................................................202.1.26 *TSIMINS: inquire SIM card status...........................................................................................212.1.27 +CPWD:change password.......................................................................................................212.1.28 +CGMI:inquire manufacturer identification........................................................................... 222.1.29 +ATZ:reset parameters according to memory setting............................................................. 22

2.2 DTMF Command....................................................................................................................................... 222.2.1 +VTD: set DTMF duration.........................................................................................................222.2.2 +VTS: send DTMF..................................................................................................................... 23

2.3 Network Service Command........................................................................................................................232.3.1 +CREG: network registration and roam..................................................................................... 23

Page 8: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

7

2.3.2 +COPS: network choice............................................................................................................. 242.4 Mobile Device Control and Status Report.................................................................................................. 24

2.4.1 +CPAS: module status query...................................................................................................... 242.4.2 +CFUN: set module function......................................................................................................242.4.3 +CMEE:mobile device error report.........................................................................................252.4.4 +ZPWROFF: turn off module.................................................................................................... 252.4.5 +CPIN: input PIN code...............................................................................................................252.4.6 +CSQ: signal strength query.......................................................................................................262.4.7 +CCLK: clock management....................................................................................................... 26

2.5 SMS Command...........................................................................................................................................272.5.1 +CSCA: set SMS center number................................................................................................272.5.2 +CNMA: confirm SMS.............................................................................................................. 272.5.3 +CMGF: set SMS mode............................................................................................................. 272.5.4 +CNMI: set SMS indicator format............................................................................................. 282.5.5 +CMGR: view SMS................................................................................................................... 292.5.6 +CSMS: select SMS service.......................................................................................................312.5.7 +CMGS: message origination.................................................................................................... 312.5.8 +CPMS: prioritize message memorizer......................................................................................322.5.9 +CMGD: delete a message......................................................................................................... 322.5.10 +CMGL: message list................................................................................................................. 332.5.11 +CMSS: send messages stored in SIM card............................................................................... 352.5.12 +ZSMGS:SMS full indication.................................................................................................35

2.6 Phonebook Command.................................................................................................................................352.6.1 +CPBS: select phonebook.......................................................................................................... 352.6.2 +CPBR: read phonebook............................................................................................................ 362.6.3 +CPBW: write phonebook..........................................................................................................372.6.4 +CPBF: find phonebook............................................................................................................. 372.6.5 +CNUM:obtain number of current terminal........................................................................... 38

2.7 Data Compression Command.....................................................................................................................382.7.1 +IFC: flow control...................................................................................................................... 382.7.2 &D: set DTR mode..................................................................................................................... 392.7.3 &C: set DCD mode.....................................................................................................................392.7.4 +IPR: set the module’s baud rate................................................................................................ 392.7.5 &F: factory default..................................................................................................................... 402.7.6 &W: save setting.........................................................................................................................40

2.8 ZTE Exclusive Command...........................................................................................................................402.8.1 +ZGPIO: read/write GPIO..........................................................................................................402.8.2 +SPEAKER: switch audio channel............................................................................................ 402.8.3 +ZSTR: query module’s status................................................................................................... 412.8.4 +ZGETICCID: Set ICCID Parameter........................................................................................ 41

2.9 GPRS Command.........................................................................................................................................412.9.1 +CGDCONT: set PDP format.................................................................................................... 412.9.2 + CGACT: deactivate/activate PDP setting................................................................................422.9.3 +CGATT: set GPRS....................................................................................................................42

Page 9: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

8

2.9.4 +CGCLASS: query GPRS class.................................................................................................422.10 TCP/IP Command.......................................................................................................................................43

2.10.1 +ZPNUM: set APN, username, password.................................................................................. 432.10.2 +ZPPPOPEN: open GPRS data link.......................................................................................... 432.10.3 +ZPPPCLOSE: close GPRS data link........................................................................................432.10.4 +ZIPSETUP: establish TCP server connection..........................................................................442.10.5 +ZIPSEND: send TCP data to target address............................................................................. 442.10.6 +ZPPPSTATUS: query GPRS connecting status....................................................................... 442.10.7 +ZIPCLOSE: close TCP link......................................................................................................442.10.8 +ZIPGETIP: query current IP address of the module................................................................ 452.10.9 +ZIPSTATUS: query current TCP link status............................................................................ 452.10.10 +ZIPRECV: Prompt to Receive Data from Current Data Link..................................................452.10.11 +ZIPSETUPU: establish UDP server link..................................................................................452.10.12 +ZIPSENDU: send data to UDP server......................................................................................462.10.13 +ZIPSTATUSU: query UDP status............................................................................................ 462.10.14 +ZIPCLOSEU: close UDP link..................................................................................................462.10.15 +ZIPRECVU: prompt to receive UDP data............................................................................... 46

2.11 Hook off tone, DTMF dial tone Command................................................................................................ 472.11.1 +ZCALLTONE:Set hook off tone........................................................................................... 472.11.2 +ZDTMFTONE:Set ZDTMF dial tone................................................................................... 47

3 Applications and cautions............................................................................................................483.1 SMS............................................................................................................................................................ 483.2 Phonebook.................................................................................................................................................. 50

Appendix............................................................................................................................................ 52

Page 10: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

9

111

1

GeneralGeneralGeneral

General

DescriptionDescriptionDescription

Description

1.11.11.1

1.1

ATATAT

AT

CommandsCommandsCommands

Commands

ME3000、MG3006、MG3030、MG3036、MG3082、MG3088 modules provide AT command interfaces, through

which the modules could communicate with external devices. AT command set provided by ME3000、MG3006、

MG3030、MG3036、MG3082、MG3088 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.11.1.11.1.1

1.1.1

TypeTypeType

Type

ofofof

of

ATATAT

AT

CommandsCommandsCommands

Commands

Since AT command is used as a standard interface, the returned values and formats of the command are both fixed.

As a whole, AT command could be divided into four types:

Non-parameter command: a type of simple command with the format of AT[+|&]<command>,e.g.: AT+CSQ,AT&W

Query command: used to inquire the current setting value. The format is AT[+|&]<command>?, e.g.:AT+CNMI?

Help command: used to list the possible parameters of the command. The format is AT[+|&]<command>=?,e.g.: AT+CMGL=?

Parameter command: normally used format which provides strong flexibility. The format isAT[+|&]<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.21.1.21.1.2

1.1.2

ReturnedReturnedReturned

Returned

TypeTypeType

Type

andandand

and

FormatFormatFormat

Format

ofofof

of

ATATAT

AT

CommandsCommandsCommands

Commands

The following are ME3000、MG3006、MG3030、MG3036、MG3082、MG3088 modules’ AT command and their

format and returned descriptions:

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.

AT command returned format:--<CR><LF><corresponding strings ><CR><LF>--An exceptional case: e.g.: AT+ZPOWEROFF (response format) directly return with “OK”

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.

Page 11: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

10

1.21.21.2

1.2

GSMGSMGSM

GSM

GlossaryGlossaryGlossary

Glossary

AbbreviationsAbbreviationsAbbreviations

Abbreviations

DefinitionsDefinitionsDefinitions

Definitions

ADC Analog-Digital ConverterAFC Automatic Frequency ControlAGC Automatic Gain ControlARFCN Absolute Radio Frequency Channel NumberARP Antenna Reference PointASIC Application Specific Integrated CircuitBER Bit Error RateBTS Base Transceiver StationCDMA Code Division Multiple AccessCDG CDMA Development GroupCS Coding SchemeCSD Circuit Switched DataCPU Central Processing UnitDAI Digital Audio interfaceDAC Digital-to-Analog ConverterDCE Data Communication EquipmentDSP Digital Signal ProcessorDTE Data Terminal EquipmentDTMF Dual Tone Multi-FrequencyDTR Data Terminal ReadyEFR Enhanced Full RateEGSM Enhanced GSMEMC Electromagnetic CompatibilityEMI Electro Magnetic InterferenceESD Electronic Static DischargeETS European Telecommunication StandardFDMA Frequency Division Multiple AccessFR Full RateGPRS General Packet Radio ServiceGSM Global Standard for Mobile CommunicationsHR Half RateIC Integrated CircuitIMEI International Mobile Equipment IdentityISO International Standards OrganizationITU International Telecommunications UnionLCD Liquid Crystal DisplayLED Light Emitting DiodeMCU Machine Control UnitMMI Man Machine Interface

Page 12: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

11

AbbreviationsAbbreviationsAbbreviations

Abbreviations

DefinitionsDefinitionsDefinitions

Definitions

MS Mobile StationPCB Printed Circuit BoardPCL Power Control LevelPCS Personal Communication SystemPDU Protocol Data UnitPLL Phase Locked LoopPPP Point-to-point protocolRAM Random Access MemoryRF Radio FrequencyROM Read-only MemoryRMS Root Mean SquareRTC Real Time ClockSIM Subscriber Identification ModuleSMS Short Message ServiceSRAM Static Random Access MemoryTA Terminal adapterTDMA Time Division Multiple AccessTE Terminal Equipment also referred it as DTEUART Universal asynchronous receiver-transmitterUIM User Identifier ManagementUSB Universal Serial BusVSWR Voltage Standing Wave RatioZTE ZTE Corporation

Page 13: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

12

222

2

ATATAT

AT

CommandCommandCommand

Command

2.12.12.1

2.1

CommonCommonCommon

Common

CommandCommandCommand

Command

2.1.12.1.12.1.1

2.1.1

A/:A/:A/:

A/:

repeatrepeatrepeat

repeat

previouspreviousprevious

previous

commandcommandcommand

command

2.1.22.1.22.1.2

2.1.2

ATA:ATA:ATA:

ATA:

answeransweranswer

answer

aaa

a

callcallcall

call

2.1.32.1.32.1.3

2.1.3

ATD:ATD:ATD:

ATD:

dialdialdial

dial

aaa

a

numbernumbernumber

number

2.1.42.1.42.1.4

2.1.4

ATDL:ATDL:ATDL:

ATDL:

dialdialdial

dial

thethethe

the

lastlastlast

last

outgoingoutgoingoutgoing

outgoing

numbernumbernumber

number

DescriptionDescriptionDescription

Description

This command is used to repeat the previous command.FormatFormatFormat

Format

A/ExampleExampleExample

Example

AT+CSQ Inquire current signal strength

A/ Repeat AT+CSQ command

DescriptionDescriptionDescription

Description

This command is used to answer a call.FormatFormatFormat

Format

ATAExampleExampleExample

Example

RING Incoming callATA Answer a call

DescriptionDescriptionDescription

Description

This command is used to dial a number, transmit data or send a fax.FormatFormatFormat

Format

ATD<string>;ATD><mem><n>;ATD><n>;

ExampleExampleExample

Example

AT+CPBS=“SM”ATD13024540756;

Select SIM card phonebook as the current contactsSearch for this number in SIM card phonebook and dial it

AT+CPBS=“SM”ATD>2;OK

Select SIM card phonebook as the current contactsDial the second number in the current phonebook

ATD>SM1; Dial the first number in SIM card phonebook

DescriptionDescriptionDescription

Description

<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#.

DescriptionDescriptionDescription

Description

This command is used to dial the last outgoing number.

Page 14: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

13

2.1.52.1.52.1.5

2.1.5

ATE:ATE:ATE:

ATE:

enableenableenable

enable

echoechoecho

echo

2.1.62.1.62.1.6

2.1.6

ATH:ATH:ATH:

ATH:

hanghanghang

hang

upupup

up

thethethe

the

callcallcall

call

2.1.72.1.72.1.7

2.1.7

ATIATIATI

ATI

:PromptPromptPrompt

Prompt

manufacturermanufacturermanufacturer

manufacturer

identificationidentificationidentification

identification

FormatFormatFormat

Format

ATDLExampleExampleExample

Example

ATD34394036;OK

Call 34394036

ATHOK

Hang up the call

ATDL Dial 34394036 again

DescriptionDescriptionDescription

Description

This command is used to enable echo.FormatFormatFormat

Format

ATE<n>ExampleExampleExample

Example

ATE0OK

OK

ATE0, don’t display input command on the terminal

ATE1OKATE1OK

ParametersParametersParameters

Parameters

<n>=0 Disable.<n>=1 Enabled.

DescriptionDescriptionDescription

Description

This command is used to hang up the call.FormatFormatFormat

Format

ATHExampleExampleExample

Example

ATAOK

Answer the call

ATH Hang up the call

DescriptionDescriptionDescription

Description

This command is used to prompt manufacturer identification.FormatFormatFormat

Format

ATIExampleExampleExample

Example

ATIZTE Mobile LtdGSM/GPRS Mobile StationRevision: 1.0OK

Prompt manufacturer identification

Page 15: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

14

2.1.82.1.82.1.8

2.1.8

ATQ:ATQ:ATQ:

ATQ:

setsetset

set

ififif

if

returnedreturnedreturned

returned

valuevaluevalue

value

displayeddisplayeddisplayed

displayed

ononon

on

thethethe

the

terminalterminalterminal

terminal

2.1.92.1.92.1.9

2.1.9

+++:+++:+++:

+++:

switchswitchswitch

switch

fromfromfrom

from

datadatadata

data

modemodemode

mode

tototo

to

commandcommandcommand

command

modemodemode

mode

2.1.102.1.102.1.10

2.1.10

ATO:ATO:ATO:

ATO:

switchswitchswitch

switch

fromfromfrom

from

commandcommandcommand

command

modemodemode

mode

tototo

to

datadatadata

data

modemodemode

mode

2.1.112.1.112.1.11

2.1.11

ATP:ATP:ATP:

ATP:

performperformperform

perform

pulsepulsepulse

pulse

dialingdialingdialing

dialing

2.1.122.1.122.1.12

2.1.12

ATS0:ATS0:ATS0:

ATS0:

setsetset

set

autoautoauto

auto

answeransweranswer

answer

DescriptionDescriptionDescription

Description

This command is used to set if the returned value is displayed on the terminal.FormatFormatFormat

Format

ATQ<n>ExampleExampleExample

Example

ATQ0OKATQ0OK

Display the returned value on the terminal

ATQ1OKATQ1ATQ1

Do not display the returned value on the terminal

DescriptionDescriptionDescription

Description

This command is used to switch from data mode to command mode.FormatFormatFormat

Format

+++ExampleExampleExample

Example

ATD*99#CONNECT+++……ATOK

Dial and enter data modeswitch from data mode to command mode

DescriptionDescriptionDescription

Description

This command is used to switch from command mode to data mode.FormatFormatFormat

Format

ATOExampleExampleExample

Example

ATD*99#CONNECT+++……ATO……

Dial and establish GPRS data connection

Switch from data mode to command mode

Switch from command mode to data mode

DescriptionDescriptionDescription

Description

This command is used to perform pulse dialing.FormatFormatFormat

Format

ATPExampleExampleExample

Example

ATPOK

Set pulse dialing method

Page 16: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

15

2.1.132.1.132.1.13

2.1.13

+CRC:+CRC:+CRC:

+CRC:

setsetset

set

incomingincomingincoming

incoming

callcallcall

call

typetypetype

type

2.1.142.1.142.1.14

2.1.14

+CLVL:+CLVL:+CLVL:

+CLVL:

setsetset

set

callcallcall

call

volumevolumevolume

volume

2.1.152.1.152.1.15

2.1.15

+CLIP:+CLIP:+CLIP:

+CLIP:

setsetset

set

callercallercaller

caller

IDIDID

ID

presentationpresentationpresentation

presentation

DescriptionDescriptionDescription

Description

This command is used to control auto answer mode of the module.FormatFormatFormat

Format

ATS0=<value>ExampleExampleExample

Example

ATS0=2OK

Auto answer after ringing twice

ATS0?2OK

Query the current setting

ATS0=0OK

Cancel auto answer

ParametersParametersParameters

Parameters

<value>:times for ringing.

DescriptionDescriptionDescription

Description

This command is used to set the incoming call type.FormatFormatFormat

Format

AT+CRC=numExampleExampleExample

Example

AT+CRC=1OK+CRING: VOICE

RING prompts the incoming call type

Set CRC as the prompt of incoming callParametersParametersParameters

Parameters

num:0: don’t display incoming call type;1: display incoming call typeIncoming call type:-VOICE;-GPRS;-FAX.

DescriptionDescriptionDescription

Description

This command is used to set the volume of the speaker.FormatFormatFormat

Format

AT+CLVL=<level>ExampleExampleExample

Example

AT+CLVL=100OK

Set the current volume as 100 for the receiver

AT+CLVL?+CLVL:100

Query the current volume

ParametersParametersParameters

Parameters

<level> between 0 and 100 <the number is smaller, the volume is lower >.

DescriptionDescriptionDescription

Description

This command is used to set caller ID presentation. The default setting is “Turn off caller IDpresentation”.

Page 17: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

16

2.1.162.1.162.1.16

2.1.16

+ZSETMUTE:+ZSETMUTE:+ZSETMUTE:

+ZSETMUTE:

mutemutemute

mute

controlcontrolcontrol

control

2.1.172.1.172.1.17

2.1.17

+CIMI:+CIMI:+CIMI:

+CIMI:

inquireinquireinquire

inquire

InternationalInternationalInternational

International

IDIDID

ID

FormatFormatFormat

Format

AT+CLIP=<mode>+CLIP: <mode> retuned value of AT+CLIP? Command+CLIP: <number>,<type>,<> caller ID presentation format

ExampleExampleExample

Example

AT+CLIP=1OKRING:+CLIP:“130********”,129, “”,“”,0

Turn on caller ID presentation.

There is an incoming call, and the number is 130********AT+CLIP=0OKRING

Turn off caller ID presentation.

No alert upon an incoming callParametersParametersParameters

Parameters

<mode>:0: Turn off caller ID presentation;1: Turn on caller ID presentation.<number>: Incoming call number (need apply for relevant service).<type>: 129.

DescriptionDescriptionDescription

Description

This command is used for mute control, and it can be used only during the calling.FormatFormatFormat

Format

AT+ZSETMUTE=<Mode>ExampleExampleExample

Example

AT+ZSETMUTE=?+ZSETMUT:(0-1)OK

Query the settable parameters

AT+ZSETMUTE=1OK

Turn on mute

AT+ZSETMUTE=0OK

Turn off mute

ParametersParametersParameters

Parameters

<Mode>0: Turn on mute;1: Turn off mute.

DescriptionDescriptionDescription

Description

This command is used to read SIM card’s international ID and query the PIN code you needinput.

FormatFormatFormat

Format

AT+CIMIExampleExampleExample

Example

AT+CIMI460030916875923OK

Inquire CIMIReturn with CIMI

Page 18: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

17

2.1.182.1.182.1.18

2.1.18

+CGMR:+CGMR:+CGMR:

+CGMR:

obtainobtainobtain

obtain

productproductproduct

product

versionversionversion

version

2.1.192.1.192.1.19

2.1.19

+ECHO:+ECHO:+ECHO:

+ECHO:

removeremoveremove

remove

echoechoecho

echo

2.1.202.1.202.1.20

2.1.20

+(C)+(C)+(C)

+(C)

GSN:GSN:GSN:

GSN:

obtainobtainobtain

obtain

currentcurrentcurrent

current

IMEIIMEIIMEI

IMEI

2.1.212.1.212.1.21

2.1.21

+ZVERS:+ZVERS:+ZVERS:

+ZVERS:

obtainobtainobtain

obtain

currentcurrentcurrent

current

softwaresoftwaresoftware

software

versionversionversion

version

2.1.222.1.222.1.22

2.1.22

+CLCK:+CLCK:+CLCK:

+CLCK:

functionfunctionfunction

function

locklocklock

lock

DescriptionDescriptionDescription

Description

This command is used to obtain the product version.FormatFormatFormat

Format

AT+CGMRExampleExampleExample

Example

AT+CGMR=?OK

No meaning

AT+CGMR<Revision>

Return with the current module version

DescriptionDescriptionDescription

Description

This command is used to remove echo.FormatFormatFormat

Format

AT+ECHO=numExampleExampleExample

Example

AT+ECHO?+ECHO:1OK

Inquire the current echo setting

AT+ECHO=0OK

Cancel remove echo

ParametersParametersParameters

Parameters

Num: default value,1.1:set remove echo;0:cancel remove echo.

DescriptionDescriptionDescription

Description

This command is used to obtain the current IMEI of the device.FormatFormatFormat

Format

AT+GSNExampleExampleExample

Example

AT+GSNN

Return with the current IEMI

DescriptionDescriptionDescription

Description

This command is used to obtain current software versionFormatFormatFormat

Format

AT+ZVERSExampleExampleExample

Example

AT+ZVERS+ZVERS: ***.binOK

Obtain the current software version

DescriptionDescriptionDescription

Description

This command is used to lock the terminal or the network..FormatFormatFormat

Format

AT+CLCK=<fac>,<mode>[,<passwd>[,<class>]]+CLCK:<status>

Page 19: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

18

2.1.232.1.232.1.23

2.1.23

+CCFC:+CCFC:+CCFC:

+CCFC:

setsetset

set

callcallcall

call

forwardingforwardingforwarding

forwarding

numbernumbernumber

number

andandand

and

conditionsconditionsconditions

conditions

ExampleExampleExample

Example

AT+CLCK=?+CLCK:(“SC”,“AO”,

“OI”,“OX”,“AI”,“IR”,

“AB”,“AG”,“AC”,“FD”,

“BN”,“PN”,“PU”,“PP”,

“PC”)OK

ParametersParametersParameters

Parameters

<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 incomingcalls except local area; “AB”: All call services, “AG”: all outgoing call services, “AC”: allincoming 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.

DescriptionDescriptionDescription

Description

This command is used to set call forwarding number and conditions.

FormatFormatFormat

Format

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>

ExampleExampleExample

Example

AT+CCFC=?+CCFC: (0,1,2,3,4,5)OK

Query call forwarding setting range

Return with reason

Page 20: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

19

2.1.242.1.242.1.24

2.1.24

+CCWA+CCWA+CCWA

+CCWA

:callcallcall

call

waitingwaitingwaiting

waiting

controlcontrolcontrol

control

ParametersParametersParameters

Parameters

<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.

DescriptionDescriptionDescription

Description

This command is used to control call waiting.FormatFormatFormat

Format

AT+CCWA=[<n>] [,<mode> [,<class>]]ExampleExampleExample

Example

AT+CCWA=? Enumerate all supported<n>+CCWA: (list of supported <n>s)OK

AT+CCWA? Read current<n>+CCWA: <n>OK

Page 21: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

20

2.1.252.1.252.1.25

2.1.25

+CHLD+CHLD+CHLD

+CHLD

:callcallcall

call

holdholdhold

hold

andandand

and

multiplemultiplemultiple

multiple

sessionsessionsession

session

AT+CCWA=[<n>][,<mode>[,<class>]]

Call waiting setupWhen mode!=2,if succeed:OKWhen mode==2,respond:+CCWA:<status>,<class1>[<CR><LF>+CCWA:<status>,<class2>[...]] OKIf operation is incorrect:+CME ERROR: <err>If <n>=1, it will generate call waiting result code:+CCWA: <number>,<type>,<class>[,<alpha>][,<CLI validity>]When call waiting function is enabled, in the initialprocess, or system terminates the establishment, it willgenerate this result code automatically.

ParametersParametersParameters

Parameters

<n>0:don’t generate call waiting result code; 1:generate call waiting result code on its own.<mode>0:disable call waiting;1:enable call waiting;2:inquire current status<class> 1:voice service<status> 0:disabled;1:enabled.<number> call address number in waiting state, whose type is defined by<type>parameter.<type> <number> format<alpha>,<CLI validity> please refer to AT+CLIP

DescriptionDescriptionDescription

Description

This command is used to call hold and multiple session.FormatFormatFormat

Format

AT+CHLD=[<n>]ExampleExampleExample

Example

AT+CHLD=? Inquire supported<n>+CHLD: (list of supported <n>s )OK

AT+CHLD=[<n>] Configure call hold and multiple session operation:If setup is successful:OKIf operation is incorrect:+CME ERROR: <err>

ParametersParametersParameters

Parameters

<n><n><n>

<n>

0:release all held call or set a waiting call as UDUB.1:release all active call and receive a held or waiting call.1X:release call X.2:hold all active calls, and receive another held or waiting call.2X:hold all calls except X3:join a held call to multiple session.

Page 22: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

21

2.1.262.1.262.1.26

2.1.26

*TSIMINS:*TSIMINS:*TSIMINS:

*TSIMINS:

inquireinquireinquire

inquire

SIMSIMSIM

SIM

cardcardcard

card

statusstatusstatus

status

2.1.272.1.272.1.27

2.1.27

+CPWD+CPWD+CPWD

+CPWD

:changechangechange

change

passwordpasswordpassword

password

RemarkRemarkRemark

Remark

1、this command is only used for telecommunication service 11.2、the value range of X is: 1~7.3、if both held and waiting calls exist, above flow should be used for waiting call.4. please use AT+CHLD=1first to release current call and use ATH to hang up.5. the usage of AT+CHLD=3 depends on multiple application supplied by service provider.

DescriptionDescriptionDescription

Description

This command is used to inquire SIM card status.

FormatFormatFormat

Format

AT*TSIMINS=num, status

ExampleExampleExample

Example

AT*TSIMINS?*TSIMINS:0,0OK

Inquire SIM card status

No SIM card

ParametersParametersParameters

Parameters

num:0 or 1 has no meaning.status:0:no SIM card;1:SIM card.

DescriptionDescriptionDescription

Description

This command is used to change password.FormatFormatFormat

Format

AT+CPWD=<fac>,<passwd>,<newpasswd>+CPWD:<fac,length>s

ExampleExampleExample

Example

AT+CPWD=?+CPWD: ("SC",8),("AO",4),("OI",4),("OX",4),("AI",4),("IR",4),("AB",4),("AG",4),("AC",4),("FD",8),("BN",8),("P2",8)OKAT+CPWD="SC","1234","2345"OK

Inquire setup range of this commandReturned parameter list

Change password of SIM card

ParametersParametersParameters

Parameters

fac: "SC":SIM card; "AO" : originated call; "OI": international originated call; "OX":allinternational originated calls except local;"AI": all incoming calls,"IR":all incoming calls afterroaming from local address,"AB": all call service,"AG": all originated call service,"AC": allincoming call service,"FD":SIM card fixed dial space,"PN": network authentication,"PU":network sub-system anthentication,"PP":service provider anthentication,"PC":corporateanthentication.passwd: password or operation code, character type "***".newpasswd: new password or operation code, character type "***".length: code length supported by fac.

Page 23: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

22

2.1.282.1.282.1.28

2.1.28

+CGMI+CGMI+CGMI

+CGMI

:inquireinquireinquire

inquire

manufacturermanufacturermanufacturer

manufacturer

identificationidentificationidentification

identification

2.1.292.1.292.1.29

2.1.29

+ATZ+ATZ+ATZ

+ATZ

:resetresetreset

reset

parametersparametersparameters

parameters

accordingaccordingaccording

according

tototo

to

memorymemorymemory

memory

settingsettingsetting

setting

2.22.22.2

2.2

DTMFDTMFDTMF

DTMF

CommandCommandCommand

Command

2.2.12.2.12.2.1

2.2.1

+VTD:+VTD:+VTD:

+VTD:

setsetset

set

DTMFDTMFDTMF

DTMF

durationdurationduration

duration

2.2.22.2.22.2.2

2.2.2

+VTS:+VTS:+VTS:

+VTS:

sendsendsend

send

DTMFDTMFDTMF

DTMF

DescriptionDescriptionDescription

Description

This command is used to inquire manufacturer identification.FormatFormatFormat

Format

AT+CGMIExampleExampleExample

Example

AT+CGMIZTE Mobile Ltd

OK

Inquire manufacturer identification

DescriptionDescriptionDescription

Description

This command is used to read the parameters in module’s NVRAM and set into current value..FormatFormatFormat

Format

ATZ<n>ExampleExampleExample

Example

ATZ0OK

reset parameter according to memory setting correctly

DescriptionDescriptionDescription

Description

AT+VTD set DTMF duration.FormatFormatFormat

Format

AT+VTD=<duration>ExampleExampleExample

Example

AT+VTD=?+VTD:(1-255)OK

Query the range for DTMF duration

AT+VTD?OK

Return with “OK”

AT+VTD=200OK

Set DTMF duration as 20s

ParametersParametersParameters

Parameters

<duration>0:default setting.1-255 length, unit: 100ms.

DescriptionDescriptionDescription

Description

This command is used to send DTMF.FormatFormatFormat

Format

AT+VTS=<string>ExampleExampleExample

Example

AT+VTS=?+VTS:(0-9,*#,A,B,C,D),,(1-255)OK

Query +VTS parameter

Page 24: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

23

2.32.32.3

2.3

NetworkNetworkNetwork

Network

ServiceServiceService

Service

CommandCommandCommand

Command

2.3.12.3.12.3.1

2.3.1

+CREG:+CREG:+CREG:

+CREG:

networknetworknetwork

network

registrationregistrationregistration

registration

andandand

and

roamroamroam

roam

2.3.22.3.22.3.2

2.3.2

+COPS:+COPS:+COPS:

+COPS:

networknetworknetwork

network

choicechoicechoice

choice

ATD********;AT+VTS=“3,6,9”

Dial the callSend DTMF 369

ParametersParametersParameters

Parameters

String, use comma to separate the symbols.Symbols 0-9,*,#,A-D.

DescriptionDescriptionDescription

Description

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.

FormatFormatFormat

Format

AT+CREG=<mode>+CREG :<mode>,<stat> return code

ExampleExampleExample

Example

AT+CREG=0OK

Forbid network registration to provide result code

AT+CREG?+CREG: 0,1

Display module registration status

AT+CREG=?+CREG: (0-2)OK

Quert status range

ParametersParametersParameters

Parameters

<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.

DescriptionDescriptionDescription

Description

This command is used to choose network.FormatFormatFormat

Format

AT+COPS=[<mode>[,<format>[,<oper>]]]ExampleExampleExample

Example

AT+COPS?+COPS=<mode>[,<format>,<oper>]OK

Return to current network’s register mode andregister network

AT+COPS=[<mode>[,<format>[,<oper>]]]OK

Choose and register network

Page 25: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

24

2.42.42.4

2.4

MobileMobileMobile

Mobile

DeviceDeviceDevice

Device

ControlControlControl

Control

andandand

and

StatusStatusStatus

Status

ReportReportReport

Report

2.4.12.4.12.4.1

2.4.1

+CPAS:+CPAS:+CPAS:

+CPAS:

modulemodulemodule

module

statusstatusstatus

status

queryqueryquery

query

2.4.22.4.22.4.2

2.4.2

+CFUN:+CFUN:+CFUN:

+CFUN:

setsetset

set

modulemodulemodule

module

functionfunctionfunction

function

ParametersParametersParameters

Parameters

<mode>:0 choose network automatically,ignoring parameter <format><oper>1 choose network manually with parameter <format><oper>3 this command is used to set <format> with the parameter <format>4 if register network manually is unsuccessful, then register network automatically.<format>:0 long format alpha <oper>,up to 16 character1 short <oper>, up to 8 character2 numeric <oper> (MCC+MNC), default.<stat>:0 unknown2 current register network3 forbid register network

DescriptionDescriptionDescription

Description

This command is used to query the module’s work status.FormatFormatFormat

Format

AT+CPASExampleExampleExample

Example

AT+CPAS+CPAS:2OK

Query the module’s current work status

ParametersParametersParameters

Parameters

<pas>:0:get ready to receive AT command;2:unknow status (default);3:Incoming call (ring);4:In calling.

DescriptionDescriptionDescription

Description

This command is used to set module function.FormatFormatFormat

Format

AT+CFUN=<func>,<rst>ExampleExampleExample

Example

AT+CFUN=?+CFUN(0,1,4),(0-1)OK

Query setting range

AT+CFUN=1,0 Setting valid immediatelyAT+CFUN=1,1 Reset valid

Page 26: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

25

2.4.32.4.32.4.3

2.4.3

+CMEE+CMEE+CMEE

+CMEE

:mobilemobilemobile

mobile

devicedevicedevice

device

errorerrorerror

error

reportreportreport

report

2.4.42.4.42.4.4

2.4.4

+ZPWROFF:+ZPWROFF:+ZPWROFF:

+ZPWROFF:

turnturnturn

turn

offoffoff

off

modulemodulemodule

module

2.4.52.4.52.4.5

2.4.5

+CPIN:+CPIN:+CPIN:

+CPIN:

inputinputinput

input

PINPINPIN

PIN

codecodecode

code

ParametersParametersParameters

Parameters

<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.

DescriptionDescriptionDescription

Description

This command is used for mobile device error report.FormatFormatFormat

Format

AT+CMEE=<n>ExampleExampleExample

Example

AT+CMEE? +CMEE:<n>OKInquire current error providing method.

AT+CMEE=<n> OKChoose error providing method

ParametersParametersParameters

Parameters

<n>0 Only the indication: ERROR1 Provide the mistake number codes2 Provide the mistake number codes and indications for detail

DescriptionDescriptionDescription

Description

This command is used to turn off the module.FormatFormatFormat

Format

AT+ZPWROFFExampleExampleExample

Example

AT+ZPWROFFOK

Turn off the module

DescriptionDescriptionDescription

Description

This command is used to query PIN code status and input PIN code. The functions can be usedonly after the correct PIN code is entered.

FormatFormatFormat

Format

AT+CPIN=<pin>ExampleExampleExample

Example

AT+CPIN?+CPIN:READY

OK

Query current PIN codeNo need to input new PIN code

AT+CPIN?+CPIN:SIM PINAT+CPIN="****"OK

Query current PIN code statusPIN code must be correctEnter the correct PIN code

Page 27: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

26

2.4.62.4.62.4.6

2.4.6

+CSQ:+CSQ:+CSQ:

+CSQ:

signalsignalsignal

signal

strengthstrengthstrength

strength

queryqueryquery

query

2.4.72.4.72.4.7

2.4.7

+CCLK:+CCLK:+CCLK:

+CCLK:

clockclockclock

clock

managementmanagementmanagement

management

2.52.52.5

2.5

SMSSMSSMS

SMS

CommandCommandCommand

Command

2.5.12.5.12.5.1

2.5.1

+CSCA:+CSCA:+CSCA:

+CSCA:

setsetset

set

SMSSMSSMS

SMS

centercentercenter

center

numbernumbernumber

number

ParametersParametersParameters

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.+CPIN: SIM PUK:PIN code unlock password+CPIN: PH-SIM PIN: SIM card bundle password+CPIN: SIM PIN2: PIN2 code password+CPIN: SIM PUK2: PIN2 code unlock password+CPIN: PH-NET PIN: network passwordPin: string value.

DescriptionDescriptionDescription

Description

This command is used to inquire receive signal strength indicator(rssi) and bit error rate (ber)FormatFormatFormat

Format

AT+CSQExampleExampleExample

Example

AT+CSQ+CSQ:<rssi>,<ber>

ParametersParametersParameters

Parameters

<rssi>:0–113dbm;1-111dbm;2..30–109..-53dbm;31-51dbm;99: network unavailable.<ber>:0~7: normal;99: network unavailable.

DescriptionDescriptionDescription

Description

This command is used to set and query the data/time of real-time clock.FormatFormatFormat

Format

AT+CCLK=<time>ExampleExampleExample

Example

AT+CCLK?+CCLK:"04/02/09,17:34:23+8"

Query current time and dateCurrent network time and date

AT+CCLK="04/02/09,18:34:23+08"

Set the data/time of real-time clock

ParametersParametersParameters

Parameters

Time format:"yy/mm/dd,hh:mm:ss±zz";±zz time difference between local time and GMT.

Page 28: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

27

2.5.22.5.22.5.2

2.5.2

+CNMA:+CNMA:+CNMA:

+CNMA:

confirmconfirmconfirm

confirm

SMSSMSSMS

SMS

2.5.32.5.32.5.3

2.5.3

+CMGF:+CMGF:+CMGF:

+CMGF:

setsetset

set

SMSSMSSMS

SMS

modemodemode

mode

2.5.42.5.42.5.4

2.5.4

+CNMI:+CNMI:+CNMI:

+CNMI:

setsetset

set

SMSSMSSMS

SMS

indicatorindicatorindicator

indicator

formatformatformat

format

DescriptionDescriptionDescription

Description

This command is used to set SMS center number.FormatFormatFormat

Format

AT+CSCA=<sca>[,<tosca>]ExampleExampleExample

Example

AT+CSCA="1380****500"OK

Set SMS center number

ParametersParametersParameters

Parameters

<sca>: SMS center address.<tosca>: SMS center format.

DescriptionDescriptionDescription

Description

This command is used to confirm the receipt of short messages.FormatFormatFormat

Format

AT+CNMAExampleExampleExample

Example

at+cnmi=2, 2, 0, 0, 0OKat+csms=1+CSMS: 1, 1, 1OK+CMT:60…………AT+CNMAOK

Set SMS indicator format

Set SMS service format

Confirm the receipt of short message

ParametersParametersParameters

Parameters

It is valid when setting +CNMI=2, 2, 0, 0, 0 and +CSMS=1, 1, 1, 1.

DescriptionDescriptionDescription

Description

This command is used to set SMS input mode.FormatFormatFormat

Format

AT+CMGF=< num>ExampleExampleExample

Example

AT+CMGF=1OKAT+CMGF?+CMGF:1AT+CMGF=?+CMGF=(0-1)

OKSet SMS input mode as text input

Query current input mode settingCurrent setting as text modeQuery current setting range

ParametersParametersParameters

Parameters

0: PDU mode;1: Text mode.

DescriptionDescriptionDescription

Description

This command is used to set SMS indicator format.FormatFormatFormat

Format

AT+CNMI=<mode>,<mt>,<bm>,<ds>,<bfr>

Page 29: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

28

ExampleExampleExample

Example

AT+CNMI=?+CNMI: (0-3),(0-3),(0,2,3),(0-1),(0)OK

Query the range for current settings

AT+CNMI=3,1,0,0,0OK+CMTI: "SM",19

Set SMS receiving mode as +CMTI: men, index formatReceive new messages

AT+CNMI=3,2,0,0,0OKAT+CMGF=1OK+CMT:"+86130********","","07/02/14,10:29:04+32"

text

Set SMS receiving mode

Set current setting as Text ModeReceive SMS text from 130********

ReturnedReturnedReturned

Returned

ResultsResultsResults

Results

+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).

Page 30: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

29

2.5.52.5.52.5.5

2.5.5

+CMGR:+CMGR:+CMGR:

+CMGR:

viewviewview

view

SMSSMSSMS

SMS

DescriptionDescriptionDescription

Description

<mode><mode><mode>

<mode>

: Control the handling of message indication code. Support <mode>=2 only, the modulecould 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 otherplaces 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 rejectnew 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; whilethe connection is released, directly display the message indication code on the terminal. In othercases, directly display the code on the terminal.;3: Directly display the code on the terminal..<mt><mt><mt>

<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 notdisplayed 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 notsaved.

(In PDU Mode)+CMT:[<alpha>],<length><CR><LF><pdu>.<bm>:<bm>:<bm>:

<bm>:

indication method when the broadcast message arrives:0: don’t send CBM indication to terminal;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>:<ds>:<ds>:

<ds>:

indicating status as the message is being sent:0: status report as no message is sent<bfr>:<bfr>:<bfr>:

<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 will be cleared.

DescriptionDescriptionDescription

Description

This command is used to view the received messages.FormatFormatFormat

Format

AT+CMGR=?

Page 31: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

30

ExampleExampleExample

Example

AT+CMGF=1AT+CMGR=1+CMGR:"REC UNREAD","133********",,"04/02/25,12 :58 :04+04"ABCDOK

+CMTI:"MT": 1Receive new message,store it at location 1Set TEXT mode

View the first message inTEXT mode

AT+CMGF=0AT+CMGR=1+CMGR: 1,,1270891683108705505F00408A1705581060008701091905564236E5C0A656C76845BA26237FF0C60A85DF27ECF6210529F5F00901A4E8600310030003051430047005000520053595799104F1860E04E1A52A1FF0C4ECE00320030003000375E740030003267080030003165E55F0059CB751F654830028C228C22FF016DF1573379FB52A8516C53F8

Set PDU format

View the first message inPDU format

ReturnedReturnedReturned

Returned

ResultsResultsResults

Results

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”.

Page 32: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

31

2.5.62.5.62.5.6

2.5.6

+CSMS:+CSMS:+CSMS:

+CSMS:

selectselectselect

select

SMSSMSSMS

SMS

serviceserviceservice

service

2.5.72.5.72.5.7

2.5.7

+CMGS:+CMGS:+CMGS:

+CMGS:

messagemessagemessage

message

originationoriginationorigination

origination

ParametersParametersParameters

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

DescriptionDescriptionDescription

Description

This command is used to originate (SMS-MO), terminate (SMS-MT), cell broadcast (SMS-CB).FormatFormatFormat

Format

AT+CSMS = <service>ExampleExampleExample

Example

AT+CSMS?+CSMS:128,1,1,1OK

Query current SMSSupport message origination/termination and cellbroadcast

AT+CSMS=0+CSMS: 1,1,1OKAT+CSMS?+CSMS:0,1,1,1OK

Set current SMS as normal modeSupport message origination/termination and cellbroadcastInquire setting resultSetting succeeded

ParametersParametersParameters

Parameters

<service>0: Normal mode ;128: PDU mode.<mo>1: support message origination.<mt>1: support message termination.<bm>1: support cell broadcast.

DescriptionDescriptionDescription

Description

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.

Page 33: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

32

2.5.82.5.82.5.8

2.5.8

+CPMS:+CPMS:+CPMS:

+CPMS:

prioritizeprioritizeprioritize

prioritize

messagemessagemessage

message

memorizermemorizermemorizer

memorizer

2.5.92.5.92.5.9

2.5.9

+CMGD:+CMGD:+CMGD:

+CMGD:

deletedeletedelete

delete

aaa

a

messagemessagemessage

message

FormatFormatFormat

Format

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>

ExampleExampleExample

Example

AT+CMGF=1OK

set as text mode

AT+CMGS="13316538879"<CR>ABC<ctrl/Z>OKAT+CMGF=0OK

Send the text of “ABC” to 13316538879

Set as PDU mode

AT+CMGS=17<CR>0891683108705505f011000b813120882624f700f1ff0361f118<Ctrl-Z>+CMGS:2OK

Send the text of “ABC” to 13028862427

ParametersParametersParameters

Parameters

<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.

DescriptionDescriptionDescription

Description

This command is used to prioritize message memorizer.FormatFormatFormat

Format

AT+CPMS=<mem1>[,<mem2>[<mem3>]]+CPMS=<used1>,<total>

ExampleExampleExample

Example

AT+CPMS="SM"+CPMS:4,5,4,5,4,5OK

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.

ParametersParametersParameters

Parameters

<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.

DescriptionDescriptionDescription

Description

This command is used to delete a message from selected memorizer.FormatFormatFormat

Format

AT+CMGD=<Index>

Page 34: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

33

2.5.102.5.102.5.10

2.5.10

+CMGL:+CMGL:+CMGL:

+CMGL:

messagemessagemessage

message

listlistlist

list

ExampleExampleExample

Example

AT+CMGF=1AT+CMGL="all"+CMGL:1,"REC READ","130********","",abcdefg

+CMGL:2,"REC READ","131********","",abcdef

+CMGL:3,"STO SENT","1331********",""opqrxtOKAT+CMGD=2OK

Set as text modeList all messages

Delete the second messageAT+CMGF=0AT+CMGL=4+CMGL: 1,3,,210891683108705505F0010F0B813120882624F7000808738B54084F1F5927+CMGL: 2,3,,210891683108705505F001100B813120882624F7000808738B54084F1F5927+CMGL: 3,3,,210891683108705505F001110B813120882624F7000808738B54084F1F5927

OKAT+CMGD=1OK

Set as PDU modeList all messages

Delete the first message

ParametersParametersParameters

Parameters

<Index>: record number of stored message

DescriptionDescriptionDescription

Description

This command is used to view the stored message, and the message will be viewed in thememorizer selected by +CPMS command.

FormatFormatFormat

Format

AT+CMGL=<stat>

Page 35: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

34

ExampleExampleExample

Example

AT+CMGF = 1OKAT+CMGL=“ALL”

+CMGL:1,"RECREAD","130********","",abcdefg

+CMGL:2,"RECREAD","131********","",abcdef

+CMGL:3,"STOSENT","1331********","",opqrxtOK

Set as text mode

Use text mode

Query all messages

ReturnedReturnedReturned

Returned

FormatFormatFormat

Format

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)OK2) in PDU mode:+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pdu>

ParametersParametersParameters

Parameters

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.

Page 36: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

35

2.5.112.5.112.5.11

2.5.11

+CMSS:+CMSS:+CMSS:

+CMSS:

sendsendsend

send

messagesmessagesmessages

messages

storedstoredstored

stored

ininin

in

SIMSIMSIM

SIM

cardcardcard

card

2.5.122.5.122.5.12

2.5.12

+ZSMGS+ZSMGS+ZSMGS

+ZSMGS

:SMSSMSSMS

SMS

fullfullfull

full

indicationindicationindication

indication

2.62.62.6

2.6

PhonebookPhonebookPhonebook

Phonebook

CommandCommandCommand

Command

2.6.12.6.12.6.1

2.6.1

+CPBS+CPBS+CPBS

+CPBS

:::

:

selectselectselect

select

phonebookphonebookphonebook

phonebook

DescriptionDescriptionDescription

Description

This command is used to send the messages stored in SIM card.FormatFormatFormat

Format

AT+CMSS=<index>[,<da> [,<toda>]]Returned format:+CMSS : <mr> or +CMS ERROR: <err>If a new target number is specified, then the number stored in the message will be replaced by thenew number

ExampleExampleExample

Example

AT+CMGF=1AT+CMGW="1331653****";<CR>ABC<ctrl-Z>+CMGW:2

OKSet as text mode

Compose a message and send it to 1331653****The message will be stored in record 2

AT+CMSS=2+CMSS:0OK

Send the message stored in record 2Message sent successfullyCMSS returned value 0

AT+CMSS=2+CMSS:1OK

When the message is stored:Don’t specify the number and send the message,Message sent successfully,(send it to the addresswhere the message is stored)CMSS returned value 1

AT+CMSS=2, "1302755****"+CMSS:2OK

Replace the original number 1331653**** with1302755****, and send the message to the newnumber

DescriptionDescriptionDescription

Description

This command is used to indicate SMS full status.FormatFormatFormat

Format

+ZSMGS:<status>ExampleExampleExample

Example

+ZSMGS:FULLOK

+ZSMGS:FULLOK

ParametersParametersParameters

Parameters

<status>:SMS full status

DescriptionDescriptionDescription

Description

This command is used to select the phonebook..FormatFormatFormat

Format

AT+CPBS=<type>ExampleExampleExample

Example

AT+CPBS?+CPBS: "SM",1,250

OK

Query the setting of current phonebookSIM card memory used by current phonebook

Page 37: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

36

2.6.22.6.22.6.2

2.6.2

+CPBR:+CPBR:+CPBR:

+CPBR:

readreadread

read

phonebookphonebookphonebook

phonebook

AT+CPBR=1+CPBR=1,"130********",129,""OK

Query phonebook status

AT+CPBS=?+CPBS:("MC","RC","DC","LD","LA","ME","SM","FD","ON","BN","SD","VM")

OK

Select SIM card phonebook

ParametersParametersParameters

Parameters

Type:"SM":SIM card;"FD":SIM card phonebook;"LD": Last dialed number in SIM card;"MC": Missed calls in NV;"ME": phonebook of current terminal;"DC": Dialed calls in SIM card.

DescriptionDescriptionDescription

Description

This command is used to read phonebook.FormatFormatFormat

Format

AT+CPBR=<index1>,[<index2>]+CPBR:<index>,<number>,<type>,<text>

ExampleExampleExample

Example

AT+CPBR=?+CPBR: (1-10),40,13

OK

Query current phonebook

AT+CPBR=1+CPBR=1,"130********",129,""OK

Read the first the number of selected phonebook

AT+CPBS="SM"OKAT+CPBR=?+CPBR: (1-10),40,13AT+CPBR=1,3+CPBR: 1,"8151****",129,""+CPBR: 2,"8636****",129,""+CPBR: 3,"8604****",129,""

Select SIM card phonebook

Query SIM card phonebook

Read phonebook information saved from 1 to 3

Page 38: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

37

2.6.32.6.32.6.3

2.6.3

+CPBW:+CPBW:+CPBW:

+CPBW:

writewritewrite

write

phonebookphonebookphonebook

phonebook

2.6.42.6.42.6.4

2.6.4

+CPBF:+CPBF:+CPBF:

+CPBF:

findfindfind

find

phonebookphonebookphonebook

phonebook

ParametersParametersParameters

Parameters

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.

DescriptionDescriptionDescription

Description

This command is used to write phonebook.FormatFormatFormat

Format

AT+CPBW= <index>,<number>,<type>,<name>+CPBW:(<index>),<length>,(<type>),<tlength>

ExampleExampleExample

Example

AT+CPBW=?+CPBW: (1-10),40,(129,145, 161,177),13

OKAT+CPBS="SM"OKAT+CPBW=1,"130********",129,"john"OKAT+CPBR=1+CPBR:1,"130********",129,"john"OK

ParametersParametersParameters

Parameters

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.

DescriptionDescriptionDescription

Description

This command is used to search for contacts in the phonebook.FormatFormatFormat

Format

AT+CPBF= <name>+CPBF: <index>,<number>,<type>,<name>+CPBF:<nlength>,<tlength>

Page 39: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

38

2.6.52.6.52.6.5

2.6.5

+CNUM+CNUM+CNUM

+CNUM

:obtainobtainobtain

obtain

numbernumbernumber

number

ofofof

of

currentcurrentcurrent

current

terminalterminalterminal

terminal

2.72.72.7

2.7

DataDataData

Data

CompressionCompressionCompression

Compression

CommandCommandCommand

Command

2.7.12.7.12.7.1

2.7.1

+IFC:+IFC:+IFC:

+IFC:

flowflowflow

flow

controlcontrolcontrol

control

ExampleExampleExample

Example

AT+CPBF=?+CPBF:40,13

OK

Query current phonebookPhone number length: 40Name length:13

AT+CPBS="SM"OKAT+CPBW=1,"130********",129,"john"OKAT+CPBR=1+CPBR:1,"130********",129,"john"OKAT+CPBF="john"+CPBF: 1,"130********",129,"john"OK

Select phonebook

Write the information in the first option in currentphonebook

Read relevant information

Find the information with the name of John

ParametersParametersParameters

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.

DescriptionDescriptionDescription

Description

This command is used to read the number of current terminal.FormatFormatFormat

Format

AT+CNUMExampleExampleExample

Example

AT+CNUM+CNUM: "","130********",129,7,4OK

Read the number of current terminal

ParametersParametersParameters

Parameters

Steps to read the number:1. AT+CPBS="ON"2. Write it into SIM card through AT+CPBW command.3. read it through AT+CNUM command.

DescriptionDescriptionDescription

Description

This command is used to set TE-TA flow control.FormatFormatFormat

Format

AT+IFC=[<mode1 >[,<mode2>]]ExampleExampleExample

Example

AT+IFC=2,2OK

Set TE-TA flow control mode1:RTS; mode2:CTS.

Page 40: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

39

2.7.22.7.22.7.2

2.7.2

&D:&D:&D:

&D:

setsetset

set

DTRDTRDTR

DTR

modemodemode

mode

2.7.32.7.32.7.3

2.7.3

&C:&C:&C:

&C:

setsetset

set

DCDDCDDCD

DCD

modemodemode

mode

2.7.42.7.42.7.4

2.7.4

+IPR:+IPR:+IPR:

+IPR:

setsetset

set

thethethe

the

modulemodulemodule

module

’’’

sss

s

baudbaudbaud

baud

rateraterate

rate

ParametersParametersParameters

Parameters

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.

DescriptionDescriptionDescription

Description

This command is used to set DTR mode.FormatFormatFormat

Format

AT&D[<value>]ExampleExampleExample

Example

AT&D0OK

Ignore DTR signal

ParametersParametersParameters

Parameters

value:0: ignore DTR signal;1: DTR from OFF to ON;2: DTR from ON to OFF.

DescriptionDescriptionDescription

Description

This command is used to set DCD mode.FormatFormatFormat

Format

AT&C[<value>]ExampleExampleExample

Example

AT&C0OK

DCD signal is always valid

ParametersParametersParameters

Parameters

value:0:DCD signal is always valid;1: DCD signal is only valid when there is data.

DescriptionDescriptionDescription

Description

This command is used to set the module’s baud rate, and save the new baud rateautomatically.

FormatFormatFormat

Format

AT+IPR=<baud rate>ExampleExampleExample

Example

AT+IPR?+IPR: 115200OK

Query the module’s current baud rate

AT+IPR=? Query the supported baud rates

Page 41: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

40

2.7.52.7.52.7.5

2.7.5

&F:&F:&F:

&F:

factoryfactoryfactory

factory

defaultdefaultdefault

default

2.7.62.7.62.7.6

2.7.6

&W:&W:&W:

&W:

savesavesave

save

settingsettingsetting

setting

2.82.82.8

2.8

ZTEZTEZTE

ZTE

ExclusiveExclusiveExclusive

Exclusive

CommandCommandCommand

Command

2.8.12.8.12.8.1

2.8.1

+ZGPIO:+ZGPIO:+ZGPIO:

+ZGPIO:

read/writeread/writeread/write

read/write

GPIOGPIOGPIO

GPIO

2.8.22.8.22.8.2

2.8.2

+SPEAKER:+SPEAKER:+SPEAKER:

+SPEAKER:

switchswitchswitch

switch

audioaudioaudio

audio

channelchannelchannel

channel

AT+IPR=115200OK

Set baud rate as 115200

RemarksRemarksRemarks

Remarks

Baud rates higher than 115200bps could only be used on EDGE and 3G platform. UseAT&W to save the setting baud rate, otherwise, it will reset to 115200bps if the module isturned off.

DescriptionDescriptionDescription

Description

This command is used to return to factory default setting.FormatFormatFormat

Format

AT&FExampleExampleExample

Example

AT&F Factory default

DescriptionDescriptionDescription

Description

This command is used to save the current setting.FormatFormatFormat

Format

AT&WExampleExampleExample

Example

AT&W Save setting

DescriptionDescriptionDescription

Description

This command is used to set the port as input/output, and read/write GPIO value.FormatFormatFormat

Format

AT+ZGPIO=<flag>,<index>,<value>ExampleExampleExample

Example

AT+ZGPIO=0,5(read)+ZGPIO: 0OKAT+ZGPIO=1,22,1(write)OK

ParametersParametersParameters

Parameters

<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.

RemarksRemarksRemarks

Remarks

Only GPIO5, GPIO22 could be provided to users to operate.

DescriptionDescriptionDescription

Description

This command is used to switch between earpiece and receiver.

Page 42: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

41

2.8.32.8.32.8.3

2.8.3

+ZSTR:+ZSTR:+ZSTR:

+ZSTR:

queryqueryquery

query

modulemodulemodule

module

’’’

sss

s

statusstatusstatus

status

2.8.42.8.42.8.4

2.8.4

+ZGETICCID:+ZGETICCID:+ZGETICCID:

+ZGETICCID:

SetSetSet

Set

ICCIDICCIDICCID

ICCID

ParameterParameterParameter

Parameter

2.92.92.9

2.9

GPRSGPRSGPRS

GPRS

CommandCommandCommand

Command

2.9.12.9.12.9.1

2.9.1

+CGDCONT:+CGDCONT:+CGDCONT:

+CGDCONT:

setsetset

set

PDPPDPPDP

PDP

formatformatformat

format

FormatFormatFormat

Format

AT+SPEAKER=<mode>ExampleExampleExample

Example

AT+SPEAKER=0OK

Receiver

AT+SPEAKER=1OK

Earpiece

AT+SPEAKER=?+SPEAKER:(0-1)OK

Query status

ParametersParametersParameters

Parameters

<mode>0: receiver(default);1: earpiece.

DescriptionDescriptionDescription

Description

This command is used to query the module’s status.FormatFormatFormat

Format

AT+ZSTR=<status>+ZSTR: <status>,<value>

ExampleExampleExample

Example

AT+ZSTR=1 Query the initializing statusAT+ZSTR=2 Query network statusAT+ZSTR=? Query parameter list

ParametersParametersParameters

Parameters

<status>1:No meaning. Input AT+ZSTR=1 and display ZSTR: 1, 2;2:Network status.<value>0: network unavailable;1: network available;2: no meaning.

DescriptionDescriptionDescription

Description

Read SIM’s ICCIDFormatFormatFormat

Format

AT+ZGETICCID

returnedreturnedreturned

returned

valuevaluevalue

value

+ZGETICCID:89860042190733578148

OK

Remark : ICCID value is89860042190733578148

DescriptionDescriptionDescription

Description

This command is used to set GPRS’s PDP format.FormatFormatFormat

Format

at+CGDCONT=cid, type, APN[,PDP_ADDR]

Page 43: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

42

2.9.22.9.22.9.2

2.9.2

+++

+

CGACT:CGACT:CGACT:

CGACT:

deactivate/activatedeactivate/activatedeactivate/activate

deactivate/activate

PDPPDPPDP

PDP

settingsettingsetting

setting

2.9.32.9.32.9.3

2.9.3

+CGATT:+CGATT:+CGATT:

+CGATT:

setsetset

set

GPRSGPRSGPRS

GPRS

2.9.42.9.42.9.4

2.9.4

+CGCLASS:+CGCLASS:+CGCLASS:

+CGCLASS:

queryqueryquery

query

GPRSGPRSGPRS

GPRS

classclassclass

class

ExampleExampleExample

Example

At+CGDCONT=1, "IP","CMNET"ATD*99#……Connect

At+CGDCONT=1, "IP","CMNET"ATD*99#……Connect

ParametersParametersParameters

Parameters

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).

DescriptionDescriptionDescription

Description

This command is used to deactivate/activate PDP setting.FormatFormatFormat

Format

at+CGACT=[<state>[,<cid>[,<cid>[,..]]]]

ExampleExampleExample

Example

At+CGDCONT=1,"IP","CMNET"OKAT+CGACT=1,1OK

ParametersParametersParameters

Parameters

cid: used to define PDP number.state: indicate PDP status:0: deactivated;1: activated.

DescriptionDescriptionDescription

Description

This command is used to set GPRS.FormatFormatFormat

Format

AT+CGATT=[<state>]

ExampleExampleExample

Example

AT+CGATT?+CGATT: 0OKAT+CGATT=1OK

Query GPRS

Set GPRS

ParametersParametersParameters

Parameters

state:0: not connected;1: connected.

DescriptionDescriptionDescription

Description

This command is used to query GPRS class.FormatFormatFormat

Format

AT+CGCLASS=[<class>]

ExampleExampleExample

Example

AT+CGCLASS?+CGCLASS:"B"OK

Query GPRS class

Page 44: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

43

2.102.102.10

2.10

TCP/IPTCP/IPTCP/IP

TCP/IP

CommandCommandCommand

Command

2.10.12.10.12.10.1

2.10.1

+ZPNUM:+ZPNUM:+ZPNUM:

+ZPNUM:

setsetset

set

APN,APN,APN,

APN,

username,username,username,

username,

passwordpasswordpassword

password

2.10.22.10.22.10.2

2.10.2

+ZPPPOPEN:+ZPPPOPEN:+ZPPPOPEN:

+ZPPPOPEN:

openopenopen

open

GPRSGPRSGPRS

GPRS

datadatadata

data

linklinklink

link

2.10.32.10.32.10.3

2.10.3

+ZPPPCLOSE:+ZPPPCLOSE:+ZPPPCLOSE:

+ZPPPCLOSE:

closecloseclose

close

GPRSGPRSGPRS

GPRS

datadatadata

data

linklinklink

link

ParametersParametersParameters

Parameters

class:A: support class A;B: support class B;CG :support GPRS only;CC: support circuit exchange only.

DescriptionDescriptionDescription

Description

This command is used to set the operator’s APN, username and password, and save the messageautomatically.

FormatFormatFormat

Format

AT+ZPNUM=<APN>,<USER>,<PWD>

ExampleExampleExample

Example

AT+ZPNUM="cmnet","user","pwd"OKAT+ZPNUM? Inquire currently setting: APN,USER,PWD

ParametersParametersParameters

Parameters

APN: GPRS (APN) provided by GPRS operator.USER: username.PWD: password.APN:USER, PWD "string".

DescriptionDescriptionDescription

Description

This command is used to open GPRS data link.FormatFormatFormat

Format

AT+ZPPPOPEN

ExampleExampleExample

Example

AT+ZPNUM="cmnet","user","pwd"OKAT+ZPPPOPEN+ZPPPOPEN:CONNECTEDOK….AT+ZPPPOPEN+ZPPPOPEN: ESTABLISHEDOK

DescriptionDescriptionDescription

Description

This command is used to close GPRS data link.FormatFormatFormat

Format

AT+ZPPPCLOSE

ExampleExampleExample

Example

AT+ZPPPCLOSEOK

Page 45: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

44

2.10.42.10.42.10.4

2.10.4

+ZIPSETUP:+ZIPSETUP:+ZIPSETUP:

+ZIPSETUP:

establishestablishestablish

establish

TCPTCPTCP

TCP

serverserverserver

server

connectionconnectionconnection

connection

2.10.52.10.52.10.5

2.10.5

+ZIPSEND:+ZIPSEND:+ZIPSEND:

+ZIPSEND:

sendsendsend

send

TCPTCPTCP

TCP

datadatadata

data

tototo

to

targettargettarget

target

addressaddressaddress

address

2.10.62.10.62.10.6

2.10.6

+ZPPPSTATUS:+ZPPPSTATUS:+ZPPPSTATUS:

+ZPPPSTATUS:

queryqueryquery

query

GPRSGPRSGPRS

GPRS

connectingconnectingconnecting

connecting

statusstatusstatus

status

2.10.72.10.72.10.7

2.10.7

+ZIPCLOSE:+ZIPCLOSE:+ZIPCLOSE:

+ZIPCLOSE:

closecloseclose

close

TCPTCPTCP

TCP

linklinklink

link

AT+ZPPPCLOSE+ZPPPCLOSE: DISCONNECTEDOK

DescriptionDescriptionDescription

Description

This command is used to establish TCP server connection.FormatFormatFormat

Format

AT+ZIPSETUP=<N>,<IP>,<M>

ExampleExampleExample

Example

AT+ZIPSETUP=1,61.144.216.219,2332+ZIPSETUP:CONNECTEDOK

Establish TCP server connection

ParametersParametersParameters

Parameters

N: max. TCP links is 1, number is 1.IP: IP for next target address, *.*.*.*. * ranges from 0 to 255M: port.

DescriptionDescriptionDescription

Description

This command is used to connect to target server.FormatFormatFormat

Format

AT+ZIPSEND= port,length<CR>prompt :'>' then send data

ExampleExampleExample

Example

AT+ZIPSEND=1,10>abcdefghij<CR>+ZIPSNED:OKOK

After connecting server successfully, send10-byte data (abcdefghij) to TCP server

ParametersParametersParameters

Parameters

port:: TCP links is 1, number is 1.length:: data length (max. 1000 characters supported, send as 0x00~0xff).

DescriptionDescriptionDescription

Description

This command is used to inquire GPRS link status.FormatFormatFormat

Format

AT+ZPPPSTATUS

ExampleExampleExample

Example

AT+ZPPPSTATUS+ZPPPSTATUS: ESTABLISHEDOK

Query GPRS connecting status

AT+ZPPPSTATUS+ZPPPSTATUS: DISCONNECTEDOK

Query GPRS connecting status

DescriptionDescriptionDescription

Description

This command is used to close TCP link.FormatFormatFormat

Format

AT+ZIPCLOSE=<N>

Page 46: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

45

2.10.82.10.82.10.8

2.10.8

+ZIPGETIP:+ZIPGETIP:+ZIPGETIP:

+ZIPGETIP:

queryqueryquery

query

currentcurrentcurrent

current

IPIPIP

IP

addressaddressaddress

address

ofofof

of

thethethe

the

modulemodulemodule

module

2.10.92.10.92.10.9

2.10.9

+ZIPSTATUS:+ZIPSTATUS:+ZIPSTATUS:

+ZIPSTATUS:

queryqueryquery

query

currentcurrentcurrent

current

TCPTCPTCP

TCP

linklinklink

link

statusstatusstatus

status

2.10.102.10.102.10.10

2.10.10

+ZIPRECV:+ZIPRECV:+ZIPRECV:

+ZIPRECV:

PromptPromptPrompt

Prompt

tototo

to

ReceiveReceiveReceive

Receive

DataDataData

Data

fromfromfrom

from

CurrentCurrentCurrent

Current

DataDataData

Data

LinkLinkLink

Link

2.10.112.10.112.10.11

2.10.11

+ZIPSETUPU:+ZIPSETUPU:+ZIPSETUPU:

+ZIPSETUPU:

establishestablishestablish

establish

UDPUDPUDP

UDP

serverserverserver

server

linklinklink

link

ExampleExampleExample

Example

AT+ZIPCLOSE=1OK

Close TCP link

ParametersParametersParameters

Parameters

N: max. TCP links is 1, number is 1.

DescriptionDescriptionDescription

Description

This command is used to obtain the IP address of the module.FormatFormatFormat

Format

AT+ZIPGETIPExampleExampleExample

Example

AT+ZIPGETIP+ZIPGETIP: *.*.*.*OK

Obtain the IP address of the module

ParametersParametersParameters

Parameters

A value between 0 and 255.

DescriptionDescriptionDescription

Description

This command is used to query current TCP link status.FormatFormatFormat

Format

AT+ZIPSTATUS=<N>ExampleExampleExample

Example

AT+ZIPSTATUS=1+ZIPSTATUS: ESTABLISHEDOK

Query current TCP link status

ParametersParametersParameters

Parameters

ESTABLISHED: TCP link has been established.DISCONNECTED: TCP link disconnected.

DescriptionDescriptionDescription

Description

This command is used to receive data from current data link.FormatFormatFormat

Format

+ZIPRECV:N,LEN,<DATA>ExampleExampleExample

Example

……+ZIPRECV:1,5,abcde……

……Receives 5 data abcde

ParametersParametersParameters

Parameters

N: max. TCP links is 1, number is 1.LEN: length of received data.DATA: received data.

DescriptionDescriptionDescription

Description

This command is used to bundle UDP server connection.FormatFormatFormat

Format

AT+ZIPSETUPU=<N>,<IP>,<M>ExampleExampleExample

Example

AT+ZIPSETUPU=1,61.144.216.219,2332OK

Bundle address: 61.144.216.219; port: 2332Return with bundle succeeded

Page 47: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

46

2.10.122.10.122.10.12

2.10.12

+ZIPSENDU:+ZIPSENDU:+ZIPSENDU:

+ZIPSENDU:

sendsendsend

send

datadatadata

data

tototo

to

UDPUDPUDP

UDP

serverserverserver

server

2.10.132.10.132.10.13

2.10.13

+ZIPSTATUSU:+ZIPSTATUSU:+ZIPSTATUSU:

+ZIPSTATUSU:

queryqueryquery

query

UDPUDPUDP

UDP

statusstatusstatus

status

2.10.142.10.142.10.14

2.10.14

+ZIPCLOSEU:+ZIPCLOSEU:+ZIPCLOSEU:

+ZIPCLOSEU:

closecloseclose

close

UDPUDPUDP

UDP

linklinklink

link

2.10.152.10.152.10.15

2.10.15

+ZIPRECVU:+ZIPRECVU:+ZIPRECVU:

+ZIPRECVU:

promptpromptprompt

prompt

tototo

to

receivereceivereceive

receive

UDPUDPUDP

UDP

datadatadata

data

ParametersParametersParameters

Parameters

N: max. UDP links is 1, number is 1.IP: IP address for target server, *.*.*.*. * ranges from 0 to 255.M: port.

DescriptionDescriptionDescription

Description

This command is used to send data to bundled UDP server.FormatFormatFormat

Format

AT+ZIPSENDU= port,length<CR>prompt :'>' then send data

ExampleExampleExample

Example

AT+ZIPSENDU=1,10>abcdefghij<CR>+ZIPSNEDU:OKOK

After connecting server successfully, send10-byte data (abcdefghij) to UDP server

ParametersParametersParameters

Parameters

port:UDP links is 1, number is 1.length: data length (max. 1000 characters supported, send as 0x00~0xff).

DescriptionDescriptionDescription

Description

This command is used to query current TCP link status.FormatFormatFormat

Format

AT+ZIPSTATUSU=<N>ExampleExampleExample

Example

AT+ZIPSTATUSU=1+ZIPSTATUSU: ESTABLISHEDOK

Query UDP status of number 1Number 1 UDP being used

ParametersParametersParameters

Parameters

ESTABLISHED: UDP used.DISCONNECTED:UDP OFF.

DescriptionDescriptionDescription

Description

This command is used to turn off designated UDP link.FormatFormatFormat

Format

AT+ZIPCLOSEU=<N>ExampleExampleExample

Example

AT+ZIPCLOSEU=1OK+ZIPCLOSEU: 1

Successfully turn off/on number 1 UDP link

Prompts number 1 UDP link turned offParametersParametersParameters

Parameters

N: max. UDP links is 1, number is 1.

DescriptionDescriptionDescription

Description

This command is used to prompt to receive UDP data from UDP server.FormatFormatFormat

Format

+ZIPRECVU:N,LEN,<DATA>

Page 48: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

47

2.112.112.11

2.11

HookHookHook

Hook

offoffoff

off

tone,tone,tone,

tone,

DTMFDTMFDTMF

DTMF

dialdialdial

dial

tonetonetone

tone

CommandCommandCommand

Command

2.11.12.11.12.11.1

2.11.1

+ZCALLTONE+ZCALLTONE+ZCALLTONE

+ZCALLTONE

:SetSetSet

Set

hookhookhook

hook

offoffoff

off

tonetonetone

tone

2.11.22.11.22.11.2

2.11.2

+ZDTMFTONE+ZDTMFTONE+ZDTMFTONE

+ZDTMFTONE

:SetSetSet

Set

ZDTMFZDTMFZDTMF

ZDTMF

dialdialdial

dial

tonetonetone

tone

ExampleExampleExample

Example

……+ZIPRECVU:1,5,abcde……

……Receives 5 data abcde

ParametersParametersParameters

Parameters

N: max. UDP links is 1, number is 1.LEN: length of received data.DATA: received data.

DescriptionDescriptionDescription

Description

This command is used to play/stop hook off tone.FormatFormatFormat

Format

AT+ZCALLTONE=<n>AT+ZCALLTONE=?AT+ZCALLTONE?

ParametersParametersParameters

Parameters

<n>0:stop hook off tone1:play 400Hz hook off tone2:play 400Hz/25Hz hook off tone3:play 400Hz/50Hz hook off tone

ReturnedReturnedReturned

Returned

valuesvaluesvalues

values

OK

+ZCALLTONE:<n>OK

ExampleExampleExample

Example

AT+ZCALLTONE=2OKat+zcalltone?+ZCALLTONE:2OK

AT+ZCALLTONE=0OKat+zcalltone?+ZCALLTONE:0OK

play hook off tone

stop hook off tone

DescriptionDescriptionDescription

Description

This command is used to play/stop hook off tone.FormatFormatFormat

Format

AT+ZDTMFTONE=<n>,<Duration>AT+ZDTMFTONE =?AT+ZDTMFTONE?

ParametersParametersParameters

Parameters

<n>0~9:play 0~9 DTMF tone

Page 49: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

48

333

3

ApplicationsApplicationsApplications

Applications

andandand

and

cautionscautionscautions

cautions

3.13.13.1

3.1

SMSSMSSMS

SMS

at+cmgf=1OK——set SMS input mode as text mode.

at+cmgs="13360504647"<CR>hallo<ctrl/Z>+CMGS:1OK——send a message. 13360504647" is the MT number, “hello” is the stuff.

at+cmgw="13360504647"<CR>goodbye<ctrl/Z>+CMGW: 1OK——write new message into ”SM” storage. "13360504647" is the MT number, “goodbye” is the stuff. From

10~13:play 0~9 DTMF tone14:play * DTMF tone15:play # DTMF tone16:stop 0~9 DTMF tone<Duration>DTMF tone ‘s duration play time,unit is 20ms,range:0-1000.Set as 0,play continue.

ReturnedReturnedReturned

Returned

valuesvaluesvalues

values

OK

+ZDTMFTONE:<n>,<Duration>OK

ExampleExampleExample

Example

AT+ZDTMFTONE=1,0OKAT+ZDTMFTONE?+ZDTMFTONE:1,0OK

AT+ZDTMFTONE=16,0OKAT+ZDTMFTONE?+ZDTMFTONE:16,0OK

AT+ZDTMFTONE=2,100OK

Play key1’s DTMF tone sostenuto

Stop DTMF tone

Play key 2’s DTMF tone,duration time is 2s

Page 50: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

49

returned information +CMGW, we can observe that this message was stored at index 1.

at+cpms?+CPMS: "SM",1,50,"SM",1,50,"SM",1,50OK——inquire current storage. From the indication of +CPMS, we can observe that there is one message in “SM”storage, which is we just received.

at+cmgr=1+CMGR: "STO UNSENT","13360504647",goodbye

OK——read this message with index number. From returned information +CMGR, we can know that current statusof it is "STO UNSENT "

at+cmss=1+CMSS: 1

OK——send this stored message.

at+cmgr=1+CMGR: "STO SENT","13360504647",goodbye

OK——read this message with index number. From returned information +CMGR, we can know that current statusof it has been changed from “STO UNSENT” to “STO SENT”

at+cnmi=3,2,0,0,0OK——set the new message received as display without save.

+CMT: "+8615986672056","OK","07/08/27,13:23:56+32"WESDDR——received a new message display without save. “+8615986672056” is the MO number,“07/08/27,13:23:56+32” is the sending time, “WESDDR” is the stuff.

at+cnmi=3,1,0,0,0OK——set the new message received as save without display.

+CMTI: "SM",28

Page 51: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

50

——received a new message save without display. From the indication of +CMTI, we can know that it was storedat index 28 in “SM” storage

at+cmgr=28+CMGR: "REC UNREAD","15986672056",,"07/08/27,13:36:48+32"CDFF

OK——read this message with index number. “REC UNREAD” is the status of it, “15986672056” is the MOnumber,07/08/27,13:36:48+32”is the sending time, “CDFF” is the stuff.

3.23.23.2

3.2

PhonebookPhonebookPhonebook

Phonebook

at+cpbs?+CPBS:"SM",0,200

OK——inquire current storage. From the indication of +CPMS, we can observe that there is no message in “SM”storage.

at+cpbw= 1,"13086672098",129,"john"OK——write a contact number into ”SM” storage. “1”means searching blank item to save automatically."13086672098" is the contact number, “129” is the number type, “john” is the contact name.

at+cpbs?+CPBS:"SM",1,200

OK——inquire current storage. From the indication of +CPMS, we can observe that there is one message in “SM”storage.

at+cpbr=1+CPBR: 1,"13086672098",129,"john"OK——read this phonebook record

atd>1;OK——originate a call with index number from current phonebook memory.

atd>"john";OK——originate a call with contact name from current phonebook memory.

Page 52: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

51

athOK——terminate a call forwardly through ATH command

at+cpbs=" ME "OK——select”ME”as phonebook storage

at+cpbs?+CPBS: "ME",0,18OK——inquire current storage. From the indication of +CPMS, we can observe that there is no message in “ME”storage.

at+cpbw= 1,"13086672098",129,"john"OK——write a contact number into ”ME” storage. “1”means searching blank item to save automatically."13086672098" is the contact number, “129” is the number type, “john” is the contact name.

at+cpbs?+CPBS:"ME ",1,18

OK——inquire current storage. From the indication of +CPMS, we can observe that there is one message in “ME”storage, which is we just received.

at+cpbr=1+CPBR: 1,"13086672098",129,"john"OK——read this phonebook record

Page 53: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

52

AppendixAppendixAppendix

Appendix

CMECMECME

CME

ErrorErrorError

Error

CodesCodesCodes

Codes

1. General CME Error Codes

Page 54: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

53

Page 55: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

54

2. Audio/Sppech CME Error Codes

Page 56: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

55

3. SIM Toolkit/CRSM/CSIM CME Error Codes

4. +CSCS CME Error Codes

5. +CPOL CME Error Codes

Page 57: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

56

6. CTM CME Error Codes

7. CURSOR CME Error Codes

8. Miscellaneous Proprietary CME Error Codes

Page 58: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

57

9. GPRS CME Error Codes

Page 59: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

58

Page 60: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

59

Page 61: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

60

10. CMS Error Codes

Page 62: GSM Module s - download.maritex.com.pldownload.maritex.com.pl/pdfs/wi/AT ZTE.pdfGSM Module s 2 With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with

GSM Modules

61