87
WCDMA Module AT Command Set for WCDMA Module Version 1.3 ZTE CORPORATION

AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

Embed Size (px)

Citation preview

Page 1: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT Command Set for WCDMA Module

Version 1.3

ZTE CORPORATION

Page 2: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Copyright Statement

Copyright © 2009 by ZTE Corporation

All rights reserved.

No part of this publication may be excerpted, reproduced, translated or utilized in any form or by any

means, electronic or mechanical, including photocopying and microfilm, without the prior written

permission of ZTE Corporation.

is the registered trademark of ZTE Corporation. All other trademarks appeared in this

manual are owned by the relevant companies.

ZTE Corporation reserves the right to make modifications on print errors or update specifications in

this manual without prior notice.

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

1

Page 3: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

With strong technical force, ZTE Corporation can provide CDMA/GPRS module customers with the

following all-around technical support:

1. Provide complete technical documentation;

2. Provide the development board used for R&D, test, production, after-sales, etc.;

3. Provide evaluations and technical diagnosis for principle diagram, PCB, test scenarios;

4. Provide test environment;

ZTE Corporation provides customers with onsite supports, and also you could get supports through

telephone, website, instant communication, E-mail, etc.

The module website module.ztemt.com.cn provides the relevant industry information and module

technical documentation. The authorized module customers could download the latest technical

documentation for our website. If you have more requirements, you could send an E-mail to

[email protected].

2

Page 4: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Update history

The update history records the descriptions of manual update every time. The latest version includes

the updates of all previous versions.

Version V1.0 (2009-09-11)

Version V1.1 (2010-10-15)

Modify +CLVL

Modify +CFUN

Modify +CPBW

Modify +CPBR

Modify +CMUT

Modify +CCLK

Add +SPEAKER

Version V1.2 (2010-10-29)

Modify +CLVL

Modify + CVGT

Delete +VGR

Version V1.3Beta (2010-11-29)

Modify +CSCA

Modify +ZMDS

Modify +CLCK

Modify three-way call case

Version V1.3Beta (2010-11-29)

Delete +COLP

3

Page 5: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Contents 1 General Description ................................................................................................... 7

1.1 Description of AT Commands......................................................................................................... 7

1.1.1 Type of AT Commands........................................................................................................ 7

1.1.2 Returned Format of AT Commands .................................................................................... 7

1.1.3 AT Command Format.......................................................................................................... 7

1.2 Abbreviations.................................................................................................................................. 8

2 AT Commands ......................................................................................................... 11

2.1 Common Commands ....................................................................................................................11

2.1.1 A/: repeat previous command............................................................................................11

2.1.2 ATE: enable echo...............................................................................................................11

2.1.3 +CGMI: inquire manufacturer’s identification.....................................................................11

2.1.4 +CGMR: inquire software version..................................................................................... 12

2.1.5 +CGSN: inquire product’s ESN......................................................................................... 12

2.1.6 +CSCS: select TE character set ....................................................................................... 12

2.1.7 +CIMI: inquire International Mobile Identification.............................................................. 12

2.1.8 +GCAP: inquire function list .............................................................................................. 13

2.1.9 +CMEE: mobile device error report .................................................................................. 13

2.1.10 +ZHWV: inquire hardware version .................................................................................... 13

2.1.11 +ZDRNT: set dormant status (TBD).................................................................................. 13

2.1.12 +ZSSPA: inquire system status and system parameters.................................................. 14

2.1.13 +ZMDS: set system network mode parameters................................................................ 14

2.1.14 +ZUCT: inquire UIM card type and status......................................................................... 14

2.1.15 +ZGVT: inquire the voice type........................................................................................... 15

2.2 Call Control Commands ............................................................................................................... 16

2.2.1 ATA: answer a call............................................................................................................. 16

2.2.2 ATD: dial a number ........................................................................................................... 16

2.2.3 ATDL: dial the last outgoing number................................................................................. 16

2.2.4 ATH: hang up the call........................................................................................................ 17

2.2.5 ATS0: set auto answer...................................................................................................... 17

2.2.6 CSTA: select the number type .......................................................................................... 17

2.2.7 +CHUP: hang up interaction data mode ........................................................................... 18

2.2.8 +CRLP: wireless link protocol parameter.......................................................................... 18

2.2.9 +CEER: expansion error report......................................................................................... 19

2.2.10 +CRC: ringer type result code .......................................................................................... 19

2.2.11 +CVHU: hang up the voice call ......................................................................................... 20

2.2.12 +VGR: the function is the same as + CLVL (No longer support it) ................................... 20

2.2.13 +CMUT: Microphone Mute Control ................................................................................... 20

2.2.14 +VTD: Set DTMF duration ................................................................................................ 21

2.2.15 +VTS: send DTMF ............................................................................................................ 21

2.2.16 +CLCC: list current calls ................................................................................................... 22

2.2.17 ATD ................................................................................................................................... 23

2.2.18 ATS<X>: set basic S-register............................................................................................ 23

2.2.19 +VGT: speaker Gain Control ............................................................................................. 24

4

Page 6: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.20 +ZCORG: indicate one-time call originating ..................................................................... 25

2.2.21 +ZCCNT: indicate one-time call originating....................................................................... 25

2.2.22 +ZCEND: indicate one-time call end................................................................................. 26

2.2.23 +CCWA: call waiting control.............................................................................................. 27

2.2.24 +CHLD: call held and conference call............................................................................... 28

2.2.25 +CCFC: call forwarding number and conditions ............................................................... 29

2.2.26 +Speaker: select voice channel ........................................................................................ 31

2.3 Network Service Command.......................................................................................................... 32

2.3.1 +CNUM: check subscriber’s number ................................................................................ 32

2.3.2 +CREG: check network registration status ....................................................................... 32

2.3.3 +COPS: PLMN selection................................................................................................... 33

2.3.4 +CLCK: function lock ........................................................................................................ 34

2.3.5 +CPWD: change lock password ....................................................................................... 35

2.3.6 +CLIP: caller ID presentation............................................................................................ 36

2.3.7 +CLIR: caller ID restriction................................................................................................ 37

2.3.8 +CPOL: preferred PLMN list ............................................................................................. 38

2.3.9 +CPLS: select preferred PLMN list ................................................................................... 38

2.3.10 +COPN: check operatpr’s name....................................................................................... 39

2.3.11 +CGREG: check GPRS network registration status......................................................... 39

2.3.12 +FCLASS: select mode..................................................................................................... 40

2.3.13 +CBST: select bear service type –do not test now ........................................................... 40

2.3.14 +CCUG: close user group-do not test now....................................................................... 41

2.3.15 +CUSD: USSD service (not required to realize now) ....................................................... 42

2.3.16 +CAOC: charging information-do not test now ................................................................. 43

2.3.17 +CSSN: supplementary service notice ............................................................................. 43

2.4 Module Control Commands.......................................................................................................... 45

2.4.1 +CPAS: check the status of mobile device ....................................................................... 45

2.4.2 +CFUN: set module’s function .......................................................................................... 45

2.4.3 +CPIN: input PIN code...................................................................................................... 46

2.4.4 +CSQ: check signal strength ............................................................................................ 46

2.4.5 +CCLK: clock management .............................................................................................. 47

2.4.6 +ZPWROFF: module power-off ........................................................................................ 47

2.4.7 +CSIM: access SIM card –do not test now....................................................................... 47

2.4.8 +CLAC: list all AT commands............................................................................................ 48

2.4.9 +CTZU: time zone update................................................................................................. 48

2.4.10 +CTZR: time zone report .................................................................................................. 48

2.4.11 +CLVL: speak volume ....................................................................................................... 49

2.4.12 +ECHO: echo remove....................................................................................................... 49

2.4.13 +SIDET: set side tone ....................................................................................................... 49

2.4.14 +CMEE: mobile equipment errors..................................................................................... 50

2.4.15 +IFC: DTE-DCE flow control –do not test now ................................................................. 50

2.4.16 &D: set DTR signal –do not test now................................................................................ 50

2.4.17 &C: set DCD signal –do not test now................................................................................ 51

2.4.18 +IPR: set module’s baud rate............................................................................................ 51

2.4.19 &F: restore factory settings ............................................................................................... 52

5

Page 7: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.4.20 &W: save defined parameter settings ............................................................................... 52

2.4.21 WS46: select wireless network ......................................................................................... 52

2.5 SMS Commands .......................................................................................................................... 53

2.5.1 +CMGD: delete message.................................................................................................. 53

2.5.2 +CMGF: message format.................................................................................................. 53

2.5.3 +CMGL: message list........................................................................................................ 54

2.5.4 +CMGR: read messages .................................................................................................. 58

2.5.5 +CMGS: send message.................................................................................................... 60

2.5.6 +CMGW: write message to memory................................................................................. 61

2.5.7 +CMSS: send the saved message ................................................................................... 62

2.5.8 +CNMI: new message alert............................................................................................... 63

2.5.9 +CPMS: preferred SMS memory ...................................................................................... 65

2.5.10 +CSCA: SMS center number............................................................................................ 67

2.5.11 +CSCB: select cell broadcast message type –do not test now ........................................ 67

2.5.12 +CSMP: set TEXT mode –do not test now ....................................................................... 68

2.5.13 +CSMS: select SMS service –do not test now ................................................................. 69

2.5.14 +CNMA: new message acknowledgement (to ME/TA)..................................................... 70

2.5.15 +CMMS: send multiple messages –not validated temporarily.......................................... 71

2.5.16 +CGSMS: select MO SMS service ................................................................................... 71

2.5.17 +CMT: direct display received messages ......................................................................... 72

2.5.18 +CMTI: received messages saved in memory.................................................................. 73

2.5.19 +ZMGF: messages full...................................................................................................... 73

2.5.20 +CSDH: display text mode................................................................................................ 73

2.6 Phonebook Commands................................................................................................................ 75

2.6.1 +CPBS: select phonebook memory.................................................................................. 75

2.6.2 +CPBR: phonebook read.................................................................................................. 75

2.6.3 +CPBF: phonebook Find................................................................................................... 76

2.6.4 +CPBW: search for phonebook ........................................................................................ 77

2.7 PACKET DOMAIN ........................................................................................................................ 78

2.7.1 +CGDCONT define PDP context ...................................................................................... 78

2.7.2 +CGQREQ requested service quality report..................................................................... 79

2.7.3 +CGQMIN acceptable minimum service quality report..................................................... 81

2.7.4 +CGATT GPRS Attach and Detach .................................................................................. 82

2.7.5 +CGACT PDP context activate and deactivate: ............................................................... 82

2.7.6 +CGDATA enter data mode: ............................................................................................. 83

2.7.7 +CGPADDR display PDP address:................................................................................... 83

2.7.8 +CGCLASS GPRS mobile station type: ........................................................................... 84

2.7.9 +CGEREP GPRS event report: ........................................................................................ 84

2.7.10 +CGSMS select service for MO SMS............................................................................... 86

6

Page 8: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

1 General Description

1.1 Description of AT Commands AD3812, MG3630 modules provide AT command interfaces, through which the modules could

communicate with the external devices.

1.1.1 Type of AT 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 is

AT[+|&]<command>=<par1>,<par2>,<par3>…

The returned values of this type of command are all the same. This will be clarified in details later. The

basic frame format of the returned value is:

<CR><LF><Response string><CR><LF>

<CR><LF><OK/ERROR>[ERROR INFO]<CR><LF>

1.1.2 Returned Format of AT Commands

The following describes AT commands and returned descriptions supported by the module:

AT command returned format:

--<CR><LF><Character strings relating to AT commands><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.

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

7

Page 9: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

1.2 Abbreviations A ADC Analog-Digital Converter

AFC Automatic Frequency Control

AGC Automatic Gain Control

ARFCN Absolute Radio Frequency Channel

Number

ARP Antenna Reference Point

ASIC Application Specific Integrated

Circuit

B

BER Bit Error Rate

BTS Base Transceiver Station

C

CDMA Code Division Multiple Access

CDG CDMA Development Group

CS Coding Scheme

CSD Circuit Switched Data

CPU Central Processing Unit

D

DAI Digital Audio interface

DAC Digital-to-Analog Converter

DCE Data Communication Equipment

DSP Digital Signal Processor

DTE Data Terminal Equipment

DTMF Dual Tone Multi-Frequency

DTR Data Terminal Ready

E

EFR Enhanced Full Rate

EGSM Enhanced GSM

EMC Electromagnetic Compatibility

EMI Electro Magnetic Interference

ESD Electronic Static Discharge

ETS European Telecommunication

Standard

F

FDMA Frequency Division Multiple Access

FR Full Rate

8

Page 10: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

G

GPRS General Packet Radio Service

GSM Global Standard for Mobile

Communications

H

HR Half Rate

I

IC Integrated Circuit

IMEI International Mobile Equipment

Identity

ISO International Standards Organization

ITU International Telecommunications

Union

L

LCD Liquid Crystal Display

LED Light Emitting Diode

M

MCU Machine Control Unit

MMI Man Machine Interface

MS Mobile Station

P

PCB Printed Circuit Board

PCL Power Control Level

PCS Personal Communication System

PDU Protocol Data Unit

PLL Phase Locked Loop

PPP Point-to-point protocol

R

RAM Random Access Memory

RF Radio Frequency

ROM Read-only Memory

RMS Root Mean Square

RTC Real Time Clock

S

SIM Subscriber Identification Module

SMS Short Message Service

9

Page 11: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

SRAM Static Random Access Memory

T

TA Terminal adapter

TDMA Time Division Multiple Access

TE Terminal Equipment also referred it

as DTE

U

UART Universal asynchronous

receiver-transmitter

UIM User Identifier Management

USB Universal Serial Bus

V

VSWR Voltage Standing Wave Ratio

Z

ZTE ZTE Corporation

10

Page 12: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2 AT Commands

2.1 Common Commands

2.1.1 A/: repeat previous command

Description This command is used to repeat the previous command.

Format A/

AT+CSQ Inquire current signal strength Example

