HUAWEI Huawei GTM900 Wireless Module AT Command Reference V100R001 Huawei Technol Ogies Proprietary
HUAWEI Huawei GTM900 Wireless Module AT Command Reference V100R001 Huawei Technol Ogies Proprietary
ogies Proprietary
Huawei GTM900 Wireless Module AT Command Reference Manual Version Product Versio
n BOM T2-031915-20060613-C-1.11 V100R001 31190315 Huawei Technologies Co., Ltd.
provides customers with comprehensive technical support and service. Please feel
free to contact our local office or company headquarters. Huawei Technologies C
o., Ltd. Address: Administration Building, Huawei Technologies Co., Ltd., Bantia
n, Longgang District, Shenzhen, P. R. China Postal Code: 518129 Website: http://
www.huawei.com Email: support@huawei.com Huawei Technologies Proprietary
Copyright © 2005 Huawei Technologies Co., Ltd. All Rights Reserved No part of this
manual may be reproduced or transmitted in any form or by any means without pri
or written consent of Huawei Technologies Co., Ltd. Trademarks , HUAWEI, C&C08,
EAST8000, HONET, , ViewPoint, INtess, ETS, DMC, M900/M1800, TELLIN, InfoLink, Ne
tkey, Quidway, SYNLOCK, Radium, TELESIGHT, Quidview, Musa, Airbridge, Tellwin, I
nmedia, VRP, DOPRA, iTELLIN, HUAWEI OptiX, C&C08 iNET, NETENGINE, OptiX, iSite,
U-SYS, iMUSE, OpenEye, Lansway, SmartAX, infoX, and TopEng are trademarks of Hua
wei Technologies Co., Ltd. All other trademarks and trade names mentioned in thi
s manual are the property of their respective holders. Notice The information in
this manual is subject to change without notice. Every effort has been made in
the preparation of this manual to ensure accuracy of the contents, but all state
ments, information, and recommendations in this manual do not constitute the war
ranty of any kind, express or implied. Huawei Technologies Proprietary
Summary of Updates This section provides the update history of this manual and i
ntroduces the contents of subsequent updates. Update History This manual is upda
ted for a major product version to maintain consistency with system hardware or
software versions and to incorporate customer suggestions. Manual Version T2-031
915-2005320-C-1.10 T2-031915-20051020-C-1.11 Notes Initial field trial release U
pdate version,the content was modified. Updates of Contents Chapter 7 TCPIP AT C
ommands describes the TCPIP AT commands. Huawei Technologies Proprietary
About This Manual Release Notes The product version that corresponds to the manu
al is GTM900 V100R001. Related Manuals The manuals related to Huawei GTM900 Wire
less Module are introduced in the table below: Manual name Huawei GTM900 Wireles
s Module Product Description Huawei GTM900 Wireless Module AT Command Reference
Description Introduces Huawei GTM900 Wireless Module in terms of specifications
and interface signals Describes the AT commands related to Huawei GTM900 Wireles
s Module Organization The manual consists of eight chapters. Chapter 1 Overview
gives a introduction to AT commands. Chapter 2 Standardized AT Command Specified
by GSM Rec.07.07 describes the standardized AT command specified by GSM Rec. 07
.07. Chapter 3 Commands Specified by ITU-T Rec. V25ter as Referenced by GSM Rec.
07.07 describes the AT Commands specified by ITU-T Rec. V25ter as referenced by
GSM Rec. 07.07. Chapter 4 Standardized GPRS AT Commands describes the standardiz
ed GPRS AT commands. Chapter 5 Commands Specified by GSM Rec.07.05 describes the
AT commands specified by GSM Rec.07.05. Chapter 6 Enhanced AT Commands describe
s the Enhanced AT command. Chapter 7 TCPIP AT Commands describes the TCPIP AT co
mmands. Huawei Technologies Proprietary
Intended Audience The manual is intended for the following readers: Developers o
f wireless terminals Conventions The manual uses the following conventions: I. G
eneral conventions Convention Arial Arial Narrow Boldface Terminal Display Descr
iption Normal paragraphs are in Arial. Warnings, Cautions, Notes and Tips are in
Arial Narrow. Headings are in Boldface. Terminal Display is in Courier New; mes
sage input by the user via the terminal is in boldface. II. Symbols Eye-catching
symbols are also used in the manual to highlight the points worthy of special a
ttention during the operation. They are defined as follows: Caution : Means read
er be extremely careful during the operation. Note: Means a complementary descri
ption. Huawei Technologies Proprietary
AT Command Reference Huawei GTM900 wireless Module Table of Contents Table of Co
ntents Table of Contents .......................................................
....................................................................... i Chapte
r 1 Overview ...................................................................
.................................................... 1-1 1.1 About This Chapter.
................................................................................
........................... 1-1 1.2 Introduction ...............................
................................................................................
......... 1-1 1.3 AT Command Type...............................................
............................................................. 1-1 1.4 AT Command
Syntax.........................................................................
................................ 1-2 Chapter 2 Standardized AT Command Specified
by GSM Rec. 07.07 ..................................... 2-1 2.1 About This Chap
ter.............................................................................
............................... 2-1 2.2 General Commands........................
................................................................................
... 2-1 2.2.1 Request Manufacturer Identification: AT+CGMI .....................
................................ 2-1 2.2.2 Request Model Identification: AT+CGMM
............................................................... 2-1 2.2.3 Reques
t Revision Identification: AT+CGMR .............................................
.............. 2-2 2.2.4 Request Product Serial Number Identification: AT+CGSN..
................................... 2-2 2.2.5 Select TE Character Set: AT+CSCS..
..................................................................... 2-3 2.2.6
Request International Mobile Subscriber Identity: AT+CIMI ......................
............. 2-4 2.2.7 Select Wireless Network: AT+WS46........................
............................................... 2-4 2.3 Call Control Command ...
................................................................................
................... 2-5 2.3.1 Select Type of Address: AT+CSTA...................
...................................................... 2-5 2.3.2 Mobile Originat
ed Call to a Number: ATD........................................................
....... 2-6 2.3.3 Originating Call to Phone Number in Memory Which Corresponding
Alphanumeric Field is : ATD>[I][G] ............................................
............................................. 2-7 2.3.4 Originate Call to Phone
Number in Memory Mem Entry location: ATD>mem[I][G][;] ..........................
............................................................................. 2-
9 2.3.5 Originate Call to Phone Number in Entry location : ATD>[I][G]...........
..... 2-12 2.3.6 Redial last number: ATDL[;] ...................................
............................................... 2-14 2.3.7 Call Mode: AT+CMOD ..
................................................................................
........ 2-15 2.3.8 Hang Up Call: AT+CHUP ......................................
................................................ 2-16 2.3.9 Select Bearer Servic
e Type: AT+CBST ................................................................
2-16 2.3.10 Radio Link Protocol: AT+CRLP.......................................
.................................... 2-17 2.3.11 Service Reporting Control: AT+C
R ..................................................................... 2-18 2.3
.12 Extended Error Report: AT+CEER .............................................
........................ 2-19 2.3.13 Cellular Result Codes: AT+CRC..............
........................................................... 2-20 2.3.14 Single N
umbering Scheme: AT+CSNS........................................................
....... 2-21 2.4 Network Service Related Command................................
................................................ 2-22 2.4.1 Subscriber Number: A
T+CNUM..........................................................................
.. 2-22 2.4.2 Network Registration Info: AT+CREG................................
................................... 2-23 2.4.3 Operator Selection: AT+COPS .....
........................................................................ 2-24 Hu
awei Technologies Proprietary i
AT Command Reference Huawei GTM900 wireless Module Table of Contents 2.4.4 Facil
ity Lock: AT+CLCK ..............................................................
.......................... 2-25 2.4.5 Change Password: AT+CPWD .................
............................................................ 2-27 2.4.6 Calling
Line Identification Presentation: AT+CLIP ......................................
.......... 2-29 2.4.7 Calling Line Identification Restriction: AT+CLIR .........
.......................................... 2-30 2.4.8 Connected Line Identificat
ion presentation: AT+COLP ........................................ 2-31 2.4.9 Cl
osed User Group: AT+CCUG .......................................................
..................... 2-32 2.4.10 Call Forwarding Number and Conditions: AT+CCFC
......................................... 2-33 2.4.11 Call Waiting: AT+CCWA ...
................................................................................
.. 2-35 2.4.12 Call Hold and Multiparty: AT+CHLD ...............................
.................................... 2-36 2.4.13 Unstructured Supplementary Serv
ice: AT+CUSD .............................................. 2-37 2.4.14 Advice o
f Charge: AT+CAOC ..............................................................
............... 2-39 2.4.15 Supplementary Service Notification: AT+CSSN ........
......................................... 2-39 2.4.16 List Current Calls: AT+CLC
C ..............................................................................
2-41 2.4.17 Preferred Operator List: AT+CPOL...................................
.................................. 2-43 2.4.18 Read Operator Names: AT+COPN.....
................................................................ 2-44 2.5 ME Con
trol and Status Commands .......................................................
.......................... 2-45 2.5.1 Phone Activity Status: AT+CPAS............
.............................................................. 2-45 2.5.2 Set Ph
one Functionality: AT+CFUN .....................................................
................ 2-46 2.5.3 Enter PIN: AT+CPIN .................................
............................................................ 2-47 2.5.4 Battery
Charge: AT+CBC..................................................................
.................... 2-49 2.5.5 Signal Quality: AT+CSQ..........................
.............................................................. 2-49 2.5.6 Select
Phonebook Memory Storage: AT+CPBS..............................................
..... 2-50 2.5.7 Read Phonebook Entries: AT+CPBR ...............................
.................................... 2-52 2.5.8 Find Phonebook Entries: AT+CPBF
..................................................................... 2-53 2.5.9
Write Phonebook Entries: AT+CPBW...............................................
.................... 2-54 2.5.10 Restricted SIM access: AT+CRSM ................
..................................................... 2-55 2.5.11 Mute Control:
AT+CMUT.........................................................................
............ 2-56 2.5.12 Accumulated Call Meter: AT+CACM........................
........................................... 2-56 2.5.13 Accumulated Call Meter M
aximum: AT+CAMM ................................................. 2-57 2.5.14 Pr
ice per unit and currency table: AT+CPUC .......................................
.............. 2-58 2.5.15 Call Meter Maximum Event: AT+CCWE ...................
.......................................... 2-59 2.5.16 Set Voice Mail Number: AT
+CSVM .................................................................... 2-60
2.5.17 Set Event: AT+CLAE.......................................................
.................................... 2-60 2.5.18 Set language: AT+CLAN..........
........................................................................... 2-61
2.5.19 List All Available AT Commands: AT+CLAC ................................
...................... 2-62 2.5.20 Real time clock: AT+CCLK ....................
............................................................. 2-63 2.6 ME Error.
................................................................................
.......................................... 2-64 2.6.1 Report Mobile Equipment er
ror +CMEE: AT+CMEE ............................................ 2-64 2.6.2 Mobil
e Equipment Error Result Code: +CME ERROR ......................................
... 2-65 2.7 Commands from TIA IS-101 ..........................................
.................................................. 2-66 2.7.1 Select Mode: AT+FC
LASS ...........................................................................
........ 2-66 2.7.2 DTMF and Tone Generation: AT+VTS ...........................
...................................... 2-67 Huawei Technologies Proprietary ii
AT Command Reference Huawei GTM900 wireless Module Table of Contents Chapter 3 C
ommands Specified by ITU-T Rec. V25ter .........................................
..................... 3-1 3.1 About This Chapter................................
............................................................................ 3-1
3.2 Generic TA Control Commands................................................
......................................... 3-1 3.2.1 Repeat Previous Commands: A/
............................................................................. 3-
1 3.2.2 Reset to Default Configuration: ATZ ....................................
................................... 3-1 3.2.3 Set all TA parameters to factory d
efined config: AT&F........................................... 3-5 3.2.4 Manufac
turer Information about TA: ATI.................................................
................ 3-8 3.2.5 TA Manufacturer ID: AT+GMI ..........................
....................................................... 3-8 3.2.6 TA Model Ident
ification: AT+GMM ..............................................................
............ 3-8 3.2.7 TA Revision Number: AT+GMR...............................
............................................... 3-9 3.2.8 Request TA serial Numb
er: AT+GSN .....................................................................
3-9 3.2.9 Request Overall Capabilities for TA: AT+GCAP.........................
.......................... 3-10 3.2.10 Command Line Termination Character: ATS3.
................................................... 3-10 3.2.11 Responds Formatt
ing Character: ATS4.............................................................
. 3-11 3.2.12 Editing Character: ATS5 ..........................................
........................................... 3-11 3.2.13 Command Echo Mode: ATE .
.............................................................................. 3
-12 3.2.14 Result Code Suppression: ATQ ........................................
.................................. 3-12 3.2.15 Response Format: ATV.............
.......................................................................... 3-13
3.2.16 CONNECT Result: ATX .....................................................
................................. 3-13 3.2.17 DCD-usage: AT&C...................
........................................................................... 3-14
3.2.18 DTR-usage: AT&D ........................................................
...................................... 3-15 3.2.19 Fixed TE-TA Data Rate: AT+IPR
........................................................................ 3-15 3
.2.20 TE-TA Character Framing: AT+ICF ..........................................
.......................... 3-16 3.2.21 TE-TA Local Flow Control: AT+IFC ........
............................................................ 3-17 3.2.22 TE-TA L
ocal Rate Reporting: AT+ILRR ...................................................
........... 3-18 3.3 Call Control Commands......................................
............................................................. 3-19 3.3.1 Tone Di
alling: ATT ....................................................................
............................ 3-19 3.3.2 Pulse Dialling: ATP ....................
........................................................................... 3-20
3.3.3 Answer a Call: ATA ......................................................
......................................... 3-20 3.3.4 Hook Control: ATH .........
................................................................................
....... 3-21 3.3.5 Return to Data State: ATO ...................................
................................................. 3-21 3.3.6 Ring before Automat
ic Answer: ATS0 ................................................................
.. 3-22 3.3.7 Pause before Blind Dialling: ATS6 ................................
........................................ 3-23 3.3.8 Wait for Completion: ATS7...
................................................................................
. 3-23 3.3.9 Dial Pause: ATS8 ..................................................
................................................ 3-24 3.3.10 Hang up Delay: ATS1
0 ..............................................................................
......... 3-25 3.4 Data Compression Commands....................................
.................................................... 3-25 3.4.1 V.42bits Data Co
mpression: AT+DS................................................................
..... 3-25 3.4.2 V.42 Data Compress Reporting: AT+DR ...........................
................................... 3-27 Chapter 4 Standardized GPRS AT Commands
.......................................................................... 4-1
4.1 About This Chapter..........................................................
.................................................. 4-1 4.2 Commands Specified by
GSM Rec. 07.07 ................................................................
........ 4-1 Huawei Technologies Proprietary iii
AT Command Reference Huawei GTM900 wireless Module Table of Contents 4.2.1 Defin
e PDP Context: AT+CGDCONT ......................................................
............... 4-1 4.2.2 Quality of Service Profile (Requested): AT+CGQREQ ....
....................................... 4-3 4.2.3 Quality of Service Profile (Mi
nimum acceptable): AT+CGQMIN............................. 4-7 4.2.4 GPRS Attach
and Detach: AT+CGATT ...........................................................
....... 4-8 4.2.5 PDP Context Activate or Deactivate: AT+CGACT..................
................................ 4-9 4.2.6 Enter Data State: AT+CGDATA..........
.................................................................. 4-10 4.2.7 Sh
ow PDP Address: AT+CGPADDR......................................................
.............. 4-11 4.2.8 Automatic Response to a Network Request for PDP Contex
t Activation: AT+CGAUTO ........................................................
......................................................... 4-12 4.2.9 Manual Resp
onse to a Network Request for PDP Context Activation: AT+CGANS4-13 4.2.10 GPRS M
obile Station Class: AT+CGCLASS ................................................
...... 4-13 4.2.11 GPRS Event Reporting: AT+CGEREP .............................
.................................. 4-14 4.2.12 GPRS Network Registration Status:
AT+CGREG .............................................. 4-16 4.2.13 Select Serv
ice for MO SMS Messages: AT+CGSMS......................................... 4-17
4.2.14 Request GPRS Server: ATD*99 .............................................
............................ 4-18 4.2.15 Manual Acceptance of a Network Request
for PDP Context Activation: ATA.... 4-19 4.2.16 Manual Rejection of a Network Re
quest for PDP Context Activation: ATH ....... 4-19 Chapter 5 Commands Specified
by GSM Rec.07.05 ...............................................................
... 5-1 5.1 About This Chapter..................................................
.......................................................... 5-1 5.2 General Confi
guration Commands ..............................................................
...................... 5-1 5.2.1 Select Message Service: AT+CSMS ...............
....................................................... 5-1 5.2.2 Preferred Mess
age Storage: AT+CPMS............................................................
..... 5-2 5.2.3 SMS Format: AT+CMGF.............................................
............................................ 5-4 5.2.4 Message Service Failure R
esult Code: +CMS ERROR ......................................... 5-4 5.3 Message
Configuration Commands ........................................................
.......................... 5-6 5.3.1 Service Centre Address: AT+CSCA ...........
............................................................ 5-6 5.3.2 Set Text
Mode Parameters: AT+CSMP .......................................................
........... 5-7 5.3.3 Show Text Mode Parameters: AT+CSDH........................
....................................... 5-8 5.3.4 Select Cell Broadcast Message
Type: AT+CSCB .................................................. 5-9 5.3.5 Savin
g Setting: AT+CSAS .............................................................
....................... 5-10 5.3.6 Restore Settings: AT+CRES....................
............................................................. 5-10 5.4 Message R
eceiving and Reading Command ...................................................
............... 5-11 5.4.1 New Message Indications to TE: AT+CNMI...............
........................................... 5-11 5.4.2 List Messages: AT+CMGL ..
................................................................................
.. 5-14 5.4.3 Read Message: AT+CMGR ............................................
...................................... 5-18 5.4.4 New Message Acknowledge: AT+CN
MA.............................................................. 5-19 5.5 Messag
e Sending and Writing Commands .................................................
.................... 5-20 5.5.1 Send Message: AT+CMGS...........................
........................................................ 5-20 5.5.2 Send Message
from Storage: AT+CMSS .........................................................
.... 5-22 5.5.3 Write Message to Memory: AT+CMGW................................
................................ 5-23 5.5.4 Delete Message: AT+CMGD ............
.................................................................... 5-25 5.5.5
Send Command: AT+CMGC ..........................................................
...................... 5-26 Huawei Technologies Proprietary iv
AT Command Reference Huawei GTM900 wireless Module Table of Contents Chapter 6 E
nhanced AT Commands ............................................................
............................... 6-1 6.1 About This Chapter......................
................................................................................
...... 6-1 6.2 HUAWEI Specific AT Commands......................................
................................................ 6-1 6.2.1 Network registration
and service selection: AT%NRG............................................ 6-1 6.
2.2 Query accumulated call meter using PUCT: AT%CACM ...........................
............ 6-3 6.2.3 Query current call meter using PUCT: AT%CAOC.............
.................................... 6-4 6.2.4 Call timer value: AT%CTV ........
.............................................................................. 6
-4 6.2.5 Call progress information: AT%CPI .....................................
................................... 6-5 6.2.6 Configuration for SIM application
toolkit: AT%SATC .............................................. 6-6 6.2.7 Send S
AT envelope command: AT%SATE ...................................................
......... 6-8 6.2.8 Send SAT command response: AT%SATR..........................
.................................. 6-8 6.2.9 Terminate SAT command or session: A
T%SATT................................................... 6-9 6.2.10 GPRS Byte c
ounter: AT%SNCNT................................................................
....... 6-10 6.2.11 Automatic attach mode: AT%CGAATT............................
................................... 6-10 6.2.12 Ciphering indication: AT%CPRI ..
........................................................................ 6-11 6.
2.13 GPRS extended registration state: AT%CGREG ................................
............... 6-12 6.2.14 SIM card insert indication: AT%TSIM ................
................................................. 6-14 6.2.15 Last call duration
: AT%LCD .......................................................................
......... 6-15 6.2.16 Total call duration: AT%TCD...............................
................................................ 6-15 6.2.17 GTM900 power off: A
T%MSO ..........................................................................
.. 6-16 6.2.18 List Messages: AT%MGL............................................
........................................ 6-16 6.2.19 Read Message: AT%MGR.......
........................................................................... 6-17
6.2.20 Sleep Control: AT%SLEEP ................................................
................................. 6-18 6.3 AT Commands for Audio Setting .......
.............................................................................. 6
-19 6.3.1 Set audio input (MIC path) parameters: AT%NFI ........................
......................... 6-19 6.3.2 Set audio output (speaker path) parameters:
AT%NFO ....................................... 6-20 6.3.3 Set speaker volume: A
T%NFV ..........................................................................
... 6-22 6.3.4 Save audio mode configuration parameters: AT%NFW ................
....................... 6-23 6.3.5 Select audio mode configuration parameters: A
T%NFS ...................................... 6-25 6.3.6 Set sidetone volume: AT%
STN.............................................................................
6-26 6.3.7 Acoustic-Echo Cancellation: AT%VLB..................................
................................ 6-28 6.3.8 Select audio paths: AT%SNFS ........
..................................................................... 6-29 6.3.9
Play DTMF Audio: AT%DTMF ......................................................
........................ 6-30 6.3.10 Play alert tone: AT%CTONE..................
............................................................. 6-30 6.3.11 Switch
incoming call ringtone on or off: AT%RING......................................
....... 6-31 6.4 STK Extended Commands .........................................
..................................................... 6-32 6.4.1 AT%STKR .......
................................................................................
...................... 6-32 6.4.2 AT%STKD ......................................
....................................................................... 6-33 Cha
pter 7 TCPIP AT Commands........................................................
.......................................... 7-1 7.1 Initialization: AT%ETCPIP ...
................................................................................
.............. 7-1 7.2 Opening TCP/UDP Link.....................................
................................................................ 7-2 7.2.1 Openi
ng One TCP/UDP Link: AT%IPOPEN..................................................
......... 7-2 Huawei Technologies Proprietary v
AT Command Reference Huawei GTM900 wireless Module Table of Contents 7.2.2 Openi
ng One or More TCP/UDP Links: AT%IPOPENX .......................................
.. 7-3 7.3 Setting Data Conversion Mode: AT%IOMODE .............................
.................................... 7-4 7.4 Sending Data ......................
................................................................................
............... 7-5 7.4.1 Sending Data in Single-Link Mode: AT%IPSEND ..........
........................................ 7-6 7.4.2 Sending Data in Multi-Link Mo
de: AT%IPSENDX .................................................. 7-7 7.5 Closin
g Link: AT%IPCLOSE..............................................................
................................ 7-9 7.6 Querying ACK of TCP: AT%TXSTATE .......
.................................................................... 7-10 7.7 Op
erating Data....................................................................
............................................. 7-11 7.7.1 Querying Data Packet: A
T%IPDQ ........................................................................
7-11 7.7.2 Reading Data Packet: AT%IPDR.........................................
................................. 7-11 7.7.3 Deleting Data Packet: AT%IPDD .....
..................................................................... 7-12 7.7.4
Data Packet Deletion Mode: AT%IPDDMODE ........................................
............. 7-13 7.8 Unsolicited Result Codes.................................
................................................................ 7-14 7.8.1 %IPD
ATA ............................................................................
.................................. 7-14 7.8.2 %IPCLOSE: ........................
............................................................................ 7-1
5 7.9 Domain Name Resolution: AT%DNSR...........................................
................................. 7-16 7.10 Error Codes.........................
................................................................................
........... 7-16 Huawei Technologies Proprietary vi
AT Command Reference Huawei GTM900 Wireless Module Chapter 1 Overview Chapter 1
Overview 1.1 About This Chapter This chapter gives a introduction to AT commands
, including: Introduction AT Command Type AT Command Syntax 1.2 Introduction Thr
oughout the document, the GSM engines are referred to as ME (Mobile Equipment),
MS (Mobile Station), TA (Terminal Adapter), DCE (Data Communication Equipment) o
r facsimile DCE (FAX modem, FAX board). To operate your GSM engine you can simpl
y send AT Commands via its serial interface. The operating device at the other e
nd of the serial line is referred to as TE (Terminal Equipment), DTE (Data Termi
nal Equipment) or plainly the application. (probably running on an embedded syst
em). This abstract structure can be figure out as: Responses TE AT cmds TA ME Co
ntrol Network messages User & Application Network ME Status ME Figure 1-1 System
structure overview 1.3 AT Command Type This clause summarizes general aspects o
n AT commands and issues related to them. For further information, refer to ITU-
T Recommendation V.25ter [14]. The “AT” or “at” prefix must be set at the beginning of e
ach command line. The is used to terminate a command line. Usually there are fou
r types of AT commands, as shown in Table 1-1. Huawei Technologies Proprietary 1
-1
AT Command Reference Huawei GTM900 Wireless Module Chapter 1 Overview Table 1-1
AT command Type Type Set command Description This command is used to set user-de
finable parameter values. This command is used to list the parameters and value
ranges set with the corresponding Set commands or by internal processes. This co
mmand returns the current set value of the parameters. This command reads non-va
riable parameters affected by internal processes in the GSM engine. Example AT+C
XXX=<…..> Test command AT+CXXX=? Read command Execution command AT+CXXX? AT+CXXX 1
.4 AT Command Syntax Default values are enclosed in square brackets. To ensure t
he correct sequence of optional and mandatory parameters, a comma must be kept f
or each omitted parameter that is followed by further parameters. Example: AT+CP
WD=,, This command sets a new password for the facility lock function defined by
command Facility Lock+CLCK. If the parameter is a character string, such as , t
he string must be enclosed in quotation marks. For example, “12345”. “cmnet”. Symbols wi
thin quotation marks will be recognized as strings. Optional subparameter of a c
ommand or an optional part of TA information response is enclosed in square brac
kets. All spaces will be ignored when using strings without quotation marks. In
practice, it is unnecessary to enter <> or []. All AT commands are not case sens
itive, but the respective parameters are sensitive to cases. Huawei Technologies
Proprietary 1-2
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Chapter 2 Standardized AT Command Specified by
GSM Rec. 07.07 2.1 About This Chapter This chapter describes the standardized AT
command specified by GSM Rec. 07.07, including: General Commands Call Control C
ommand Network Service Related Command ME Control and Status Commands ME Error C
ommands from TIA IS-101 2.2 General Commands 2.2.1 Request Manufacturer Identifi
cation: AT+CGMI Table 2-1 AT+CGMI action command syntax Type Execution command T
est command Command Possible response(s) HUAWEI OK OK Description TA returns man
ufacturer identification text. -- AT+CGMI AT+CGMI=? Reference: GSM 07.07 3.2.5 T
A Manufacturer ID: AT+GMI 2.2.2 Request Model Identification: AT+CGMM Table 2-2
AT+CGMM action command syntax Type Execution command Command Possible response(s
) GTM900X OK Description TA returns product model identification text.’X’ is one cha
racter of {A,B,C}. AT+CGMM Huawei Technologies Proprietary 2-1
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Test command Command AT+CGMM=? Possible re
sponse(s) OK -- Description Reference: GSM 07.07 3.2.6 TA Model Identification:
AT+GMM 2.2.3 Request Revision Identification: AT+CGMR Table 2-3 AT+CGMR action c
ommand syntax Type Command Possible response(s) HW REVISION: X Execution command
AT+CGMR SW REVISION: XX.YYY OK Test command AT+CGMR=? OK Description TA returns
product firmware version identification text. XX.YYY--variant software release
-of Reference: GSM 07.07 3.2.7 TA Revision Number: AT+GMR 2.2.4 Request Product
Serial Number Identification: AT+CGSN Table 2-4 AT+CGSN action command syntax Ty
pe Command Possible response(s) OK OK Description TA returns identification text
for determination of individual ME. -- Execution command Test command AT+CGSN A
T+CGSN=? Table 2-5 Parameter description Parameter Description Product serial nu
mber Reference: Huawei Technologies Proprietary 2-2
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 GSM 07.07 3.2.8 Request TA serial Number: AT+GS
N 2.2.5 Select TE Character Set: AT+CSCS Set command informs TA which character
set is used by the TE. TA is then able to convert character strings correctly be
tween TE and ME character sets. Table 2-6 AT+CSCS action command syntax Type Set
command Read command Command AT+CSCS= AT+CSCS? OK +CSCS: OK +CSCS: Test command
AT+CSCS=? (list of supported s) OK -Possible response(s) --Description Table 2-
7 Parameter description Parameter Value "GSM" [“IRA”] "PCCP437" "PCDN" "8859-1" "HEX
" Description GSM default alphabet (GSM 03.38 subclause 6.2.1); International T.
50[13]) reference alphabet (ITU-T PC character set Code Page 437 PC Danish/Norwe
gian character set ISO 8859 Latin 1 character set Character strings consist only
of hexadecimal numbers from 00 to FF; e.g. "052FE6" equals three 8-bit characte
rs with decimal values 5, 47 and 230; no conversions to the original ME characte
r set shall be done. 16-bit universal multiple-octet coded character set (ISO/IE
C10646 [32]); UCS2 character strings are converted to hexadecimal numbers from 0
000 to FFFF; e.g. "004200620063" equals three 16-bit characters with decimal val
ues 66, 98 and 99, $(AT R97)$ "UCS2" Huawei Technologies Proprietary 2-3
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.2.6 Request Internationa
l Mobile Subscriber Identity: AT+CIMI Execution command causes TA to return , wh
ich is intended to permit the TE to identify the individual SIM which is attache
d to ME. Table 2-8 AT+CIMI action command syntax Type Execution command Test com
mand Command AT+CIMI AT+CIMI=? Possible response(s) OK OK --Description Table 2-
9 Parameter description Parameter Description IMSI (International Mobile Subscri
ber Identity), string without double quotes Reference: GSM 07.07 2.2.7 Select Wi
reless Network: AT+WS46 Table 2-10 AT+WS46 action command syntax Type Command OK
Set command AT+WS46=[] ERROR/+CME ERROR +WS46: OK +WS46: (list supported s) OK
of -Possible response(s) Description If set successful If failed -- Read command
AT+WS46? Test command AT+ WS46=? Huawei Technologies Proprietary 2-4
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-11 Parameter description Parameter 12 V
alue Description GSM digital cellular Reference: GSM 07.07 2.3 Call Control Comm
and 2.3.1 Select Type of Address: AT+CSTA Set command selects the type of number
for further dialing commands (D) according to GSM specifications. Test command
returns values supported by the TA as a compound value. Table 2-12 AT+CSTA actio
n command syntax Type Set command Read command Command AT+CSTA=[] AT+CSTA? Possi
ble response(s) OK +CSTA: OK +CSTA: (list of supported s) OK Description --- Tes
t command AT+CSTA=? -- Table 2-13 Parameter description Parameter Value 145 type
of address octet in integer format [129] Others Description When dialing string
includes international access code character"+" Default See 10.5.4.7 in “GSM 04.0
8 [8]” Reference: GSM 07.07 GSM 04.08 [8] subclause 10.5.4.7 Huawei Technologies P
roprietary 2-5
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.3.2 Mobile Originated Call to a Number: ATD E
xecution command can be used to set up outgoing voice, data or fax calls. It als
o serves to control supplementary services. This command may be aborted generall
y when receiving an ATH command during execution. Abortion is not possible durin
g some states of connection setup such as handshaking. Note: The current states
of all calls can be easily checked at any time by using the AT+CLCC command. Tab
le 2-14 ATD action command syntax Type Command Possible response(s) +CME ERROR:
BUSY NO CARRIER Description This error depends on ME functions. If busy (paramet
er setting ATX3) If a connection cannot be set up. If successfully connected and
non-voice call, TA switches to data state. Execution command ATD[][;] CONNECT N
ote: output only if ATX parameter setting with value > 0. The first OK indicated
the ATD Command executed successful. And TA returns to command mode. The second
OK will return if successfully connected a voice call. OK OK Huawei Technologie
s Proprietary 2-6
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-15 Parameter description Parameter Desc
ription String of dialing digits and optionally V.25ter modifiers (dialing digit
s): 0-9, * , #, +, A, B, C V.25ter modifiers: these are ignored: ,(comma), T, P,
!, W, @ If for emergency call, standardized emergency number 112 (no SIM needed
) [;] Only required to set up voice calls. TA remains in command mode. Example:
ATD02150991234; OK OK ATH OK ATD02150991234; OK NO CARRIER Reference: GSM 07.07
GSM 02.07 Annex A V.25 ter 2.3.3 Originating Call to Phone Number in Memory Whic
h Corresponding Alphanumeric Field is : ATD>[I][G] Execution command searches th
e active phonebook for a given string and dials the corresponding phone number i
f the entry exists. The active phonebook is the one set with AT command AT+CPBS.
TA attempts to set up an outgoing call to stored number. Abortion is not possib
le during some states of connection setup such as handshaking. Table 2-16 ATD>[I
][G] action command syntax Type Execution command Command ATD>[I][G ][;] Possibl
e response(s) +CME ERROR: Description If error is related to ME functionality Hu
awei Technologies Proprietary 2-7
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Command Possible response(s) BUSY NO CARRI
ER Description If busy (parameter setting ATX3) If a connection cannot be set up
The first OK indicate t the ATD Command executed successful. And TA returns to
command mode. The second OK will return if successfully connected a voice call.
OK OK Table 2-17 Parameter description Parameter Description String type value,
which should equal an alphanumeric field in at least one phonebook entry in the
searched memories; used character set should be the one selected with AT+CSCS mu
st be enclosed in quotation marks (""), if escape sequences or parameter [I] or
[G] are used or if the alphanumeric strings contains a blank. If not, quotation
marks are optional. Override the CLIR(Calling line identification restriction) s
upplementary service subscription default value for this call; I=invocation (dis
ables presentation of own phone number to called party) and i=suppression (enabl
es presentation of own phone number to called party); refer subclause "AT+CLIR C
alling line identification restriction" Control the CUG supplementary service in
formation for this call; uses index and info values set with command AT+CCUG; [G
] G = Activates Closed User Group invocation for this call only. g = Deactivates
Closed User Group invocation for this call only. refer subclause "AT+CCUG Close
d user group" [;] The semicolon is mandatory since dialing from a phonebook is o
nly supported for voice calls [I] Example: ATD>”JACK”; OK OK ATH Huawei Technologies
Proprietary 2-8
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 OK ATD>”TOM”; ERROR Reference: GSM 07.07 V.25 ter 2
.3.4 Originate Call to Phone Number in Memory Mem Entry location: ATD>mem[I][G][
;] 2.3.4 Originate Call to Phone Number in Memory Mem Entry location: ATD>mem[I]
[G][;] Execution command allows you to dial a phone number from a given phoneboo
k. To initiate a call, enter a two letter abbreviation for the phonebook , follo
wed by the memory location of the desired entry. The location range of each phon
ebook can be queried with AT+CPBR. TA attempts to set up an outgoing call to the
specified number. Abortion is not possible during some states of connection set
up such as handshaking. Note: There is no for emergency call. The command is not
applicable to data calls. Any attempt to dial a data call number from causes th
e result code “NO CARRIER” to appear. Parameter [I] or [G] only if no *# code is wit
hin the dial string. *# codes sent with ATD are treated as voice calls. Therefor
e, the command must be terminated with a semicolon. See ATX command in Chapter 3
Commands Specified by ITU-T Rec. V25ter as Referenced by GSM Rec. 07.07 for set
ting result code and call monitoring parameters. See also .ATD Mobile originated
call to a number. Table 2-18 ATD>mem[I][G] action command syntax Type Execution
command Command ATD>mem[ I][G][;] Possible response(s) +CME ERROR: BUSY Descrip
tion If error is related to ME functionality If busy (parameter setting ATX3) Hu
awei Technologies Proprietary 2-9
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Command Possible response(s) NO CARRIER De
scription If connection cannot be set up The first OK indicated the ATD Command
executed successful. And TA returns to command mode. The second OK will return I
f successfully connected a voice call. OK OK Table 2-19 Parameter description Pa
rameter “MT” Value Description Combined ME and SIM phonebook (storage depending on S
IM card) In fact no ME phonebook in GTM900 SIM fixdialing phonebook (storage dep
ending on SIM card) Last-dialing-phonebook (list of most recently dialed numbers
. Depending on the SIM card, the storage is located either on the SIM card only
or shared by SIM and ME). ME missed (unanswered received) calls list Received ca
lls list Own numbers (MSISDNs) depending on SIM card. list. Storage “FD” phonebook ”D
C” “MC” “RC” “ON” -- Integer type memory location in the range of locations available in th
elected memory, i.e. the index number returned by AT+CPBR. Override the CLIR(Cal
ling line identification restriction) supplementary service subscription default
value for this call; I=invocation (disables presentation of own phone number to
called party) and i=suppression (enables presentation of own phone number to ca
lled party); refer subclause "AT+CLIR identification restriction" Calling line [
I] -- Huawei Technologies Proprietary 2-10
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter Value Description Control the CUG sup
plementary service information for this call; uses index and info values set wit
h command AT+CCUG; [G] -- G = Activates Closed User Group invocation for this ca
ll only. g = Deactivates Closed User Group invocation for this call only. Refer
subclause "AT+CCUG Closed user group" [;] -- The semicolon is mandatory since di
aling from a phonebook is only supported for voice calls Reference: GSM 07.07 V.
25 ter Example: To query the location number of the phonebook entry. AT+CPBR=1,x
x TA returns the entries available in the active phonebook. To dial a number fro
m the SIM phonebook, for example the number stored to location 11. ATD>MT11; OK
OK To dial a phone number stored in the last dial memory on the SIM card. ATD>DC
6; OK OK Huawei Technologies Proprietary 2-11
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.3.5 Originate Call to Phone Number in Entry l
ocation : ATD>[I][G] Execution command can be used to dial a phone number select
ed from the active memory. Available memories may be queried with Select Phonebo
ok Storage test command AT+CPBS=? To begin a call simply, enter the memory locat
ion of the desired entry. The memory location range of each phonebook can be que
ried by AT command AT+CPBR. TA attempts to set up an outgoing call to the specif
ied number. This command may be aborted generally by receiving a character durin
g execution. Abortion is not possible during some states of connection setup suc
h as handshaking. Huawei Technologies Proprietary 2-12
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-20 ATD>[I][G] action command syntax Typ
e Command Possible response(s) +CME ERROR: BUSY NO CARRIER Execution command ATD
>n[I][G][;] OK Description If error is related to ME functionality If busy (para
meter setting ATX3) If connection cannot be set up The first OK indicate t the A
TD Command executed successful. And TA returns to command mode. The second OK wi
ll return If successfully connected a voice call. OK Table 2-21 Parameter descri
ption Parameter Description Integer type memory location in the range of locatio
ns available in the selected memory, i.e. the index number returned by AT+CPBR.
Override the CLIR(Calling line identification restriction) supplementary service
subscription default value for this call; I=invocation (disables presentation o
f own phone number to called party) and i=suppression (enables presentation of o
wn phone number to called party); refer subclause "AT+CLIR Calling line identifi
cation restriction" Control the CUG supplementary service information for this c
all; uses index and info values set with command AT+CCUG; [G] G = Activates Clos
ed User Group invocation for this call only. g = Deactivates Closed User Group i
nvocation for this call only. Refer subclause "AT+CCUG Closed user group" [;] Th
e semicolon is mandatory since dialing from a phonebook is only supported for vo
ice calls [I] Example: ATD>1; OK Huawei Technologies Proprietary 2-13
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 OK ATH OK ATD>”DC”5; ERROR Reference: GSM 07.07 V.2
5 ter 2.3.4 Originate Call to Phone Number in Memory Mem Entry location: ATD>mem
[I][G][;] 2.3.6 Redial last number: ATDL[;] This command redials last number use
d by ATD. Table 2-22 ATDL action command syntax Type Execution command Command A
TDL[;] Possible response(s) ERROR ERROR BUSY NO CARRIER CONNECT / +CME Descripti
on If there is no last number or number is not valid If busy (parameter setting
ATX3) If a connection cannot be set up If successfully connected and non-voice c
all, TA switches to data state. Note: output only if +ATX parameter setting with
value > 0. OK The first OK indicate t the ATD Command executed successful. And
TA returns to command mode. The second OK will return ,If successfully connected
and voice call, OK Huawei Technologies Proprietary 2-14
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.3.7 Call Mode: AT+CMOD Set command selects th
e call mode of further dialling commands (ATD) or for next answering command (AT
A). Mode can be either single or alternating (refer to GSM bearer and teleservic
es that can incorporate more than one basic service (voice, data, fax) within on
e call)). When single mode is selected the call originating and hang up procedur
es are similar to procedures specified in ITU-T Recommendations V.25ter [14]. Re
ad command returns current values. Test command returns values supported by the
TA as a compound value. Note: AT+CMOD is set to zero after a successfully comple
ted alternating mode call. It is set to zero also after a failed answering. The
power-up, factory (&F) and user resets (Z) shall set the value to zero. Table 2-
23 AT+CMOD action command syntax Type Command Possible response(s) +CME ERROR: O
K Read command Test command AT+CMOD? AT+CMOD=? +CMOD: +CMOD: (list of supported
s) Description If error is related to ME functionality If successfully set --- S
et command AT+CMOD=[< mode>] Table 2-24 Parameter description Parameter [0] 1 2
3 Alternating voice/data ( bearer service 61 ) Voice followed by data ( bearer s
ervice 81 ) Value Single mode Alternating voice/fax ( teleservice 61 ) Descripti
on Reference: GSM 07.07 Huawei Technologies Proprietary 2-15
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.3.8 Hang Up Call: AT+CHUP Table 2-25 AT+CHUP
action command syntax Type Command OK AT+CHUP ERROR Test command AT+CHUP=? OK Po
ssible response(s) Description Cancel the active call or held call If failed --
Execution command Reference: GSM 07.07 Note: This command implements the same be
have as ATH. 2.3.9 Select Bearer Service Type: AT+CBST Set command selects the b
earer service with data rate , and the connection element to be used when data c
alls are originated (refer GSM 02.02 [1]). Values may also be used during mobile
terminated data call setup, especially in case of single numbering scheme calls
(refer AT+CSNS). Test command returns values supported by the TA as compound va
lues. Table 2-26 AT+CBST action command syntax Type Set command Command AT+CBST=
[[,[,]]] AT+CBST? Possible response(s) OK +CBST: ,, OK +CBST: (list of supported
s),(list of supported s),(list of supported s) OK -Description Read command --
Test command AT+CBST=? -- Huawei Technologies Proprietary 2-16
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-27 Parameter description Parameter 0 1
2 3 4 5 6 [7] 12 14 65 66 68 70 71 75 0 1 0 [1] 2 3 Both, transparent preferred
Both, non-transparent preferred Data circuit synchronous (UDI or 3.1 kHz modem)
Transparent Non-transparent 9600 bps (V.34) 14400 bps (V.34) 300 bps (V.110) 120
0 bps (V.110) 2400 bps (V.110 or X.31 flag stuffing) 4800 bps (V.110 or X.31 fla
g stuffing) 9600 bps (V.110 or X.31 flag stuffing) 14400 bps (V.110 or X.31 flag
stuffing) Data circuit asynchronous (UDI or 3.1 kHz modem) Value Autobauding 30
0 bps (V.21) 1200 bps (V.22) 1200/75 bps (V.23) 2400 bps (V.22bis) 2400 bps (V.2
6ter) 4800 bps (V.25) 9600 bps (V.25) Description Reference: GSM 07.07 2.3.10 Ra
dio Link Protocol: AT+CRLP Set command may be used when non-transparent data cal
ls are originated. Read command return current settings for the supported RLP ve
rsion 1. Huawei Technologies Proprietary 2-17
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-28 AT+CRLP action command syntax Type C
ommand AT+CRLP=[[,[,[,]]]] Possible response(s) OK +CRLP: ,,,< N2> OK +CRLP: (li
st of supported s),(list of supported s), Test command AT+CRLP=? (list of suppor
ted s),(list of supported s) OK --Description Set command Read command AT+CRLP?
-- Table 2-29 Parameter description Parameter Value 0~[61] 0~[61] 39~[48]-255 1~
[6]-255 Description Interworking window size (IWF to MS) Mobile window size (MS
to IWF) Acknowledgement timer Re-transmission attempts N2 Reference: GSM 07.07 2
.3.11 Service Reporting Control: AT+CR Set command controls whether or not inter
mediate result code +CR: is returned from the TA to the TE. If enabled, the inte
rmediate result code is transmitted at the point during connect negotiation at w
hich the TA has determined which speed and quality of service will be used, befo
re any error control or data compression reports are transmitted, and before the
intermediate result code CONNECT is transmitted. Huawei Technologies Proprietar
y 2-18
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Note: This command replaces V.25ter [14] comman
d Modulation Reporting Control +MR, which is not appropriate for use in the GSM
network. Possible error control (other than radio link protocol) and data compre
ssion reporting can be enabled with V.25ter commands Error Control Reporting +ER
and Data Compression Reporting+DR. Table 2-30 AT+CR action command syntax Type
Set command Read command Command AT+CR=[] AT+CR? OK +CR: OK +CR: (list of suppor
ted s) OK Possible response(s) --Description Test command AT+CR=? -- Table 2-31
Parameter description Parameter [0] 1 Enables reporting Value Description Disabl
es reporting Reference: GSM 07.07 2.3.12 Extended Error Report: AT+CEER Executio
n command causes the TA to return one or more lines of information text , determ
ined by the ME manufacturer, which should offer the user of the TA an extended r
eport of the reason for: the failure in the last unsuccessful call setup (origin
ating or answering) or in-call modification the last call release the last unsuc
cessful GPRS attach or unsuccessful PDP context activation the last GPRS detach
or PDP context deactivation Huawei Technologies Proprietary 2-19
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-32 AT+CEER action command syntax Type E
xecution command Test command Command AT+CEER AT+CEER=? Possible response(s) +CE
ER: OK OK --Description Table 2-33 Parameter description Parameter Description I
ncluding line terminators, in the information text shall not exceed 2041 charact
ers. Text shall not contain the sequence O or OK. Reference: GSM 07.07 2.3.13 Ce
llular Result Codes: AT+CRC Set command controls whether or not the extended for
mat of incoming call indication or GPRS network request for PDP context activati
on is used. When enabled, an incoming call is indicated to the TE with unsolicit
ed result code+CRING: instead of the normal RING. Table 2-34 AT+ CRC action comm
and syntax Type Set command Read command Command AT+CRC=[] AT+CRC? OK +CRC: OK +
CRC: (list of supported s) OK Possible response(s) --Description Test command AT
+CRC=? -- Table 2-35 Parameter description Parameter [0] 1 Enables extended form
at Value Description Disables extended format Huawei Technologies Proprietary 2-
20
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.3.14 Single Numbering Sc
heme: AT+CSNS Set command selects the bearer or teleservice to be used when mobi
le terminated single numbering scheme call is established. Parameter values set
with +CBST command shall be used when equals to a data service. If +CBST paramet
er is set to a value that is not applicable to single numbering calls, ME/TA sha
ll map the value to the closest valid one. Table 2-36 AT+CSNS action command syn
tax Type Set command Read command Command AT+CSNS=[] AT+CSNS? OK +CSNS: OK +CSNS
: (list of supported s) OK Possible response(s) --Description Test command AT+CS
NS=? -- Table 2-37 Parameter description Parameter [0] 1 2 3 4 5 6 7 Data Altern
ating voice/fax, fax first (TS 61) Alternating voice/data, data first (BS 61) Vo
ice followed by data (BS 81) Value Voice Alternating voice/fax, voice first (TS
61) Fax (TS 62) Alternating voice/data, voice first (BS 61) Description Referenc
e: GSM 07.07 Huawei Technologies Proprietary 2-21
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.4 Network Service Related Command 2.4.1 Subsc
riber Number: AT+CNUM Execution command returns the MSISDNs related to the subsc
riber (this information can be stored in the SIM or in the ME). If subscriber ha
s different MSISDN for different services, each MSISDN is returned in a separate
line. Table 2-38 AT+CNUM action command syntax Type Command Possible response(s
) +CNUM:[],,[,,[,]][+ CNUM:[],,[,,[,]][...]] OK +CME ERROR Test command AT+CNUM=
? OK If failed -Description Execution command -- AT+CNUM Table 2-39 Parameter de
scription Parameter Value Description Optional alphanumeric string associated wi
th ; used character set should be the one selected with command Select TE Charac
ter Set +CSCS String type phone number of format specified by Type of address oc
tet in integer format (refer GSM 04.08 [8] subclause 10.5.4.7) Refer AT+CBST Asy
nchronous modem Synchronous modem PAD Access (asynchronous) Packet Access (synch
ronous) Voice Fax 3.1kHz UDI -- ---0 service related to the phone number 1 2 3 4
5 information transfer capability 0 1 Huawei Technologies Proprietary 2-22
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.4.2 Network Registration
Info: AT+CREG Set command controls the presentation of an unsolicited result co
de+CREG. Read command returns the current value of . Table 2-40 AT+CREG action c
ommand syntax Type Set command Command AT+CREG=[] OK +CREG: , OK Read command AT
+CREG? +CME ERROR +CREG: (list supported s) OK of -If failed Possible response(s
) Description When n=1 -- Test command AT+CREG=? Table 2-41 Parameter descriptio
n Parameter [0] 1 Value Description Disable network registration unsolicited res
ult code Enable network registration unsolicited result code +CREG Enable networ
k registration and location information unsolicited result code +CREG: [,,]) Not
registered, ME is not currently searching a new operator to register to Registe
red, home network Not registered, but ME is currently searching a new operator t
o register to Registration denied Unknown Registered, roaming 2 0 1 2 3 4 5 Huaw
ei Technologies Proprietary 2-23
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.4.3 Operator Selection:
AT+COPS Set command forces an attempt to select and register the GSM network ope
rator. is used to select whether the selection is done automatically by the ME o
r is forced by this command to operator . If the selected operator is not availa
ble, no other operator shall be selected (except =4). =2 forces an attempt to de
register from the network. The selected mode affects to all further network regi
stration (e.g. after =2, ME shall be unregistered until =0 or 1 is selected). Ta
ble 2-42 AT+COPS action command syntax Type Command AT+COPS=[[, [,]]] OK +CME ER
ROR: +COPS: [,,] Read command AT+COPS? Ok +CME ERROR: +COPS: [list of supported
(s, long alphanumeric ,short alphanumeric ,numeric )s] Test command AT+COPS=? [,
,(list of supported s),(list of supported s)] OK +CME ERROR: If error is relate
to ME function If error is relate to ME function Possible response(s) -If error
is relate to ME functionality Description Set command -- -- Huawei Technologies
Proprietary 2-24
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-43 Parameter description Parameter [0]
1 2 Value Description Automatic ( field is ignored) Manual ( field shall be pres
ent) Deregister from network Set only (for +COPS?), do registration/deregistrati
on ignored); This value is not command response read command not attempt ( field
is applicable in read 3 4 Manual/automatic ( field shall be present); If manual
selection fails, automatic mode (=0) is entered Long format alphanumeric , up t
o 16 characters Short format characters Numeric String type; indicates if the fo
rmat is alphanumeric or numeric; numeric format is the GSM Location Area Identif
ication number (refer GSM 04.08 [8] subclause 10.5.1.3) which consists of a thre
e BCD digit country code coded as in ITU-T E.212 Annex A [10], plus a two BCD di
git network code, which is administration specific Unknown Available Current For
bidden alphanumeric , 8 [0] 1 2 -- 0 1 2 3 Reference: GSM 07.07 2.4.4 Facility L
ock: AT+CLCK Execution command is used to lock, unlock or interrogate a ME or a
network facility . Password is normally needed to do such actions. When querying
the status of a network service (=2) the response line for not active case (=
0) should be returned only if service is not active for any . This command shoul
d be abortable when network facilities are set or interrogated. Huawei Technolog
ies Proprietary 2-25
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-44 AT+CLCK action command syntax Type C
ommand OK AT+CLCK=,[,[,]] +CLCK: [, [+CLCK: ,[...] ] OK +CME ERROR +CLCK: (list
of supported s) Test command AT+CLCK=? OK +CME ERROR: If failed If failed -Possi
ble response(s) -Description Set command When =2 and command successful Table 2-
45 Parameter description Parameter values reserved by the present document Value
"AO" "OI" "OX" "AI" "IR" Description Barr All Outgoing Calls Barr Outgoing Inte
rnational Calls Barr Outgoing International Calls except to Home Country Barr Al
l Incoming Calls Barr Incoming Calls when Roaming outside the home country PH-SI
M (lock PHone to SIM card) (ME asks password when other than current SIM card in
serted; ME may remember certain amount of previously used cards thus not requiri
ng password when they are inserted) Network Personalisation (refer GSM 02.22 [33
]) Service Provider Personalisation (refer GSM 02.22 [33]) Network sUbset Person
alisation (refer GSM 02.22 [33]) Corporate Personalisation (refer GSM 02.22 [33]
) “PS” “PN” “PP” “PU” “PC” Huawei Technologies Proprietary 2-26
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter Value Description Llock Phone to the
very First inserted SIM card (also referred in the present document as PH-FSIM)
(ME asks password when other than the first SIM card is inserted) “PF” "SC" "FD" 0 1
2 0 1 SIM SIM fixed dialing feature Unlock Lock Query status Not active Active
String type; Shall be the same as password specified for the facility from the M
E user interface or with command Change Password +CPWD Voice (telephony) Data (r
efers to all bearer services; with =2 this may refer only to some bearer service
if TA does not support values 16, 32, 64 and 128) Fax (facsimile services) Shor
t message service Data circuit sync Data circuit async Dedicated packet access -
- 1 2 4 8 16 32 64 Reference: GSM 07.07 2.4.5 Change Password: AT+CPWD Set comma
nd sets a new password for the facility lock function defined by command Facilit
y Lock +CLCK. Huawei Technologies Proprietary 2-27
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-46 AT+CPWD action command syntax Type C
ommand AT+CPWD=,,< newpwd> OK +CME ERROR +CPWD: list of supported (s, )s OK +CME
ERROR: If failed Possible response(s) -If failed Description Set command -- Tes
t command AT+CPWD=? Table 2-47 Parameter description Parameter values reserved b
y the present document "AO" "OI" "OX" "AI" "IR" Value Description Barr All Outgo
ing Calls Barr Outgoing International Calls Barr Outgoing International Calls ex
cept to Home Country Barr All Incoming Calls Barr Incoming Calls when Roaming ou
tside the home country PH-SIM (lock PHone to SIM card) (ME asks password when ot
her than current SIM card inserted; ME may remember certain amount of previously
used cards thus not requiring password when they are inserted) Network Personal
isation (refer GSM 02.22 [33]) Service Provider Personalisation (refer GSM 02.22
[33]) Network sUbset Personalisation (refer GSM 02.22 [33]) Corporate Personali
sation (refer GSM 02.22 [33]) Lock Phone to the very First inserted SIM card (al
so referred in the present document as PH-FSIM) (ME asks password when other tha
n the first SIM card is inserted) "P2" SIM PIN 2 “PS” “PN” “PP” “PU” “PC” “PF” Huawei Techn
ietary 2-28
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter “SC” Value SIM Description , -- String ty
pe; shall be the same as password specified for the facility from the ME user in
terface or with command Change Password +CPWD and is the new password. Integer t
ype ,maximum password for the facility length of the -- Reference: GSM 07.07 2.4
.6 Calling Line Identification Presentation: AT+CLIP This command refers to the
GSM supplementary service CLIP (Calling Line Identification Presentation) that e
nables a called subscriber to get the calling line identity (CLI) of the calling
party when receiving a mobile terminated call. Set command enables or disables
the presentation of the CLI at the TE. It has no effect on the execution of the
supplementary service CLIP in the network. If the presentation of the CLI at the
TE is enabled (and calling subscriber allows), +CLIP:,[,,[,[][,]]] response is
returned after every RING (or +CRING: ;) result code sent from TA to TE. It is m
anufacturer specific if this response is used when normal voice call is answered
. Read command gives the status of , and also triggers an interrogation of the p
rovision status of the CLIP service according to GSM 02.81 [3]. Table 2-48 AT+CL
IP action command syntax Type Set command Read command Command AT+CLIP= AT+CLIP?
OK +CLIP: , OK +CLIP: (list supported s) OK of -Possible response(s) --Descript
ion Test command AT+CLIP=? Huawei Technologies Proprietary 2-29
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-49 Parameter description Parameter sets
/shows the result code presentation status in the TA shows the subscriber CLIP s
ervice status in the network [0] Value Disable Description 1 Enable 0 1 2 -----
CLIP not provisioned CLIP provisioned Unknown (e.g. no network, etc.) String typ
e, phone number of format specified by Type of address octet in integer format S
tring type subaddress of format specified by Type of subaddress octet in integer
format Optional string type alphanumeric representation of corresponding to the
entry found in phonebook; Used character set should be the one selected with co
mmand Select TE Character Set AT+CSCS Valid CLI has been withheld by the origina
tor CLI is not available due to interworking problems or limitations of originat
ing network -- 0 1 2 Reference: GSM 07.07 2.4.7 Calling Line Identification Rest
riction: AT+CLIR This command refers to CLIR-service according to GSM 02.81 [3]
that allows a calling subscriber to enable or disable the presentation of the CL
I to the called party when originating a call. Read command gives the status of
, and also triggers an interrogation of the provision status of the COLP service
according to GSM 02.81 [3] (given in ). Huawei Technologies Proprietary 2-30
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-50 AT+CLIR action command syntax Type S
et command Read command Command AT+CLIR=[] AT+CLIR? OK +CLIR: , OK +CLIR: (list
supported s) OK of -Possible response(s) --Description Test command AT+CLIR=? Ta
ble 2-51 Parameter description Parameter set the adjustment for outgoing calls [
0] 1 2 0 show the subscriber CLIR service status in the network 1 2 3 4 Value De
scription Presentation indicator is used according to the subscription of the CL
IR service CLIR invocation CLIR suppression CLIR not provisioned CLIR provisione
d in permanent mode Unknown (e.g. no network, etc.) CLIR temporary mode presenta
tion restricted CLIR temporary mode presentation allowed Reference: GSM 07.07 2.
4.8 Connected Line Identification presentation: AT+COLP This command refers to C
LIR-service according to GSM 02.81 [3] that allows a calling subscriber to enabl
e or disable the presentation of the CLI to the called party when originating a
call. Read command gives the status of , and also triggers an interrogation of t
he provision status of the COLP service according to GSM 02.81 [3] (given in ).
Table 2-52 AT+COLP action command syntax Type Set command Command AT+COLP=[] OK
Possible response(s) -Description Huawei Technologies Proprietary 2-31
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Read command Command AT+COLP? Possible res
ponse(s) +COLP: , OK +COLP: (list supported s) OK of --- Description Test comman
d AT+COLP=? Parameter description, refer to command: AT+CLIR. Reference: GSM 07.
07 2.4.9 Closed User Group: AT+CCUG This command allows control of the Closed Us
er Group supplementary service (refer GSM 02.85 [21]). Set command enables the s
erved subscriber to select a CUG index, to suppress the Outgoing Access (OA), an
d to suppress the preferential CUG. Table 2-53 AT+CCUG action command syntax Typ
e Command AT+CCUG=[[,[,]]] AT+CCUG? Possible response(s) OK +CCUG: ,, OK +CCUG:
(),(),() OK -Description Set command Read command -- Test command AT+CCUG=? -- T
able 2-54 Parameter description Parameter [0] 1 [0]~9 10 Enable CUG temporary mo
de CUG index No index (preferred subscriber data) CUG taken from Value Descripti
on Disable CUG temporary mode Huawei Technologies Proprietary 2-32
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter [0] 1 2 3 Value No information Suppre
ss OA Description Suppress preferential CUG Suppress OA and preferential CUG Ref
erence: GSM 07.07 2.4.10 Call Forwarding Number and Conditions: AT+CCFC This com
mand allows control of the call forwarding supplementary service according to GS
M 02.82 [4]. Registration, erasure, activation, deactivation, and status query a
re supported. Table 2-55 AT+CCFC action command syntax Type Command OK +CCFC: ,[
,< number>, AT+CCFC=,[ ,[,[,[,< subaddr>[,[,]]]] ]] [,,[,]]][ +CCFC: ,[,< number
>, [,,[,]]][...]] OK +CME ERROR: of -If failed When =2 and command successful Po
ssible response(s) -Description Set command Test command AT+CCFC=? +CCFC: (list
supported s) OK Reference: GSM 07.07 Huawei Technologies Proprietary 2-33
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-56 Parameter description Parameter 0 1
2 3 4 5 0 1 2 3 4 type of address octet in integer format (refer GSM 04.08 [8] s
ubclause 10.5.4.7) type of subaddress octet in integer format (refer GSM 04.08 [
8] subclause 10.5.4.8) sum of integers each representing a class of information
-145 Value Unconditional Mobile busy No reply Not reachable All call forwarding
(refer GSM 02.30 [19]) All conditional call forwarding (refer GSM 02.30 [19]) Di
sable Dnable Query status Registration Erasure String type phone number of forwa
rding address in format specified by Default, when dialling string includes inte
rnational access code character "+" Description 129 -- -- String type subaddress
of format specified by 128 Default 1 Voice (telephony) Data (refers to all bear
er services; With =2 this may refer only to some bearer service if TA does not s
upport values 16) When "no reply" is enabled or queried, this gives the time in
seconds to wait before call is forwarded, default value 20 2 1-30 Huawei Technol
ogies Proprietary 2-34
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter 0 1 Value Not active Active Descripti
on 2.4.11 Call Waiting: AT+CCWA This command allows control of the Call Waiting
supplementary service according to GSM 02.83 [5]. Table 2-57 AT+CCWA action comm
and syntax Type Command OK +CCWA: ,[+CCWA: ,[...] ] OK +CME Read command AT+CCWA
? ERROR: If failed -of Possible response(s) -Description Set command AT+CCWA=[[,
[,]]] If =2 and command successful +CCWA: OK +CCWA: (list supported s) OK Test c
ommand AT+CCWA=? Table 2-58 Parameter description Parameter sets/shows the resul
t code presentation status in the TA if parameter is not given, network is not i
nterrogated [0] Value Disable Description 1 Enable 0 1 2 1 Disable Enable Query
status Voice (telephony) Huawei Technologies Proprietary 2-35
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter sum of integers each representing a c
lass of information 2 4 [7] 8 16 32 64 128 0 1 Value Data Fax Description Voice,
data and fax (1+2+4) Short message service Data circuit sync Data circuit async
Dedicated packet access Dedicated PAD access Not active Active Reference: GSM 0
7.07 2.4.12 Call Hold and Multiparty: AT+CHLD Use this command, a call can be te
mporarily disconnected from the ME but the connection is retained by the network
and multiparty conversation. The served subscriber who has two calls (one held
and the other either active or alerting) can connect the other parties and relea
se the served subscriber s own connection. Huawei Technologies Proprietary 2-36
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-59 AT+CHLD action command syntax Type C
ommand OK Set command AT+CHLD=[] +CME ERROR: of -Possible response(s) -If set fa
iled Description Test command AT+CHLD=? [+CHLD: (list supported s)] OK Table 2-6
0 Parameter description Parameter 0 1 1X 2 2X 3 4 Value Description Releases all
held calls or sets User Determined User Busy (UDUB) for a waiting call. Release
s all active calls (if any exist) and accepts the other (held or waiting) call.
Releases a specific active call X. Places all active calls (if any exist) on hol
d and accepts the other (held or waiting) call. Places all active calls on hold
except call X with which communication shall be supported. Adds a held call to t
he conversation. Connects the two calls and disconnects the subscriber from both
calls (ECT). integer type; equals to numbers entered before SEND button in GSM
02.30 [19] subclause 4.5.5.1 Reference: GSM 07.07 2.4.13 Unstructured Supplement
ary Service: AT+CUSD This command allows control of the Unstuctured Supplementar
y Service Data (USSD) according to GSM 02.90 [23]. Both network and mobile initi
ated operations are supported. Parameter is used to disable/enable the presentat
ion of an unsolicited result code (USSD response from the network, or network in
itiated operation) +CUSD: [,,] to the TE. When is given, a mobile initiated USSD
-string or a response USSD-string to a network initiated operation is sent to th
e network. The response USSD-string from the network is returned in a subsequent
unsolicited +CUSD result code. Huawei Technologies Proprietary 2-37
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-61 AT+CUSD action command syntax Type C
ommand AT+CUSD=[[,[,] ]] AT+CUSD? OK +CME ERROR: +CUSD: OK +CUSD: (list supporte
d s) OK of -Possible response(s) -If set failed -Description Set command Read co
mmand Test command AT+CUSD=? Table 2-62 Parameter description Parameter [0] 1 2
Value Description Disable the result code presentation in the TA Enable the resu
lt code presentation in the TA Cancel session (not applicable to read command re
sponse) String type USSD-string (If parameter is not given, network is not inter
rogated): -If indicates that GSM 03.38[25] default alphabet is used, ME/TA conve
rts GSM alphabet into current TE character set according to rules of GSM 07.05[2
4] Annex A. GSM 03.38 [25] Cell Broadcast Data Coding Scheme in integer format (
default 0) No further user action required (network initiated USSD-Notify, or no
further information needed after mobile initiated operation) Further user actio
n required (network initiated USSD-Request, or further information needed after
mobile initiated operation) USSD terminated by network -- 0 1 2 Reference: GSM 0
7.07 Huawei Technologies Proprietary 2-38
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.4.14 Advice of Charge: AT+CAOC This command r
efers to Advice of Charge supplementary service (GSM 02.24 [26] and GSM 02.86 [2
7]) that enables subscriber to get information about the cost of calls. Table 2-
63 AT+CAOC action command syntax Type Command Possible response(s) [+CAOC: ] Exe
cution command AT+CAOC[=< mode>] OK +CME ERROR: Read command AT+CAOC? +CAOC: OK
[+CAOC: (list of supported s] OK -If setting failed -Description Test command AT
+CAOC=? -- Table 2-64 Parameter description Parameter 0 [1] 2 Value Description
Query CCM value Deactivate the unsolicited reporting of CCM value Activate the u
nsolicited reporting of CCM value String type; Three bytes of the current call m
eter value in hexadecimal format (e.g. "00001E" indicates decimal value 30); Val
ue is in home units and bytes are similarly coded as ACM max value in the SIM --
Reference: GSM 07.07 2.4.15 Supplementary Service Notification: AT+CSSN This co
mmand refers to supplementary service related network initiated notifications. S
et command enables/disables the presentation of notification result codes from T
A to TE. When =1 and a supplementary service notification is received during a m
obile originated call setup, intermediate result code +CSSI: [,] is sent to TE.
When =1 and a supplementary service notification is received during a mobile Hua
wei Technologies Proprietary 2-39
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 terminated call setup or during a call, or when
a forward check supplementary service notification is received, unsolicited res
ult code +CSSU: [,[,,[,,]]] is sent to TE. Table 2-65 AT+CSSN action command syn
tax Type Set command Read command Command AT+CSSN=[[,]] AT+CSSN? OK +CSSN: , OK
+CSSN: (list of supported s),(list of supported s) OK Possible response(s) --Des
cription Test command AT+CSSN=? -- Table 2-66 Parameter description Parameter se
ts/shows the +CSSI result code presentation status in the TA sets/shows the +CSS
U result code presentation status in the TA [0] Value Disable Description 1 Enab
le [0] Disable 1 Enable [0]~9 10 0 1 2 3 4 5 CUG index No index (preferred subsc
riber data) CUG taken from Unconditional call forwarding is active Some of the c
onditional call forwardings are active Call has been forwarded Call is waiting T
his is a CUG call (also present) Outgoing calls are barred Huawei Technologies P
roprietary 2-40
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter 6 7 8 0 1 2 3 4 5 6 Value Description
Incoming calls are barred CLIR suppression rejected Call has been deflected Thi
s is a forwarded call (MT call setup) This is a CUG call (also present) (MT call
setup) Call has been put on hold (during a voice call) Call has been retrieved
(during a voice call) Multiparty call entered (during a voice call) Call on hold
has been released (this is not a SS notification) (during a voice call) Forward
check SS message received (can be received whenever) Call is being connected (a
lerting) with the remote party in alerting state in explicit call transfer opera
tion (during a voice call) Call has been connected with the other remote party i
n explicit call transfer operation (also number and subaddress parameters may be
present) (during a voice call or MT call setup) This is a deflected call (MT ca
ll setup) 7 8 9 Reference: GSM 07.07 2.4.16 List Current Calls: AT+CLCC TA list
the current calls of ME to TE Huawei Technologies Proprietary 2-41
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-67 AT+CLCC action command syntax Type C
ommand Possible response(s) [+CLCC: ,,,< mode>,[, ,[,]][+C LCC: ,,,< mode>,[,,[,
]][...]]] OK +CME Test command AT+CLCC=? OK ERROR: If list failed -Description -
- Execution command AT+CLCC Table 2-68 Parameter description Parameter -0 1 0 1
call state 2 3 4 5 (bearer/teleservice) 0 1 2 3 4 5 6 Mobile terminated (MT) cal
l Active Held Dialing (MO call) Alerting (MO call) Incoming (MT call) Waiting (M
T call) Voice Data Fax Voice followed by data, voice mode Alternating voice/data
, voice mode Alternating voice/fax, voice mode Voice followed by data, data mode
Value Description Integer type; Call identification number as described in GSM
02.30 [19] subclause 4.5.5.1 Mobile originated (MO) call Huawei Technologies Pro
prietary 2-42
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Parameter 7 8 9 0 1 string type phone number in
format specified by -- Value Description Alternating voice/data, data mode Alte
rnating voice/fax, fax mode Unknown Call is not one of multiparty (conference) c
all parties Call is one of multiparty (conference) call parties -- Reference: GS
M 07.07 2.4.17 Preferred Operator List: AT+CPOL This command is used to edit the
SIM preferred list of networks. Execution command writes an entry in the SIM li
st of preferred operators (EFPLMNsel). If is given but is left out, entry is del
eted. If is given but is left out, is put in the next free location. If only is
given, the format of the in the read command is changed. Table 2-69 AT+CPOL acti
on command syntax Type Command OK +CME ERROR: +CPOL: ,,< oper1>[+C POL: ,,< oper
2>[...]] OK +CME ERROR: If error is relate to ME Possible response(s) -If failed
Description Set command AT+CPOL=[][,[,]] -- Read command AT+CPOL? Huawei Techno
logies Proprietary 2-43
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Command Possible response(s) +CPOL: (list
of supported s),(list of supported s) OK +CME ERROR: Description -- Test command
AT+CPOL=? If error is relate to ME Table 2-70 Parameter description Parameter 0
1 2 Value Description integer type; the order number of operator in the SIM pre
ferred operator list Long format alphanumeric Short format alphanumeric Numeric
string type; indicates if the format is alphanumeric or numeric (see+COPS) Refer
ence: GSM 07.07 2.4.18 Read Operator Names: AT+COPN Execution command returns th
e list of operator names from the ME. Each operator code that has an alphanumeri
c equivalent in the ME memory shall be returned. Table 2-71 AT+COPN action comma
nd syntax Type Command Possible response(s) +COPN: ,[+COPN: ,[...]] OK +CME ERRO
R: If error is relate to ME Description -- Execution command AT+COPN Huawei Tech
nologies Proprietary 2-44
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Test command Command AT+COPN=? OK Possible
response(s) -- Description Table 2-72 Parameter description Parameter --Value D
escription String type; Operator in numeric format (see+COPS) String type; Opera
tor in long alphanumeric format (see+COPS) Note: After the execution of the AT+C
OPN command, the system returns the operator list and prompts "OK". During the e
xecution of the AT+COPN command, the command cannot be executed again before the
system prompts "OK". Otherwise, the module may reset. Reference: GSM 07.07 2.5
ME Control and Status Commands 2.5.1 Phone Activity Status: AT+CPAS Execution co
mmand returns the activity status of the ME. Table 2-73 AT+CPAS action command s
yntax Type Command Possible response(s) +CPAS: Execution command AT+CPAS OK +CME
ERROR: +CPAS: (list of supported s) Test command AT+CPAS=? OK +CME ERROR: If er
ror is relate to ME -If error is relate to ME -Description Huawei Technologies P
roprietary 2-45
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-74 Parameter description Parameter 0 1
2 3 4 5 Ringing Call in progress Asleep, ME is not ready Value ME is ready ME is
unavailable Unknown, ME is not ready Description Reference: GSM 07.07 2.5.2 Set
Phone Functionality: AT+CFUN Set command selects the level of functionality in
the ME. Level "full functionality" is where the highest level of power is drawn.
"Minimum functionality" is where minimum power is drawn. Table 2-75 AT+CFUN act
ion command syntax Type Command OK Set command AT+CFUN=[[,]] +CME ERROR: +CFUN:
OK Read command AT+CFUN? +CME ERROR: +CFUN: (list of supported s), (list of supp
orted s) OK +CME ERROR: If error is relate to ME If error is relate to ME Possib
le response(s) -If error is relate to ME -Description -- Test command AT+CFUN=?
Huawei Technologies Proprietary 2-46
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-76 Parameter description Parameter 0 [1
] 4 0 Value Description Minimum functionality Full functionality Disable phone b
oth transmit and receive RF circuits Do not reset the ME before setting it to po
wer level Note: It is manufacturer specific does this command affect network reg
istration. Command Operator Selection “AT+COPS” OR “AT%NRG” is used to force registratio
n/deregistration. Reference: GSM 07.07 2.5.3 Enter PIN: AT+CPIN Set command send
s to the ME a password which is necessary before it can be operated. Read comman
d returns an alphanumeric string indicating whether the password is required or
not. Table 2-77 AT+CPIN action command syntax Type Command OK Set command AT+CPI
N=[,] +CME ERROR: +CPIN: Read command AT+CPIN? OK +CME ERROR: Test command AT+CP
IN=? OK Possible response(s) -If error is relate to ME -If error is relate to ME
-Description Huawei Technologies Proprietary 2-47
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-78 Parameter description Parameter --RE
ADY SIM PIN SIM PUK PH-SIM PIN PH-FSIM PIN PH-FSIM PUK Value Description Passwor
d (string type), for example SIM PIN or, if requested, one of the unblocking key
s, such as SIM-PUK or PH-SIM PUK Password (string type) ME is not pending for an
y password ME is waiting SIM PIN to be given ME is waiting SIM PUK to be given M
E is waiting phone-to-SIM card password to be given ME is waiting phone-to-very
first SIM card password to be given ME is waiting phone-to-very unblocking passw
ord to be given first SIM card SIM PIN2 ME is waiting SIM PIN2 to be given (this
is recommended to be returned only when the last executed command resulted in P
IN2 authentication failure (i.e. +CME ERROR: 17); if PIN2 is not entered right a
fter the failure, it is recommended that ME does not block its operation) ME is
waiting SIM PUK2 to be given (this is recommended to be returned only when the l
ast executed command resulted in PUK2 authentication failure (i.e. +CME ERROR: 1
8); if PUK2 and new PIN2 are not entered right after the failure, it is recommen
ded that ME does not block its operation) ME is waiting network personalisation
password to be given ME is waiting network personalisation unblocking password t
o be given ME is waiting network subset personalisation password to be given ME
is waiting network subset personalisation unblocking password to be given ME is
waiting service provider personalisation password to be given ME is waiting serv
ice provider personalisation unblocking password to be given ME is waiting corpo
rate personalisation password to be given ME is waiting SIM PUK2 PH-NET PIN PH-N
ET PUK PH-NETSUB PIN PH-NETSUB PUK PH-SP PIN PH-SP PUK PH-CORP PIN PH-CORP PUK H
uawei Technologies Proprietary 2-48
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.5.4 Battery Charge: AT+C
BC Execution command returns battery connection status and battery charge level
of the ME. Table 2-79 AT+CBC action command syntax Type Command Possible respons
e(s) +CBC: , Execution command AT+CBC OK +CME ERROR: +CBC: (list of supported s)
,(list of supported s) OK -If error is relate to ME Description Test command AT+
CBC=? -- Table 2-80 Parameter description Parameter 0 1 2 3 0 1~100 Battery has
1-100 percent of capacity remaining Value Description ME is powered by battery M
E has a battery connected, but is not powered by it ME does not have a battery c
onnected Recognized power fault, calls inhibited Battery is exhausted, or ME doe
s not have a battery connected Reference: GSM 07.07 2.5.5 Signal Quality: AT+CSQ
Execution command returns received signal strength indication and channel bit e
rror rate from the ME. Huawei Technologies Proprietary 2-49
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-81 AT+CSQ action command syntax Type Co
mmand Possible response(s) +CSQ: , Execution command AT+CSQ OK +CME ERROR: +CSQ:
(list of supported s),(list of supported s) OK -If error is relate to ME Descri
ption Test command AT+CSQ=? -- Table 2-82 Parameter description Parameter 0 1 2~
30 31 99 0~7 99 Value Description -113 dBm or less -111 dBm -109~-53 dBm -51 dBm
or greater Not known or not detectable Refer to the value of RXQUAL in GSM 05.0
8.8.2.4 Not known or not detectable Reference: GSM 07.07 2.5.6 Select Phonebook
Memory Storage: AT+CPBS Set command selects phonebook memory storage , which is
used by other phonebook commands. Read command returns currently selected memory
. Huawei Technologies Proprietary 2-50
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-83 AT+CPBS action command syntax Type C
ommand OK Set command AT+CPBS= +CME ERROR: +CPBS: [,,] Read command AT+CPBS? OK
+CME ERROR: +CPBS: (list supported s) OK of -If error is relate to ME Possible r
esponse(s) -If error is relate to ME Description -- Test command AT+CPBS=? Table
2-84 Parameter description Parameter Value "ON" "FD" "DC" "RC" "MC" “MT” Last recei
ved numbers (nonstandard) Last missed numbers (nonstandard) Combined ME and SIM
phonebook (storage depending on SIM card, In fact no ME phonebook in GTM900) Int
eger type value indicating the number of used locations in selected memory Integ
er type value indicating the total number of locations in selected memory Descri
ption SIM (or ME) own numbers (MSISDNs) list (reading of this storage may be ava
ilable through +CNUM also) $(AT R97)$ SIM fixed-dialling-phonebook SIM last-dial
ling-phonebook --- Reference: GSM 07.07 Huawei Technologies Proprietary 2-51
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.5.7 Read Phonebook Entries: AT+CPBR Execution
command returns phonebook entries in location number range ~ from the current p
honebook memory storage selected with +CPBS. If is empty, only location is retur
ned. Table 2-85 AT+CPBR action command syntax Type Command Possible response(s)
[+CPBR: ,, ,[[...] Set command AT+CPBR=[,] +CPBR: ,, ,]] OK +CME ERROR: +CPBR:(l
ist of supported s), [], [] OK If error is relate to ME -Description Test comman
d AT+CPBR=? -- Table 2-86 Parameter description Parameter Description Integer ty
pe values in the range of location numbers of phonebook memory Integer type valu
es in the range of location numbers of phonebook memory String type phone number
of format Type of address octet in integer format (refer GSM 04.08 [8] subclaus
e 10.5.4.7) String type field of maximum length ; Character set as specified by
command Select TE Character Set +CSCS Integer type value indicating the maximum
length of field Integer type value indicating the maximum length of field Huawei
Technologies Proprietary 2-52
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.5.8 Find Phonebook Entri
es: AT+CPBF Execution command returns phonebook entries (from the current phoneb
ook memory storage selected with +CPBS). The alphanumeric field start with strin
g . Table 2-87 AT+CPBF action command syntax Type Command Possible response(s) [
+CPBF: ,, ,[[...] Set command AT+CPBF= +CBPF: ,, ,]] OK +CME ERROR: +CPBF: [],[]
OK +CME ERROR: If list failed If list failed -Description -- Test command AT+CP
BF=? Table 2-88 Parameter description Parameter , Description Integer type value
s in the range of location numbers of phonebook memory Integer type values in th
e range of location numbers of phonebook memory String type phone number of form
at Type of address octet in integer format (refer GSM 04.08 [8] subclause 10.5.4
.7) String type field of maximum length ; Character set as specified by command
Select TE Character Set +CSCS Integer type value indicating the maximum length o
f field Integer type value indicating the maximum length of field Huawei Technol
ogies Proprietary 2-53
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.5.9 Write Phonebook Entr
ies: AT+CPBW Execution command writes phonebook entry in location number in the
current phonebook memory storage selected with +CPBS. Entry fields written are p
hone number (in the format ) and text associated with the number. If those field
s are omitted, phonebook entry is deleted. If is left out, but is given, entry i
s written to the first free location in the phonebook. Table 2-89 AT+CPBW action
command syntax Type Command AT+CPBW=[][,[,[,]]] OK +CME ERROR: +CPBW: (list of
supported s),[] , Test command AT+CPBW=? (list of supported s),[] OK +CME ERROR:
If list failed Possible response(s) -If failed Description Set command -- Table
2-90 Parameter description Parameter Description Integer type values in the ran
ge of location numbers of phonebook memory String type phone number of format Ty
pe of address octet in integer format (refer GSM 04.08 [8] subclause 10.5.4.7) ;
default 145 when dialling string includes international access code character "
+", otherwise 129 String type, field of maximum length ; Character set as specif
ied by command Select TE Character Set +CSCS Integer type value indicating the m
aximum length of field Integer type value indicating the maximum length of field
Huawei Technologies Proprietary 2-54
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.5.10 Restricted SIM acce
ss: AT+CRSM Set command transmits to the ME the SIM and its required parameters.
Table 2-91 AT+CRSM action command syntax Type Command AT+CRSM=[,[,, ,[,]] ] AT+
CRSM=? Possible response(s) +CRSM: ,[,] OK +CME ERROR: OK If failed -Description
-- Set command Test command Table 2-92 Parameter description Parameter 176 comm
and passed on by the ME to the SIM; refer GSM 11.11 [28] 178 192 214 220 242 , -
-----Value READ BINARY READ RECORD GET RESPONSE UPDATE BINARY UPDATE RECORD STAT
US Integer type; This is the identifier of a elementary datafile on SIM Integer
type; Parameters passed on by the ME to the SIM. Refer to GSM 11.11 [28] Refer t
o Refer to Information which shall be written to the SIM (hexadecimal character
format; refer +CSCS) Integer type; Information from the SIM about the execution
of the actual command Response of a successful completion of the command previou
sly issued (hexadecimal character format; refer to +CSCS) Description -- Huawei
Technologies Proprietary 2-55
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.5.11 Mute Control: AT+CM
UT This command is used to enable/disable the uplink voice muting during a voice
call. Table 2-93 AT+CMUT action command syntax Type Command AT+CMUT= OK +CME ER
ROR: +CMUT: Read command AT+CMUT? OK +CME ERROR: Test command AT+CMUT=? +CMUT: (
list supported s) OK of -Possible response(s) -If set failed -If list failed Des
cription Set command Table 2-94 Parameter description Parameter [0] 1 Mute on Va
lue Mute off Description Reference: GSM 07.07 2.5.12 Accumulated Call Meter: AT+
CACM Set command resets the Advice of Charge related accumulated call meter valu
e in SIM file EFACM. ACM contains the total number of home units for both the cu
rrent and preceding calls. Huawei Technologies Proprietary 2-56
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-95 AT+ CACM action command syntax Type
Command OK Set command AT+CACM=[] +CME ERROR: +CACM: Read command AT+CACM? OK +C
ME ERROR: Test command AT+CACM=? OK If set failed --If failed -Possible response
(s) -Description Table 2-96 Parameter description Parameter Description String t
ype; SIM PIN2 String type; Accumulated call meter value similarly coded as under
+CAOC Reference: GSM 07.07 2.5.13 Accumulated Call Meter Maximum: AT+CAMM Set c
ommand sets the Advice of Charge related accumulated call meter maximum value in
SIM file EFACMmax. ACMmax contains the maximum number of home units allowed to
be consumed by the subscriber. Table 2-97 AT+CAMM action command syntax Type Com
mand AT+CAMM=[[,]] OK +CME ERROR: +CAMM: Read command AT+CAMM? OK +CME ERROR: Te
st command AT+CAMM=? OK Possible response(s) -If set failed -If failed -Descript
ion Set command Huawei Technologies Proprietary 2-57
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-98 Parameter description Parameter Desc
ription String type; Accumulated call meter maximum value; value 0 disables ACMm
ax feature String type; SIM PIN2 Reference: GSM 07.07 2.5.14 Price per unit and
currency table: AT+CPUC Set command sets the parameters of Advice of Charge rela
ted price per unit and currency table in SIM file EFPUCT. PUCT information can b
e used to convert the home units (as used in +CAOC, +CACM and +CAMM) into curren
cy units. Table 2-99 AT+CPUC action command syntax Type Command OK +CME ERROR: +
CPUC: , Read command AT+CPUC? OK +CME ERROR: Test command AT+CPUC=? OK If failed
-Possible response(s) -If set failed Description Set command AT+CPUC=,[ ,] -- T
able 2-100 Parameter description Parameter Description String type; Three-charac
ter currency code (e.g. "GBP", "DEM"); Character set as specified by command Sel
ect TE Character Set +CSCS String type; Price per unit; Dot is used as a decimal
separator (e.g. "2.49") String type; SIM PIN2 Huawei Technologies Proprietary 2
-58
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Reference: GSM 07.07 2.5.15 Call Meter Maximum
Event: AT+CCWE This command determines whether or not the unsolicited result cod
e +CCWV will be sent, shortly before the ACM (Accumulated Call Meter) maximum va
lue is reached. Table 2-101 AT+CCWE action command syntax Type Command OK Set co
mmand AT+CCWE= +CME ERROR: +CCWE: OK Read command AT+CCWE? +CME ERROR: +CCWE: (l
ist of supporteds) Test command AT+CCWE=? OK +CME ERROR: If failed If failed If
failed Possible response(s) -Description -- -- Table 2-102 Parameter description
Parameter [0] 1 Enable the call meter warning event Value Description Disable t
he call meter warning event Reference: GSM 07.07 Huawei Technologies Proprietary
2-59
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.5.16 Set Voice Mail Number: AT+CSVM This comm
and is used to set the voice mail number. Table 2-103 AT+CSVM action command syn
tax Type Command OK +CME ERROR: +CSVM:,, OK +CSVM: (list of supported s), (list
of supported s) OK Possible response(s) -If failed Description Set command AT+CS
VM=[,[,]] Read command AT+CSVM? -- Test command AT+CSVM=? -- Table 2-104 Paramet
er description Parameter [0] 1 -129 integer type; Type of address octet. (refer
GSM 04.08 section 10.5.4.7) 145 161 128~255 ISDN / telephony international numbe
r numbering plan, Enable the voice mail number String type; Character string <0.
.9,+> ISDN / telephony numbering plan, national / international unknown Value De
scription Disable the voice mail number ISDN / telephony numbering plan, nationa
l number Other values refer GSM 04.08 section 10.5.4.7 Reference: GSM 07.07 2.5.
17 Set Event: AT+CLAE This command is used to enable and disable unsolicited res
ult code +CLAV: . Huawei Technologies Proprietary 2-60
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-105 AT+CLAE action command syntax Type
Command OK Set command AT+CLAE= +CME ERROR: +CLAE: OK Read command AT+CLAE? +CME
ERROR: +CLAE: (list of supported s) Test command AT+CLAE=? OK +CME ERROR: If fa
iled If failed If failed Possible response(s) -Description -- -- Table 2-106 Par
ameter description Parameter [0] 1 Enable Value Disable Description Reference: G
SM 07.07 2.5.18 Set language: AT+CLAN This command sets the language in ME. The
set-command must confirm the selected language with the MMI-module in the ME. Ta
ble 2-107 AT+CLAN action command syntax Type Command AT+CLAN= OK +CME ERROR: +CL
AN: Read command AT+CLAN? OK +CME ERROR: Possible response(s) -If set failed -If
failed Description Set command Huawei Technologies Proprietary 2-61
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Command Possible response(s) +CLAN:(list o
f supported s) -- Description Test command AT+CLAN=? OK +CME ERROR: If failed Ta
ble 2-108 Parameter description Parameter Value "AUTO" "en" "fr" "de" "it" "es"
"no" “el” “pl” “in” “cs” “zh” “ar” Description Read language from SIM. But "Auto" is never
he read-command. English French German Italian Spanish Norwegian Greek Polish In
donesian Czech Chinese Arabic Reference: GSM 07.07 2.5.19 List All Available AT
Commands: AT+CLAC This command lists one or more lines of AT Commands from ME. H
uawei Technologies Proprietary 2-62
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-109 AT+CLAC action command syntax Type
Command Possible response(s) [ […]] OK +CME ERROR: If failed Description Execution
command -- AT+CLAC Table 2-110 Parameter description Parameter Description Defi
nes the AT command including the prefix AT Reference: GSM 07.07 2.5.20 Real time
clock: AT+CCLK TA returns the current time of module. Table 2-111 AT+CCLK actio
n command syntax Type Command OK Set command AT+CCLK= ERROR +CCLK: YY/MM/DD,hh:m
m:ss OK Possible response(s) Description Set the module time, if set successfull
y Set the module time, if failed -- Read command AT+CCLK? Table 2-112 Parameter
description Parameter Value YY/MM/DD,hh:mm:ss Description String type Example Ti
me set to: Huawei Technologies Proprietary 2-63
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 16:20:30 on December 31, 2004 Time input as: AT
+CCLK=”04/12/31,16:20:30” 2.6 ME Error 2.6.1 Report Mobile Equipment error +CMEE: AT
+CMEE Set command disables/enables the result code +CME ERROR: as an indication
of an error relating to the functionality of the ME. Table 2-113 AT+CMEE action
command syntax Type Set command Read command Command AT+CMEE=[] AT+CMEE? OK +CME
E : OK +CMEE: (list supported s) OK of -Possible response(s) --Description Test
command AT+CMEE=? Table 2-114 Parameter description Parameter [0] 1 2 Value Desc
ription Disable + CME ERROR: result code and use ERROR instead Enable + CME ERRO
R: result code and use numeric values Enable + CME ERROR: result code and use ve
rbose values Reference: GSM 07.07 Huawei Technologies Proprietary 2-64
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 2.6.2 Mobile Equipment Error Result Code: +CME
ERROR I. General errors Errors 0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 18 20 21
22 23 24 25 26 27 30 31 32 40 41 phone failure no connection to phone phone adap
tor link reserved operation not allowed operation not supported PH SIM PIN requi
red PH-FSIM PIN required PH-FSIM PUK required SIM not inserted SIM PIN required
SIM PUK required SIM failure SIM busy SIM wrong incorrect password SIM PIN2 requ
ired SIM PUK2 required memory full invalid index not found memory failure text s
tring too long invalid characters in text string dial string too long invalid ch
aracters in dial string no network service network timeout network not allowed -
emergency calls only network personalisation PIN required network personalisati
on PUK required Huawei Technologies Proprietary 2-65
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 42 43 44 45 46 47 100 network subset personalis
ation PIN required network subset personalisation PUK required service provider
personalisation PIN required service provider personalisation PUK required corpo
rate personalisation PIN required corporate personalisation PUK required unknown
II. GPRS-related errors 1) Errors related to a failure to perform an Attach Ill
egal MS (#3) Illegal ME (#6) GPRS services not allowed (#7) PLMN not allowed (#1
1) Location area not allowed (#12) Roaming not allowed in this location area (#1
3) 103 106 107 111 112 113 2) Errors related to a failure to Activate a Context
service option not supported (#32) requested service option not subscribed (#33)
service option temporarily out of order (#34) PDP authentication failure 132 13
3 134 149 3) Other GPRS errors invalid mobile class unspecified GPRS error 150 1
48 2.7 Commands from TIA IS-101 2.7.1 Select Mode: AT+FCLASS This command puts t
he TA into a particular mode(data, fax, voice etc) of operation. TA process info
rmation in a manner suitable for that type of information. Huawei Technologies P
roprietary 2-66
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Table 2-115 AT+FCLASS action command syntax Typ
e Set command Read command Command AT +FCLASS= AT+FCLASS? OK +FCLASS: OK +FCLASS
: (list supported s) OK of -Possible response(s) --Description Test command AT+F
CLASS=? Table 2-116 Parameter description Parameter 0 2.0 8 Value Data Fax class
2 (ITU-T T.32 [12] and TIA-592) Voice Description 2.7.2 DTMF and Tone Generatio
n: AT+VTS The set command is intended for sending one or more ASCII characters w
hich cause the MSC (Mobile Switching Center) to transmit DTMF tones to a remote
subscriber. 1) 2) Allows the user to send a sequence of DTMF tones with a durati
on. Allow the user to send a single DTMF tone. In this case, the duration can be
individually determined during the call. Note: The Set command can only be used
during an active voice call. Table 2-117 AT+VTS action command syntax Type Comm
and AT+VTS= AT+VTS=[,] OK +CME ERROR: Possible response(s) -If error is related
to ME functionality Description Set command Huawei Technologies Proprietary 2-67
AT Command Reference Huawei GTM900 Wireless Module Chapter 2 Standardized AT Com
mand Specified by GSM Rec. 07.07 Type Command Possible response(s) +VTS: (list o
f supported s)[, (list of supported s)] OK Description Test command AT+VTS=? --
Table 2-118 Parameter description Parameter Description String of ASCII characte
rs in the set 0-9,#,*,A, B, C,D. Maximal length of the string is 29. The string
must be enclosed in quotation marks (..). ASCII character in the set 0-9,#,*, A,
B, C, D 1-255 duration of a tone in 1/10 second Reference: GSM 07.07 Huawei Tec
hnologies Proprietary 2-68
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Chapter 3 Commands Specified by ITU-T Rec. V25ter 3.1 About
This Chapter This chapter describes the AT Commands specified by ITU-T Rec. V25
ter as referenced by GSM Rec. 07.07, including: Generic TA Control Commands Call
Control Commands Data Compression Commands 3.2 Generic TA Control Commands 3.2.
1 Repeat Previous Commands: A/ Repeat previous command line. Line does not need
to end with terminating character. Table 3-1 A/ action command syntax Type Execu
tion command A/ Command -Possible response(s) -Description Reference: v.25 3.2.2
Reset to Default Configuration: ATZ Table 3-2 ATZ action command syntax Type Co
mmand Possible response(s) Description TA sets all parameters to their factory d
efault as specified by the manufacturer. Any call in progress will be terminated
. If is not recognized. OK Execution command ATZ ERROR Huawei Technologies Propr
ietary 3-1
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Table 3-3 Parameter description Parameter Value [0] 1 2 Des
cription Restores to the default value. Restores the command parameter saved by
AT&W[1]. Restores the command parameter saved by AT&W2. The ATZ1 and ATZ2 comman
ds are used to restore the command parameter saved by the AT&W command. When you
restore the command parameter by using ATZ2, the following information is displ
ayed: +CSMS: 1.1.1 OK OK Among this, the first OK indicates that the parameter o
f the AT+CSMS command is restored successfully; the second OK indicates that all
the command parameters are restored successfully by the ATZ2 command. Table 3-4
Command parameters that can be saved by the AT&W command AT Command ATE ATQ ATS
0 ATS3 ATS4 ATS5 ATS6 ATS7 ATS8 ATS10 ATV ATX AT&C AT&D AT+ILRR AT+FCLASS AT+CBS
T ,, Huawei Technologies Proprietary 3-2 Saved Command Parameter
AT Command Reference Huawei GTM900 wireless Module AT Command AT+CMEE AT+COPS AT
+CR AT+CRC AT+CRLP AT+CMGF AT+CNMI AT+CSDH AT+CSMS AT+CGREG AT+CLIP AT+CLIR AT+C
OLP AT+CREG AT%ALS AT%CGAATT AT%CGREG AT%CPI AT%CREG Chapter 3 Commands Specifie
d by ITU-T Rec. V25ter Saved Command Parameter ,, ,,, ,,,, , Table 3-5 The comma
nd parameters that are saved by the AT&W command and can be recovered by the ATZ
command AT Command ATE ATQ ATS0 ATS3 ATS4 ATS5 ATS6 ATS7 ATS8 ATS10 ATV Huawei
Technologies Proprietary 3-3 Recovered Command Parameter
AT Command Reference Huawei GTM900 wireless Module AT Command ATX AT&C AT&D AT+I
LRR AT+FCLASS AT+CBST AT+CMEE AT+COPS AT+CR AT+CRC AT+CRLP AT+CMGF AT+CNMI AT+CS
DH AT+CSMS AT+CGREG AT+CLIP AT+CLIR AT+COLP AT+CREG AT%ALS AT%CGAATT AT%CGREG AT
%CPI AT%CREG Chapter 3 Commands Specified by ITU-T Rec. V25ter Recovered Command
Parameter ,, ,, ,,, ,,,, , Reference: v.25 Huawei Technologies Proprietary 3-4
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter 3.2.3 Set all TA parameters to factory defined config: AT&F
Table 3-6 AT&F action command syntax Type Command Possible response(s) Descript
ion TA sets all of parameters to the default that manufacturer defined. If is no
t recognized OK Execution command AT&F ERROR Table 3-7 Parameter description Par
ameter 0 1 An other manufacturer specific parameter set Value Description Set al
l TA parameter to manufacture default. Table 3-8 Command parameters whose factor
y defaults can be restored by the AT&F0 command AT Command ATS0 ATS1 ATS3 ATS4 A
TS5 ATS6 ATS7 ATS8 ATS10 ATS30 ATS99 AT+CMEE AT+COLP AT+CCWA 0 0 13 10 8 2 60 2
1 1 1 Value Huawei Technologies Proprietary 3-5
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter AT Command ATV ATE ATQ ATX AT+CR AT+CRC AT+CLIP AT+DR AT+IL
RR AT+CSDH AT+CSSN AT+CUSD AT%CPI AT+CCWE AT+CAOC AT+CGREG AT%CGREG AT+CREG AT%C
REG Value Table 3-9 Command parameters whose factory defaults can be restored by
the AT&F1 command AT Command ATS0 ATS1 ATS3 ATS4 ATS5 ATS6 ATS7 ATS8 ATS10 0 0
13 10 8 2 60 2 1 Huawei Technologies Proprietary 3-6 Value
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter AT Command ATS30 ATS99 AT+CMEE AT+COLP AT+CCWA ATV ATE ATQ
ATX AT+CR AT+CRC AT+CLIP AT+DR AT+ILRR AT+CSDH AT+CSSN AT+CUSD AT%CPI AT+CCWE AT
+CAOC AT+CGREG AT%CGREG AT+CREG AT%CREG 1 1 Value Reference: v.25 Huawei Technol
ogies Proprietary 3-7
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter 3.2.4 Manufacturer Information about TA: ATI Table 3-10 ATI
action command syntax Type Command Possible response(s) HUAWEI Execution comman
d ATI GTM900 OK Description TA returns ME issues product information. Reference:
v.25 3.2.5 TA Manufacturer ID: AT+GMI Table 3-11 AT+GMI action command syntax T
ype Execution command Test command Command Possible response(s) HUAWEI OK OK Des
cription TA returns the information of manufacturer. -- AT+GMI AT+GMI=? Referenc
e: v.25 2.2.1 Request Manufacturer Identification: AT+CGMI 3.2.6 TA Model Identi
fication: AT+GMM Table 3-12 AT+GMM action command syntax Type Execution command
Test command Command AT+GMM AT+GMM=? Possible response(s) GTM900 OK OK Descripti
on TA returns model identification. -- Reference: v.25 2.2.2 Request Model Ident
ification: AT+CGMM Huawei Technologies Proprietary 3-8
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter 3.2.7 TA Revision Number: AT+GMR Table 3-13 AT+GMR action c
ommand syntax Type Command Possible response(s) HW REVISION: X Execution command
AT+GMR SW XX.YYY OK Test command AT+GMR=? OK REVISION: Description TA returns p
roduct firmware version identification text. XX.YYY --variant of software releas
e -- Reference: v.25 2.2.3 Request Revision Identification: AT+CGMR 3.2.8 Reques
t TA serial Number: AT+GSN Table 3-14 AT+GSN action command syntax Type Command
Possible response(s) Description TA returns one or more lines of information tex
t to identify the individual device. -- Execution command AT+GSN OK Test command
AT+GSN=? OK Table 3-15 Parameter description Parameter Description Internationa
l Mobile station Equipment Identity of the telephone Reference: v.25 Huawei Tech
nologies Proprietary 3-9
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter 3.2.9 Request Overall Capabilities for TA: AT+GCAP Table 3-
16 AT+GCAP action command syntax Type Execution command Test command Command Pos
sible response(s) +GCAP: OK OK Description TA returns a list of additional capab
ilities. -- AT+GCAP AT+GCAP=? Table 3-17 Parameter description Parameter Descrip
tion For example: ” +FCLASS,+DS” or: “+FCLASS” 3.2.10 Command Line Termination Character
: ATS3 This command sets the character recognized by TA to terminate an incoming
command line. Table 3-18 ATS3 action command syntax Type Set command Read comma
nd Command ATS3= ATS3? OK OK S3: (list supporteds) OK of -Possible response(s) -
-Description Test command ATS3=? Table 3-19 Parameter description Parameter Valu
e 0-127 Description Default: 13 (the ASCII character: carriage return) Reference
: v.25 Huawei Technologies Proprietary 3-10
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter 3.2.11 Responds Formatting Character: ATS4 This command set
s the character generated by TA for result code and information text. Table 3-20
ATS4 action command syntax Type Set command Read command Command ATS4= ATS4? OK
OK S4: (list supporteds) OK of -Possible response(s) --Description Test command
ATS4=? Table 3-21 Parameter description Parameter Value 0~127 Description Defau
lt: 10 (the ASCII character: line feed) Reference: v.25 3.2.12 Editing Character
: ATS5 This command sets the character recognized by TA as a request to delete t
he immediately preceding character from the command line. Table 3-22 ATS5 action
command syntax Type Set command Read command Test command Command ATS5= ATS5? A
TS5=? OK OK S5: (list of supporteds) OK Possible response(s) ---Description Tabl
e 3-23 Parameter description Parameter Value 0~127 Description Default: 8 (the A
SCII character: backspace) Huawei Technologies Proprietary 3-11
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Reference: v.25 3.2.13 Command Echo Mode: ATE This command
sets whether or not the TA echoes characters received from TE during command sta
te. Table 3-24 ATE action command syntax Type Set command Command ATE OK Possibl
e response(s) -Description Table 3-25 Parameter description Parameter [1] 0 Echo
mode off Value Description Echo mode on Reference: v.25 3.2.14 Result Code Supp
ression: ATQ This command sets whether or not the TA transmits result code to TE
. Table 3-26 ATQ action command syntax Type Command OK Set command ATQ (none) If
(value = 1) Possible response(s) Description If (value = 0) Table 3-27 Paramete
r description Parameter [0] 1 Value Description Transmit result code to TE Resul
t code are suppressed and not transmitted Reference: Huawei Technologies Proprie
tary 3-12
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter v.25 3.2.15 Response Format: ATV This command determines wh
ether result codes are transmitted in a numeric form or an alphabetic form. It a
lso determines the contents of the header and trailer transmitted with result co
des and information responses. Table 3-28 ATV action command syntax Type Command
0 Set command ATV OK Table 3-29 Parameter description Parameter [0] 1 Value Des
cription Information response: Short result code format: Information response: L
ong result code format: If (value = 1) Possible response(s) Description If (valu
e = 0) Reference: v.25 3.2.16 CONNECT Result: ATX This command determines whethe
r or not the TA transmits particular result code to TE. Table 3-30 ATX action co
mmand syntax Type Set command Command ATX OK Possible response(s) -Description T
able 3-31 Parameter description Parameter Value [0] Description CONNECT result c
ode is given upon entering online data state. Dial tone and busy detection are d
isabled Huawei Technologies Proprietary 3-13
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Parameter 1 Value Description CONNECT result code is given
upon entering online data state. Dial tone and busy detection are disabled CONNE
CT result code is given upon entering online data state. Dial tone detection is
enabled, and busy detection is disabled CONNECT result code is given upon enteri
ng online data state. Dial tone detection is disabled, and busy detection is ena
bled CONNECT result code is given upon entering online data state. Dial tone and
busy detection are both enabled 2 3 4 Reference: v.25 3.2.17 DCD-usage: AT&C Th
is command determines how the state of circuit 109 relates to the detection of r
eceived line signal from the distant end. Table 3-32 AT&C action command syntax
Type Command OK Set command AT&C ERROR Possible response(s) -If DCD is not suppo
rted by driver Description Table 3-33 Parameter description Parameter [0] 1 Valu
e Description DCD line is always ON DCD line is ON in the presence of data carri
er only. Reference: v.25 Huawei Technologies Proprietary 3-14
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter 3.2.18 DTR-usage: AT&D This command determines how the TA r
esponses when circuit 108/2(DTR) is changed from ON to OFF during data state. Ta
ble 3-34 AT&D action command syntax Type Command OK Set command AT&D ERROR Possi
ble response(s) -If DTR is not supported by driver Description Table 3-35 Parame
ter description Parameter [0] 1 2 Value Description TA ignores status on DTR. Ch
ange to command mode while retaining the connected call. Disconnect data call, c
hange to command mode. During state DTR = OFF is auto-answer off. Reference: v.2
5 3.2.19 Fixed TE-TA Data Rate: AT+IPR This command sets the DTE-DCE bit rate. I
f you set a fix rate, you must ensure that both TE and TA are configured to the
same rate. Table 3-36 AT+IPR action command syntax Type Command OK Set command A
T+IPR= ERROR/ +CME ERROR +IPR: OK Possible response(s) -If error is relate to ME
-Description Read command AT+IPR? Huawei Technologies Proprietary 3-15
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Type Command Possible response(s) Description Test command
AT+IPR=? +IPR: (list of supported s) OK -- Table 3-37 Parameter description Para
meter 300 600 1200 2400 4800 7200 [9600] 14400 19200 28800 33900 38400 57600 115
200 -Value Description Reference: v.25 3.2.20 TE-TA Character Framing: AT+ICF Th
is command determines the local serial port start-stop (asynchronous) character
framing that DCE shall use while accepting DTE commands and while transmitting i
nformation text and result code. Table 3-38 AT+ICF action command syntax Type Se
t command Command AT+ICF=[[,]] Possible response(s) ERROR/ +CME ERROR +ICF:[,] O
K +ICF:(list of supported s),(list of supported s) OK Description If error is re
late to ME Read command AT+ICF? -- Test command AT+ICF=? -- Table 3-39 Parameter
description Parameter 1 2 [3] 4 5 6 0 1 2 [3] Value 8 Data; 2 Stop 8 Data; 1 Pa
rity; 1 Stop 8 Data; 1 Stop 7 Data; 2 Stop 7 Data; 1 Parity; 1 Stop 7 Data; 1 St
op Odd Even Mark Space Description Reference: v.25 3.2.21 TE-TA Local Flow Contr
ol: AT+IFC This command controls the operation of local flow control between DTE
and DCE during the data state when V.42 error control is being used. Huawei Tec
hnologies Proprietary 3-17
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Table 3-40 AT+IFC action command syntax Type Command AT+IFC
=[[,]] OK ERROR/ +CME ERROR +IFC:, OK +IFC:(list of supported s),(li st of suppor
ted s) OK Possible response(s) -If error is relate to ME Description Set command
Read command AT+IFC? -- Test command AT+IFC=? -- Table 3-41 Parameter descripti
on Parameter 0 1 [2] 0 1 [2] Value -DC1/DC3 on circuit 103; do not pass DC1/DC3
characters to the remote DCE Circuit 133 (Ready for Receiving) -DC1/DC3 on circu
it 104 Circuit 106 (Clear to Send/Ready for Sending) Description Reference: v.25
Note: The values of and must be equal. 3.2.22 TE-TA Local Rate Reporting: AT+IL
RR This command controls whether or not the intermediate result code (+ILRR:) sh
all transmitted from the DCE to the DTE. Huawei Technologies Proprietary 3-18
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter If enabled, the intermediate result code is transmitted aft
er any modulation, error control or data compression reports are transmitted and
before any final result code (e.g., CONNECT) is transmitted. Table 3-42 AT+ILRR
action command syntax Type Command OK Set command AT+ILRR= ERROR/ +CME ERROR +I
LRR: OK +ILRR (list of supported s) OK Possible response(s) -If error is relate
to ME -Description Read command AT+ILRR? Test command AT+ILRR=? -- Table 3-43 Pa
rameter description Parameter [0] 1 Enables reporting of local port rate. Value
Description Disables reporting of local port rate. Reference: v.25 3.3 Call Cont
rol Commands 3.3.1 Tone Dialling: ATT Table 3-44 ATT action command syntax Type
Execution command Command ATT OK Possible response(s) Description Set to DTMF di
aling tone. Reference: v.25 Huawei Technologies Proprietary 3-19
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter 3.3.2 Pulse Dialling: ATP Table 3-45 ATP action command syn
tax Type Execution command Command ATP OK Possible response(s) Description Set t
o pulse dialing. Reference: v.25 3.3.3 Answer a Call: ATA This command set the D
CE immediately connect to the line and start the answer sequence as specified fo
r the underlying DCE. Note: Any additional commands that appear after A on the s
ame command line are ignored. This command may be aborted by receiving a charact
er during execution. It can not be aborted in some connection setup states, such
as handshaking, etc. Table 3-46 ATA action command syntax Type Command Possible
response(s) Description If response a data call and connect established success
ful If response a data call and connect established successful, may be the speed
, error control, etc. If response a voice call and connect established successfu
l Execution command ATA CONNECT CONNECT OK Huawei Technologies Proprietary 3-20
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Type Command Possible response(s) Description If the connec
t can not be established, or a character was received from TE If issued while in
online command state NO CARRIER ERROR Reference: v.25 3.3.4 Hook Control: ATH T
his command is used to terminate any call in progress. Table 3-47 ATH action com
mand syntax Type Command OK Execution command ATH[] ERROR Possible response(s) -
If is not recognized or supported Description Table 3-48 Parameter description P
arameter 0 Value Terminate call Description Reference: v.25 3.3.5 Return to Data
State: ATO This command causes the DCE to return to online data /PPP state and
issue a CONNECT or CONNECT result code. Huawei Technologies Proprietary 3-21
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Table 3-49 ATO action command syntax Type Command Possible
response(s) CONNECT/CONNEC T Set command ATO[] NO CARRIER ERROR Description If c
onnect successful ( may be the speed, error control , etc.) If connect failed If
is not recognized or supported Table 3-50 Parameter description Parameter Refer
ence: v.25 0 Value Description Switch command mode to data state 3.3.6 Ring befo
re Automatic Answer: ATS0 This command disables/enables the DCE automatic answer
ing the incoming call. If was set to non-zero value, the DCE shall case the DCE
to answer when the incoming call indication has occurred the number of times ind
icated by the value. Table 3-51 ATS0 action command syntax Type Command OK Possi
ble response(s) Description If successful The second OK/ERROR will return if GPR
S attached successfully or failed. -- Set command ATS0= OK/ERROR Read command AT
S0? OK S0: (list of supported s) OK Test command ATS0=? -- Huawei Technologies P
roprietary 3-22
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Table 3-52 Parameter description Parameter [0] 1~255 Value
Description Disable automatic answering Enable automatic answering after the spe
cified numbers of ring Reference: v.25 3.3.7 Pause before Blind Dialling: ATS6 T
able 3-53 ATS6 action command syntax Type Set command Read command Command ATS6=
ATS6? OK OK S6: (list of supported s) OK Possible response(s) --Description Tes
t command ATS6=? -- Table 3-54 Parameter description Parameter Value 2~10 -Descr
iption Reference: v.25 3.3.8 Wait for Completion: ATS7 This command sets the num
bers of seconds that TA will wait for the completion of the call setup when answ
ering or originating a data call. Table 3-55 ATS7 action command syntax Type Set
command Command ATS7= OK Possible response(s) -Description Huawei Technologies
Proprietary 3-23
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Type Command OK Possible response(s) -- Description Read co
mmand ATS7? Test command ATS7=? S7: (list of supported s) OK -- Table 3-56 Param
eter description Parameter Value 1~255 Description Number of seconds in which co
nnection must be established or call will be disconnected. Reference: v.25 3.3.9
Dial Pause: ATS8 This command sets the numbers of seconds that TA shall pause,
during signaling of call addressing information to network (dialing), when a “,” dia
l modifier is encountered in a dial string. Table 3-57 ATS8 action command synta
x Type Set command Read command Command ATS8= ATS8? OK OK S8: (list of supported
s) OK Possible response(s) --Description Test command ATS8=? -- Table 3-58 Para
meter description Parameter 2 0 Value Default Disable the DCE to pause when ","
encountered in dial string Description Huawei Technologies Proprietary 3-24
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Parameter Value 1~255 Description Number of seconds to paus
e Reference: v.25 3.3.10 Hang up Delay: ATS10 This command specifies the amount
time that the DCE remain connected to the line after the DCE has indicated the a
bsence of received line signal. Table 3-59 ATS10 action command syntax Type Set
command Read command Command ATS10= ATS10? OK OK S10: (list of supported s) OK P
ossible response(s) --Description Test command ATS10=? -- Table 3-60 Parameter d
escription Parameter Value 1~254 Description Number of tenths of a seconds of de
lay Reference: v.25 3.4 Data Compression Commands 3.4.1 V.42bits Data Compressio
n: AT+DS This command determines whether or not the V.42 bits data compression f
unction will be provided in the DCE. Huawei Technologies Proprietary 3-25
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Table 3-61 AT+DS action command syntax Type Command AT+DS=[
[,[,[,]]]] OK Possible response(s) -If the parameters is not supported Descripti
on Set command ERROR Read command AT+DS? +DS:,,, OK +DS: (list of supported s),(
list of supported s),(list of supported s),(list of supported s) OK -- Test comm
and AT+DS=? -- Table 3-62 Parameter description Parameter [0] 1 2 3 Value Descri
ption Negotiated; no compression (V.42 bis P0 = 0) Transmit only Receive only Bo
th directions, accept any direction (V.42 bis P0 = 11) Do not disconnect if ITU-
T Rec. V.42 bis is not negotiated by the remote DCE as specified in direction Di
sconnect if ITU-T Rec. V.42 bis is not negotiated by the remote DCE as specified
in direction --- [0] 1 512~65535 [6]~250 Huawei Technologies Proprietary 3-26
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Reference: v.25 3.4.2 V.42 Data Compress Reporting: AT+DR T
his command determines whether or not the intermediate result code (+DR: ) shall
be transmitted from TA to TE. If enabled, the intermediate result code is trans
mitted at the point after error control negotiation (handshaking) at which the T
A has determined which data compression technique will be used and direction of
operation. Note: Data compression reporting intermediate result codes +DR: NONE
+DR: V42B +DR: V42B RD +DR: V42B TD +DR: V44 +DR: V44 RD +DR: V44 TD //Data comp
ression is not in use //ITU-T Rec. V.42 bis is in use in both directions //ITU-T
Rec. V.42 bis is in use in receive direction only //ITU-T Rec. V.42 bis is in u
se in transmit direction only //ITU-T Rec. V.44 is in use in both directions //I
TU-T Rec. V.44 is in use in receive direction only //ITU-T Rec. V.44 is in use i
n transmit direction only Table 3-63 AT+DR action command syntax Type Command AT
+DR= AT+DR? OK ERROR +DR: OK +DR: (list of supported s) OK Possible response(s)
-If set failed -Description Set command Read command Test command AT+DR=? -- Tab
le 3-64 Parameter description Parameter [0] 1 Data compression reporting enabled
Value Description Data compression reporting disabled Huawei Technologies Propr
ietary 3-27
AT Command Reference Huawei GTM900 wireless Module Chapter 3 Commands Specified
by ITU-T Rec. V25ter Reference: V.25 Huawei Technologies Proprietary 3-28
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Chapter 4 Standardized GPRS AT Commands 4.1 About This Chapter This c
hapter describes the standardized GPRS AT commands, including: Commands Specifie
d by GSM Rec. 07.07 4.2 Commands Specified by GSM Rec. 07.07 4.2.1 Define PDP Co
ntext: AT+CGDCONT Set command specifies PDP context parameter values for a PDP c
ontext identified by the (local) context identification parameter, . A special f
orm of the set command, +CGDCONT= causes the values for context number to become
undefined. Table 4-1 AT+CGDCONT action command syntax Type Command AT+CGDCONT =
[ [, [, [, [, [,]]]]]] OK Possible response(s) Description Set command ERROR If
set failed Read command AT+CGDCONT ? +CGDCONT: , ,, , ,[+ CGDCONT:,,,,,] OK +CGD
CONT: (range of supported s),, ,,(list of supported s),(list of supported s) OK
- Test command AT+CGDCONT =? - Huawei Technologies Proprietary 4-1
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Table 4-2 Parameter description Parameter Value Description A numeric
parameter which specifies a particular PDP context definition (1-2) The paramet
er is local to the TE-MT interface and is used in other PDP context-related comm
ands. (Packet Data Protocol type) A string parameter which specifies the type of
packet data protocol Only “IP” is supported. IP Internet Protocol (IETF STD 5) The
Access Point Name is a string parameter which is a logical name that is used to
select the GGSN or the external packet data network. If the value is null or omi
tted, then the subscription value will be requested. A string parameter that ide
ntifies the MT in the address space applicable to the PDP If the value is null o
r omitted, then a value may be provided by the TE during the PDP startup procedu
re or, failing that, a dynamic address will be requested. The read form of the c
ommand will continue to return the null string even if an address has been alloc
ated during the PDP startup procedure. The allocated address may be read using t
he +CGPADDR command. a numeric parameter that controls PDP data compression a nu
meric parameter that controls PDP header compression 0 Off (default if value is
omitted) - - - 0 Off (default if value is omitted) 1 On Reference: GSM 07.07 Hua
wei Technologies Proprietary 4-2
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.2 Quality of Service Profile (Requested): AT+CGQREQ This command
allows the TE to specify a Quality of Service Profile that is used when the MT s
ends an Activate PDP Context Request message to the network. Set command specifi
es a profile for the context identified by the (local) context identification pa
rameter, . A special form of the set command, +CGQREQ= causes the requested prof
ile for context number to become undefined. Table 4-3 AT+CGQREQ action command s
yntax Type Command AT+CGQREQ= [ [, [,[, [, [,]]]]]] Possible response(s) Descrip
tion OK - Set command ERROR If set failed Read command AT+CGQREQ? +CGQREQ: , , ,
, , [+ CGQREQ: , , , , , […]] OK +CGQREQ: , (list of supported s), (list of suppor
ted s), (list of supported s), (list of supported s), (list of supported s) OK -
Test command AT+CGQREQ= ? - Huawei Technologies Proprietary 4-3
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Table 4-4 Parameter description Parameter Value Description Default.
When PDP is activated, if no QoS is designated to the corresponding cid, this pa
rameter is used. When cid=0, the query command is not supported. Value type para
meter. It is used to specify the context definitions of specific PDPs. (1-2) For
the TE-MT interface, this parameter is a local parameter and can be used in the
commands of other PDP contexts. Customized parameters for the network High Prio
rity Service commitments shall be maintained ahead of precedence classes 2 and 3
Normal priority Service commitments shall be maintained ahead of precedence cla
ss 3 Low priority Service commitments shall be maintained Customized parameters
for the network Customized parameters for the network Non real-time traffic, err
or-sensitive application that cannot cope with data loss Non real-time traffic,
error-sensitive application that can cope with data loss Non real-time traffic,
error-sensitive application that can cope with data loss, GMM/SM, and SMS Real-t
ime traffic, error-sensitive application that can cope with data loss Real-time
traffic, error non-sensitive application that can cope with data loss a numeric
parameter which specifies the 0 1 2 Customized parameters for the network Up to
1 000 (8 kbit/s) Up to 2 000 (16 kbit/s) 0 0 a numeric parameter which specifies
the precedence class 1 2 3 0 a numeric parameter which specifies the delay clas
s 1 2 3 4 0 1 a numeric parameter which specifies the reliability class cope wit
h infrequent data loss 2 3 4 5 Huawei Technologies Proprietary 4-4
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Parameter peak throughput class 3 4 5 6 7 8 9 String parameter of Pac
ket Data Protocol type “IP” Value Description Up to 4 000 (32 kbit/s) Up to 8 000 (6
4 kbit/s) Up to 16 000 (128 kbit/s) Up to 32 000 (256 kbit/s) Up to 64 000 (512
kbit/s) Up to 128 000 (1 024 kbit/s) Up to 256 000 (2 048 kbit/s) - 0 1 2 3 4 5
6 7 a numeric parameter which specifies the mean throughput class 8 9 10 11 12 1
3 14 15 16 17 18 31 Customized parameters for the network 100 (~0.22 bit/s) 200
(~0.44 bit/s) 500 (~1.11 bit/s) 1 000 (~2.2 bit/s) 2 000 (~4.4 bit/s) 5 000 (~11
.1 bit/s) 10 000 (~22 bit/s) 20 000 (~44 bit/s) 50 000 (~111 bit/s) 100 000 (~0.
22 kbit/s) 200 000 (~0.44 kbit/s) 500 000 (~1.11 kbit/s) 1 000 000 (~2.2 kbit/s)
2 000 000 (~4.4 kbit/s) 5 000 000 (~11.1 kbit/s) 10 000 000 (~22 kbit/s) 20 000
000 (~44 kbit/s) 50 000 000 (~111 kbit/s) Best effort Huawei Technologies Propr
ietary 4-5
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Caution: AT+CGQREQ= can be used to cancel the settings. cid is 1 or 2
. All QoS options are set to 0. For example: AT+CGQREQ=1,0,0,0,0,0 cancels the d
efault parameters but not the parameters of the corresponding cid. Reference: GS
M 07.07 Huawei Technologies Proprietary 4-6
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.3 Quality of Service Profile (Minimum acceptable): AT+CGQMIN This
command allows the TE to specify a minimum acceptable profile which is checked
by the MT against the negotiated profile returned in the Activate PDP Context Ac
cept message. Set command specifies a profile for the context identified by the
(local) context identification parameter, . A special form of the set command, +
CGQMIN= causes the minimum acceptable profile for context number to become undef
ined. Table 4-5 AT+CGQMIN action command syntax Type Command AT+CGQMIN=[ [, [,[,
[, [,]]]]]] Possible response(s) Description OK - Set command ERROR +CGQMIN: ,
, ,, , [+ CGQMIN: , , , , , […]] OK +CGQMIN: , (list of supported s), (list of sup
ported s), (list of supported s), (list of supported s), (list of supported s) O
K If set failed Read command AT+ CGQMIN? - Test command AT+ CGQMIN=? - Parameter
: See AT+CGQREQ Reference: GSM 07.07 Huawei Technologies Proprietary 4-7
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.4 GPRS Attach and Detach: AT+CGATT Set command is used to attach
the MT to, or detach the MT from, the GPRS service. The MT remains in V.25ter co
mmand state after the command has completed. If the MT is already in the request
ed state, this command is ignored and the OK response is returned. Any active PD
P contexts will be automatically deactivated when the attachment state changes t
o detached. Table 4-6 AT+CGATT action command syntax Type Command AT+CGATT=[< st
ate>] AT+CGATT? OK ERROR +CGATT: OK +CGATT: (list of supported s) OK Possible re
sponse(s) If set failed Description Set command Read command Test command AT+CGA
TT=? - Table 4-7 Parameter description Parameter indicates the state of GPRS att
achment [0] 1 Value Detached Attached Description Reference: GSM 07.07 Note: If
parameter is omitted the GPRS attach state will be changed. Huawei Technologies
Proprietary 4-8
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.5 PDP Context Activate or Deactivate: AT+CGACT Set command is use
d to activate or deactivate the specified PDP context (s). After the command has
completed, the MT remains in V.25ter command state. If any PDP context is alrea
dy in the requested state, the state for that context remains unchanged. If the
MT is not GPRS attached when the activation form of the command is executed, the
MT first performs a GPRS attach and them attempts to activate the specified con
texts. Table 4-8 AT+CGACT action command syntax Type Command AT+CGACT=< state> [
,[,[, …]]] OK ERROR +CGACT: , [+ CGACT: , [...]] OK Test command AT+CGACT=? +CGACT
: (list of supported s) OK Possible response(s) If set failed Description Set co
mmand Read command AT+CGACT? - Table 4-9 Parameter description Parameter indicat
es the state of PDP context activation [0] Value Deactivated Description 1 Activ
ated - See AT+CGDCONT Reference: GSM 07.07 Huawei Technologies Proprietary 4-9
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.6 Enter Data State: AT+CGDATA Set command causes the MT to perfor
m whatever actions are necessary to establish communication between the TE and t
he network using one or more GPRS PDP types. This may include performing a GPRS
attach and one or more PDP context activations. Commands following +CGDATA comma
nd in the AT command line shall not be processed by the MT. Table 4-10 AT+CGDATA
action command syntax Type Command Possible response(s) Description If establis
h successful, the MT issues the intermediate result code CONNECT and enter V.25t
er online data state. When data transfer is completed, and the layer 2 protocol
termination procedure has completed successfully, the V.25ter command state is r
e-entered and the MT returns the final result code OK. If set failed - CONNECT S
et command AT+CGDATA=[ ,[ [, [,…]]]] OK ERROR Test command AT+CGDATA= ? +CGDATA: (
list of supported s) OK Table 4-11 Parameter description Parameter Value “PPP” Descr
iption A string parameter that indicates the layer 2 protocol to be used between
the TE and MT Refer to AT+CGDCONT Reference: GSM 07.07 Huawei Technologies Prop
rietary 4-10
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.7 Show PDP Address: AT+CGPADDR Set command returns a list of PDP
addresses for the specified context identifiers. Table 4-12 AT+CGPADDR action co
mmand syntax Type Command Possible response(s) +CGPADDR: ,[< CR>+CGPADD R: ,[...
]] OK ERROR Test command AT+CGPADDR =? +CGPADDR: (list of defined s) OK If list
failed Description Set command AT+CGPADDR =[ [,[,…]]] - Table 4-13 Parameter desc
ription Parameter Value Description A numeric parameter which specifies a partic
ular PDP context definition (see AT+CGDCONT). If is omitted, the addresses for a
ll defined contexts are returned. A string that identifies the MT in the address
space applicable to the PDP. The address maybe static or dynamic. For a static
address, it will be the one set by the +CGDCONT command when the context was def
ined. For a dynamic address it will be the one assigned during the last PDP cont
ext activation that used the context definition referred to by . is omitted when
none is available. - - Reference: GSM 07.07 Huawei Technologies Proprietary 4-1
1
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.8 Automatic Response to a Network Request for PDP Context Activat
ion: AT+CGAUTO Set command disables or enables an automatic positive response (a
uto-answer) to the receipt of a Request PDP Context Activation message from the
network. Table 4-14 AT+CGAUTO action command syntax Type Command OK Set command
AT+CGAUTO=[ ] ERROR Read command AT+CGAUTO? +CGAUTO: OK +CGAUTO: (list supported
s) OK of If set failed Possible response(s) Description Test command AT+CGAUTO=
? Table 4-15 Parameter description Parameter 0 1 2 [3] Value Description Turn o
ff automatic response for GPRS only Turn on automatic response for GPRS only Mod
em compatibility mode, GPRS only Modem compatibility mode, GPRS and circuit swit
ched calls (default) Reference: GSM 07.07 Note: If parameter is omitted it is as
sumed to be 3. Huawei Technologies Proprietary 4-12
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.9 Manual Response to a Network Request for PDP Context Activation
: AT+CGANS Set command requests the MT to respond to a network request for GPRS
PDP context activation which has been signalled to the TE by the RING or +CRING:
unsolicited result code. The parameter allows the TE to accept or reject the re
quest. Table 4-16 AT+CGANS action command syntax Type Command OK ERROR +CGANS: (
list of supported s), (list of supported s) OK Possible response(s) If set faile
d Description Set command AT+CGANS=[< response>,[ ,[]]] Test command AT+CGANS=?
- Table 4-17 Parameter description Parameter [0] 1 “PPP” Value Description Reject th
e request Accept and request that the PDP context be activated See AT+CGDCONT Re
ference: GSM 07.07 4.2.10 GPRS Mobile Station Class: AT+CGCLASS Set command is u
sed to set the MT to operate according to the specified GPRS mobile class. Huawe
i Technologies Proprietary 4-13
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Table 4-18 AT+CGCLASS action command syntax Type Command OK Set comma
nd AT+CGCLASS = AT+CGCLASS ? AT+CGCLASS =? ERROR +CGCLASS: OK +CGCLASS: (list of
supported s) OK Possible response(s) If the is not supported Description Read c
ommand Test command - Table 4-19 Parameter description Parameter a string parame
ter which indicates the GPRS mobile class (in descending order of functionality)
“B” “CG” Value ClassB Class C in GPRS only mode Description “CC” Class C in circuit switch
d only mode (lowest) Reference: GSM 07.07 4.2.11 GPRS Event Reporting: AT+CGEREP
Set command enables or disables sending of unsolicited result codes, +CGEV: XXX
from MT to TE in the case of certain events occurring in the GPRS MT or the net
work. Table 4-20 AT+CGEREP action command syntax Type Command AT+CGEREP=[ [,] ]
AT+CGEREP? OK ERROR +CGEREP: , OK Possible response(s) If set failed Description
Set command Read command - Huawei Technologies Proprietary 4-14
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Type Command Possible response(s) +CGEREP: (list of supported s),(lis
t of supported s) OK Description Test command AT+CGEREP= ? - Table 4-21 Paramete
r description Parameter Value Description Buffer unsolicited result codes in the
MT; if MT result code buffer is full, the oldest ones can be discarded. No code
s are forwarded to the TE. Discard unsolicited result codes when MT-TE link is r
eserved (e.g. in on-line data mode); otherwise forward them directly to the TE.
Buffer unsolicited result codes in the MT when MT-TE link is reserved (e.g. in o
n-line data mode) and flush them to the TE when MT-TE link becomes available; ot
herwise forward them directly to the TE. MT buffer of unsolicited result codes d
efined within this command is cleared when 1 or 2 is entered. MT buffer of unsol
icited result codes defined within this command is flushed to the TE when 1 or 2
is entered (OK response shall be given before flushing the codes). [0] 1 2 [0]
1 Reference: GSM 07.07 Note: If parameter is omitted it is assumed to be the val
ue of the last command execution or the default value (0). If parameter is omitt
ed it is assumed to be the value of the last command execution or the default va
lue (0). Huawei Technologies Proprietary 4-15
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.12 GPRS Network Registration Status: AT+CGREG Set command control
s the presentation of an unsolicited result code +CGREG: when =1 and there is a
change in the MT s GPRS network registration status, or code +CGREG: [,,] when =
2 and there is a change of the network cell. Table 4-22 AT+CGREG action command
syntax Type Command AT+CGREG=[< n>] OK ERROR +CGREG: ,[,,] OK Test command AT+CG
REG=? +CGREG: (list of supported s) OK Possible response(s) If set failed Descri
ption Set command Read command AT+CGREG? - Table 4-23 Parameter description Para
meter [0] 1 Value Description Disable network registration unsolicited result co
de Enable network registration unsolicited result code +CGREG: Enable network re
gistration and location information unsolicited result code +CGREG: [,,] 0 1 2 3
4 5 Not registered, ME is not currently searching a new operator to register to
Registered, home network Not registered, but ME is currently searching a new op
erator to register to Registration denied Unknown Registered, roaming String typ
e; Two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in
decimal) 2 Huawei Technologies Proprietary 4-16
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Parameter - Value Description String type; Two byte cell ID in hexade
cimal format Reference: GSM 07.07 Note: If parameter is omitted the command do n
othing. 4.2.13 Select Service for MO SMS Messages: AT+CGSMS Set command is used
to specify the service or service preference that the MT will use to send MO SMS
messages. Table 4-24 AT+CGSMS action command syntax Type Command AT+CGSMS=< ser
vice> AT+CGSMS? OK ERROR +CGSMS: OK +CGSMS: (list of currently available s) OK P
ossible response(s) If set failed Description Set command Read command Test comm
and AT+CGSMS=? - Table 4-25 Parameter description Parameter 0 indicates the serv
ice or service preference to be used 1 2 3 Circuit switched GPRS preferred (use
circuit switched if GPRS not available) Circuit switched preferred (use GPRS if
circuit switched not available) Value GPRS Description Huawei Technologies Propr
ietary 4-17
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands Reference: GSM 07.07 4.2.14 Request GPRS Server: ATD*99 Set command c
auses the MT to perform whatever actions are necessary to establish communicatio
n between the TE and the external PDN. The V.25ter D (Dial) command causes the
MT to enter the V.25ter online data state and, with the TE, to start the specif
ied layer 2 protocol. No further commands may follow on the AT command line. The
detailed behavior after the online data state has been entered is dependent on
the PDP type. GPRS attachment and PDP context activation procedures may take pla
ce prior to or during the PDP startup if they have not already been performed us
ing the AT+CGATT and AT+CGACT commands. Table 4-26 ATD*99 action command syntax
Type Command Possible response(s) CONNECT Description Connect successful If the
layer 2 protocol has terminated, either as a result of an orderly shut down of t
he PDP or an error, the MT enters V.25ter command state and returns. If error is
related to ME Set command ATD*99[*[][* [][*[ ]]]]# NO CARRIER ERROR/ +CME ERROR
: Table 4-27 Parameter description Parameter “PPP” Value Description It shall be ign
ored See :AT+CGDCONT Reference: GSM 07.07 Huawei Technologies Proprietary 4-18
AT Command Reference Huawei GTM900 Wireless Module Chapter 4 Standardized GPRS A
T Commands 4.2.15 Manual Acceptance of a Network Request for PDP Context Activat
ion: ATA This command may be used to accept a network request for a PDP context
activation announced by the unsolicited result code RING. Table 4-28 ATA action
command syntax Type Set command Command ATA Possible response(s) CONNECT Descrip
tion Reference: GSM 07.07 4.2.16 Manual Rejection of a Network Request for PDP C
ontext Activation: ATH Set command may be used to reject a network request for P
DP context activation announced by the unsolicited result code RING. Table 4-29
ATH action command syntax Type Set command Command ATH OK Possible response(s) R
eference: GSM 07.07 Huawei Technologies Proprietary 4-19
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Chapter 5 Commands Specified by GSM Rec.07.05 5.1 About This Ch
apter This chapter describes the AT commands specified by GSM Rec.07.05, includi
ng: General Configuration Commands Message Configuration Commands Message Receiv
ing and Reading Command Message Sending and Writing Commands 5.2 General Configu
ration Commands 5.2.1 Select Message Service: AT+CSMS Table 5-1 AT+CSMS action c
ommand syntax Type Command Possible response(s) +CSMS: ,, Set command AT+CSMS= O
K Description TA returns the type of messages supported by ME. If chosen service
is not supported by ME, TA will be return. +CMS ERROR: Read command AT+CSMS? +C
SMS: < service>,,, OK +CSMS: (list of supported s) OK -- Test command AT+CSMS=?
-- Huawei Technologies Proprietary 5-1
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Table 5-2 Parameter description Parameter Value Description GSM
03.40 and 03.41 (the syntax of SMS AT commands is compatible with GSM 07.05 Pha
se 2 version 4.7.0; Phase 2+ features which do not require new command syntax ma
y be supported (e.g. correct routing of messages with new Phase 2+ data coding s
chemes)) GSM 03.40 and 03.41 (the syntax of SMS AT commands is compatible with G
SM 07.05 Phase 2+ version; The requirement of setting 1 is mentioned under corre
sponding command descriptions) Type not supported Type supported Type not suppor
ted Type supported Type not supported Type supported [0] 1 mobile terminated mes
sages mobile originated messages broadcast messages type 0 1 0 1 0 1 Reference:
GSM 07.05 5.2.2 Preferred Message Storage: AT+CPMS Set command selects memory st
orages , and to be used for reading, writing, etc. Table 5-3 AT+CPMS action comm
and syntax Type Command Possible response(s) +CPMS: ,,,,, OK +CMS ERROR: If chos
en storage is not appropriate for ME Description -- Set command AT+CPMS=[,[,]] H
uawei Technologies Proprietary 5-2
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Type Command Possible response(s) +CPMS: ,,,,,,,, OK +CMS ERROR
: +CPMS: (list of supported s),(list of supported s),(list of supported s) OK --
Description Read command AT+CPMS? If error is related to ME functionality Test
command AT+CPMS=? -- Table 5-4 Parameter description Parameter memory to be used
when reading and deleting messages memory to be used when writing and sending m
essages received messages will be placed to this storage if routing to TE is not
set “SM” Value Description SIM message storage “ME” ME message storage “SM” SIM message st
rage “ME” ME message storage “SM” SIM message storage “ME” ME message storage --- Number of
messages currently in Number of messages storable in Reference: GSM 07.05 Huawei
Technologies Proprietary 5-3
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 5.2.3 SMS Format: AT+CMGF Set command specifies the input and o
utput format of the short messages. Table 5-5 AT+CMGF action command syntax Type
Set command Read command Command AT+CMGF=[< mode>] AT+CMGF? OK +CMGF: OK +CMGF:
(list of supported s) OK Possible response(s) --Description Test command AT+CMG
F=? -- Table 5-6 Parameter description Parameter [0] 1 TEXT mode Value PDU mode
Description Reference: GSM 07.05 5.2.4 Message Service Failure Result Code: +CMS
ERROR Table 5-7 +CMS ERROR action command syntax Type --Command Possible respon
se(s) +CMS ERROR -Description Huawei Technologies Proprietary 5-4
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Table 5-8 Parameter description Parameter Value 0~127 128~255 3
00 301 302 303 304 305 310 311 312 313 314 315 316 317 318 320 321 322 330 331 3
32 340 500 511 512 Description GSM 04.11 Annex E-2 values GSM 03.40 subclause 9.
2.3.22 values ME failure SMS service of ME reserved Operation not allowed Operat
ion not supported Invalid PDU mode parameter Invalid text mode parameter SIM not
inserted SIM PIN required PH-SIM PIN required SIM failure SIM busy SIM wrong SI
M PUK required SIM PIN2 required SIM PUK2 required Memory failure Invalid memory
index Memory full SMSC address unknown No network service Network timeout No +C
NMA acknowledgement expected Unknown error Other values in range 25~511 are rese
rved Manufacturer specific Huawei Technologies Proprietary 5-5
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 5.3 Message Configuration Commands 5.3.1 Service Centre Address
: AT+CSCA Set command updates the SMSC address, through which mobile originated
SMs are transmitted. In text mode, setting is used by send and set commands. In
PDU mode, setting is used by the same commands, but only when the length of the
SMSC address coded into parameter equals zero. Table 5-9 AT+CSCA action command
syntax Type Set command Command AT+CSCA=[,] AT+CSCA? AT+CSCA=? OK +CSCA: , OK Te
st command OK -Possible response(s) -Description Read command -- Table 5-10 Para
meter description Parameter Value Description GSM 04.11 RP SC address Address va
lue field in string format; BCD numbers (or GSM default alphabet characters) are
converted into characters; type of address given by Service centre address form
at GSM 04.11 RP SC address Type-of-Address octet in integer format (default refe
r ) -- -- Reference: GSM 07.05 Note: The SMS service centre address should be en
tered as specified by the service provider. Huawei Technologies Proprietary 5-6
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 5.3.2 Set Text Mode Parameters: AT+CSMP Set command is used to
select values for additional parameters needed when SM is sent to the network or
placed in a storage when text format message mode is selected. It is possible t
o set the validity period starting from when the SM is received by the SMSC ( is
in range 0~255) or define the absolute time of the validity period termination
( is a string). The format of is given by . If TA supports the enhanced validity
period format ($(EVPF)$, see GSM 03.40), it shall be given as a hexadecimal cod
ed string (refer e.g. ) with double quotes. Table 5-11 AT+CSMP action command sy
ntax Type Command AT+CSMP=[[,[, [,]]]] Possible response(s) OK +CSMP: ,,, OK Tes
t command AT+CSMP=? OK --Description Set command Read command AT+CSMP? -- Table
5-12 Parameter description Parameter Value Description Depending on the command
or result code: first octet of GSM 03.40 SMS-DELIVER, SMS-SUBMIT (default 17), o
r SMS-COMMAND (default 2) in integer format. Depending on SMS-SUBMIT setting: GS
M 03.40 TP-Validity-Period either in integer format (default 167), in time-strin
g format (refer ), or if $(EVPF)$ is supported, in enhanced format (hexadecimal
coded string with double quotes) Refer GSM 03.40, TP-Protocol-Identifier in inte
ger format (default 0) Depending on the command or result code: GSM 03.38, SMS D
ata Coding Scheme, or Cell Broadcast Data Coding Scheme in integer format -- --
-- -- Reference: GSM 07.05 Huawei Technologies Proprietary 5-7
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Note: When storing a SMS-DELIVER from the TE to the preferred m
emory storage in text mode (refer command Write Message to Memory +CMGW), field
can be used for . The default values of depend on SIM card and coding scheme for
sending messages in text mode. If the value of is 8, the UCS2 coding scheme is
used. If the value of is 0, the ASCII coding scheme is used. 5.3.3 Show Text Mod
e Parameters: AT+CSDH Set command controls whether detailed header information i
s shown in text mode result codes. Table 5-13 AT+CSDH action command syntax Type
Set command Command AT+CSDH=[] AT+CSDH? OK +CSDH: (list of supported s) OK Test
command AT+CSDH=? +CSDH: OK -Possible response(s) -Description Read command --
Table 5-14 Parameter description Parameter Value Description Do not show header
values defined in commands +CMT and +CMGL, or +CMGR (, , , and ) nor , or in +CS
CA, +CSMP result codes for SMS-DELIVERs and SMS-SUBMITs in text mode; For SMS-CO
MMANDs in +CMGR result code, do not show , , , , or Show the values in result co
des 0 [1] Reference: GSM 07.05 Huawei Technologies Proprietary 5-8
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 5.3.4 Select Cell Broadcast Message Type: AT+CSCB Set commands
selects which type of CBMs are to be received by the ME. Table 5-15 AT+CSCB acti
on command syntax Type Command AT+CSCB=[[,[, ]]] Possible response(s) OK +CSCB:
,, OK Test command AT+CSCB=? +CSCB: (list of supported s) OK --Description Set c
ommand Read command AT+CSCB? -- Table 5-16 Parameter description Parameter [0] 1
Message types specified in and are not accepted String type(e.g. "0,1,5,320-478
,922"); All different possible combinations of CBM message identifiers (refer );
String type(e.g. "0-3,5"); All different possible combinations of CBM data codi
ng schemes (refer ) (default is empty string); Value Description Message types s
pecified in and are accepted -- -- Reference: GSM 07.05 Note: Supported values f
or parameter and : maximum of 20 ranges could be declared for each parameter. Hu
awei Technologies Proprietary 5-9
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 5.3.5 Saving Setting: AT+CSAS Set command saves active message
service settings to a non-volatile memory. A TA can contain several profiles of
settings. Settings specified in commands Service Centre Address +CSCA, Set Messa
ge Parameters +CSMP and Select Cell Broadcast Message Types +CSCB (if implemente
d) are saved. Table 5-17 AT+CSAS action command syntax Type Command OK Execution
command AT+CSAS[=] +CMS ERROR: +CSAS: (list of supported s) OK Possible respons
e(s) -If the setting is not be supported(e.g. SIM SMS parameters) Description Te
st command AT+CSAS=? -- Table 5-18 Parameter description Parameter Value [0]~255
Description Manufacturer specific profile number where settings are to be store
d Reference: GSM 07.05 5.3.6 Restore Settings: AT+CRES Set command restores mess
age service settings from non-volatile memory to active memory. A TA can contain
several profiles of settings. Settings specified in commands Service Centre Add
ress +CSCA, Set Message Parameters +CSMP and Select Cell Broadcast Message Types
+CSCB (if implemented) are restored. Huawei Technologies Proprietary 5-10
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Table 5-19 AT+CRES action command syntax Type Command OK Execut
ion command AT+CRES[=] +CMS ERROR: +CRES: (list of supported s) OK Possible resp
onse(s) -If the setting is not be supported(e.g. SIM SMS parameters) Description
Test command AT+CRES=? -- Table 5-20 Parameter description Parameter Value [0]~
255 Description Manufacturer specific profile number where settings are to be st
ored Reference: GSM 07.05 5.4 Message Receiving and Reading Command 5.4.1 New Me
ssage Indications to TE: AT+CNMI Set command selects the procedure, how receivin
g of new messages from the network is indicated to the TE when TE is active, (e.
g. DTR signal is ON.) If TE is inactive (e.g. DTR signal is OFF), message receiv
ing should be done as specified in GSM 03.38. If DTR signal is not available or
the state of the signal is ignored (V.25ter command &D0), reliable message trans
fer can be assured by using +CNMA acknowledgement procedure. Command Select Mess
age Service +CSMS should be used to detect ME support of mobile terminated SMs a
nd CBMs, and to define whether a message routed directly to TE should be acknowl
edged or not (refer command +CNMA). Huawei Technologies Proprietary 5-11
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Table 5-21 AT+CNMI action command syntax Type Command AT+CNMI=[
[,[,[,[,]]]]] OK +CMS ERROR +CNMI: ,,, , OK +CNMI: (list of supported s),(list o
f supported s),(list of supported s),(list of supported s),(list of supported s)
OK Possible response(s) -If failed Description Set command Read command AT+CNMI
? -- Test command AT+CNMI=? -- Table 5-22 Parameter description Parameter Value
Description Buffer unsolicited result codes in the TA. If TA result code buffer
is full, indications can be buffered in some other place or the oldest indicatio
ns may be discarded and replaced with the new received indications. Discard indi
cation and reject new received message unsolicited result codes when TA-TE link
is reserved (e.g. in on-line data mode). Otherwise forward them directly to the
TE. Buffer unsolicited result codes in the TA when TA-TE link is reserved (e.g.
in on-line data mode) and flush them to the TE after reservation. Otherwise forw
ard them directly to the TE. [0] control the processing of unsolicited result co
des specified 1 2 Huawei Technologies Proprietary 5-12
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Parameter [0] Value Description No SMS-DELIVER indications are
routed to the TE. If SMS-DELIVER is stored into ME/TA, indication of the memory
location is routed to the TE using unsolicited result code: +CMTI: , SMS-DELIVER
s (except class 2 messages and messages in the message waiting indication group
(store message)) are routed directly to the TE using unsolicited result code: +C
MT([], (PDU mode enabled)) or 1 the rules for storing received SMs depend on its
data coding scheme (refer GSM 03.38 [2]), preferred memory storage (+CPMS) sett
ing and this value 2 +CMT(, [], [,,,,,,,] (text mode enabled)); NOTE: If AT comm
and interface is acting as the only display device, the ME must support storing
of class 0 messages and messages in the message waiting indication group (discar
d message) Class 3 SMS-DELIVERs are routed directly to TE using unsolicited resu
lt codes defined in =2. Messages of other data coding schemes result in indicati
on as defined in =1. No CBM indications are routed to the TE. New CBMs are route
d directly to the TE using unsolicited result code: 3 the rules for storing rece
ived CBMs depend on its data coding scheme (refer GSM 03.38 [2]), the setting of
Select CBM Types (+CSCB) and this value;) [0] 2 +CBM: (PDU mode enabled) or +CB
M:,,,,< CR> (text mode enabled) Huawei Technologies Proprietary 5-13
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Parameter [0] Value Description No SMS-STATUS-REPORTs are route
d to the TE. SMS-STATUS-REPORTs are routed to the TE using unsolicited result co
de: 1 +CDS: (PDU mode enabled) or +CDS: ,,[],[],,, (text mode enabled) TA buffer
of unsolicited result codes defined within this command is flushed to the TE wh
en 1~3 is entered (OK response shall be given before flushing the codes). TA buf
fer of unsolicited result codes defined within this command is cleared when 1~3
is entered. [0] 1 Reference: GSM 07.05 5.4.2 List Messages: AT+CMGL List message
s with status value from preferred message storage to the TE. If the status of t
he message is received unread , change to received read . Table 5-23 AT+CMGL a
ction command syntax Type Command Possible response(s) +CMGL:,,[], +CMGL:,,[], <
pdu>[...]] OK Description Execution command AT+CMGL[=] If PDU mode (+CMGF=0) an
d command successful Huawei Technologies Proprietary 5-14
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Type Command Possible response(s) +CMGL:,,,[], [][,, ]< data>[+
C MGL:,, ,[],[< scts>][,,][...]] OK +CMGL:,,,,[],[ ],,,< st>[+CMG L:,,,,[],[ ],,
,[...]] OK +CMGL:,,,[+CMGL:,< stat>,,[...]] OK +CMS ERROR: +CMGL: (list of suppo
rted s) OK +CMGL: (list of supported s) OK Description If text mode (+CMGF=1) an
d command successful for SMS-SUBMITs and/or SMS-DELIVERs SMS-STATUS-REP ORTs SMS
-COMMANDs If list failed -- Test command AT+CMGL=? -- Table 5-24 Parameter descr
iption Parameter Value "REC UNREAD" "REC READ" "STO UNSENT" Description If text
mode (+CMGF=1) received unread message If text mode (+CMGF=1) received read mess
age If text mode (+CMGF=1) stored unsent message Huawei Technologies Proprietary
5-15
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Parameter Value "STO SENT" Description If text mode (+CMGF=1) s
tored sent message If text mode (+CMGF=1) all messages If PDU mode (+CMGF=0) rec
eived unread message If PDU mode (+CMGF=0) received read message If PDU mode (+C
MGF=0) stored unsent message If PDU mode (+CMGF=0) stored sent message If PDU mo
de (+CMGF=0) all messages String type alphanumeric representation of or correspo
nding to the entry found in MT phonebook; Implementation of this feature is manu
facturer specific; Used character set should be the one selected with command Se
lect TE Character Set +CSCS (see definition of this command in TS 07.07) GSM 03.
40 TP-Discharge-Time in time-string format: “yy/MM/dd,hh:mm:ss±zz”, where characters i
ndicate year (two last digits), month, day, hour, minutes, seconds and time zone
. E.g. 6th of May 1995, 22:10:00 GMT+2 hours equals to “95/05/06,22:10:00+08” Depend
ing on the command or result code: first octet of GSM 03.40 SMS-DELIVER, SMS-SUB
MIT (default 17), SMS-STATUS-REPORT, or SMS-COMMAND (default 2) in integer forma
t Integer type value indicating in the text mode (+CMGF=1) the length of the mes
sage body > (or ) in characters; Or in PDU mode (+CMGF=0), the length of the act
ual TP data unit in octets (i.e.the RP layer SMSC address octets are not counted
in the length) GSM 03.40 TP-Command-Type in integer format (default 0) "ALL" 0
1 2 3 4 -- -- -- -- -- Huawei Technologies Proprietary 5-16
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Parameter Value Description GSM 03.40 TP-Destination-Address Ad
dress-Value field in string format; BCD numbers (or GSM default alphabet charact
ers) are converted to characters of the currently selected TE character set (ref
er command +CSCS in TS 07.07); Type of address given by Integer type; Value in t
he range of location numbers supported by the associated memory GSM 03.40 TP-Mes
sage-Reference in integer format GSM 03.40 TP-Originating-Address Address-Value
field in string format; BCD numbers (or GSM default alphabet characters) are con
verted into characters; Type of address given by In the case of SMS: GSM 04.11 S
C address followed by GSM 03.40 TPDU in hexadecimal format: ME/TA converts each
octet of TP data unit into hexadecimal numbers containing two IRA characters (e.
g. octet with integer value 42 is presented to TE as two characters 2A (IRA 50 a
nd 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimal format. GSM 03.40 TP-
Recipient-Address Address-Value field in string format; BCD numbers (or GSM defa
ult alphabet characters) are converted into characters; Type of address given by
GSM 03.40 TP- Service-Centre-Time-Stamp in time-string format (refer ) GSM 03.4
0 TP-Status in integer format GSM 04.11 TP-Destination-Address Type-of-Address o
ctet in integer format (when first character of is + (IRA 43) default is 145,oth
erwise default is 129) GSM 04.11 TP-Originating-Address Type-of-Address octet in
integer format (default refer) GSM 04.11 TP-Recipient-Address Type-of-Address o
ctet in integer format (default refer) -- -- -- -- -- -- --- -- -- -- Reference:
GSM 07.05 Huawei Technologies Proprietary 5-17
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 5.4.3 Read Message: AT+CMGR TA returns message with location va
lue from message storage to the TE. If status of the message is received unread
, change to “received read”. Table 5-25 AT+CMGR action command syntax Type Command
Possible response(s) +CMGR: ,[], OK +CMGR:,, [],[,,,,,,,] OK +CMGR:,, [][,,,,,[]
, ,,] OK +CMGR:,, ,[],[], ,, OK +CMGR:,, [,,[],[< da>],[],] OK +CMS ERROR: OK Te
st command AT+CMGR=? OK If text mode (+CMGF=1) and command successful for SMS-ST
ATUS-REP ORT If text mode (+CMGF=1) and command successful for SMS-COMMAND If re
ad failed --If text mode (+CMGF=1) and command successful for SMS-SUBMIT Descrip
tion If PDU mode (+CMGF=0) and command successful If text mode (+CMGF=1) and com
mand successful for SMS-DELIVER Set command AT+CMGR= Huawei Technologies Proprie
tary 5-18
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Table 5-26 Parameter description Parameter Value Description De
pending on the command or result code: GSM 03.38 SMS Data Coding Scheme (default
0), or Cell Broadcast Data Coding Scheme in integer format GSM 03.40 TP-Command
-Data in text mode responses; ME/TA converts each 8-bit octet into two IRA chara
cter long hexadecimal numbers (e.g. octet with integer value 42 is presented to
TE as two characters 2A (IRA 50 and 65)) GSM 03.40 TP-Protocol-Identifier in int
eger format (default 0) GSM 04.11 RP SC address Address-Value field in string fo
rmat; BCD numbers (or GSM default alphabet characters) are converted to characte
rs of the currently selected TE character set (refer command +CSCSin TS 07.07);
Type of address given by GSM 04.11 RP SC address Type-of-Address octet in intege
r format (default refer ) Depending on SMS-SUBMIT setting: GSM 03.40 TP-Validity
-Period either in integer format(default 167), in time-string format (refer ), o
r if $(EVPF)$ is supported, in enhanced format (hexadecimal coded string with do
uble quotes) -- -- -- -- -- -- Reference: GSM 07.05 5.4.4 New Message Acknowledg
e: AT+CNMA Set command confirms correct reception of a new message (SMS-DELIVER
or SMS-STATUS-REPORT) which is routed directly to the TE. Table 5-27 AT+CNMA act
ion command syntax Type Command AT+CNMA Execution command AT+CNMA[=[,[PDU is giv
en ]]] OK Possible response(s) -If PDU mode (+CMGF=0) and command failed Descrip
tion +CMS ERROR Huawei Technologies Proprietary 5-19
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Type Command OK Possible response(s) -- Description Test comman
d AT+CNMA=? +CNMA: (list of supported s) If PDU mode Table 5-28 Parameter descri
ption Parameter 0 1 2 Value Description Command operates similarly as defined fo
r the text mode Send RP-ACK (or buffered result code received correctly) Send RP
-ERROR (if PDU is not given, ME/TA shall send SMS-DELIVER-REPORT with GSM 03.40
TP-FCS value set to ‘FF’ (unspecified error cause)) Reference: GSM 07.05 5.5 Message
Sending and Writing Commands 5.5.1 Send Message: AT+CMGS Set command serves to
transmit SMS from TE to network (SMS-SUBMIT). Message reference value is returne
d to the TE on successful message delivery. Value can be used to identify messag
e upon unsolicited delivery status report result code. Table 5-29 AT+CMGS action
command syntax Type Command Possible response(s) +CMGS: [,] OK Description If t
ext mode(+CMGF=1) and command successful If text mode (+CMGF=1) and command fail
ed Set command AT+CMGS=[,]text to send +CMS ERROR: Huawei Technologies Proprieta
ry 5-20
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Type Command Possible response(s) +CMGS: [,] OK Description If
PDU mode(+CMGF=0) and command successful If PDU mode (+CMGF=0) and command faile
d -- AT+CMGS= PDU to send +CMS ERROR: OK Test command AT+CMGS=? Table 5-30 Param
eter description Parameter Value Description GSM 03.40 TP-Destination-Address Ad
dress-Value field in string format; BCD numbers (or GSM default alphabet charact
ers) are converted to characters of the currently selected TE character set (ref
er command +CSCS in TS 07.07); Type of address given by In the case of SMS: GSM
04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format: ME/TA convert
s each octet of TP data unit into hexadecimal numbers containing two IRA charact
ers (e.g. octet with integer value 42 is presented to TE as two characters 2A (I
RA 50 and 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimal format. Intege
r type value indicating in the text mode (+CMGF=1) the length of the message bod
y > (or ) in characters; Or in PDU mode (+CMGF=0), the length of the actual TP d
ata unit in octets (i.e. the RP layer SMSC address octets are not counted in the
length) GSM 03.40 TP-Message-Reference in integer format GSM 03.40 TP- Service-
Centre-Time-Stamp in time-string format (refer ) GSM 03.40 TP-Discharge-Time in
time-string format: “yy/MM/dd,hh:mm:ss±zz”, where characters indicate year (two last d
igits), month, day, hour, minutes, seconds and time zone. E.g. 6th of May 1995,
22:10:00 GMT+2 hours equals to “95/05/06,22:10:00+08” -- -- -- --- -- Huawei Technol
ogies Proprietary 5-21
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Parameter Value Description GSM 03.40 RP-User-Data element of R
P-ACK PDU; format is same as for in case of SMS, but without GSM 04.11 SC addres
s field and parameter shall be enclosed in double quote characters like a normal
string type parameter. GSM 04.11 TP-Destination-Address Type-of-Address octet i
n integer format (when first character of is + (IRA 43) default is 145,otherwise
default is 129) -- -- Reference: GSM 07.05 5.5.2 Send Message from Storage: AT+
CMSS Set command sends message with location value from message storage to the n
etwork (SMS-SUBMIT or SMS-COMMAND). If new recipient address is given for SMS-SU
BMIT, it shall be used instead of the one stored with the message. Reference val
ue is returned to the TE on successful message delivery. Values can be used to i
dentify message upon unsolicited delivery status report result code. Table 5-31
AT+CMSS action command syntax Type Command Possible response(s) +CMSS: [,] Descr
iption If text mode (+CMGF=1) and command successful If text mode (+CMGF=1) and
command failed If PDU mode (+CMGF=0) and command successful If PDU mode (+CMGF=0
) and command failed -- +CMS ERROR: Set command AT+CMSS=[,[,]] +CMSS: [,] +CMS E
RROR: Test command AT+CMSS=? OK Huawei Technologies Proprietary 5-22
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Table 5-32 Parameter description Parameter Value Description GS
M 03.40 RP-User-Data element of RP-ACK PDU; format is same as for in case of SMS
, but without GSM 04.11 SC address field and parameter shall be enclosed in doub
le quote characters like a normal string type parameter Integer type; Value in t
he range of location numbers supported by the associated memory GSM 03.40 TP-Des
tination-Address Address-Value field in string format; BCD numbers (or GSM defau
lt alphabet characters) are converted to characters of the currently selected TE
character set (refer command +CSCS in TS 07.07); Type of address given by GSM 0
4.11 TP-Destination-Address Type-of-Address octet in integer format (when first
character of is + (IRA 43) default is 145,otherwise default is 129) GSM 03.40 TP
-Message-Reference in integer format GSM 03.40 TP- Service-Centre-Time-Stamp in
time-string format (refer ) -- -- -- -- --- Reference: GSM 07.05 5.5.3 Write Mes
sage to Memory: AT+CMGW Set command serves to transmit SMS (either SMSDELIVER or
SMS-SUBMIT) from TE to memory storage . Memory location of the stored message i
s returned. Message status will be set to stored unsent unless otherwise given i
n parameter . Huawei Technologies Proprietary 5-23
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Table 5-33 AT+CMGW action command syntax Type Command AT+CMGW[=
< oa/da>[,[,]]]< CR> text is entered AT+CMGW=[,] PDU is given Test command AT+CM
GW=? Possible response(s) +CMGW: OK Description If text mode (+CMGF=1) and comma
nd successful If text mode (+CMGF=1) and command failed If PDU mode (+CMGF=0) an
d command successful If PDU mode (+CMGF=0) and command failed OK -- +CMS ERROR:
Execution command +CMGW: OK +CMS ERROR: Table 5-34 Parameter description Paramet
er Value Description GSM 03.40 TP-Destination-Address Address-Value field in str
ing format; BCD numbers (or GSM default alphabet characters) are converted to ch
aracters of the currently selected TE character set (refer command +CSCS in TS 0
7.07); Type of address given by GSM 03.40 TP-Originating-Address Address-Value f
ield in string format; BCD numbers (or GSM default alphabet characters) are conv
erted into characters; Type of address given by GSM 04.11 TP-Destination-Address
Type-of-Address octet in integer format (when first character of is + (IRA 43)
default is 145,otherwise default is 129) GSM 04.11 TP-Originating-Address Type-o
f-Address octet in integer format (default refer) -- -- -- -- Huawei Technologie
s Proprietary 5-24
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Parameter Value "REC UNREAD" “REC READ" "STO UNSENT" "STO SENT" D
escription Received unread message(+CMGF=1) Received read message(+CMGF=1) Store
d unsent message(+CMGF=1) Stored sent message(+CMGF=1) Received unread message(+
CMGF=0) Received read message(+CMGF=0) Stored unsent message(+CMGF=0) Stored sen
t message(+CMGF=0) 0 1 2 3 Reference: GSM 07.05 5.5.4 Delete Message: AT+CMGD Se
t command deletes message from preferred message storage location . Table 5-35 A
T+CMGD action command syntax Type Command AT+CMGD=[,] AT+CMGD=? OK +CMS ERROR: O
K Possible response(s) Description If delete successful If failed - Set command
Test command Table 5-36 Parameter description Parameter 0 1 2 3 4 Delete all rea
d and sent messages. Delete all read messages,all sent messages and drafts. Dele
te all messages. Value Description Integer type; Value in the range of location
numbers supported by the associated memory Delete messages specified by . Delete
messages specified by . Delete all read messages. Huawei Technologies Proprieta
ry 5-25
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Reference: GSM 07.05 5.5.5 Send Command: AT+CMGC Table 5-37 AT+
CMGC action command syntax Type Command Possible response(s) +CMGC: [,] Descript
ion If text mode (+CMGF=1) and command successful If text mode (+CMGF=1) and com
mand failed If PDU mode (+CMGF=0) and command successful If PDU mode (+CMGF=0) a
nd command failed -- AT+CMGC=,[,[,< mn>[,[,]]]] text is entered Set command AT+C
MGC= PDU is given Test command AT+CMGC=? +CMS ERROR: +CMGC: [,] +CMS ERROR: OK T
able 5-38 Parameter description Parameter Value Description Integer type value i
ndicating in the text mode (+CMGF=1) the length of the message body > (or ) in c
haracters; Or in PDU mode (+CMGF=0), the length of the actual TP data unit in oc
tets (i.e.the RP layer SMSC address octets are not counted in the length) GSM 04
.11 TP-Destination-Address Type-of-Address octet in integer format (when first c
haracter of is + (IRA 43)default is 145, otherwise default is 129) In the case o
f SMS: GSM 04.11 SC address followed by GSM 03.40 TPDU in hexadecimal format: ME
/TA converts each octet of TP data unit into hexadecimal numbers containing two
IRA characters (e.g. octet with integer value 42 is presented to TE as two chara
cters 2A (IRA 50 and 65)). In the case of CBS: GSM 03.41 TPDU in hexadecimal for
mat. -- -- -- Huawei Technologies Proprietary 5-26
AT Command Reference Huawei GTM900 Wireless Module Chapter 5 Commands Specified
by GSM Rec.07.05 Parameter -- Value Description GSM 03.40 TP-Message-Reference i
n integer format Depending on the command or result code: first octet of GSM 03.
40 SMS-DELIVER, SMS-SUBMIT (default 17), SMSSTATUS-REPORT, or SMS -COMMAND (defa
ult 2) in integer format GSM 03.40 TP-Command-Type in integer format (default 0)
GSM 03.40 TP-Protocol-Identifier in integer format (default0) GSM 03.40 TP-Dest
ination-Address Address-Value field in string format; BCD numbers (or GSM defaul
t alphabet characters) are converted to characters of the currently selected TE
character set (refer command +CSCS in TS 07.07); type of address given by GSM 03
.40 TP-Service-Centre-Time-Stamp in time-string format (refer to ) -- --- -- --
Reference: GSM 07.05 Huawei Technologies Proprietary 5-27
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Chapter 6 Enhanced AT Commands 6.1 About This Chapter This chapter describes t
he Enhanced AT command, including: HUAWEI Specific AT Commands AT Commands for A
udio Setting 6.2 HUAWEI Specific AT Commands 6.2.1 Network registration and serv
ice selection: AT%NRG Execute this command to force an attempt to select and reg
ister the GSM network operator. is used to select whether the selection is done
automatically by the ME or is forced by this command to operator (it shall be gi
ven in format ). If the selected operator is not available, no other operator is
selected (except =4). The selected operator name format shall apply to further
read commands (AT%NRG?) too. is used to specify the different stages of service
to register to. =3 can be used to change the behavior of registration in case of
a loss of coverage. If connection to the operator is lost and was set to automa
tic, ME tries to register to the previous operator automatically. In case was se
t to manual, ME stays unregistered and waits for a manual registration attempt.
Refer subclause 9.2 of [GSM 07.07] for possible values. This command is abortabl
e when registration attempt is made. Read command returns the current registrati
on mode, service mode, service status and the currently selected operator. If no
operator is selected, and are omitted. Test command returns facility values sup
ported by the TA as a compound value. Note: The command AT%NRG is an expansion o
f the AT+COPS command. The new command allows specifying the service state of th
e registration. For a list of current available network operators please use the
test command of AT+COPS. Huawei Technologies Proprietary 6-1
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-1 AT%NRG action command syntax Type Set command Command AT%NRG=[[,[,[,
]]]] OK ERROR %NRG: ,,[],,[] OK %NRG: (list of supported s), (list of supported
s), (list of supported s) OK Possible response(s) Description - Read command AT%
NRG? - Test command AT%NRG=? - Table 6-2 Parameter description Parameter 0 1 4 0
1 2 3 0 1 2 0 1 < srvStat > 2 3 No service Set registration mode only No servic
e Set registration mode only Long format alphanumeric Short format alphanumeric
Numeric Full service Limited service Value Description Automatic registration (
field is ignored) Manual registration ( field shall be present on registration a
ttempt) Manual/automatic ( field shall be present); if manual selection fails, a
utomatic mode (=0) is entered Full service Limited service Huawei Technologies P
roprietary 6-2
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Parameter Value Description -- String type; Indicates if the format is alphanu
meric or numeric; Long alphanumeric format can be up to 16 characters long and s
hort format up to 8 characters; numeric format is the GSM Location Area Identifi
cation number (refer GSM 04.08 subclause 10.5.1.3) which consists of a three BCD
digit country code coded as in ITU-T E.212 Annex A, plus a two BCD digit networ
k code, which is administration specific; returned shall not be in BCD format, b
ut in IRA characters converted from BCD; hence the number has structure: (countr
y code digit 3)(country code digit 2)(country code digit 1)(network code digit 2
)(network code digit 1) 6.2.2 Query accumulated call meter using PUCT: AT%CACM E
xecute this command to return the current value of the accumulated call meter, c
alculated with the values given by the price per unit and currency table stored
in SIM. Refer subclause 9.2 of [GSM 07.07] for possible values. Table 6-3 AT%CAC
M action command syntax Type Command Possible response(s) %CACM: , AT%CACM OK ER
ROR Test command AT%CACM=? OK If failed Description OK Execution command Table 6
-4 Parameter description Parameter Description String type; Three-character curr
ency code (e.g. "GBP", "DEM"); character set as specified by command Select TE C
haracter Set +CSCS String type; Calculated price value of accumulated call meter
; Dot is used as a decimal separator (e.g."2.66") Huawei Technologies Proprietar
y 6-3
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 6.2.3 Query current call meter using PUCT: AT%CAOC Execute this command to ret
urn the current value of the current call meter, calculated with the values give
n by the price per unit and currency table stored in SIM. Refer subclause 9.2 of
[GSM 07.07] for possible values. Table 6-5 AT%CAOC action command syntax Type C
ommand Possible response(s) %CAOC: , AT%CAOC OK ERROR Test command AT%CAOC=? OK
If failed -OK Description Execution command Table 6-6 Parameter description Para
meter Description String type; Three-character currency code (e.g. "GBP", "DEM")
; character set as specified by command Select TE Character Set +CSCS String typ
e; Calculated price value of accumulated call meter; Dot is used as a decimal se
parator (e.g."2.66") 6.2.4 Call timer value: AT%CTV Execute this command to retu
rn the current value of the last call duration in seconds. Refer subclause 9.2 o
f [GSM 07.07] for possible values. Table 6-7 AT%CTV action command syntax Type C
ommand Possible response(s) %CTV: Execution command Test command AT%CTV OK ERROR
AT%CTV=? OK OK If failed -Description Huawei Technologies Proprietary 6-4
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-8 Parameter description Parameter Description Integer type; Represents
the duration of the last call in unit of seconds. Note: This value does not nec
essary refer to the actual call duration only. It may include the call setup tim
e. For details about how to get accurate time, refer to commands “AT%LCD” and AT%TCD”.
6.2.5 Call progress information: AT%CPI This command refers to call progress in
formation, which is indicated by the network during call establishment. The set
command enables/disables the presentation of unsolicited notification result cod
es from TA to TE. When =1 and a call progress information is received during a c
all establishment, intermediate result code %CPI: ,,, is sent to TE. identifies
the call in the call table. The value of describes the layer 3 message type that
was used to transfer the call progress information. The state of TCH assignment
and the use of in-band tones for that call can be monitored by the values of an
d . Execute this command to return values supported by the TA as compound value.
Table 6-9 AT%CPI action command syntax Type Set command Read command Test comma
nd Command OK AT%CPI= ERROR AT%CPI? %CPI: OK %CPI: (list of supported s) OK Poss
ible response(s) Description - AT%CPI=? - Huawei Technologies Proprietary 6-5
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-10 Parameter description Parameter Value 0 parameter sets/shows the re
sult code presentation status in the TA 1 2 3 Disable Enable Enable with call nu
mber information Enable with call number information, GSM cause information and
ALS line information Integer type; Call identification number as described in GS
M 02.30 subclause 4.5.5.1 Setup message Disconnect message Alert message Call pr
oceed message Synchronization message No in-band tones In-band tones TCH not ass
igned TCH assigned Description 0 1 layer 3 message type 2 3 4 status of the usag
e of in-band tones TCH assignment 0 1 0 1 6.2.6 Configuration for SIM applicatio
n toolkit: AT%SATC This command refers to the SIM application toolkit download m
echanism, which is used to indicate to the SIM the features that the ME is capab
le of. The different features that are possible for a proactive SIM card are sum
marized by a table called a profile, refer to GSM 11.14 for more details. HUAWEI
s ACI, SMS and SIM modules already implement some of these features. Therefore
the profile that is indicated by will be combined with the existing one. The cur
rent profile setting could be displayed using the read command. is used to enabl
e/disable the presentation of unsolicited notification result codes from TA to T
E. When =1 and one of the following conditions have occurred, the respective uns
olicited result is sent to TE. A command received from the SIM that is not handl
ed by ME is indicated to TE by %SATI: . Huawei Technologies Proprietary 6-6
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s The result to an envelope command, which was sent by TE, is indicated using th
e result %SATE: . For more information regarding the sending of envelope command
s to SIM, please refer to the %SATE command description. If SIM application tool
kit tries to set up a call using the Set Up Call feature described in GSM 11.14,
and the conditions for the call are checked by ME successfully, the call is ind
icated to TE using the result %SATA:[]. Using the accept command A, ME tries to
establish the call, otherwise the hook-on command H rejects the pending SAT call
and sends the respective response to SIM. In general, commands or responses sen
t by ME to SIM or commands handled by ME are indicated to TE using the result %S
ATN: . With these notifications, TE shall be able to indicate appropriate messag
es to a user. Table 6-11 AT%SATC action command syntax Type Set command Read com
mand Test command Command AT%SATC=, ERROR AT%SATC? %SATC: , OK %SATC: (list of s
upported s),() OK Possible response(s) OK Description - AT%SATC=? - Table 6-12 P
arameter description Parameter Value 0 1 2 Description Unsolicited SAT output di
sabled Unsolicited SAT output enabled Class E unsolicited SAT output enabled Str
ing type; SIM application toolkit profile (hexadecimal format; refer +CSCS) star
ting with first byte of the profile String type; SIM application toolkit command
(hexadecimal format; refer +CSCS) starting with command tag String type; SIM ap
plication toolkit response (hexadecimal format; refer +CSCS) starting with first
byte of response data String type; Commands or responses sent by ME to SIM or c
ommands handled by ME (hexadecimal format; refer +CSCS) starting with first byte
of response data or command tag - - - Huawei Technologies Proprietary 6-7
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Parameter Value Description Integer type; If a pending SIM application toolkit
command is alerted to TE using result %SATA:, The value of indicates the redial
timeout for the call in unit of milliseconds - 6.2.7 Send SAT envelope command:
AT%SATE This command provides the possibility to send a command to the SIM, usi
ng the envelope mechanism of SIM application toolkit as described in GSM 11.14.
If is present, the contents is converted and send directly to SIM. The coding of
the SIM command is the task of TE, no checking is done by ME. As soon as a resp
onse from the SIM is received, the contents is send to ME using the result %SATE
: . Table 6-13 AT%SATE action command syntax Type Set command Test command Comma
nd Possible response(s) %SATE: AT%SATE= OK ERROR AT%SATE=? OK Description - Tabl
e 6-14 Parameter description Parameter Description String type; SIM application
toolkit command (hexadecimal format; refer +CSCS) starting with command tag Stri
ng type; SIM application toolkit response (hexadecimal format; refer +CSCS) star
ting with first byte of response data 6.2.8 Send SAT command response: AT%SATR T
his command provides the possibility to send a response to previous received SAT
command. If a SIM application toolkit command was indicated to TE using the res
ult %SATI: , the TE should send an appropriate response using the AT%SATR comman
d. If is present, the contents is converted and send directly to SIM. The coding
of the SIM response is the task of TE, no checking is done by ME. Huawei Techno
logies Proprietary 6-8
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-15 AT%SATR action command syntax Type Set command Test command Command
AT%SATR= ERROR AT%SATR=? OK Possible response(s) OK Description - Table 6-16 Pa
rameter description Parameter Description String type; SIM application toolkit r
esponse (hexadecimal format; refer +CSCS) starting with first byte of response d
ata 6.2.9 Terminate SAT command or session: AT%SATT Execute this command to term
inate a SIM application toolkit command or session. If is present, the value is
coded and send to the SIM to terminate the command or session. For example, if a
SAT Call Set up was indicated with the result %SATA: 60, and the redialing time
is exceeded, TE shall send the cause end of redialing reached to ME. Table 6-
17 AT%SATT action command syntax Type Set command Test command Command AT%SATT=
ERROR AT%SATT=? OK Possible response(s) OK Description - Table 6-18 Parameter de
scription Parameter 0 cause of command or session termination 1 2 Value Descript
ion User stopped redialing End of redialing reached User ends session Huawei Tec
hnologies Proprietary 6-9
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 6.2.10 GPRS Byte counter: AT%SNCNT Execute this command to return or reset the
byte counts of every current connection. Table 6-19 AT%SNCNT action command syn
tax Type Set command Command OK AT%SNCNT= ERROR %SNCNT: , , , , Read command AT%
SNCNT? %SNCNT: , , , , ... OK Test command AT%SNCNT=? %SNCNT: (0) OK Possible re
sponse(s) Description - Table 6-20 Parameter description Parameter Description R
esets the counters if rst = 0 Connection id Uplink octets count Downlink octets
count Uplink packets count Downlink packets count 6.2.11 Automatic attach mode:
AT%CGAATT Execute this command to chose the behavior of the attach procedure. Ta
ble 6-21 AT%CGAATT action command syntax Type Set command Command OK AT%CGAATT=,
ERROR Possible response(s) Description - Huawei Technologies Proprietary 6-10
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Read command AT%CGAATT? %CGAATT: , OK %CGAATT(list of supported s), (list of s
upported s) OK - Test command AT%CGAATT=? - Table 6-22 Parameter description Par
ameter automatic attach mode automatic detach mode 0 1 Value Description Automat
ic attach Manuel attach Automatic detach after last context deactivation Manuel
detach 0 1 6.2.12 Ciphering indication: AT%CPRI Execute this command to enable o
r disable ciphering indications. If enabled, ciphering indications are routed to
the TE using unsolicited result code: %CPRI: ,. The first parameter is for GSM,
the second parameter is for GPRS. If ciphering indications are disabled on the
SIM, the command AT%CPRI= returns +CME ERROR: . Table 6-23 AT%CPRI action comman
d syntax Type Set command Read command Test command Command OK AT%CPRI= ERROR AT
%CPRI? %CPRI: OK %CPRI: (list of supported s) OK Possible response(s) Descriptio
n - AT%CPRI=? - Huawei Technologies Proprietary 6-11
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-24 Parameter description Parameter enable or disable ciphering indicat
ions 0 [1] 0 1 2 Value Description Don t show ciphering indications Show cipheri
ng indications Ciphering disabled Ciphering enabled Ciphering state not applicab
le (ciphering state not changed) Don t show ciphering indications (ciphering ind
ications are enabled on the SIM or SIM is removed) Show ciphering indications (c
iphering indications are enabled on the SIM or SIM is removed) Ciphering indicat
ions are disabled on the SIM 0 1 2 6.2.13 GPRS extended registration state: AT%C
GREG Execute this command to report extended information about GPRS registration
state. AT%CGREG behaves exactly as AT+CGREG does. In addition AT%CGREG supports
three states AT+CGREG does not support. Table 6-25 AT%CGREG action command synt
ax Type Set command Command AT%CGREG= ERROR %CGREG: ,,[],[] ,[] OK Test command
AT%CGREG=? %CGREG: (list of supported s) OK Possible response(s) OK Description
- Read command AT%CGREG? - Huawei Technologies Proprietary 6-12
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-26 Parameter description Parameter 0 enable or disable extended GPRS r
egistration state reporting 1 2 3 Registration state not reported Registration s
tate and location information reported Registration state and location informati
on during PDP activation or deactivation reported Value Description Registration
state reported Huawei Technologies Proprietary 6-13
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Parameter 0 1 2 3 4 5 6 7 8 9 1 0 Value Not registered Description Registered
to home network Not yet registered, but searching for network to register to Reg
istration denied Unknown state Registered to foreign network (roaming) Limited s
ervice (cell might be overloaded) GSM call active No cell available Next attempt
to update MS Location area code Cell ID No PDP context activated One or more PD
P contexts activated 6.2.14 SIM card insert indication: AT%TSIM Table 6-27 AT%TS
IM action command syntax Type Execution command Command AT%TSIM Possible respons
e(s) %TSIM OK Description Table 6-28 Parameter description Parameter 0 1 SIM car
d inserted Value Description SIM card not inserted Huawei Technologies Proprieta
ry 6-14
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 6.2.15 Last call duration: AT%LCD TA return the last call duration. Table 6-29
AT%LCD action command syntax Type Execution command Command AT%LCD Possible res
ponse(s) %LCD OK Description - Table 6-30 Parameter description Parameter Value
Description String type, The max value is 23:59:59, where the character indicate
hour, minute and second. It won’t be lost by power off. hh:mm:ss 6.2.16 Total cal
l duration: AT%TCD TA returns the last call duration. Table 6-31 AT%TCD action c
ommand syntax Type Execution command Command AT%TCD Possible response(s) %TCD OK
Description - Table 6-32 Parameter description Parameter Value Description Stri
ng type, The max value is 19999:59:59, where the characters indicate hour ,minut
e and second. It won’t be lost by power off. hhhhh:mm:ss Huawei Technologies Propr
ietary 6-15
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 6.2.17 GTM900 power off: AT%MSO Table 6-33 AT%MSO action command syntax Type E
xecution command Command AT%MSO Possible response(s) 无返回 Description 6.2.18 List Messa
es: AT%MGL Execute this command to list messages with status value from preferre
d message storage to the TE. But the state of messages is unchanged. If status o
f the message is received unread , status in the storage is still “received unrea
d”. Table 6-34 AT%MGL action command syntax Type Command Possible response(s) %MGL
:,,[], %MGL:,,[],[...]] OK %MGL:,,,[],[ ][,, ]< data>[%M GL:,,,[],[][,,][...]] O
K %MGL:,,,,[],[< tora>],,,[%MGL: ,,, ,[],[], ,,[...]] OK Description Execution c
ommand AT%MGL[=] If PDU mode (+CMGF=0) and command successful If text mode (+CMG
F=1), command successful SMS-SUBMITs and/or SMS-DELIVERs SMS-STATUS-REP ORTs Hua
wei Technologies Proprietary 6-16
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Type Command Possible response(s) %MGL:,,,[%MGL:,,,[...]] OK ERROR Description
SMS-COMMANDs If list failed Test command AT%MGL=? %MGL: (list of supported s) O
K For parameter description, refer to the AT+CMGL command. 6.2.19 Read Message:
AT%MGR TA returns message with location value from message storage to the TE. Bu
t the state of messages is unchanged. If status of the message is received unre
ad , status in the storage is still “received unread”. Table 6-35 AT%MGR action comm
and syntax Type Command Possible response(s) %MGR: ,[], OK %MGR:,,[ ],[,,,,, ,,]
OK %MGR:,,[ ][,,,,,[], ,,] OK %MGR:,,< mr>,[],[],< scts>,, OK Text mode (+CMGF=
1), command successful SMS-STATUS-REP ORT Description If PDU mode (+CMGF=0) and
command successful Set command AT%MGR= Text mode (+CMGF=1), command successful S
MS-DELIVER Text mode (+CMGF=1), command successful SMS-SUBMIT Huawei Technologie
s Proprietary 6-17
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Type Command Possible response(s) %MGR:,,< ct>[,,[],[],[], ] OK ERROR Descript
ion Text mode (+CMGF=1), command successful SMS-COMMAND Read failed - Test comma
nd AT%MGR=? OK For parameter description, refer to the AT+CMGR command. 6.2.20 S
leep Control: AT%SLEEP Execute this command to enable or disable the sleep funct
ion of GTM900. Table 6-36 AT%SLEEP action command syntax Type Set command Read c
ommand Command AT%SLEEP= ERROR [] AT%SLEEP? %SLEEP: OK Failure Possible response
(s) OK Description - Table 6-37 Parameter description Parameter [0] 1 Sleep func
tion enable Value Description Sleep function disabled by default Caution: If the
sleep function is enabled, there might be no response from the serial port when
no operation is done on the GTM900 and the AT command is entered. This case is
normal. You may re-enter the command or type in the carriage return to activate
the GTM900 before entering the AT command. Huawei Technologies Proprietary 6-18
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 6.3 AT Commands for Audio Setting 6.3.1 Set audio input (MIC path) parameters:
AT%NFI Execute this command to set MIC path parameters in terms of path, gain,
outbais, and extra gain. is used to set the path of MIC. , a common parameter fo
r all MIC paths, is used to set the gain of MIC path. , a common parameter for a
ll MIC paths, is used to set MIC outbais. , a parameter that is valid only when
=1(audio input path 2), is used to set MIC path extra gain. Table 6-38 AT%NFI ac
tion command syntax Type Command AT%NFI=< path>,,, Possible response(s) OK ERROR
%NFI: ,, OK Read command AT%NFI? %NFI: ,,, OK %NFI: (list of supported s),(list
of supported s), (list of supported s), (list of supported s) OK If failed Desc
ription Set command =0, 2 =1 Test command AT%NFI=? - Table 6-39 Parameter descri
ption Parameter [0] Value Description Audio input path 1 (MIC+, MIC-); For more
details, see Product Description. Audio input path 2 (AUXI+, AUXI-); For more de
tails, see Product Description. 1 Huawei Technologies Proprietary 6-19
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 2 Value range [-12, 13] -12 +12 13 [0] 0 [1] [0] 1 Audio input path 3 (hardwar
e supportive) Min. gain Max. gain Mute Default value 2.0V 2.5V 28.2dB 4.6dB Exam
ple 1: AT%NFI=0,0,1 OK Path of MIC set to audio input path 1 with the gain of 0d
B and outbais of 2.5 V. Returned result: AT%NFI? %NFI: 0,0,1 OK Example 2: AT%NF
I=1,3,1,0 OK Path of MIC set to audio input path 2 with the gain of 3dB, outbais
of 2.5 V, and extra gain of 28.2 dB. Returned result: AT%NFI? %NFI: 1,3,1,0 OK
6.3.2 Set audio output (speaker path) parameters: AT%NFO Execute this command to
set speaker path parameters in terms of path, gain, and filter switch. is used
to set the path of speaker. Huawei Technologies Proprietary 6-20
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s , a common parameter for all speaker paths, is used to set the gain of speaker
path. is used to enable/disable the filter of speaker path. Table 6-40 AT%NFO a
ction command syntax Type Command AT%NFO= ,, Possible response(s) OK ERROR %NFO:
,, OK %NFO: (list of supported s), (list of supported s), (list of supported s)
OK If failed Description Set command Read command AT%NFO? - Test command AT%NFO
= ? - Huawei Technologies Proprietary 6-21
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-41 Parameter description Parameter [0] Value Description Audio output
path 1 (EAR+, EAR-); For more details, see Product Description. Audio output pat
h 2 (AUXO+, AUXO-); For more details, see Product Description. Audio output path
3 (hardware supportive) Audio output path 1; Audio output path 2 -Default value
Enable the filter Disable the filter 1 2 4 Value range: [-6, +6] [3] [0] 1 Exam
ple: AT%NFO=0,3,0 OK Path of speaker set to audio output path 1 with the gain of
3dB and with the filter enabled. Returned result: AT%NFO? %NFO: 0,3,0 OK 6.3.3
Set speaker volume: AT%NFV , a common parameter for all speaker paths used to se
t volume of speaker, is automatically saved to non-volatile storage after the se
t command is carried out. And the volume will be automatically set to this value
in next call. Huawei Technologies Proprietary 6-22
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-42 AT%NFV action command syntax Type Command OK Set command AT%NFV= ER
ROR Read command AT%NFV? %NFV: OK AT%NFV: (list of supported s) OK If failed Pos
sible response(s) Description Test command AT%NFV=? - Table 6-43 Parameter descr
iption Parameter 0 1 2 3 [4] 5 -12dB -6dB 0dB Value Mute -24dB -18dB Description
Example: AT%NFV=4 OK Volume of the speaker set to -6 dB Returned result: AT%NFV
? %NFV: 4 OK 6.3.4 Save audio mode configuration parameters: AT%NFW Execute this
command to save current audio mode configuration parameters. A subscriber can d
efine 5 groups of audio mode configuration parameter and save them to non-volati
le store. The subscriber can use any of the five groups of audio parameter throu
gh AT%NFS. Huawei Technologies Proprietary 6-23
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s An audio mode is a fixed setting of audio features embedded in the module. For
example, handsfree mode is a particular audio mode. The audio mode configuratio
n parameters include: AT%NFI=,,, AT%NFO=,, AT%STN= AT%VLB= Table 6-44 AT%NFW act
ion command syntax Type Command OK Set command Read command Test command AT%NFW=
ERROR AT%NFW? AT%NFW=? OK %NFW: (list of supported s) OK If failed Possible res
ponse(s) Description Table 6-45 Parameter description Parameter 1 2 3 4 5 Value
Description Subscriber defined audio mode configuration parameters, handheld mod
e for example. Subscriber defined audio mode configuration parameters, handsfree
mode for example. Subscriber defined audio mode configuration parameters, heads
et mode for example. Subscriber defined audio mode configuration parameters. Sub
scriber defined audio mode configuration parameters. Huawei Technologies Proprie
tary 6-24
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Example: AT%NFI=0,0,1 OK AT%NFO=0,3,0 OK AT%STN=-26 OK AT%VLB=0 OK Save the pa
rameters as follows: AT%NFW=1 OK 6.3.5 Select audio mode configuration parameter
s: AT%NFS Execute this command to read the saved audio mode configuration parame
ters and then configure them. Table 6-46 AT%NFS action command syntax Type Set c
ommand Read command Test command Command AT%NFS= ERROR AT%NFS? AT%NFS=? OK AT%NF
S: (list of supported s) OK If failed Possible response(s) OK Description - Huaw
ei Technologies Proprietary 6-25
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-47 Parameter description Parameter 0 1 2 3 4 5 Value Description Defau
lt audio mode configuration parameters of the manufacturer Subscriber defined au
dio mode configuration parameters Subscriber defined audio mode configuration pa
rameters Subscriber defined audio mode configuration parameters Subscriber defin
ed audio mode configuration parameters Subscriber defined audio mode configurati
on parameters Example: (If you have completed the steps described in Example of
the AT%NFW command, you may read this group of parameters through AT%NFS.) AT%NF
S=1 OK After reading and configuring the audio mode parameters saved by the subs
criber, the returned result is as follows: AT%NFI? %NFI: 0,0,1 OK AT%NFO? %NFO:
0,3,0 OK AT%STN? %STN: -26 OK AT%VLB? %VLB: 0 OK 6.3.6 Set sidetone volume: AT%S
TN Table 6-48 AT%STN action command syntax Type Set command Command AT%STN= Poss
ible response(s) OK Description - Huawei Technologies Proprietary 6-26
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s ERROR Read command AT%STN? %STN: OK %STN: (list of supported s) OK If failed -
Test command AT%STN=? - Table 6-49 Parameter description Parameter [-26] mute V
alue (-23,-20,-17,-14,-11,-8, -5, -2, 1) Description Unit: dB Example: AT%STN=-2
6 OK Volume of the sidetone set to mute Returned result: AT%STN? %STN: -26 OK Hu
awei Technologies Proprietary 6-27
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 6.3.7 Acoustic-Echo Cancellation: AT%VLB Execute this command to enable/disabl
e Acoustic-Echo Cancellation (AEC). Table 6-50 AT%VLB action command syntax Type
Command OK Set command AT%VLB= ERROR Read command AT%VLB? %VLB : OK %VLB: (list
of supported s) OK If failed Possible response(s) Description - Test command AT
%VLB=? - Table 6-51 Parameter description Parameter [0] 1 AEC enabled Value Desc
ription AEC disabled Example: AT%VLB=1 OK AEC enabled Returned result: AT%VLB? %
VLB: 1 OK Caution: AEC is valid only when AT%VLB=1 is sent out before each activ
e call. Huawei Technologies Proprietary 6-28
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s 6.3.8 Select audio paths: AT%SNFS Execute this command to select the paths of
audio input(MIC) and audio output(speaker). Table 6-52 AT%SNFS action command sy
ntax Type Set command Test command Command AT%SNFS= ERROR AT%SNFS=? %SNFS: (list
of supported s) OK If failed Possible response(s) OK Description - Table 6-53 P
arameter description Parameter Value [0] 1 2 Description Audio path 1 (MIC+, MIC
-, EAR+, EAR-); For more details, see Product Description. Audio path 2 (AUXI+,
AUXI-, AUXO+, AUXO-); For more details, see Product Description. Audio path 3 (h
ardware supportive) Example: AT%NFI? %NFI: 0,0,1 OK AT%NFO? %NFO: 0,3,0 OK AT%SN
FS=1 OK Change to audio path 2, the returned result is as follows: AT%NFI? %NFI:
1,0,1,0 OK AT%NFO? %NFO: 1,3,0 Huawei Technologies Proprietary 6-29
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s OK 6.3.9 Play DTMF Audio: AT%DTMF Execute this command to play DTMF audio. Tab
le 6-54 AT%DTMF action command syntax Type Set command Command AT%DTMF=,[,,] Pos
sible response(s) OK ERROR %DTMF: ( value list), ( value list), ( value list) OK
Descriptio n Test command AT%DTMF=? - Table 6-55 Parameter description Paramete
r [0] < isEnable > 1 < dtmf > < duration > 1-50 Multiples of 55ms [0] Enable [0]
-9,A-D,*,# Cycle play, unit: 55ms Value Disable Description Caution: Before exec
uting AT+VTS and AT%DTMF at the same time, execute AT+CMUT=1 to mute. After exec
uting AT+VTS and AT%DTMF, execute AT+CMUT=0 to unmute to avoid sound from space
coupling from speaker to mic. 6.3.10 Play alert tone: AT%CTONE Execute this comm
and to play the alert tone. Huawei Technologies Proprietary 6-30
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-56 AT%CTONE action command syntax Type Set command Command AT%CTONE= E
RROR %CTONE: Test command AT%CTONE=? ( value list) OK Possible response(s) OK De
scription Table 6-57 Parameter description Parameter [0] 1 2 3 4 5 6 7 AUTHENTIC
ATION CALL TONE (cycle play) CALL DROP CALL TONE (cycle play) CONGESTED CALL TON
E (cycle play) WAITING CALL TONE (last 15s) Value Disable BUSY CALL TONE (cycle
play) ALERT CALL TONE (cycle play) RADIO ACK CALL TONE (cycle play) Description
Caution: When AT%CTONE=7 and it lasts for no more than 15s, it cannot be set to
other modes directly. To change the settings, you should first disable this mode
by running AT%CTONE=0. 6.3.11 Switch incoming call ringtone on or off: AT%RING
Execute this command to switch on or switch off the incoming call ringtone. Tabl
e 6-58 AT%RING action command syntax Type Set command Command AT%RING= ERROR Pos
sible response(s) OK Description Huawei Technologies Proprietary 6-31
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Enquiry command Test command AT%RING? %RING: OK %RING: - AT%RING=? ( value lis
t) OK - Table 6-59 Parameter description Parameter [0] 1 Enable Value Disable De
scription Caution: When the incoming call ringtone plays, do not execute AT%RING
to configure. 6.4 STK Extended Commands 6.4.1 AT%STKR You can execute AT comman
d to do STK operations, such as menu selecting, menu returning and inputting tex
t. Table 6-60 lists action command syntax. Table 6-61 lists parameter descriptio
n. Table 6-60 AT%STKR action command syntax Type Set comma nd Command AT%STKR=,[
< status>],[],[] Possible response(s) OK %STKR:cmd_type ERROR %STKR: cmd_type AT
%STKR? OK ERROR Description Inquiry comma nd Huawei Technologies Proprietary 6-3
2
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Table 6-61 Parameter description Parameter cmd_type status item_id input_strin
g Value Integer of eight bits Integer of eight bits Integer of eight bits Charac
ters Description Command type Command status Item identification Input string No
te: For details, see STK User Manual. 6.4.2 AT%STKD Execute this command to disp
lay the status of the command. Table 6-62 lists the action command syntax. Table
6-63 lists parameter description. Table 6-62 AT%STKD action command syntax Type
Command Possible response(s) %STKD: Information list 1 %STKD: Information list
2 ……………………. Set command AT%STKD= %STKD: Information list n OK ERROR Remarks Table 6-63 Para
description Parameter cmd_type Value Integer eight bits of Command type Remarks
Note: For details, see STK User Manual. Huawei Technologies Proprietary 6-33
AT Command Reference Huawei GTM900 Wireless Module Chapter 6 Enhanced AT Command
s Huawei Technologies Proprietary 6-34
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands C
hapter 7 TCPIP AT Commands 7.1 Initialization: AT%ETCPIP Execute this command to
activate PDP and initialize TCPIP. Table 7-1 lists the action command syntax, a
nd Table 7-2lists the description of the parameters. Table 7-1 AT%ETCPIP action
command syntax Type Set command Command AT%ETCPIP=[], [],[] Possible response(s)
OK ERROR[: ] %ETCPIP: [,[],[],[],[]] OK Test command AT%ETCPIP=? %ETCPIP: (list
of ) OK Description - Read command AT%ETCPIP? - Table 7-2 Parameter description
Parameter Value String of no more than 31 characters String of no more than 31
characters 1 0 1 TCPIP initialized See 7.10 . Description User name, for example
, GPRS Can be omitted User password, for example, GPRS Can be omitted Same as th
e setting of +CGDCONT The value must be set to 1. Can be omitted Local IP addres
s Gateway Preferable domain name resolution server Standby domain name resolutio
n server TCPIP not initialized Huawei Technologies Proprietary 7-1
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands N
ote: Before executing the command, carry out the +CGDCONT command, for example,
AT+CGDCONT=1,”IP”,”CMNET”. Execute this command 20 or 30 seconds later when the terminal
equipment has been started and initialized. 7.2 Opening TCP/UDP Link Execute th
e commands below to open one TCP or UDP link or to open one or more TCP/UDP link
s. 7.2.1 Opening One TCP/UDP Link: AT%IPOPEN Execute this command to open one TC
P or UDP link. Table 7-3 lists the action command syntax. Table 7-4 lists the de
scription of the parameters. Table 7-3 AT%IPOPEN action command syntax Type Comm
and AT%IPOPEN=,,,[[ , [local_port>]] AT%IPOPEN? Possible response(s) CONNECT ERR
OR[: ] %IPOPEN:[,,] OK AT%IPOPEN=? %IPOPEN: (list of ) OK Description Set comman
d Read command Test command - Table 7-4 Parameter description Parameter Value Ch
aracter string 16-bit integer type 16-bit integer type Description IP address to
be connected Port of the IP address to be connected Tx port of the remote UDP s
erver If not specified, the data of all ports is by default reported to the term
inal equipment user. Huawei Technologies Proprietary 7-2
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands P
arameter Value 16-bit integer type “TCP” Description Binding the local port is not s
upported for the moment. The link type is set to TCP. The link type is set to UD
P. See 7.10 . “UDP” - 7.2.2 Opening One or More TCP/UDP Links: AT%IPOPENX Execute th
is command to open one or more TCP/UDP link. Table 7-5 lists the action command
syntax. Table 7-6lists the description of the parameters. Table 7-5 AT%IPOPENX a
ction command syntax Type Command AT%IPOPENX=< link_num>, ,,,[[,[lo cal_port>]]
Possible response(s) CONNECT Description Set command ERROR[: ] - %IPOPENX: ,[,,]
, Read command AT%IPOPENX? ,[,,], ,[,,], OK Test command AT%IPOPENX=? %IPOPENX:
(list of ), (list of ) OK - Table 7-6 Parameter description Parameter Value 1 to
3 Characte r string Description The number of an opened link IP address to be c
onnected; The parameter consisting of characters only must be enclosed in quotat
ion marks. Huawei Technologies Proprietary 7-3
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands P
arameter Value 16-bit integer type 16-bit integer type 16-bit integer type “TCP” Des
cription Port of the IP address to be connected Tx port of the remote UDP server
If not specified, the data of all ports is by default reported to the terminal
equipment user. Binding the local port is not supported for the moment. The link
type is set to TCP. The link type is set to UDP. See 7.10 . “UDP” - 7.3 Setting Dat
a Conversion Mode: AT%IOMODE Execute this command to determine HEX-ASCII data co
nversion. Table 7-7 lists the action command syntax. Table 7-8lists the descript
ion of the parameters. Table 7-7 AT%IOMODE action command syntax Type Set comman
d Read command Command AT%IOMODE=[],[],[] AT%IOMODE? Possible response(s) OK ERR
OR[: ] %IOMODE:,, OK %IOMODE:(list of ),(list of ),(list of ) OK Description - T
est command AT%IOMODE=? - Table 7-8 Parameter description Parameter 0 [1] Value
Description No input or output data is converted. Input or output data conversio
n is made by the module. Input or output data conversion must be converted by th
e terminal equipment at the same time. Huawei Technologies Proprietary 7-4
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands P
arameter [1] 2 0 [1] - Value Description The AT command is executed in single li
nk mode. The AT command is executed in multi-link mode. Receive buffer is used.
No receive buffer is used. See 7.10 . When is set to 0, the input data does not
require coding. However, the terminal equipment user must ensure that the input
data only contains printable characters. No ";" or """ is allowed. The recommend
ed value of is 1. See TCPIP AT Command User Guide for related API functions of c
oding and decoding. When is set to 1, the data requires conversion. To send 0x1A
to the terminal equipment at the peer end, the local terminal equipment must co
nvert 0x1A to 0x31, 0x41, respectively corresponding to printable characters of
"1" and "A". During transmission, the character string takes the form of "1A", t
hat is, AT%IPSEND=”1A”. Upon receipt of this type of input data, the receiving termi
nal equipment converts the data back to 0x1A. When is set to 1, the receiving te
rminal equipment converts the data from the TCP/UDP party, for example, 0x1A, to
the character string of "1A". When the value is set to 1, execute AT%IPOPEN and
AT%IPSEND. When the value is set to 2, execute AT%IPOPENX and AT%IPSENDX. When
is set to 0, the receiver buffer is by default used. The buffer supports 30 pack
ets at most with each packet of up to 512 bytes. If the buffer is used, execute
the related commands of %IPDR, %IPDQ, %IPDD and %IPDDMODE. Caution: The value of
, that is, 1 or 2, takes effect only when there is no active link. For details
about API functions (C codes) of input and output data, see TCPIP AT Command Use
r Guide. The data saved to the receive buffer is lost during system outage. 7.4
Sending Data Data can be sent in two modes: Huawei Technologies Proprietary 7-5
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands S
ingle-link Multi-link 7.4.1 Sending Data in Single-Link Mode: AT%IPSEND Execute
this command to send the data in single-link mode to an open TCP/UDP link. Table
7-9 lists the action command syntax. Table 7-10lists the description of the par
ameters. Table 7-9 AT%IPSEND action command syntax Type Command Possible respons
e(s) [%IPSEND: ] Set command AT%IPSEND= OK ERROR[: ] Read command AT%IPSEND? [%I
PSEND:] OK Description Table 7-10 Parameter description Parameter Description Al
l transmitted data must be put within quotation marks ””. The size of the data trans
mitting window, which is applicable to TCP, indicates the number of data packets
to be sent by the user. See 7.10 . Note: The maximum value of the is 16, which
indicates that up to 16 data packets can be continuously sent to the module. One
packet can contain up to 512 bytes. The value of descends by 1 after each packe
t is sent out. The size of the is restored only when the data is received by the
peer end in TCP connection. When the value of is 0, ERROR 20 is returned. In th
is case, the data must be stopped from transmitting. Huawei Technologies Proprie
tary 7-6
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands C
aution: When transmitting data, The data put within the quotation marks must not
exceed 1024 bytes or 512 bytes when the %IOMODE is set to 1 or 0. Otherwise, an
error message might be returned. The user must convert the input data when %IOM
ODE is set to 1. Otherwise, an error message might be returned. For example, to
send 0x1A, the user must convert it into 0x31,0x41. 7.4.2 Sending Data in Multi-
Link Mode: AT%IPSENDX Execute this command to send the data in multi-link mode t
o an open TCP/UDP link. Table 7-11 lists the action command syntax. Table 7-12li
sts the description of the parameters. Table 7-11 AT%IPSEND action command synta
x Type Command Possible response(s) [%IPSENDX: ,] OK ERROR[: ] Description - Set
command AT%IPSENDX=, Table 7-12 Parameter description Parameter Value 1-3 Descr
iption The number of an open link All transmitted data must be put within quotat
ion marks ””. The size of the data transmitting window, which is applicable to TCP,
indicates the number of data packets to be sent by the user. See 7.10 . - Huawei
Technologies Proprietary 7-7
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands N
ote: The maximum value of the is 16, which indicates that up to 16 data packets
can be continuously sent to the module. One packet can contain up to 512 bytes.
The value of descends by 1 after each packet is sent out. The size of the is res
tored only when the data is received by the peer end in TCP connection. When the
value of is 0, ERROR 20 is returned. In this case, the data must be stopped fro
m transmitting. Caution: When transmitting data, The data put within the quotati
on marks must not exceed 1024 bytes or 512 bytes when the %IOMODE is set to 1 or
0. Otherwise, an error message might be returned. The user must convert the inp
ut data when %IOMODE is set to 1. Otherwise, an error message might be returned.
For example, to send 0x1A, the user must convert it into 0x31,0x41. Huawei Tech
nologies Proprietary 7-8
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands 7
.5 Closing Link: AT%IPCLOSE Execute this command to close a link. Table 7-13 lis
ts the action command syntax. Table 7-14lists the description of the parameters.
Table 7-13 AT%IPCLOSE action command syntax Type Set command Command AT%IPCLO S
E = [ ] Possible response(s) %IPCLOSE: OK ERROR[: ] %IPCLOSE: Read command AT%IP
CLO SE? ,, OK %IPCLOSE:(list ),(list ),(list ) OK of of of Description Test comm
and AT%IPCLO SE =? - Table 7-14 Parameter description Parameter Value [1]-3 5 0
1 Link opened See 7.10 . Description The number of a link; There can be up to th
ree links. The TCPIP function is deactivated. The module is unsubscribed from th
e GPRS network. Link closed Note: If all parameters use default values, link 1 i
s closed, that is, AT%IPCLOSE is set to 1. To close one TCP link, you must wait
for at least 15 seconds to receive the returned OK message. Huawei Technologies
Proprietary 7-9
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands 7
.6 Querying ACK of TCP: AT%TXSTATE Execute this command to query or clear the st
atistic data of active packets in TCP connection mode. Table 7-15 lists the acti
on command syntax. Table 7-16 lists the description of the parameters. Table 7-1
5 AT%TXSTATE action command syntax Type Set command Command AT%TXSTATE= [] Possi
ble response(s) OK ERROR[: ] % TXSTATE: ,, Read command AT%TXSTATE? ,, ,, OK Tes
t command AT%TXSTATE=? %TXSTATE:(list ) OK of Description Table 7-16 Parameter d
escription Parameter Value 0 [1]-3 Description Available to the set command to c
lear all statistic data over TCP The number of a link; There can be up to three
links. Available to the set command to clear statistic data over a link. Total n
umber of data packets sent in TCP connection mode Total number of data packets a
cknowledged in TCP connection mode See 7.10 . ERROR[: ] - Huawei Technologies Pr
oprietary 7-10
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands N
ote: To check that the TCP data packets are acknowledged by the peer end, compar
e the original data with the queried data. If AT%TXSTATE is set to 0, all statis
tic data over the three links is cleared. 7.7 Operating Data Data operation comm
ands covers: Command to query data Command to read data Command to delete data C
ommand to set data deletion mode 7.7.1 Querying Data Packet: AT%IPDQ Execute thi
s command to query the number of data packets in the cache at the receiving end.
Table 7-17 lists the action command syntax. Table 7-18lists the description of
the parameters. Table 7-17 AT%IPDQ action command syntax Type Execution command
Command Possible response(s) %IPDQ:, AT%IPDQ OK ERROR[: ] Description Table 7-18
Parameter description Parameter ERROR[: ] Description The total number of unrea
d data packets The total number of data packets, read and unread See 7.10 . 7.7.
2 Reading Data Packet: AT%IPDR Execute this command to read the number of data p
ackets in the cache at the receiving end. The first data packet in the cache is
by default read. Table 7-19 lists the action command syntax. Table 7-20lists the
description of the parameters. Huawei Technologies Proprietary 7-11
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands T
able 7-19 AT%IPDR action command syntax Type Command AT% IPDR=[] Possible respon
se(s) %IPDR:,,, OK ERROR[: ] Description Set command Table 7-20 Parameter descri
ption Parameter < link_num > Value 1-30 [1]-3 Description The serial number of a
data packet to be read The number of a link; There can be up to three links. Th
e serial number of a data packet The length of a data packet The content of a da
ta packet See 7.10 . Note: If all parameters use default values, unread data in
the first packet is read, that is, AT%IPDR is set to 1. If %IPDDMODE is set to 0
, the data packet is automatically deleted after being read. The receiving cache
can be used only when the AT%IOMODE is set to 0. Read all new data packets by e
xecuting AT%IPDR for as many times as necessary. 7.7.3 Deleting Data Packet: AT%
IPDD Execute this command to delete the data packets in the receiving cache. Tab
le 7-21 lists the action command syntax. Table 7-22lists the description of the
parameters. Table 7-21 AT%IPDD action command syntax Type Command Possible respo
nse(s) %IPDQ: Set command AT%IPDD=[],[] OK ERROR[: ] Description Huawei Technolo
gies Proprietary 7-12
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands T
able 7-22 Parameter description Parameter Value 0-30 0 1 2 < del_num > Descripti
on The serial number of a data packet to be read Deleting read data packets Dele
ting unread data packets Deleting all data packets The number of data packets to
be deleted See 7.10 . Note: If all parameters use default values, the first rea
d data packet is deleted. Caution: set to 0 indicates a special application. For
example, when AT+IPDD is set to 0 or 2, this indicates that all data packets wi
ll be deleted. The parameter is valid only when is set to 0. 7.7.4 Data Packet D
eletion Mode: AT%IPDDMODE Execute this command to set the data packet deletion m
ode. Table 7-23 lists the action command syntax. Table 7-24 lists the descriptio
n of the parameters. Table 7-23 AT%IPDDMODE action command syntax Type Set comma
nd Command AT%IPDDM ODE = AT%IPDDM ODE? AT%IPDDM ODE =? Possible response(s) %IP
DDMODE: OK ERROR[: ] %IPDDMODE: OK %IPDDMODE:(list of ) OK Description Read comm
and Test command - Huawei Technologies Proprietary 7-13
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands T
able 7-24 Parameter description Parameter 1 ERROR[: ] Data packet is manually de
leted. See 7.10 . Value [0] Description Data packet is automatically deleted. 7.
8 Unsolicited Result Codes The description of unsolicited result codes covers bo
th % IPDATA and %IPCLOSE:. 7.8.1 %IPDATA I. Failure in Opening Default Cache Sin
gle-link mode %IPDATA:, Table 7-25lists the parameter description of this comman
d. Table 7-25 Parameter description Parameter Description The actual rather than
converted length of the data packet The character string type of data packet is
valid for the user. The data packet is placed within the quotation marks. Multi
-link Mode %IPDATA:,, Table 7-26 lists the parameter description of the command.
Table 7-26 Parameter description Parameter Description The number of the link n
umbered from 1 to 3 The actual rather than converted length of the data packet T
he character string type of data packet is valid for the user. The data packet i
s placed within the quotation marks. Huawei Technologies Proprietary 7-14
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands I
I. Current Receiving Cache Opened %IPDATA:,,< len> Execute this command to notif
y the user network of the arrival of valid data. Table 7-27 lists the parameter
description of the command. Caution: If %IOMODE is set to 0, the user can receiv
e the data through the serial port. If %IOMODE is set to 1, the user must conver
t the data before using the data. For example, if the data received at the seria
l port is 0x31,0x41,0x30,0x37, this indicates that the original data from the ne
twork is 0x1A,0x07. Table 7-27 Parameter description Parameter 1-3 Value Descrip
tion The number of the link The actual rather than converted length of the data
packet The location of user data in the cache The location might change whenhte
data is read. - 7.8.2 %IPCLOSE: The network notifies the user to close the TCP c
onnection. The link number is "n". Table 7-28 lists the parameter description of
the command. Table 7-28 Parameter description Parameter 1-3 5 Value Description
The default value 1 indicates the number of the link to be closed. The TCPIP fu
nction is deactivated. The module is unsubscribed from the GPRS network. Huawei
Technologies Proprietary 7-15
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands 7
.9 Domain Name Resolution: AT%DNSR Execute this command to resolve the IP addres
s related to the domain name. 1. AT% DNSR action command syntax Type Command Pos
sible response(s) %DNSR: Set command AT%DNSR= ERROR [: ] OK Description Resoluti
on succeeds. Resolution fails. 2. Parameter description Parameter Value String t
ype -Description The domain name to be resolved must not be longer then 128 byte
s. Resolved IP address See 7.10 . Note: Activate the PDP context through AT%ETCP
IP before executing this command. The response is made within 12 minutes after t
he command is executed. If the domain name corresponds to multiple IP addresses,
the first IP address returned by the domain name server is reported. 7.10 Error
Codes Code Description User name or password subscription rejected by the netwo
rk 0 APN error Owing-fee SIM card GPRS services not supported by SIM card 1 2 3
Not logged in to the network There is already an active link. Invalid input para
meters Huawei Technologies Proprietary 7-16
AT Command Reference Huawei GTM900 Wireless Module Chapter 7 TCPIP AT Commands C
ode 4 5 6 7 8 9 11 12 13 14 15 16 17 18 20 21 22 23 24 25 Description TCP connec
tion rejected by the peer end TCP connection times out due to incorrect IP addre
ss or port. Several multi-link commands started Single-link command started Ther
e is an active link but link_flag (for IOMODE) cannot be modified. There is no a
ctive TCP or UDP link (for IPSEND). The receiving cache is full. The receiving c
ache has no data. The valid input data exceeds 512 bytes. The bytes must be even
-numbered in the user mode. Invalid characters occur when data is input in user
mode. The serial number does not exist. Invalid deletion type Other errors The c
ache for transmitting TCP data is full. No PDP activation is done. The current %
ETCPIP is being activated. The command cannot be executed. Domain Name is not ex
sit. Resolution is time out. There is unknown error during Resolution. Huawei Te
chnologies Proprietary 7-17