A/ Repeat AT+CSQ command

2.1.2 ATE: enable echo

Description This command is used to enable echo.

Format ATE<n>

ATE0

OK

OK

ATE0, don’t display input command on the

terminal

Example

ATE1

OK

ATE1

OK

ATE1, displays input command on the

terminal

Parameters <n>=0 Disable.

<n>=1 Enabled.

2.1.3 +CGMI: inquire manufacturer’s identification

Description This command is used to inquire manufacturer’s identification.

Format AT+CGMI

Example

AT+CGMI

<manufacturer>

OK

Inquire manufacturer identification

11

Page 13: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.1.4 +CGMR: inquire software version

Description This command is used to inquire software version

Format AT+CGMR

Example AT+CGMR

<VERSION>

OK

Inquire software version

2.1.5 +CGSN: inquire product’s ESN

Description This command is used to inquire the product’s ESN.

Format AT+CGSN

Example AT+CGSN

<SN>

OK

Inquire the product’s ESN

2.1.6 +CSCS: select TE character set

Description This command is used to select TE character set

Format AT+CSCS=<chest>

Example AT+CSCS=<chest>

OK

AT+CSCS?

+CSCS:<chest>

OK

Set TE character set

Inquire the current TE character set

Description of

parameters

[“IRA”] International Reference Alphabet(ITU-T T.50[13])

"GSM" GSM default character set(refer to section 6.2.1 in GSM 03.38);

"UCS2" 8-bit encoding character set (ISO/IEC10646 [32]); UCS2 Hexadecimal

value transferring from 0000 to FFFF; e.g., “004200620063” can be transfter to

16-bit 66, 98, 99, $(AT R97)$ in decimal format.

2.1.7 +CIMI: inquire International Mobile Identification

Description This command is used to inquire the International Mobile Identification.

Format AT+CIMI

Example AT+CIMI

<IMSI>

OK

Inquire the International Mobile

Identification.

Description of

parameters

<IMSI>: International Mobile Station Identification

12

Page 14: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.1.8 +GCAP: inquire function list

Description Inquire the function list

Format AT+GCAP

Example AT+GCAP

<NAME>

OK

Example

Description of

parameters

<NAME>:+CGSM, +FCLASS ,+DS, +ES,

2.1.9 +CMEE: mobile device error report

Description This command is used for mobile device error report.

Format AT+CMEE

Example AT+CMEE=<N>

OK

Parameters <N>

[0] Only the indication: ERROR

1 Provide the mistake number codes

2 Provide the mistake number codes and indications for detail

2.1.10 +ZHWV: inquire hardware version

Description Inquire the hardware version

Format AT+ZHWV

Example AT+ZHWV

<VISION>

OK

2.1.11 +ZDRNT: set dormant status (TBD)

Description Set the dormant status

Format AT+ZDRNT

Example AT+ZDRNT

+ZDRNT:<N>

OK

Description of

parameters

<N>

0: Dormant already

1: Not dormant yet

Test procedure: the status will be 1 upon data service.

13

Page 15: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.1.12 +ZSSPA: inquire system status and system parameters

Description Inquire the system status and parameters

Format AT+ZSSPA

Example AT+ZSSPA

+ZSSPA:ROAM,RSSI,SIM_STAT

E,SRV

OK

Description of

parameters

ROAM:ROAM_STATUS_OFF(0),ROAM_STATUS_ON(1),ROAM_STATUS_BL

INK(2),

RSSI: 0-5

SIM: SIM_STATE_AVAILABLE(1), SIM_STATE_NOT_AVAILABLE(0)

SRV: 0:No service,1:Limited service, 2:Service available,3:Limited regional

service ,4:MS is in power save or deep sleep

2.1.13 +ZMDS: set system network mode parameters

Description Set the system network mode parameters

Format AT+ZMDS=<N>

Example AT+ZDRNT =4

OK

Description of

parameters

<N>

4:automatic network mode

13:gsm olny

14:wcdma olny

2.1.14 +ZUCT: inquire UIM card type and status

Description Inquire UIM card type and status

Format AT+ZUCT

Example AT+ZUCT

+ZUCT:<card_type>,<sim_state>

OK

Description of

parameters

Card_type:

0: NONE CARD or NONE INIT

1: USIM

2: SIM

3: SIM_USIM

sim_state:

0:not initialize

1:initialized

14

Page 16: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.1.15 +ZGVT: inquire the voice type

Description Inquire the mobile phone’s voice type

Format AT+ZGVT

Example AT+ZGVT

+ZGVT:<voice_type>

OK

Description of

parameters

voice_type:

0: by PC

1: not by PC

15

Page 17: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2 Call Control Commands

2.2.1 ATA: answer a call

Description This command is used to answer a call.

Format ATA

RING Incoming call Example

ATA Answer a call

2.2.2 ATD: dial a number

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

Format ATD<phonenumber>;

ATD>mem<n>;

ATD<string>;

ATD13800138000; Dial 13800138000

AT+CPBS=“SM”

ATD>2;

Select SIM card phonebook as the

current contacts

Dial the second phone number in

current contacts

Example

ATD>“John”; Search for the number of “john” and dial

it

Parameters < phonenumber >: the number of called party

ATD>mem<n>: originate a call with the recorded No. in designated phonebook

<n>: the n-th option of the contacts.

<string>: the name of called party.

2.2.3 ATDL: dial the last outgoing number

Description This command is used to dial the last outgoing number.

Format ATDL

Example

ATD13800138000; Dial 13800138000

16

Page 18: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

OK

ATH

OK

Hang up the call

ATDL Dial 13800138000 again.

2.2.4 ATH: hang up the call

Description This command is used to hang up the call.

Format ATH

ATA

OK

Answer the call

Example

ATH Hang up the call

2.2.5 ATS0: set auto answer

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

Format ATS0=<value>

ATS0=2

OK

Auto answer after ringing twice

ATS0?

2

Check the current setting

Example

ATS0=0

OK

Cancel auto answer

Parameters <value>: times for ringing

2.2.6 CSTA: select the number type

Description This command is used to set the address type.

Format AT+CSTA=<type>

AT+CSTA=129 Set the address type Example

AT+CSTA? Check the current settings

17

Page 19: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

+CSTA: 145

AT+CSTA=?

+CSTA:129,145

Check the address type

Parameters <type>: number type

129: domestic number

145: number with international number identification mark ”+”

2.2.7 +CHUP: hang up interaction data mode

Description This command is used to hang up interaction data mode

Format AT+CHUP

Example AT+CHUP

OK

Hang up the call

2.2.8 +CRLP: wireless link protocol parameter

Description This command is used to modify the wireless link protocol parameter for non

transparent data transmission.

Format AT+CRLP=<iws>,<mws>,<T1>,<N>,<ver>

AT+CRLP=61,61,48,6,0

OK

Reset the wireless link protocol

parameter

Example

AT+CRLP=?

+CRLP:(0-61),(0-61),(40-255),(1-255),(0)

Check the setting range

Parameters <ver>: version number

In Version 0 and Version 1:

<iws>: size of downlink window, ranging from 0-~61.

<mws>: size of downlink window, ranging from 0-~61.

<T1>: define the timer unit as 10 ms, ranging from 38~255.

<N>: re-transmitting times, ranging from 1~255.

In Version 2:

18

Page 20: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

<iws>: size of downlink window, ranging from 0-~488。

<mws>: size of downlink window, ranging from 0-~488.

<T1>: define the timer unit as 10 ms, ranging from 42~255.

<N>: re-transmitting times, ranging from 1~255.

2.2.9 +CEER: expansion error report

Description This command is used to report the reason for call release if the call origination or

termination fails.

Format AT+CEER

Example ATD13800138000;

NO CARRIER

AT+CEER

+CEER:ERROR<***>

OK

Originate voice call

Call connection fails

Check the reason of failure

*** wrong number, defined in GSM

protocol 04.08.

2.2.10 +CRC: ringer type result code

Description This command is display the type of ringer.

Format AT+CRC=<num>

Example AT+CRC=1

OK

+CRING:VOICE

Display the type of ringer

One voice call

Parameters <num>:

0: Do not display the type of ringer

1: display the type of ringer

Descriptions of ringer type:

VOICE: Voice

GPRS: GPRS service

FAX: Fax

19

Page 21: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.11 +CVHU: hang up the voice call

Description This command is used to hang up the call.

Format AT+CVHU=<mode>

AT+CVHU=0

OK

ATH disconnected after OK response

AT+CVHU?

+CVHU:0

Check the current mode

Example

AT+CVHU=?

+CVHU:0,1

Return all modes supported

Parameters <mode>:

0: ATH disconnected after OK response

1: ATH omitted, OK response

2.2.12 +VGR: the function is the same as + CLVL (No longer support it)

2.2.13 +CMUT: Microphone Mute Control

Description This command is used for mute control. The command is used only during the

conversation, and the setting is in vain under other mode.

Format AT+CMUT=<n>

AT+CMUT=0

OK

Mute ON

AT+CMUT?

+CMUT: 0

Current the status

Example

AT+CMUT=?

+CMUT: 0, 1

Current the settings of parameters

Parameters <mode>:

0: Turn on Mute control

1: Turn off Mute control

20

Page 22: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.14 +VTD: Set DTMF duration

Description This command is used to set DTMF duration.

Format AT+VTD=<duration>

AT+VTD=?

+VTD:(0-20)

OK

Return the range of DTMF duration

AT+VTD?

+VTD:1

OK

Check the current DTMF duration

Example

AT+VTD=20

OK

Set DTMF duration as 20s

Parameters <duration> :

10: Default setting

0-20 duration, unit 100ms.

2.2.15 +VTS: send DTMF

Description This command is used to send DTMF.

Format AT+VTS=<string>

AT+VTS=?

+VTS:(0-9,*#,)

OK

List VTS parameter

ATD***********;

AT+VTS=“3,6,9”

Dial

Send 369 DTMF tone

Example

<string>: character string, separated by the comma. The character ranges from

0-9, *, #.

Parameters

21

Page 23: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.16 +CLCC: list current calls

Description This command is used to return the current call list.

Format AT+CLCC

Example

AT+CLCC

+CLCC:<id1>,<dir>,<stat>,<mode>,<mpty>[,<

number>,<type>[<alpha>]]

[+CLCC:<id1>,<dir>,<stat>,<mode>,<mpty>[,

<number>,<type>[<alpha>]][…]]]

List current calls

Parameters <idx>: type of integral number, phone number recognition

<dri>:

0: Mobile station originating call

1: Mobile station terminating call <stat>: status of call

0: calling

1: call hold

2:dialing MO

3:ringer MO

4:incoming call MT

5:waiting MT

<mode>:

0:voice

1:data

2:fax

9:unknown

<mpty>:

0:not member of conference calls

1:member of conference calls

<number>:phone number of character type, format designated by <type>

<type>: type of format of address bytes

<alpha>: optional

22

Page 24: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.17 ATD

Description Realize the three-way call process through ATD. See the following descriptions.

Format Refer to +ATD & +CCWA commands.

ATD13800138000;

OK

+ZCORG:13800138000;

+ZCCNT:3

Put through the first voice call.

ATD13333333333;

OK

Hold the first call, dial the second call

AT+CHLD=3

OK

Realize three-way call

AT+CHLD=2

OK

End the second call and switch to the first

call

Example

ATH

OK

+ZCEND:10

Hang up all calls

Parameters <phone number>: phone number.

2.2.18 ATS<X>: set basic S-register

Description S-register saves some configuration parameters used to dial a number or connect

a call. This command is used to set the value of S-register. X is the number of the

register.

Format ATS<X>=<value>

Example ATS<0>=0

OK

Set S0 register’s value as 0

23

Page 25: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

ATS<0>?

ATS<0>:0

Check the value of S0 register

Parameters

ATS0: set auto answer time or cancel auto answer, ranging from 0~255

0: cancel auto answer,

1-255: auto answer after [(value-1)x6s

ATS3: input carriage return code element

ATS4: line feed code element

ATS5: returned character code element

ATS6: time of waiting for dialing, ranging from 2~10

ATS7: time of waiting for remote signal after dialing, ranging from 1~255

ATS8: comma pausing time, ranging from 0~255

ATS9: signal detecting response time, take 0.1s as the unit, ranging from 0~255

ATS10: response time from signal disappearing to call ending, ranging from 1~254,

cancel the signal detection as the value is 255.

ATS11: control DTMT dialing speed, take ms as the unit, ranging from 0~255

2.2.19 +VGT: speaker Gain Control

Description This command set the MIC gain of the current selected audio path.

Format AT+VGT=<MicGain>

AT+VGT=0

OK

Auto control volume of MODEM

AT+VGT?

+VGT:0

Return current gain level

Example

AT+VGT=?

+VGT:(0-3)

Return the range of gain value

Parameters <n>: range 0-1

24

Page 26: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.20 +ZCORG: indicate one-time call originating

Description This command is used to indicate one call originating

Format +ZCORG:<call_type>,<call_x>

Example ATD13800138000;

OK

+ZCORG:0,1

+ZCCNT:0,1

OK

Indicate call originating

Parameters <call_type>: call type

0: voice call

7: OTA call(standard OTASP numbers)

8: OTA call (none standard otasp numbers)

9: emergency call

<call_x>: call ID

2.2.21 +ZCCNT: indicate one-time call originating

Description This command is used to indicate one-time call originating.

Format +ZCCNT:<call_type>,<call_x>

Example ATD13800138000;

OK

+ZCORG:0,1

+ZCCNT:0,1

OK

Indicate one-time call originating

Parameters <call_type>: call type

0: voice call

7: OTA call (standard OTASP numbers)

8:OTA call (none standard otasp numbers)

9: emergency call

<call_x>: call ID

25

Page 27: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.22 +ZCEND: indicate one-time call end

Description This command is used to indicate one-time call end.

Format +ZCEND:<call_X>,<duration>,<end_status>[,<cc_cause>]

Example ATD13800138000;

OK

+ZCORG:0,1

+ZCCNT:0,1

ATH

+ZCENT:1,30,0,0

indicate one-time call end

Parameters <call_x>: call ID

<duration>: duration

<end_status>: ending status

0: phone is offline

21:phone has no service (Backwards compatibility)

25:received release from BS

27:received incoming call from BS

29:client ended the call

34:RUIM is not present

35:Access attempt already in progress

36:Access failure for reason other than the above

38:Concurrent servive is not supported by base station

39:No response recived from base station

100:rxd a reason from lower layer

101:call origination request failed

102:client rejected the incoming call

103:client rejected the setup_ind

104:network ended the call

106:Phone has no service

26

Page 28: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Do not process other values

<cc_cause>: call control message

2.2.23 +CCWA: call waiting control

Description This command is used for call waiting control

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

AT+CCWA=0,1,1

OK

As mode!=2, if succeeded,

return:

OK

AT+CCWA=1,2,1

+CCWA: 1,1

OK

As mode==2, return:

+CCWA:<status>,<class>

OK

AT+CCWA =?

+CCWA(0,1)

OK

List all supported <n>

Example

AT+CCWA ?

+CCWA:<n>

OK

Read current <n>

Parameters <n>:

0: do not send the result code of call waiting

1: send the result code of call waiting

<mode>:

0: call waiting

1: activate call waiting

2: Check current status

<class>

1: voice call

2: data service

4: fax service

27

Page 29: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

7: voice call + data service + fax service

8: SMS

16: circuit domain data SYNC

32: circuit domain data ASYN

64: exclusive packet access

128: exclusive PAD access

255: all types

<status>

0: disabled

1: enabled

2.2.24 +CHLD: call held and conference call

Description This command is used to set call held and conference call.

Format AT+CHLD=<n>

AT+CHLD=0

OK

Set “release all held calls” Example

AT+CHLD=?

+CHLD(0,1,1x,2,2x,3,4)

OK

Check the supported <n>

Parameters <n>:0,1,1X,2,2X,3,4

0: release all held calls or set a waiting call as UDUB

1: Release all activated calls and receive a held or waiting call.

1X: Release call X

2: Hold all activated calls and receive another held or waiting call.

2X: hold all calls except for call X

3: Add the held call into the conference call

4: Connect two calls or hang up two calls

Remarks:

1. This command is used for telecom service;

28

Page 30: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2. The range of X value:1~7

3. When there is both held call and waiting call, the process above should be

applied for the waiting call.

4. When releasing call, please firstly use AT+CHLD=1 to release the currentcall,

and use ATH to hang up the call.

5. Please refer to the method of conference call provided by the operator when

using AT+CHLD=3.

2.2.25 +CCFC: call forwarding number and conditions

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

Format AT+CCFC=<reason>,<mode>[,<number>[,<type>[,<.class>[,<subaddr>[,<saytype

>[,time]]]]]

AT+CFCC=0,3,”12345678”

OK

Register Unconditional call forwarding Example

AT+CCFC=0,2

+CCFC: 1,1,"12345678",129

+CCFC: 1,2,"12345678",129

+CCFC: 1,4,"12345678",129

OK

Forwarding voice call

Forwarding data call

Forwarding fax call

Parameters <reason>:

0:unconditional

1: mobile device busy

2: No answer

3: Can’t be connected

4: All calls

5: all condtions

<mode>:

0: diabled

1: enabled

2: check status

29

Page 31: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

3: register

4: delete

<number>: phone number

<type>:

145: internatinal number

129: other number

<subaddr>: address of character string type

<saytype>: sub addresss type, composed of 8 numbers, default value 128

<class>: default value 7

1: voice

2: data

4: service

7: voice + data + fax

8: SMS

16: circuit domain data SYNC

32: circuit domain data ASYN

64: exclusive packet access

128: exclusive PAD access

255: all types

<time>:1~30 multiplies 5s, default value 20

<status>:

0: disabled

1: enabled

Remarks: need apply for relevant services.

30

Page 32: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.2.26 +Speaker: select voice channel

Description This command is used to select the voice channel.

Format AT+SPEAKER=<n>

AT+ SPEAKER =0

OK

Select earpiece

AT+ SPEAKER?

+ SPEAKER:0

Check current channel

Example

AT+ SPEAKER =?

+SPEAKER: (0-1)

OK

Check the parameter settings

Parameters <n>:

0: earpiece

1: receiver

31

Page 33: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.3 Network Service Command

2.3.1 +CNUM: check subscriber’s number

Description Execute the command to return the user-relating MSISDN(Mobile Station

International ISDN Number). This information could either be saved in SIM

card, or in ME. If the subscriber has multiple MSISDN that meet different

requirements of services, then each MSISDN shall cover one line to return.

Format AT+CNUM The format of returned value after query is as below:

+CNUM: [<alpha1>],<number1>,<type1>

[<CR><LF>+CNUM: [<alpha2>],<number2>,<type2>[...]]

+CNUM: ,"13925275265",129

+CNUM: ,"13145854693",129

OK

Example AT+CNUM

+CME ERROR: <err>

If an error occurs, return the error code

Parameters <alphax>: relating to <numberx>, optional, character string combining alphabet

and number. The applied character set shall be “Select TE character set” +

CSCS selected character set.

<numberx>: character-type phone number designated by <typex>

<typex>: integral-type 8-bit address type (refer to section 10.5.4.7 of GSM

04.08 [8] for details)

2.3.2 +CREG: check network registration status

Description This command is used to check the module’s network registration status.

Format AT+CREG=<n> set CREG display format

AT+CREG?check CREG status, returned format as below:

+CREG: <n>,<stat>[,<lac>,<ci>]

AT+CREG=? Check the list of parameters supported by the command.

ASYN prompt registration status

+CREG: <n>,<stat>[,<lac>,<ci>]

AT+CREG?

Check the current registration

status

+CREG: 0,2

OK

Example

AT+CREG=2

OK

AT+CREG?

+CREG: 2,1, 250040, 7C48

OK

AT+CREG=?

+CREG: (0-2)

OK

32

Page 34: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

ASYN prompt registration status +CREG: 2,1, 250040, 7C48

Parameters <n>

0 Disabled

1 Enabled, format: +CREG: <stat>。

2 Enabled, format: +CREG: <stat>[,<lac>,<ci>]。

<stat>

0: Not logged on the network yet, currently no network searching

1: Already logged on the local network.

2: Not logged on the network, currently searching for network

3: Registration rejected

4: Current status unknown

5: Already logged on the network, under roaming status

<lac>

Type of character; 2-bit hexadecimal format location area code

<ci>

Type of character; 2-bit hexadecimal format cell ID.

2.3.3 +COPS: PLMN selection

Description Use the command to mandatory select and register GSM network operator.

Set <mode> for ME to either auto select <oper>, or use the command to

mandatory select oper>. If the selected operatior can not be used, then you

can’t select other operator again. However, it is an exception for <mode>=4. As

<mode>=2, it indicates the mandatory cancellation from the network. The

registration will affect all subsequent registration action. For example, as

<mode>=2, ME is not registerd yet, and it is registerd until <mode>=0 or 1.

Format AT+COPS=[<mode>[,<format>[,<oper>[,< AcT>]]]] select designated network

AT+COPS? Display current registered network, returned format as below

+COPS: <mode>[,<format>,<oper>]

AT+COPS=? Display current network list, returned format as below

+COPS: [(<stat>, <oper>][,,(<mode> value list),(<format> value list)]

AT+COPS=0,2,46001,2

Auto select network, oper invalid

OK

Network selection succeeded

Example

AT+COPS=1,2,46001,2

Manual select network

+CME ERROR: network service

unavailable

Selected network has no service

AT+COPS?

OK

+COPS: 0,2,"46000"

+COPS: 0,0,"CHN-CUGSM",0

33

Page 35: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+COPS=?

OK

+COPS: (1,"CHINA

MOBILE","CMCC","46000",0),(3,"CHN-C

UGSM","CU-GSM","46001",2),,(0,1,2,3,4)

,(0,1,2)

OK

Description <mode>

0 auto registration (omit <format> <oper> )

1 manual registration

2 mandatory cancellation

3 set format only

4 firstly manual and then auto

<format>

0 format of long character <oper>

1 ormat of short character <oper>

2 number format <oper>

<oper>

Operator’s name, given according to format

<AcT> access technology

0 GSM

1 GSM COMPACT

2 UTRAN

2.3.4 +CLCK: function lock

Description Execute the command to lock, unlock, check ME or network device <fac>.

Generally, the password is required. As checking network service

(<mode>=2),it will return the result line of <status>=0 only if any parameter is

non-activated status for the service. When setting or checking the network

device, the execution of the command shall be terminated.

Format +CLCK=<fac>,<mode>[,<passwd>[,<class>]]

at+clck="SC",2

Check PIN1 code

+CLCK: 0

OK

Example

at+clck="SC",1,1,"1234"

Set PIN1 code

OK

at+clck=?

Check fac supported by CLCK.

+CLCK:

("AB","AC","AG","AI","AO","IR","OI","OX","

SC","FD","PN","PU","PP","PC","PF")

OK

34

Page 36: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameters <fac>:

"AB" all services barring.

"AC" barring of all incoming calls

"AG" barring of all outgoing calls

"AI" all incoming calls barring

"AO" all outgoing calls barring

"IR" Incoming roaming barring

"OI" Outgoing international calls barring

"OX" Outgoing international calls barring except for local

"SC" SIM card locked

"FD" Fixed dial

"PN" Personalized network(please refer to GSM 02.22 [33])

"PU" Personalized sub network(please refer to GSM 02.22 [33])

"PP" Personalized provider(please refer to GSM 02.22 [33])

"PC" Personalized company(please refer to GSM 02.22 [33])

"PF" lock the phone into the firstly inserted SIM card (PH-FSIM)in the

manual)(as other SIM card is inserted, ME shall require the password)

<mode>

0 unlock

1 lock

2 check the status

<status>

0 Deactivated

1 Activated

<passwd>: type of character, the device’s password used for ME user

interface,the command +CPWD for changing password is the same as that for

setting the password.

<classx> sum of information type (default value 7):

1 voice call

2 data

4 fax

8 SMS

16 SYNC circuit data

32 ASYN circuit data

64 exclusive packet access

128 exclusive PAD access

2.3.5 +CPWD: change lock password

Description This command is used to change the device password defined by the command

+CLCK.

Format AT+CPWD=<fac>,<oldpwd>,<newpwd>

AT+CPWD=? Returned format

+CPWD: <fac>,<pwdlength>

35

Page 37: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+CPWD=“SC”,1234,5555

Change PIN1 code to 5555

OK Example

at+cpwd=?

Display supported fac

+CPWD: ("AB",4),("SC",8),("P2",8)

OK

Parameters <fac>

"AB" all calls barring

"SC" SIM PIN1

"P2" SIM PIN2

<oldpwd>, <newpwd>: type of character, the device’s password used for ME

user interface,the command +CPWD for changing password is the same as

that for setting the password.

<pwdlength> integral type, the max. password length supported by the device.

2.3.6 +CLIP: caller ID presentation

Description This command is used to display the supplementary services on the

terminal.This command is relating to GSM’s supplementary service

CLIP(Calling Line Identification Presentation). When receiving the termination

call, the caller could obtain CLI(Calling Line Identification).

The set command could be used to enable or disable CLI on TE, but it has no

impact on the execution of CLIP in the network. As CLI is displayed on TE and

allowed by the calling party, as all RING or +CRING: <type> returned results

are sent from TA to TE, return

+CLIP:<number>,<type>[,<subaddr>,<satype>[,[<alpha>][,<CLI validity>]]].

When normally receiving audio service, use the command result. The result

depends on the manufacturer.

Format AT+CLIP=[<n>] Returned format

+CLIP: <n>,<m>

AYSN prompt format

+CLIP:<number>,<type>[,<subaddr>,<satype>[,[<alpha>][,<CLI validity>]]]

AT+CLIP=1

Enable +CLIP

OK

RING: incoming call

+CLIP: ”1001”,129

Example

AT+CLIP=0

Turn off +CLIP

OK

36

Page 38: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameters <n>

0 disabled

1 enabled

<m> display the status of CLIP service in the network

0 do not provide CLIP service

1 provide CLIP service

2 unknown(e.g.: network unavailable)

<number> type of character; format of phone number specified by <type>

<type> integral-type 8-bit address type

<subaddr> character-type subaddress specified by <satype>

<satype> integral-type 8-bit address type

<alpha> optional character-type (combining alphabet and number); display

thecorresponding option in phonebook; the command used for character set

should be the same as the command AT+CSCS for selecting TE character set.

<CLI validity>

0 valid

1 caller party disabled CLI

2 CLI can’t be used due ot the connection failure or restriction of original

network.

2.3.7 +CLIR: caller ID restriction

Description This command is used to set whether or not send the caller ID. This command

is relating to CLIR service in GSM 02.81 [3] standard. As the caller party

originates the call, use the command to enable or disable display CLI at the

called party. The check command is used to define the status of <n>, and

trigger the inspection of COLP service according to GSM 02.81 [3](given in

<m>).

Format AT+CLIR=<n>

AT+CLIR?n returned format

+CLIR: <n>,<m>

AT+CLIR?

+CLIR: 0,2

OK

Example

AT+CLIR=?

+CLIR: (0-2)

OK

37

Page 39: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameters <n> set the adjustment status of the call

0 use the prompt indication according to the status of CLIR service

1 CLIR use

2 CLIR restriction

<m> display the caller’s CLIR status in the network

0 do not provide CLIR service

1 provided CLIR service in permanent mode

2 unknown(e.g.: network unavailable)

3 provided CLIR service restricted in temporary mode

4 provided CLIR service unrestricted in temporary mode

2.3.8 +CPOL: preferred PLMN list

Description This command is used to edit the list of preferred operators in SIM card.

Execute this command to write new option in the list(EFPLMNsel). If <index> is

given but <oper> is null, then the option will be deleted. If <oper> is given but

<index> is null, <oper> will be placed in the next idle location. If only <format> is

given, the format of <oper> in check command will be modified.

Format AT+CPOL=[<index>][,<format>[,<oper>[,<GSM_AcT>,<GSM_Compact_AcT>,

<UTRAN_AcT>]]]

AT+CPOL=2,2,"46000"

Edit PLMN list

OK

AT+CPOL=2 OK

Delete 2 options in the list

AT+CPOL?

Check the current PLMN list

+CPOL: 1,2,"46001"

OK

Example

at+cpol=?

Check <index>,<format> range

+CPOL: (1-10),(0-2)

OK

Parameters <index> index No.

<format> the format of operator’s name <oper> format

<oper> display the format of operator’s name according to <format>

2.3.9 +CPLS: select preferred PLMN list

Description This command is used to select preferred PLMN list to search for PLMN

network.

Format +CPLS=<list>

AT+CPLS=1

Select preferred PLMN

OK Example

AT+CPLS?

Check

+CPLS: 0

OK

38

Page 40: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameters <list>=0 if EFPLMNsel doesn’t exist in SIM card, select PLMN according to

EFPLMNwAcT.

<list>=1 select PLMN according to EFOPLMNwAcT.

<list>=2 select PLMN according to EFHPLMNwAcT.

2.3.10 +COPN: check operatpr’s name

Description This command is used to check the name of operators supported by the

module.

Format AT+COPN returned format

+COPN: <numeric1>,<alpha1>[<CR><LF>+COPN: <numeric2>,<alpha2>[...]]

+COPN: "46000","CHINA MOBILE"

+COPN: "46001","CHN-CUGSM"

OK

Example AT+COPN

+CME ERROR: <err>

Parameters <numericx> character type; number-format operator (please refer to +COPS)

<alphax> character type; long character string format operator(alphanumeric

format)(please refer to +COPS)

2.3.11 +CGREG: check GPRS network registration status

Description This command is used to check GPRS network registration status.

Format AT+CGREG=<n>

AT+CGREG? Returned format

+CGREG: <n>,<stat>[,<lac>,<ci>]

ASYN prompt

+CGREG: <n>,<stat>[,<lac>,<ci>]

at+cgreg?

Check current registration status

+CGREG: 0,2

OK

at+cgreg=2

OK

at+cgreg?

+CGREG: 2,1, 250040, 7C48

OK

Example

ASYN prompt status +CGREG: 2,1, 250040, 7C48

39

Page 41: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameters <n>=0 disabled

<n>=1 enabled, format: +CGREG: <stat>.

<n>=2 enabled, format: +CGREG: <stat>[,<lac>,<ci>].

<stat>

0: Not logged on the network yet, currently no network searching

1: Already logged on the local network.

2: Not logged on the network, currently searching for network

3: Registration rejected

4: Current status unknown

5: Already logged on the network, under roaming status

2.3.12 +FCLASS: select mode

Description This command is used to select mode.

Format AT+FCLASS=<n>

AT+FCLASS=1

Set fax mode

OK

Example AT+FCLASS?

Check mode

0

OK

Parameters <n>=0 data mode

<n>=1 class 1 fax mode

2.3.13 +CBST: select bear service type –do not test now

Description The set command is used to select the bear service <name> and <ce> with

<speed> (please refer to GSM 02.02 [1]). As the mobile terminal terminates the

data call, especially at single code, use the following value. For details, please

refer to AT+CSNS.

The test command is used to return the compound value supported by TA.

Format +CBST=[<speed>[,<name>[,<ce>]]]

AT+CBST=7,1,1

configure bear service type

OK

AT+CBST?

check the current bear service

type

+CBST: 0,0,1

OK

Example

AT+CBST=?

Check the parameters supported

by CBST

+CBST:

(0,7,12,14,16,17,39,43,48,51,71,75,80,81,

83,84,116,134),(0,1,4),(0,1)

OK

40

Page 42: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameters <speed> the corresponding speed of index

0 auto baud rate

7 9600 bps (V.32)

12 9600 bps (V.34)

14 14400 bps (V.34)

16 28800 bps (V.34)

17 33600 bps (V.34)

39 9600 bps (V.120)

43 14400 bps (V.120)

48 28800 bps (V.120)

51 56000 bps (V.120)

71 9600 bps (V.110 or X.31 mark filling)

75 14400 bps (V.110 or X.31 mark filling)

80 28800 bps (V.110 or X.31 mark filling)

81 38400 bps (V.110 or X.31 mark filling)

83 56000 bps (V.110 or X.31 mark filling)

84 64000 bps (X.31 mark filling)

116 64000 bps (bit transparent)

134 64000 bps (multimedia)

<name> name of bear service type

0 ASYN data circuit(UDI or 3.1 kHz的Modem)

1 SYNC data circuit(UDI or 3.1 kHz的Modem)

4 data circuit asynchronous (RDI)

<ce>

0 transparent transmission

1 non- transparent transmission

2.3.14 +CCUG: close user group-do not test now

Description Use this command to control CUG(Closed User Group)(refer to GSM 02.85 [21]

for details). Use set command to select CUG index, Outgoing Access and CUG.

Format +CCUG=[<n>[,<index>[,<info>]]]

AT+CCUG=0,1,1

OK Example

AT+CUUG?

+CCUG: 0,0,0

OK

41

Page 43: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameters <n>

0 disable CUG service under temporary mode

1 enable CUG service under temporary mode

<index>

0~9 CUG index

10 no index(take user data for CUG)

<info>

0 no info

1 OA

2 CUG

3 OA and CUG

2.3.15 +CUSD: USSD service (not required to realize now)

Description This command is used to control USSD(Unstuctured Supplementary Service

Data)according to GSM 02.90 [23]. The command supports operations

triggered by network and motion. <n> is used to enable or disable non-request

result code. +CUSD: <m>[,<str>,<dcs>] displayed on TE. As <str> is specified,

USSD character string triggered by motion or returned result USSD triggered

by network shall be sent to the network. Through non-request result code

+CUSD, return the result USSD character string at network side.

Format +CUSD=[<n>[,<str>[,<dcs>]]]

Prompt upon USSD

+CUSD: <m>[,<str>,<dcs>]

AT+CUSD=1

Prompt for USSD enabled

Example

Prompt for USSD ASYN +CUSD: 0

Parameters <n>:

0 Prompt OFF

1 Prompt enabled

2 Cancel conversation

<str>:USSD string

<dcs>:string format

<m>

0 Don’t need users to operate (no information required after USSD notice sent

by network or operation triggered by motion)

1 Need user to operate (information still required after USSD request sent by

network or operation triggered by motion)

2 USSD terminated by network

42

Page 44: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.3.16 +CAOC: charging information-do not test now

Description This command is relating to charging notice supplementary service in GSM

02.24 [26] and GSM 02.86 [27]. The subscribers could know some information

about the call charges through this command.

Format AT+CAOC[=<mode>]

AT+CAOC=0 to check, returned format

+CAOC: <ccm>

AT+CAOC=0 check CCM value

+CAOC: "000000"

OK

AT+CAOC=1 turn on CCM value

OK

Example

AT+CAOC=2 turn off CCM value OK

Parameters <mode>

0 check CCM value.

1 ASYN prompt to turn off CCM value

2 ASYN prompt to turn on CCM value

<ccm>

Character type: three bytes of current call meter (hexadecimal format, e.g., the

corresponding decimal number of “00001E” shall be 30); adopt the currency

unit of local country, Max. ACM for coding of byte in SIM card.

2.3.17 +CSSN: supplementary service notice

Description This command is used for notice sent from the network regarding

supplementary service. Control the display of +CSSI and +CSSU. As n>=1, and

as the mobile terminal receives the supplementary service during call

origination, the middle result code +CSSI: <code1>[,<index>] will be sent to TE.

As <m>=1, and as the mobile terminal receives the supplementary service

during call termination, or receives call forwarding calibration notice, the

non-request result code +CSSU:<code2>

[,<index>[,<number>,<type>[,<subaddr>,<satype>]]] will be sent to TE.

Format AT+CSSN=[<n>[,<m>]] set command

CSSI ASYN prompt

+CSSI: <code1>[<index>]

CSSU ASYN prompt

+CSSU:<code2> [,<index>[,<number>,<type>[,<subaddr>,<satype>]]]

Example AT+CSSN=1,1

Enable outgoing call prompt

43

Page 45: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Call waiting prompt

+CSSI: 3

AT+CSSN=1,1 Enable incoming call prompt

Call forwarding before incoming call,

+CSSN: 0

Parameters <n>

0 disable +CSSI display

1 enable +CSSI display

<m>

0 disable +CSSU display

1 enable +CSSU display

<code1>

0 call forwarding unconditional

1 call forwarding activated

2 call forwarded

3 call waiting

4 current call is CUG call(<index> exists)

5 outgoing call barred

6 incoming call barred

7 CLIR rejected

8 call diverted

<code2>

0 forwarding the call currently

1 current CUG call

2 call held

3 call searched (during a voice call)

4 enter conference call

5 release call (do not belong to SS notice)(during a voice call)

6 receive calibration SS message (any time)

7 during the process of call forwarding (voice call), establish the call with the

remote end under ringer status.

8 during the process of call forwarding (voice call or MT call connected, and the

number and subaddress parameters must exist), established the call with the

remote end.

9 currently diverted call(MT call connected)

10 sdditional incoming call forwarded

Please refer to descriptions of +CLIP for other parameters.

44

Page 46: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.4 Module Control Commands

2.4.1 +CPAS: check the status of mobile device

Description This command is used to check the mobile device’s work status.

Format AT+CPAS

Example Check the mobile device’s work status

AT+CPAS

+CPAS:<pas>

OK

check the status supported by the device

AT+CPAS=?

+CPAS:(list of supported <pas>s)

OK

Parameters <pas> 0 Ready

Unknown status

Incoming call

In a call or call held

2.4.2 +CFUN: set module’s function

Description This command is used to set the module’s function.

Format AT+CFUN=<fun>,<rst>

Example Set call function

AT+CFUN=<fun>,<rst>

OK

Obtain current list of functions supported by the module.

AT+CFUN=?

+CFUN: (list of supported <fun>s), (list of supported <rst>s)

OK

Check the current module’s function

AT+CFUN?

+CFUN: <fun>,<rst>

OK

parameters <fun> 0 Minor function

1 Full function (default)

2 Only disable RF Tx. function

3 Only disable RF Rx. function

4 Disable RF Tx. and Rx. Function

45

Page 47: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

<rst> 0 do not reset the module to make <fun> valid

1 Reset the module to make <fun> valid

2.4.3 +CPIN: input PIN code

Description This command is used to check PIN code status and input PIN code. The functions can

be used only after the correct PIN code is entered.

Format AT+CPIN=

Example Check current PIN code

No need to input new PIN code

AT+CPIN?

+CPIN:READY

OK

Check current PIN code

AT+CPIN?

+CPIN:SIM PIN

Require PIN code

AT+CPIN="****"

OK

parameters AT+CPIN?: check if what passwords need to be entered.

+CPIN: READY: don’t need to enter any password.

+CPIN: SIM PIN: need enter PIN 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 password

Pin: string value.

2.4.4 +CSQ: check signal strength

Description This command is used to check received signal strength indicator(rssi) and bit error rate

(ber)

Format AT+CSQ

Example AT+CSQ

+CSQ:<rssi>,<ber>

parameters <rssi>:

0–113dbm

1-111dbm

2..30–109..-53dbm

46

Page 48: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

31-51dbm

99: network unavailable

<ber>:

0~7: normal

99: network unavailable

2.4.5 +CCLK: clock management

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

Format AT+CCLK=<time>

Example Check current time and date

AT+CCLK?

+CCLK: "04/02/09,17:34:23+08"

Set current time and date

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

parameters String format of time: "yy/mm/dd,hh: mm: ss±zz".

±zz indicates time difference between local time and GMT. 16-bit decimal f number 66,

98 and 99, $(AT R97)$

2.4.6 +ZPWROFF: module power-off

Description This command is used to power off the module.

Format AT+ZPWROFF

Example module power-off

AT+ZPWROFF

OK

parameters

2.4.7 +CSIM: access SIM card –do not test now

Description This command is used to access SIM card.

Format AT+CSIM=<lenth>,<command>

Example AT+CSIM=<lenth>,<command>

+CSIM:<length>,<response>

parameters <lenth> <command> or <response> length

<command> send the command to SIM card

<response> response to SIM card’s command

47

Page 49: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.4.8 +CLAC: list all AT commands

Description This command is used to list all valid AT commands

Format AT +CLAC

Example AT +CLAC

<AT Command1> [<CR> <LF> <AT Command2>[…]]

parameters <AT Command1> AT command name

2.4.9 +CTZU: time zone update

Description This command is used to update auto time zone.

Format AT+CTZU=<onoff>

Example AT+CTZU=?

+CTZU: (list of supported <onoff>s)

AT+CTZU?

+CTZU: <onoff>

OK

AT+CTZU=<onoff>

OK

parameters <onoff> 0 auto time zone update disabled

1 full auto time zone update

2.4.10 +CTZR: time zone report

Description This command is used for time zone report

Format AT+CTZR=<onoff>

Example AT+CTZR=?

+CTZR: (list of supported <onoff>s)

OK

AT+CTZR?

+CTZR: <onoff>

OK

AT+CTZR=<onoff>

OK

parameters <onoff> 0 disable time zone event report

1 enable time zone event report

48

Page 50: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.4.11 +CLVL: speak volume

Description This command is used to set the volume level of the speaker.

Format AT+CLVL=<level>

Example AT+CLVL=5

OK

AT+CLVL?

+CLVL:5

parameters <level> range: 0~7, the smaller the number is, the lower the volume is. After the call is

ended, the value will return to the default value 4.

2.4.12 +ECHO: echo remove

Description This command is used to remove the echo.

Format AT+ECHO=num

Example AT+ECHO?

+ECHO:1

OK

AT+ECHO=0

OK

parameters Num: default value 1.

1: set echo remove function

0: cancel echo remove function

2.4.13 +SIDET: set side tone

Description This specific command is used to set the level of audio feedback in the speaker. It’s

earier to use this command to debug audio circuit.

The module has 2 audio pathes: 1 path for earpiece, 1 path for speaker and

microphone. Select suitable path before setting. Please refer to +SPEAKER

command for details.

Format AT+SIDET=<val1>,<val2>

Example AT+SIDET=1,0

OK

AT+SIDET?

+SIDET:1,0

OK

parameters <val1>:

0: OFF

49

Page 51: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

1: ON

<val2> : (volume)

0: No

1: small (default)

2: medium

3: large

2.4.14 +CMEE: mobile equipment errors

Description This command is used to select the returned code format of error report.

Format AT+CMEE=<error reporting flag>

Example AT+CMEE=0

OK

parameters <error reporting flag>

0 Return ERROR only

1 Return ERROR code

2.4.15 +IFC: DTE-DCE flow control –do not test now

Description This command is used to set the flow control between the module and the subscriber.

Format AT+IFC=<n1>,<n2>

Example AT+IFC=0,0

OK

AT+IFC=?

+IFC: (0-3),(0-2)

OK

parameters <n1>:

0: No (support)

1: XON/XOFF control, remove XON/XOFF from the data flow.

2: Hardware flow control.

3: XON/XOFF control, do not remove XON/XOFF from the data flow.

<n2>:

0: No

1: XON/XOFF control, remove XON/XOFF from the data flow.

2: Hardware flow control.

2.4.16 &D: set DTR signal –do not test now

Description This command is used to set DTR signal.

Format AT&D

50

Page 52: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Example AT&D0

OK

AT&D1

OK

AT&D2

OK

parameters AT&D0: omit DTR signal

AT&D1: as the sigale of 108/2 circuit turns OFF, enter on-line command state.

AT&D2: as the sigale of 108/2 circuit turns ON, enter command state.

2.4.17 &C: set DCD signal –do not test now

Description This command is used to set DCD signal.

Format AT&C

Example AT&C0

OK

AT&C1

OK

AT&C2

OK

parameters AT&C0: always enabled

AT&C1: data transmission enabled

AT&C2: disabled only at 1s after data call, enabled all other time.

2.4.18 +IPR: set module’s baud rate

Description This command is used to set the module’s baud rate.

Format AT+IPR=<baud rate>

Example AT+IPR?

+IPR: 9600

OK

AT+IPR=?

+IPR: (),(300,600,1200,2400,4800,9600,19200,38400,57600,115200,230400)

OK

AT+IPR=38400

OK

parameters <baud rate>: baud rate

51

Page 53: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.4.19 &F: restore factory settings

Description This command is used to restore factory settings.

Format AT&F

Example AT&F

OK

parameters

2.4.20 &W: save defined parameter settings

Description This command is used to save current parameter settings. After the execution of this

command, the module will save the defined parameters in RAM into FLASH.

Format AT&W

Example AT&W

OK

parameters

2.4.21 WS46: select wireless network

Description This command is used to select wireless network.

Format AT+WS46=<n>

Example AT+WS46=<n>

OK

AT+WS46?

<n>

AT+WS46=?

(list of supported <n>s)

parameters <n>:

12 GSM digital cellular

52

Page 54: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.5 SMS Commands

2.5.1 +CMGD: delete message

Description Execute this command to delete the message located at <index> in preferred

<mem1>. If the command contains the parameter <delflag> (set as other value

except 0), ME shall omit the parameter <Index> and focus on the parameter

<delflag>. If the deletion fails, return +CMS ERROR: <err>. Please refer to the failed

result code attachment for the value of <err>.

Format +CMGD=<index>[,<delflag>] +CMS ERROR: <err>

AT+CMGD=?

+CMGD: (),(0-4)

OK

Check the range of parameters

List supported <index> No., list

supported <delflag>(0-4)

AT+CMGD=3

OK

Delete message 3

AT+CMGD=,1

OK

Delete all read message

AT+CMGD=,2 OK Delete all read and sent messages

AT+CMGD=,3

OK

Delete all read, sent and unsent

messages

AT+CMGD=,4

OK

Delete all messages

Example

<Index>: Index No. of saved messages

<DelFalg>: delete flag, 0-4; delete the

composite information as below:

0: can be omitted, delete the message

specified by <Index>

1:delete all read messages

2:delete all read and sent messages

3:delete all read, sent and unsent messages

4:delete all messages

Parameters

2.5.2 +CMGF: message format

Description This command is used to inform the code format used for input/output. <mode>

represents the message format (result code for send/list/read/write command and

receive message). It could either be PDU mode (all TP data unit) or TEXT mode. In

TA-TE interface, TEXT mode uses the parameter <chset> to inform the message

body which character set is used.

The test command is used to return reported mode as the composite value.

53

Page 55: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Format +CMGF=[<mode>]

AT+CMGF?

+CMGF: 0

OK

Check the current mode

PDU mode

AT+CMGF=?

+CMGF: (0-1)

OK

Check the range of modes

supported

(0-1)

Example

AT+CMGF=0

OK

Set as PDU mode

Parameters <mode>:

0:PDU mode (default)

1:TEXT mode

2.5.3 +CMGL: message list

Description Execute this command to return the value <stat> of preferred message <mem1> to

TE. In PDU mode, return the input whole data unit.

In TEXT mode, use +CSDH command to see the parameter.

If the message’ status is “received unread”, the status in memory will be changed as

“received read”.

If the list fails, return the result code +CMS ERROR: <err>. See the attachment

ofmessage service fail result code <err>.

Test command supports the list of all status value.

54

Page 56: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Format +CMGL[=<stat>] In TEXT mode, executing command succeeded.

Send message(SMS-SUBMIT)and/or receive

message(SMS-DELIVER):

+CMGL:<index>,<stat>,<oa/da>,[<alpha>],[<sct

s>][,<tooa/toda>,<length>]<CR><LF><data>[<C

R><LF>

+CMGL:<index>,<stat>,<da/oa>,[<alpha>],[<sct

s>][,<tooa/toda>,<length>]<CR><LF><data>[...]

]

In TEXT mode, executing command succeeded,

message status report

(SMS-STATUS-REPORT):

+CMGL:<index>,<stat>,<fo>,<mr>,[<ra>],[<tora

>],<scts>,<dt>,<st>[<CR><LF>

+CMGL:<index>,<stat>,<fo>,<mr>,[<ra>],[<tora

>],<scts>,<dt>,<st>

[...]]

In TEXT mode, executing command succeeded,

message command(SMS-COMMAND):

+CMGL:<index>,<stat>,<fo>,<ct>[<CR><LF>

+CMGL:<index>,<stat>,<fo>,<ct>[...]]

In TEXT mode, executing command succeeded,

CBM memeory:

+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<p

ages><CR><LF><data>[<CR><LF>

+CMGL:<index>,<stat>,<sn>,<mid>,<page>,<p

ages><CR><LF><data>[...]]

In PDUmode, executing command succeeded,:

+CMGL:<index>,<stat>,[<alpha>],<length><CR

><LF><pdu>[<CR><LF>

+CMGL:<index>,<stat>,[<alpha>],<length><CR

><LF><pdu>[...]]

Otherwise:

+CMS ERROR: <err>

Example AT+CMGF=0

OK

AT+CMGL=?

+cmgl: (0-4)

OK

Set as PDU mode

check the supported list range

55

Page 57: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+CMGF=1

OK

AT+CMGL=?

+cmgl: ("REC UNREAD","REC

READ","STO UNSENT","STO

SENT","ALL")

OK

Set as TEXT mode

check the supported list range

AT+CMGF=1

AT+CMGL="all"

+CMGL:1,"REC

READ","130********","",

abcdefg

+CMGL:2,"REC

READ","131********","",

abcdef

+CMGL:3,"STO

SENT","1331********",""

opqrxt

OK

AT+CMGD=2

OK

check the supported list range

List all messages

Delete the second message

AT+CMGF=0

AT+CMGL=4

+CMGL: 1,3,,21

0891683108705505F0010F0B8

13

120882624F700

0808738B54084F1F5927

+CMGL: 2,3,,21

0891683108705505F001100B8

13

120882624F700

0808738B54084F1F5927

+CMGL: 3,3,,21

0891683108705505F001110B8

131

20882624F700

0808738B54084F1F5927

OK

AT+CMGD=1

OK

Set as PDU mode

List all messages

Delete the first message

56

Page 58: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

TEXT mode(+CMGF=1)

<stat>:

REC UNREAD: receive unread message

REC READ: receive read message

STO UNSENT: store unsent message

STO SENT: store sent message

ALL: all messages

<index>: message index.

<data>: message text.

<alpha>: character string type alphanumeric, respresenting <da > or <oa> of the

corresponding entrance address in MT phonebook. The feature is realized by the

manufacturer. The character set is selected through the command +CSCS (see the

definitions in 3GPP TS 27.007[9])

<scts>:TP-service center (time character string format) (see <dt>)

<tooa>:TP-source address, 8-bit integral type (see <toda> for the default value)

<toda>: TP-target address, 8-bit integral type (as the first character of <da> is +

(IRA 43) , the default value is 145, otherwise it shall be 129)

<length>: integral type value, representing the length of message body <data> or

<cdata>; or in PDU mode (+CMGF=0), the length of the actual TP data unit in octets

(i.e. the RP layer SMSC address octets are not counted in the length)

<fo>: depends on the command or result code: SMS-DELIVER, SMS-SUBMIT

(default 17), SMS-STATUS-REPORT or SMS-COMMAND (default 2) the first 8-bit

number of integral type.

<mr>:TP-info parameter (integral type)

<ra>:TP-Rx address (character string),BCD code (or GSM 7 bit defalut alphabet)

converted to current TE selected character set (see 3GPP TS 27.007 [9] command

+CSCS ), address type specified by <tora>.

<tora>:TP-receive address, composed of 8-bit integral format (refer to <toda> for

default settings)

<dt>: TP-release time is time character string format: “yy/MM/dd,hh:mm:sszz”.

The characters represent year (two number), month, day, hour, minute, second and

time zone. For example: 6th of May 1994, 22:10:00 GMT+2 hours can be expressed

as: "94/05/06,22:10:00+08"

<st>:TP status, integral type format.

<ct>:TP-command type, integral format (default 0)

<sn>:CBM Serial Number,integral type format

<mid>:CBM information identification mark, integral type format

<page>:CBM paging parameter, bits 4-7 as integral type

<pages>:CBM paging parameter, bits 0-3 as integral type

Parameters

PDU mode (+CMGF=0)

<stat>:

0: received unread message

1: received read message

2: saved unsent message

3: saved unsent message

4: All messages

57

Page 59: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

<index>:message index

<length>:TPDU 8-bit length (SMSC address is not included)

<pdu>:PDU binary system

2.5.4 +CMGR: read messages

Description Execute this command to return <index> message in preferred message <mem1>

to TE, and return the message status and data unit <pdu>. If the message’ status is

“received unread”, the status in memory will be changed as “received read”. If

reading message fails, return the result code +CMS ERROR: <err>. See the fail ure

result code <err>.

+CMGR=<index>,<mode> PDU mode (+CMGF=0) execute the command

successfully

+CMGR:<stat>,[<alpha>],<length><CR><LF><pdu>

Otherwise:

+CMS ERROR: <err>

Format

AT+CMGR=<index> TEXT mode (+CMGF=1) execute the command

successfully:

Receive the message(SMS-DELIVER):

+CMGR:<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,

<pid>,<dcs>,<sca>,<tosca>,<length>]<CR><LF><d

ata>

Send the message(SMS-SUBMIT):

+CMGR:<stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<

dcs>,[<vp>],<sca>,<tosca>,<length>]<CR><LF><da

ta>

Message status report

(SMS-STATUS-REPORT):

+CMGR:<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt

>,<st>

Message command(SMS-COMMAND):

+CMGR:<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<tod

a>],<length><CR><LF><cdata>]

Cell broadcast message(CBM storage):

+CMGR:<stat>,<sn>,<mid>,<dcs>,<page>,<pages>

<CR><LF><data>

Otherwise:

+CMS ERROR:<err>

58

Page 60: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+CMGF=0

OK

AT+CMGR=1,0

+CMGR: 1,,127

0891683108705505F00408

A1705581

060008701091905564236E

5C0A656C

76845BA26237FF0C60A85

DF27ECF62

10529F5F00901A4E860031

00300030

5143004700500052005359

5799104F

1860E04E1A52A1FF0C4E

CE00320030

003000375E740030003267

08003000

3165E55F0059CB751F654

830028C22

8C22FF016DF1573379FB5

2A8

516C53F8

Set PUD format

Read the first message in PDU format

Example

AT+CMGF=1

OK

AT+CMGR=1

+CMGR:"REC

UNREAD","133********",,

"04/02/25,12 :58 :04+04"

ABCD

OK

+CMTI:

“MT”:1

Receive new message, store at location 1

Set TEXT format

Read the first message in TEXT format

Parameters PDU mode

Mode:

0:change unread

1:unchange unread

pdu>:ME/TA hexadecimal format value

<alpha>:the name of corresponding <da> or <oa> on the terminal.

<stat>:the message status in memory.

<lenth>:TPDU bytes.

<stat>:

0:“REC UNREAD” received unread message

1: “REC READ” received read message.

2: “STO UNSENT” saved unread message

3: “STO SENT” saved read message

59

Page 61: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

TEXT mode

<alpha>:the name of corresponding <da> or <oa> on the terminal.

<stat>:the message status in memory.

<oa>:message original number string

<da>:message target string

<scts>:message service center time string

<lenth>: length of message body <data>

<stat>:

0:“REC UNREAD” received unread message.

1:“REC READ” received read message.

2:“STO UNSENT” saved unread message.

3:“STO SENT” saved read message

2.5.5 +CMGS: send message

Description This command is used to send the message from the terminal to the network.

Return the parameter to the terminal after the message is sent.

TEXT MODE (+CMGF=1):

+CMGS=<da>[,<toda>]<CR>

TEXT<ctrl-Z/ESC>

TEXT MODE

(+CMGF=1) sent

successfully:

+CMGS:

<mr>[,<scts>]

sent unsuccessfully:

+CMS ERROR:

<err>

Format

PDU MODE (+CMGF=0)

AT+CMGS=<length><CR>

<pdu><Ctrl-Z/ESC>

PDU MODE

(+CMGF=0) a sent

successfully:

+CMGS:

<mr>[,<ackpdu>]

sent unsuccessfully:

+CMS ERROR:

<err>

Example AT+CMGF=1

OK

AT+CMGS="13316538879"<CR>

“test”<ctrl-Z>

+CMGS: 19

OK

Set as TEXT mode

Send “test” to

13316538879

60

Page 62: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+CMGF=0

OK

AT+CMGS=19<CR>

0031000D91683120882624F70000A704D4F29C0E<Ctrl-Z>

+CMGS: 20

OK

Set as PDU mode

Send “test” to

13028862427

TEXT MODE

<da>:the target number

<data>: message text

<mr>: message parameter

<scts>:service center time string, optional (+CSMS<service>=1, network support)

return <scts>.

Parameters

PDU MODE

<length>:the length of TPDU under PDU mode

<mr>: message parameter

<ackpdu>:optional (+CSMS<service>=1, network support)return <ackpdu>.

2.5.6 +CMGW: write message to memory

Description Execute this command to save a message to <mem2>, and return <index>.

The default message status is set as “stored unsent”, but there are other status

value allowed for <stat> (ME/TA manufacturer could select different <stat> value

based on different message types. Input PDU just as +CMGS.

If writing message fails, return the result code +CMS ERROR: <err>. See the

failure result code appendix.

PDU mode (+CMGF=0):

+CMGW=<length>[,<stat>]<CR>PD

U <ctrl-Z/ESC>

+CMGW: <index>

+CMS ERROR: <err>

Format

TEXT mode (+CMGF=1):

+CMGW[=<oa/da>[,<tooa/toda>[,<s

tat>]]]<CR>

TEXT<ctrl-Z/ESC>

+CMGW: <index>

+CMS ERROR: <err>

Example AT+CMGF=0

OK

AT+CMGW=19

0031000D91683120882624F70000

A704D4F29C0E<ctrl-Z>

+CMGW: 0

OK

Set as PDU mode

Write message to index 0

61

Page 63: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

at+cmgf=1

OK

at+cmgw="13028862427"

> "test"

+CMGW: 1

OK

Set as TEXT mode

Write message “test” to index 1

Parameters

<oa/da>:message original number/target number

<length>:the text length

<stat>:default message status

<index>:index

2.5.7 +CMSS: send the saved message

Description This command is used to save the <index> message in <mem2>.

If a new target number <da> is designated, the new number shall replace the

number saved in the message.

After the message is sent successfully, return the parameter <mr>; as +CSMS

<service> is set as 1 and network support is allowed, select to return <ackpdu>.

If the message is unsent (due to network or ME error), return the result code

+CMS ERROR: <err>. See the failure result code appendix.

Format

+CMSS=<index>[,<da>[,<t

oda>]]

Send successfully:

+CMSS: <mr>[,<ackpdu>](PDU mode)

+CMSS: <mr>[,<scts>](TEXT mode)

Send unsuccessfully:

+CMS ERROR: <err>

Example AT+CMGF=0

OK

AT+CMGW=19

0031000D9168311386558

9F80000A704D4F29C0E

+CMGW: 2

OK

AT+CMSS=2

+CMSS: 21

Set as PDU mode

Write the message “Test”(target address

13316855988)

The message will be saved to index 2

Send the message saved in index 2

62

Page 64: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+CMGF=1

OK

AT+CMGW="1331685598

8"

> test<ctrl-Z>

+CMGW: 3

OK

AT+CMSS=3

+CMSS: 22

Set as TEXT mode

Write the message “Test”( target number

13316855988)

Save to index 3

Send the message saved in index 3

Parameters <index>:saved message index

<da>:target number

<mr>:message parameter

<ackpdu>:RP- RP-ACK PDU,the same format as <pdu>, without SC address

domain; the parameters are separated by double quotation marks just like

normal character string.

2.5.8 +CNMI: new message alert

Description Set the message alert after receiving a new message(TE in active status)

Format +CNMI=[<mode>[,<mt>[,<bm>[,<ds

>[,<bfr>]]]]]

+CMS ERROR: <err>

AT+CNMI?

+CNMI: 0,0,0,0,0

OK

+CNMI: display the current

<mode>,<mt>,<bm>,<ds>,<bfr> status

value

Example

AT+CNMI=?

+CNMI:

(0,1,2),(0,1,2,3),(0,2),(0,1,2),(0,1)

OK

+CNMI: (<mode> range), <mt>

range),(<bm> range),( <ds>

range),( <bfr> range)

AT+CNMI=0,0,0,0,0

OK

Set <mode>,<mt>,<bm>,<ds>,<bfr>

respectively as 0,0,0,0,0

AT+CNMI=1,2,0,0,0

OK

AT+CMGF=1

OK

+CMT:

"+8613316855988",,"09/09/08,15:56

:35+32"

TEST

Set as message receiving mode

Set as TEXT mode

Received a message “TEST” from

13316855988 at 15:56:35 on Sept. 8,

1990

Parameters <mode>:set the sending method after receiving the message

63

Page 65: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

COMMAND MODE

DATA MODE

Buffer

TE

ME

TA

received messages and indications

0

1

2

3

<mode> value

+CMTI, +CMT, +CBMI, +CBM, +CDSI, +CDS unsolicited result codes

0: message alert code cached in TA; if TA is full, the alert code may be saved in

other place or the oldest code might be abandoned and replaced by the latest

code.

1: when the conection of TA-TE is held (under On-line data mode), abandon the

saved message alert code and reject the new alert code; in other cases,

directly transmit the code to TE.

2: when the conection of TA-TE is held (under On-line data mode), the message

alert code is cached in the module, as the connection is released, transmit the

message alert code to TE; in other cases, directly send the code to TE.

3: Directly send the message alert code to TE. As TA is under on-line data

mode, use TA-TE to connect the result code and data.

<mt>:send(SMS-DELIVER)the result code.(the regulation for saving receiving

messages is determined by its data code rules (see 3GPP TS 23.038). see table

1 (3GPP TS 27.005) for the setting of preferred memory(+CPMS)and <mt>

value.

Note: if there is only one display device for AT command interface, ME must

support saving class 0 and waiting alert message (abandoned message), see

table 2 (3GPP TS 27.005)

0: no(SMS-DELIVER)alert sent to TE.

1: if(SMS-DELIVER)is saved in ME/TA, the storage location alert

Send the result code to TE: +CMTI: <mem>,<index>

2:(SMS-DELIVER), use the result code to directly send to TE;

+CMT: [<alpha>],<length><CR><LF><pdu> (PDU mode enabled)

or

+CMT:<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,

<length>]<CR><LF><data> (TEXT mode enable, italic parameters, please refer

to +CSDH display TEXT mode)

If ME has a LCD display, you could copy Class 0 message and waiting message

(abandoned message) into ME display and to TE. In this case, ME will send a

notice to the network (see table 2, 3GPP TS 27.005).

Class 0 message and waiting message (saved message) could be defined by

<mt>=1.

3: class 3(SMS DELIVER). Use the result code (defined in <mt>=2)and directly

64

Page 66: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

send to TE. The alert caused by other data code format is defined in <mt>=1.

<bm>:the regulation for saved cell broadcast message CBM is determined by its

data code format (see 3GPP TS23.038),and use +CSCB to select CBM type

and for <bm> value, please refer to 3GPP TS 27.005 table 3)

0:No CBM alert sent to TE.

1: if CBM is stored in ME/TA, use the result code to send the memory location to

TE.

+CBMI: <mem>,<index>

2: send new CBM directly to TE.

+CBM: <length><CR><LF><pdu> (PDU mode)

+CBM: <sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>

(TEXT mode)

If ME supports data coding group, ME select not to send these

data code formats to TE.

3: Class 3 CBM Use the result code (defined in <mt>=2)and directly send to TE.

If it supports CBM storage, the alert caused by other type of information is

defined in <bm>=1.

<ds>: message status report

0: no message status report sent to TE.

1:send message status report to TE:

+CDS: <length><CR><LF><pdu> (PDU mode)

+CDS: <fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st> (TEXT mode)

2:if the message status report is saved in ME/TA, send the memory location to

TE:

+CDSI:<mem>,<index>

<bfr>: define the method of cache saving result code(<mode> 1, 2 or 3).

0: as <mode> is set as 1..3, the code saved in TA will be sent to TE (return OK

pirio to transmitting the code).

1: as <mode> is set as 1..3, the code saved in TA will be erased.

2.5.9 +CPMS: preferred SMS memory

Description The setting command is used to select <mem1>, <mem2> and <mem3> to read,

write, etc. If the selected memory is not suitable for ME (but TA supports), return

the result code +CMS ERROR: <err> . See the failure result code appendix.

The testing command is used to display the memory list supported by TA.

Format +CPMS=<mem1>[,

mem2>[,<mem3>]]

+CPMS:

<used1>,<total1>,<used2>,<total2>,<us

ed3>,<total3>

+CMS ERROR: <err>

65

Page 67: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+CPMS?

+CPMS:"ME",4,23,"ME",4,23,"SM",

32,50

OK

Check the current settings: <mem1> as

ME,used 4 entries, total 23 entries;

<mem2> as ME,used 4 entries, total 23

entries; <mem3> as SM,used 32 entries,

total 50 entries.

Example

AT+CPMS=?

+CPMS:("ME","MT","SM","SR"),("M

E","MT","SM","SR"),("ME","MT","SM

","SR")

OK

List the supported <mem1>, <mem2>,

<mem3>(support ME, MT, SM and SR)

AT+CPMS="SM","ME","MT"

+CPMS: 32,50,4,23,4,23

OK

AT+CPMS?

+CPMS:

"SM",32,50,"ME",4,23,"MT",4,23

OK

Set <mem1>, <mem2>,<mem3>

respectively as SM, ME and MT;

Check the result for <mem1>, <mem2>

and <mem3>

Parameters

<mem1>:character string type; read and delete SMS memory (SMS list +CMGL,

read SMS +CMGL and delete SMS +CMGD); the defined value are as (other

defined by the manufacturer):

"BM": broadcast message

“ME”: ME storage

"MT": any storage regarding ME.

"SM":(U)SIM storage.

"TA": TA storage

"SR": status report storage.

<mem2>: character string type, see <mem1> for the defined value of memory as

reading and writing the message.

<mem3>: character string type, received message is stored in preferred

memory (unless sent to TE directly; see new message alert +CNMI); see

<mem1> for the defined value; received CBM is usually saved in "BM" (or

memory appointed by the manufacturer), unless sent to TE directly; the received

status report is usually saved in "SR" (or memory appointed by some

manufacturers),unless sent to TE directly.

<used>: used entires.

<total>: total entries of the memory.

66

Page 68: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.5.10 +CSCA: SMS center number

Description The setting command is used to update SMS center number, and MO sends it

through SMS center number. Under TEXT mode, use send and write message

command to set; under PDU mode, use the same command to set. The length

of SMSC is 0 in PDU.

Format +CSCA=<sca>[,<tosca>]

AT+CSCA?

+CSCA: "+8613800755500",145

OK

Check SMS center number

As 23800755500

Example

AT+CSCA=?

OK

Parameters <sca>:SMS center address

<tosca>: SMS center type

2.5.11 +CSCB: select cell broadcast message type –do not test now

Description The setting command is used to select the type of CBM received by ME.

The testing command is used to return the combined value of supported mode.

Format +CSCB=[<mode>[,<mids>[,<dcss>]]]

AT+CSCB?

+CSCB:0,"0,100,6,1,221,2,3,4,30,6458,13,29

420,255,19,20,5,18,11,26214,10,40,50,223,2

27,3084,24536,21807,12222,25,54,69,68,67,

66,65,64,63,62,61,60,59,57,56,55,53,52,51,2

121,9,45330,0-1275,0-3825,0-7650,0,0,0,0,0,

0-52639,200-0,0,0,0-52617,200-0,0-52631,20

0-0,0-59708,262-0,0-59708,262-59708,262-0,

0,0-7650,0-7650,0",""

OK

Check the current CBM type

<mode> =0;<mids>="0,100,6,..."

string combinations,

<dcss>=“”(null string)

Example

AT+CSCB=?

+CSCB: (0-1)

OK

List supported modes(0-1)

AT+CSCB=1

OK

AT+CSCB?

+CSCB: 1, "",""

OK

AT+CSCB=0

OK

AT+CSCB?

Set the mode as 1

Inquiry

results:<mode>=1;<mids>,<dcss

> default as“”(null string)

Set <mode> as 0

67

Page 69: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

+CSCB: 0, "0-65535",""

OK

AT+CSCB=0,"0-1","1-2"

OK

AT+CSCB?

+CSCB: 0, "0-1,0-65535","1-2"

OK

AT+CSCB=0,"2-3","3-4"

OK

AT+CSCB?

+CSCB: 0, "2-3,0-1,0-65535","3-4"

OK

AT+CSCB=0,"4-7",""

OK

AT+CSCB?

+CSCB: 0, "4-7,2-3,0-1,0-65535",""

OK

AT+CSCB=1,"5-6","1-5"

OK

AT+CSCB?

+CSCB: 1, "4-7,2-3,0-1,0-65535","1-5"

OK

Check the current settings

<mids> default value

0-65535,<dcss> default null string

Accept added setting

<mids>,update <dcss>

Accept added setting

<mids>,update <dcss>

Accept added setting

<mids>,update <dcss>

Don’t accept added setting

<mids>,update <dcss>

Parameters <mode>:

0: accept the message types defined in <mids> and <dcss>.

1:accept the message types defined in <mids> and <dcss>

<mids>:character string type. CBM’s all possible combinations for CBM ID mark

(see <mid>) (default as null string), such as “0,1,5,320-478,922”

<dcss>: character string type, all possible combinations for CBM data coding rules

(see <dcs>) (default as null string), such as “0-3,5”

2.5.12 +CSMP: set TEXT mode –do not test now

Description When selecting TEXT mode to send SMS to network or memory, this command is

used to select the value of attached parameter. When SMSC receives the

message, set the valid starting time (<vp> range: 0-255) or define absolute valid

ending time(<vp> character string). The format of <vp> is defined by <fo>. IF TA

supports EVPF (see 3GPP TS 23.040[3]), it will be hexadecimal string with double

quotation mark.(see <pdu>).

Format +CSMP=[<fo>[,<vp>[,<pid>[,<dcs>]]]]

Example AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>

68

Page 70: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

+CSMP: ,,0,0

OK

AT+CSMP=?

OK

<fo>: rely on the command or result code: the first 8-bit(3GPP TS 23.040

[3] )SMS-DELIVER, SMS-SUBMIT(default 17), SMS-STATUS-REPORT, or

SMS-COMMAND(default 2)integral type format

<vp>: rely on SMS-SUBMIT <fo> setting: 3GPP TS 23.040 [3] TP-Validity-Period

can be integral type format (default 167), time character string format (see <dt>)or

enhanced type format (support EVPF)(16 hexadecimal character string with

double quotation mark).

<pid>:3GPP TS 23.040 [3] TP-Protocol-Identifier integral type format(default 0)

<dcs>: rely on command or result code: 3GPP TS 23.038 [2] SMS data coding

regulation (default 0), CBM coding regulation (integral type format)

2.5.13 +CSMS: select SMS service –do not test now

Description The setting command is used to select SMS <service>. Return the message

type supported by ME: <mt> MT message, <mo> MO message, <bm>

broadcast message.

If ME doesn’t support selected service (but TA supports), return +CMS ERROR:

<err>. See the failure result code appendix.

The read command is used to return the message type.

The test command is used to return the list of all services supported by TA.

Format +CSMS=<service> +CSMS: <mt>,<mo>,<bm>

+CMS ERROR: <err>

AT+CSMS?

+CSMS: 0,1,1,1

OK

Check the current settings

AT+CSMS=?

+CSMS: (0-1)

OK

list all services supported(0-1)

Example

AT+CSMS=0

+CSMS: 1,1,1

OK

Set the service as 0

Parameters <service>:

0: 3GPP TS 23.040 [3] and 3GPP TS 23.041 [4]

1: 3GPP TS 23.040 [3] and 3GPP TS 23.041 [4] description of corresponding

command, set as 1

2-127: reserve

128…: definition of device manufacturer

<mt>, <mo>, <bm>:

0:does not support the type

69

Page 71: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

1:support the type

2.5.14 +CNMA: new message acknowledgement (to ME/TA)

Description Execute the command to acknowledge the receipt of new message sent to TE

(SMS-DELIVER or SMS-STATUS-REPORT). As +CSMS <service> is 1, it

acknowledges that the command (Cause ME to send RP-ACK to the network)

will be used.

Under PDU mode, send positive (RP-ACK)or negative(RP-ERROR) to the

network. The parameter <n> will define which one will be sent. Select (as

<length> is larger than 0) to send TPDU (RP-ACK or RP-ERROR

SMS-DELIVER-REPORT) to the network. The command to input PDU is the

same as the command to send message +CMGS(<ackpdu> format will be used

to replace <pdu>(no SMSC address)). PDU is not limited by double quotation

mark.

Before the previous is acknowledged, TA shall not send another +CMT or +CDS

result code to TE. If ME doesn’t get the acknowledgement within the specified

period of time (network timeout), ME shall send the answer to the network

according to definitions in 3GPP TS 24.011 [6]. If <mt> and <ds> +CNMI are

both set as 0, ME/TA shall auto shield the function of sending to TE.

If there is no expected acknowledgement or some error regarding ME occurs

after the command is executed, return the result code +CMS ERROR: <err>.

See the failure result code appendix.

TEXT MODE (+CMGF=1):

+CNMA

PDU MODE (+CMGF=0):

+CNMA[=<n>[,<length>[<CR>

PDU is given<ctrl-Z/ESC>]]]

+CMS ERROR: <err> Format

AT+CNMA=?

+CNMA: (0-2)

Check the supported range

OK

List the supported range(0-2)

Example NOTE: in case that the directly sent messages must be cached into ME/TA (as

+CNMI parameter <mode> is 0 or 2), ther result code can’t be sent to TE (if user

uses +CMGS to input the message), (RP-ACK) must be sent to the network

(don’t wait for +CNMA command from TE). Later, as the cache result code is

sent to TE, TE must send +CNMA (PDU mode =+CNMA [=0]) for every result

code. Based on this, ME/TA can decide whether the information should be

saved to Non-volatile memory and whether the shielding should be sent to TE

(can’t receive +CNMA (PDU mode =+CNMA [=0])). For details on the use of

<mode> parameters, please refer to +CNMI command.

The teset command is used to return the supported <n> list. If it only supports 0,

70

Page 72: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

the device shall not support sending TPDU.

<n>:

0:command operation similar to TEXT mode

1:send RP-ACK (or result code received by cache memory)

2:send RP-ERROR (If there is no PDU, ME/TA shall send

SMS-DELIVER-REPORT (3GPP TS 23.040 [3] TP-FCS value is set as

“FF”(undefined cause)))

2.5.15 +CMMS: send multiple messages –not validated temporarily

Description The setting command is used to control the consistency of message trunking

protocol. As the feature is activated (network support), and the connection is

held, multiple messages could be able to send more quickly.

The testing command is used to return the supported combined value.

Format +CMMS=[<n>]

AT+CMMS?

+CMMS: 0

OK

Check the current parameter settings

AT+CMMS=1

OK

AT+CMMS?

Example

Set <n> as 1

+CMMS: 1

OK

AT+CMMS=?

+CMMS: (0-2)

OK

Check the supported parameter range

Display the supported parameter range

list(0-2)

Parameters <n>:

0:shield

1:keep activated until the interval between answering of the send

command(+CMGS, +CMSS) for last message and sending the next command

exceeds 1-5 seconds(the accurate value depends on ME),and then ME will

turn off the connection, TA will not atuo switch <n> to 0.

2: keep activated until the interval between answering of the send command

(+CMGS, +CMSS) for last message and sending the next command exceeds

1-5 seconds (the accurate value depends on ME).

2.5.16 +CGSMS: select MO SMS service

Description The command is used to appoint MT to send MO SMS service or preferred

service.

Format +CGSMS= [<service>] OK

ERROR

71

Page 73: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

AT+CGSMS=1

OK

Set as circuit exchange

AT+CGSMS?

+CGSMS: 1

OK

Check the current settings

Example

AT+CGSMS=?

+CGSMS: (0-3)

OK

List the parameter range(0-3)

Parameters <service>:number parameter (indicates the used service or preferred service)

0:data domain

1:circuit exchange

2:data domain preferred (if GPRS is unavailable, adopt circuit exchange)

3:Circuit exchange preferred (if the circuit exchange is unavailable, adopt data

domain)

Other: reserve, return ERROR response

2.5.17 +CMT: direct display received messages

Description This indicates one message has been received and directly displayed according

to information storage parameter +CNMI.

OK Format +CMT:<oa>, [<alpha>],<scts>

[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<le

ngth>]<CR><LF><data> (TEXT mode,see

TEXT mode parameter +CSDH for italic

parameters

+CMT:<alpha>],<length><CR><LF><pdu>

(PDU MODE)

ERROR

Example AT+CNMI=1,2,0,0,0

OK

AT+CMGF=1

OK

+CMT:

"+8613316855988",,"09/09/08,15:56:35+32"

TEST

Set as SMS receiving mode

Set as TEXT mode

Received a message “TEST”

from 13316855988 at 15:56:35

on Sept. 8, 1990

Parameters <oa>:send information address

<scts>:service center time zone (string format), format: “yy/MM/dd, hh: mm:

ss±zz”

(Year/Month/Day,Hour:Min:Seconds±TimeZone)

<tooa> : the type of <oa> address

<length>: the length of <data> domain

<data>: message data

72

Page 74: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.5.18 +CMTI: received messages saved in memory

Description This indicates the message has been received and will be saved into the

memory according to the information storage parameter in (+CNMI).

Format +CMTI:<mem>,<index> OK

ERROR

Example AT+CNMI=1,1,0,0,0

OK

AT+CMGF=1

OK

+CMTI: "SR",32

Set as message receiving and storaging

mode

Set as TEXT mode

Received messages will be saved in

“SR” 32 entries

Parameters <mem>:NVRAM storage area(usually, the response is “MT”)

<index>:information saving location

2.5.19 +ZMGF: messages full

Description The information indicates the message center is trying to send a message to the module

but was rejected because the message memory is full. Need use AT+CMGD command to

delete some messages.

Format +ZMGF:n

Example +ZMGF Indicates there is new message, but rejected.

n: indicating the message memory is full.

1:WMS_MEMORY_STORE_RAM_GW

2:WMS_MEMORY_STORE_SIM parameters

3:WMS_MEMORY_STORE_NV_GW

1 and 3 could be viewed as mobile phone, and 2 could be viewed as module.

2.5.20 +CSDH: display text mode

Description The command is used to control whether to display the detailed header value in TEXT

mode result code.

Format +CSDH=[<show>]

Example AT+CSDH=0

OK

AT+CSDH?

+CSDH: 0

OK

AT+CSDH=?

+CSDH: (0-1)

Set the parameter as 0

Check the current parameters

List the range of parameters

73

Page 75: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

OK

parameters

<show>:

0: do not display header values when sending (SMS-SUBMITs) and receiving

(SMS-DELIVERs)under TEXT mode(+CSCA and +CSMP (<sca>, <tosca>, <fo>, <vp>,

<pid> and <dcs>) have no <length>, <toda> or <tooa> in +CMT, +CMGL, +CMGR result

code); in +CMGR(read message)result code, do not display <pid>, <mn>, <da>, <toda>,

<length> or <cdata>

1: display the value in result code

Test procedure: when setting as 0, display <pid unknown>, <mn unknown>, <da SMS

center number>, <toda number status 145 or 129>, <length message text length>

When setting as 1, display 161,36,34,0, "+8613010200500 SMS center number",145

number type, 160(message text) in the message header

NREAD","13794462857",,"10/11/04,16:10:51+32",161,36,34,0,"+8613010200500",145,2

be

74

Page 76: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.6 Phonebook Commands

2.6.1 +CPBS: select phonebook memory

Description Select phonebook memory

Format AT+CPBS=<STORAGE>

Example AT+CPBS=<STORAGE>

OK

AT+CPBS?

+CPBS:<STORAGE>[,<USED>,<

TOTAL>]

parameters <STORAGE>

“SM” SIM card phonebook

“DC” Dial calls phonebook

“FD”Fixed dial phonebook

“LD” Last dial phonebook

“MC” Missed calls phonebook

“ME” Module memory phonebook

“RC” Received call phonebook

“EN” Emergency number phonebook

“ON” List of MSISDN in SIM card( or ME)(or use +CNUM command to read the

information in the memory)

2.6.2 +CPBR: phonebook read

Description Read the phonebook entries

Format AT+CPBR=<INDEX1> [,<INDEX2>]

Example AT+CPBR=<INDEX1>

[,<INDEX2>]

[+CPBR:

<index1>,<number>,<type>,<text

>[[...]

<CR><LF>+CPBR:

<index2>,<number>,<type>,<text

>]]

OK

AT+CPBR=? +CPBR:(<index>

value list,

[<nlength>], [<tlength>]

OK

Read the phonebook entries from INDEX1

to INDEX2

Test command

75

Page 77: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

parameters <index1> integral type value within the number range in phonebook memory

<index2> integral type value within the number range in phonebook memory

<number>: character type; <type> format phone number

<type>: 8-bit integral number type address (refer to GSM 04.08 [8] section

10.5.4.7)

<text> <tlength> the same as the character Set specified by “Select TE

Character Set” command +CSCS;

<nlength> indicates the integral type value of max. length of <number>

<tlength> indicates the integral type value of max. length of <text>

2.6.3 +CPBF: phonebook Find

Description Search for phonebook entries.

Format AT+CPBF=<findtext >

Example AT+CPBF=<text>

[+CPBF:

<index1>,<number>,<type>,<text

>[[...]

<CR><LF>+CBPF:

<index2>,<number>,<type>,<text

>]]

OK

AT+CPBF=?

+CPBF: [<nlength>],[<tlength>]

OK

parameters <index1> integral type value within the number range in phonebook memory

<index2> integral type value within the number range in phonebook memory

<number>: character type; <type> format phone number

<type>: 8-bit integral number type address (refer to GSM 04.08 [8] section

10.5.4.7)

<text>,<findtext>: the max. length of character string of <tlength>; the same as

the character Set specified by “Select TE Character Set” command +CSCS;

<nlength> indicates the integral type value of max. length of <number>

<tlength> indicates the integral type value of max. length of <text>

76

Page 78: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.6.4 +CPBW: search for phonebook

Description Search for phonebook entries

Format AT+CPBF=<findtext >

Example AT+CPBW=[<index>][,<number>[,

<type>[,<text>]]]

OK

AT+CPBW=?

+CPBW: (<index> value

list),[<nlength>],(<type>value

list),[<tlength>]

OK

parameters <index> integral type value within the number range in phonebook memory

<number>: character type; <type> format phone number

<type>: 8-bit integral number type address (refer to GSM 04.08 [8] section

10.5.4.7)

As the dial character string contains international access code “+”, the default

valye is 145. in other cases, the default value is 129.

<text>, character type; <tlength>: the max. length of character string of

<tlength>; the same as the character Set specified by “Select TE Character

Set” command +CSCS;

<nlength> indicates the integral type value of max. length of <number>

<tlength> indicates the integral type value of max. length of <text>

77

Page 79: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.7 PACKET DOMAIN

2.7.1 +CGDCONT define PDP context

Description Use the set command to define the parameter for PDP context, which is

marked by local context mark parameter <cid>. The special form of the set

command- +CGDCONT= <cid> shall make the value of context number

<cid> undefined.

Format AT+CGDCONT=[<cid> [,<PDP_type>[,<APN>[,<PDP_addr>[,<d_comp>

[,<h_comp>]]]]]]

AT+CGDCONT=[<cid>

[,<PDP_type>

[,<APN>[,<PDP_addr>[,<d_comp>

[,<h_comp>]]]]]]

+OK

+CME ERROR: <err>

AT+CGDCONT? +CGDCONT:

<cid>,<PDP_type>,<APN>,<PDP_

addr>,<data_comp>,<head_comp

>

Example

OK

AT+CGDCONT=1,"IP","CMNET"

( ZTE USB Modem FFEB

properties→Advanced)

NOTE: APN as CMNET, PDP type

as IP

OK

parameters <cid> (1-16)number type parameter; used to designate PDP context mark.

The parameter is local parameter for TE-MT interface, and it could be

used as relevant commands of other PDP context.

<PDP_type> [“IP”] (packet data protocol type)character type

parameter;used to designate the type of packet data protocol

“IP”(Internet Protocol)(IETFSTD 5)

“PPP”

“IPV6”

<APN> - name of access point; indicates a character string parameter,

used to select GGSN or external packet data network’s logic name. If the

parameter’s value is null or omitted, need apply for the value.

<PDP_address> - character type parameter; used to mark the special

PDP context and the address space assigned by MT. If the parameter’s

value is null or omitted, then TE will provide other value during PDP’s

startup process; if it can not provide other value, need apply for the

dynamic address. Even the address was assigned during PDP’s startup

78

Page 80: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

process, the read format of the command will still return as null. Use

+CGPADDR command, read the assigned address

<d_comp>

0 OFF(if the value is omitted, the parameter will take default value)number

type parameter; used to control PDP data compression

1 ON

<h_comp>

0 OFF(if the value is omitted, the parameter will take default value)number

type parameter; used to control PDP head-compression

1 ON

2.7.2 +CGQREQ requested service quality report

Description The command allows MT to send “PDP context activation request” message to

the network, TE designates a service quality.

Use the set command to designate a report marked by context parameter

<cid>. The special form of this command +CGQREQ= <cid>,cancel the defined

<cid> service quality.

Format AT+CGQREQ=[<cid>[,<precedence >[,<delay>[,<reliability.>

[,<peak>[,<mean>]]]]]]

AT+CGQREQ=[<cid>[,<precedence

>[,<delay>[,<reliability.>

[,<peak>[,<mean>]]]]]]

+OK

+CME ERROR: <err>

AT+CGQREQ? +CGQREQ: <cid>,<precedence

>,

<delay>,<reliability>,<peak>,

<mean>

OK

Example

AT+CGDCONT=?

+CGQREQ:<PDP_type>,(<prec

edence> value list), (<delay>

value list), (<reliability> value

list) , (<peak> value list),

(<mean>

value list)

OK

Parameter Value Description

cid 1-16 Number type parameter; used to designate PDP

context mark. The parameter is local parameter for

TE-MT interface, and could be used for the

corresponding commands of other PDP context.

parameters

Precedence 0 Network customization parameters

79

Page 81: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

1 Prior to precedence level 2 and 3, make a

commitment of service with high precedence

2 Prior to precedence level 3, make a commitment of

service with normal precedence

Used to

designate the

level of

precedence

3 make a commitment of service with low

precedence

delay

used to

designate the

delay level

0-4 Network customization parameters

0 Network customization parameters

1 Can not deal with non real-time service of data loss

and error-sensitive application program

2 Can deal with non real-time service of data loss

and error-sensitive application program

3 Can deal with data loss, GMM/SM and SMS non

real-time service and error-sensitive application

program

4 Can deal with real-time service of data loss and

error-sensitive application program

reliability

used to

designate the

reliability

levels of

dealing with

the loss of

5 Can deal with real-time service of data loss and

error-sensitive application program

0 Network customization parameters peak

1 Max. 1 000 (8 kbit/s)

2 Max. 2 000 (16 kbit/s)

3 Max. 4 000 (32 kbit/s)

4 Max. 8 000 (64 kbit/s)

5 Max. 16 000 (128 kbit/s)

6 Max. 32 000 (256 kbit/s)

7 Max. 64 000 (512 kbit/s)

8 Max. 128 000 (1 024 kbit/s)

Used to

designate the

throughput

level of peak

9 Max. 256 000 (2 048 kbit/s)

0 Network customization parameters mean

1 100 (~0.22 bit/s)

2 200 (~0.44 bit/s)

3 500 (~1.11 bit/s)

4 1 000 (~2.2 bit/s)

5 2 000 (~4.4 bit/s)

6 5 000 (~11.1 bit/s)

7 10 000 (~22 bit/s)

8 20 000 (~44 bit/s)

9 50 000 (~111 bit/s)

define the

level of mean

throughput

10 100 000 (~0.22 kbit/s)

80

Page 82: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

11 200 000 (~0.44 kbit/s)

12 500 000 (~1.11 kbit/s)

13 1 000 000 (~2.2 kbit/s)

14 2 000 000 (~4.4 kbit/s)

15 5 000 000 (~11.1 kbit/s)

16 10 000 000 (~22 kbit/s)

17 20 000 000 (~44 kbit/s)

18 50 000 000 (~111 kbit/s)

31 Lowest limit

2.7.3 +CGQMIN acceptable minimum service quality report

Description The command allows TE to designate an acceptable minimum service

quality. The report is inspected by MT, used to compare with the

negotiating report returned by “PDP context activation” message. Use the

set command to designate a report marked by context parameter <cid>.

The special form of this command +CGQMIN= <cid>,cancel the defined

<cid> service quality.

Format AT+CGQMIN=[<cid>[,<precedence >[,<delay>[,<reliability.>[,<peak>

[,<mean>]]]]]]

AT+CGQMIN=[<cid>[,<precedence

>

[,<delay>[,<reliability.>[,<peak>

[,<mean>]]]]]]

+OK

+CME ERROR: <err>

AT+CGQMIN? +CGQMIN: <cid>,<precedence >,

<delay>,<reliability>,<peak>,

Example

<mean>

OK

AT+ CGQMIN =?

+CGQMIN:<PDP_type>,

(<precedence> value list),

(<delay> value list),

(<reliability> value list) ,

(<peak> value list),

(<mean> value list)

OK

parameters Please refer to the requested service quality report: AT+CGQREQ

81

Page 83: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

2.7.4 +CGATT GPRS Attach and Detach

Description The Execute command is used to attach MT to GPRS service or detach

MT from GPRS. After the command is executed successfully, MT will

keep the status of V.25ter command. If MT is under request status, omit

the command, and return OK.

When the attach status converts to detach status, it will auto activate all

PDP context.

Format AT+CGATT=[<state>]

AT+CGATT=[<state>] +OK

+CME ERROR: <err>

AT+CGATT? +CGATT: <state>

OK

Example

AT+CGATT=1

OK

AT+CGATT=0

NOTE:GPRS attach

OK

NOTE:GPRS detach

Parameter value Description

[0] Detach

parameters <state>

GPRS attach status 1 Attach

2.7.5 +CGACT PDP context activate and deactivate:

Use the execute command to activate or deactivate the designated PDP context. After the command is executed successfully, MT will keep the status of V.25ter command. If PDP context is already under request status, the status will remain unchanged. Upon the execution of the command, if MT is not attached with GPRS, MT shall firstly attach GPRS, and then activate the designated context.

Description

Format AT+CGACT=<state>[,<cid>[,<cid>[,…]]]

AT+CGACT=<state> +OK

[,<cid>[,<cid>[,…]

]]

+CME ERROR: <err>

AT+CGACT? +CGACT: <cid>,<state>

OK

Example

AT+CGDCONT=1,"IP","CMNE

T" OK

AT+CGACT=1,1

OK

AT+CGACT=0,1

OK

NOTE:set PDP context

NOTE:PDP activate

NOTE:PDP deactivate

82

Page 84: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

Parameter Value Description

[0] Deactivate PDP context <state>

1 Activate

parameters

<cid> - Please see AT+CGDCONT

2.7.6 +CGDATA enter data mode:

Description The command is used to set MT using one or multiple GPRS PDP type, executing the corresponding operations and establishing the communications between TE and network, including GPRS attach and one or multiple PDP context activate. MT will not process the commands after +CGDATA command. AT+CGDATA=[<L2P> ,[<cid>[,<cid> [,…]]]] Format

AT+CGDATA=[<L2P> ,[<cid>[,<cid> [,…]]]]

CONNECT If the communication is established successfully, MT will return CONNECT and enter V.25ter online data status. OK after the data transmission and layer 2 protocol termination process, enter V.25ter status again. MT will return the result code OK.

Example

+CME ERROR: <err>

Parameter Value Description

<L2P> “PPP” Character type parameter; used to indicate

the layer 2 protocol used between TE and

MT.

parameters

<cid> - Please see AT+CGDCONT.

2.7.7 +CGPADDR display PDP address:

Description Use the set command to disable or enable auto answer function when receiving

the message “Request PDP context activated” from the network side.

Format AT+CGPADDR=[<cid>[,<cid>[,…]]]

AT+CGPADDR=[<cid>[,<cid>[,

…]]]

+CGPADDR:<cid>,<PDP_addr>

OK

+CME ERROR: <err>

Example

AT+CGPADDR

+CGPADDR: 1,"010.071.035.043"

OK

Parameter value Description parameters <cid> Number type parameter; used to designate

the definition of specific PDP context (please

refer to AT+CGDCONT). If <cid> is omitted,

return all defined context addresses.

83

Page 85: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

<PDP_address> Character type parameter; used to mark

theaddress obtained by specific PDP context.

The address could be either static or

dynamic. For static address, it is set through

+CGDCONT command after the definition of

context; for dynamic address, assigned when

using the context definition.as the address

can not be used, omit <PDP_address>.

2.7.8 +CGCLASS GPRS mobile station type:

Description Use the set command to set MT according to the designated type of GPRS

mobile station.

Format AT+CGCLASS=<class>

AT+CGCLASS=<class> +OK

+CME ERROR: <err>

Example

AT+CGCLASS?

+CGCLASS: "A"

OK

NOTE: query of type of GPRS mobile station.

Parameter value Description parameters <class>

Character type

parameter;

indicates the type

of GPRS mobile

station.

“A” Type A

2.7.9 +CGEREP GPRS event report:

Description Use the set command to enable or disable MT to transmit non-request result

code+CGEV: XXX to TE when some event occurs at GPRS MT or network side.

Format AT+CGEREP=[<mode>[,<bfr>]]

AT+CGEREP=[<mode>[,<bfr

>]]

+OK

+CME ERROR: <err>

Example

AT+CGEREP=1

OK

AT+CGATT=0

OK

+CGEV: ME DETACH

NOTE:GPRS detach

Parameter value Description parameters <mode> 0 Buffer the non-request result code in MT; if MT

result code cache is full, abandon the oldest

result code. Do not forward the result code to

84

Page 86: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

TE.

1 As reserving MT-TE link, (e.g.: under online

data mode), abandon non-request result code;

otherwise, directly forward to TE.

2 As reserving MT-TE link (e.g.: under online data

mode), buffer the non-request result code in

MT; as ME-TE link is available, write all result

codes into TE; otherwise, directly forward to TE.

0 As the input <mode> value is 1 or 2, clear the

buffer of non-request result code.

<bfr>

1 As the input <mode> value is 1 or 2, the bufferof

non-request result code will be written into TE

(must return OK before writing result code)

The following unsolicited result codes and the corresponding events are defined:

+CGEV: REJECT <PDP_type>, <PDP_addr>

(A network request for PDP context activation occurred when the MT was unable to report it to the TE

with a +CRING unsolicited result code and was automatically rejected.)

+CGEV: NW REACT <PDP_type>, <PDP_addr>, [<cid>]

(The network has requested a context reactivation. The <cid> that was used to reactivate the context

is provided if known to the MT.)

+CGEV: NW DEACT <PDP_type>, <PDP_addr>, [<cid>]

(The network has forced a context deactivation. The <cid> that was used to activate the context is

provided if known to the MT.)

+CGEV: ME DEACT <PDP_type>, <PDP_addr>, [<cid>]

(The mobile equipment has forced a context deactivation. The <cid> that was used to activate the

context is provided if known to the MT.)

+CGEV: NW DETACH

(The network has forced a Packet Domain detach. This implies that all active contexts have been

deactivated. These are not reported separately.)

+CGEV: ME DETACH

(The mobile equipment has forced a Packet Domain detach. This implies that all active contexts have

been deactivated. These are not reported separately.)

+CGEV: NW CLASS <class>

(The network has forced a change of MS class. The highest available class is reported (see

+CGCLASS).)

+CGEV: ME CLASS <class>

(The mobile equipment has forced a change of MS class. The highest available class is reported (see

+CGCLASS).)

85

Page 87: AT Command Set for WCDMA Module - wless.ru · PDF fileWCDMA Module . AT Command Set for WCDMA Module . Version 1.3 . ... WCDMA Module Update history. The ... save defined parameter

WCDMA Module

86

2.7.10 +CGSMS select service for MO SMS

Description The set command is used to designate the service or service priority level

when MT transmits MO SMS.

Format AT+CGSMS=<service>

Example AT+CGSMS=<service> +OK

+CME ERROR: <err>

Parameter value Description

0 GPRS

1 circuti exchange

2 Preferred GPRS(if GPRS can’t be used,

use circuit exchange)

parameters <service>

3 Preferred circuit exchange (if circuit

exchange can’t be used, use GPRS.