Professional Documents
Culture Documents
Huawei: Huawei GTM900 Wireless Module AT Command Reference
Huawei: Huawei GTM900 Wireless Module AT Command Reference
T2-031915-20060613-C-1.11
Product Version
V100R001
BOM
31190315
Huawei Technologies Co., Ltd. provides customers with comprehensive technical support
and service. Please feel free to contact our local office or company headquarters.
Trademarks
M900/M1800,
TELLIN, InfoLink, Netkey, Quidway, SYNLOCK, Radium,
TELESIGHT, Quidview, Musa, Airbridge, Tellwin, Inmedia, VRP, DOPRA, iTELLIN,
HUAWEI OptiX, C&C08 iNET, NETENGINE, OptiX, iSite, U-SYS, iMUSE, OpenEye,
Lansway, SmartAX, infoX, and TopEng are trademarks of Huawei Technologies
Co., Ltd.
All other trademarks and trade names mentioned in this 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 statements, information, and recommendations in this manual do not constitute
the warranty of any kind, express or implied.
Summary of Updates
This section provides the update history of this manual and introduces the contents of
subsequent updates.
Update History
This manual is updated for a major product version to maintain consistency with system
hardware or software versions and to incorporate customer suggestions.
Manual Version
Notes
T2-031915-2005320-C-1.10
T2-031915-20051020-C-1.11
Updates of Contents
Chapter 7 TCPIP AT Commands describes the TCPIP AT commands.
Related Manuals
The manuals related to Huawei GTM900 Wireless Module are introduced in the table
below:
Manual name
Description
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 standardized 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 describes the Enhanced AT command.
Chapter 7 TCPIP AT Commands describes the TCPIP AT commands.
Huawei Technologies Proprietary
Intended Audience
The manual is intended for the following readers:
Developers of wireless terminals
Conventions
The manual uses the following conventions:
I. General conventions
Convention
Description
Arial
Arial Narrow
Boldface
Terminal Display
II. Symbols
Eye-catching symbols are also used in the manual to highlight the points worthy of
special attention during the operation. They are defined as follows:
AT Command Reference
Huawei GTM900 wireless Module
Table of Contents
Table of Contents
Table of Contents .............................................................................................................................. i
Chapter 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 Chapter............................................................................................................ 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 Request 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 Originated Call to a Number: ATD............................................................... 2-6
2.3.3 Originating Call to Phone Number in Memory Which Corresponding Alphanumeric
Field is <str>: ATD><str>[I][G] ......................................................................................... 2-7
2.3.4 Originate Call to Phone Number in Memory Mem Entry location<n>:
ATD>mem<n>[I][G][;] ....................................................................................................... 2-9
2.3.5 Originate Call to Phone Number in Entry location <n>: ATD><n>[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 Service Type: AT+CBST ................................................................ 2-16
2.3.10 Radio Link Protocol: AT+CRLP........................................................................... 2-17
2.3.11 Service Reporting Control: AT+CR ..................................................................... 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 Numbering Scheme: AT+CSNS............................................................... 2-21
2.4 Network Service Related Command................................................................................ 2-22
2.4.1 Subscriber Number: AT+CNUM............................................................................ 2-22
2.4.2 Network Registration Info: AT+CREG................................................................... 2-23
2.4.3 Operator Selection: AT+COPS ............................................................................. 2-24
AT Command Reference
Huawei GTM900 wireless Module
Table of Contents
AT Command Reference
Huawei GTM900 wireless Module
Table of Contents
AT Command Reference
Huawei GTM900 wireless Module
Table of Contents
AT Command Reference
Huawei GTM900 wireless Module
Table of Contents
AT Command Reference
Huawei GTM900 wireless Module
Table of Contents
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:
z
Introduction
AT Command Type
AT Command Syntax
1.2 Introduction
Throughout the document, the GSM engines are referred to as ME (Mobile Equipment),
MS (Mobile Station), TA (Terminal Adapter), DCE (Data Communication Equipment) or
facsimile DCE (FAX modem, FAX board).
To operate your GSM engine you can simply send AT Commands via its serial interface.
The operating device at the other end of the serial line is referred to as TE (Terminal
Equipment), DTE (Data Terminal Equipment) or plainly the application. (probably
running on an embedded system). This abstract structure can be figure out as:
Responses
TE
ME Status
TA
AT cmds
ME
ME Control
Network messages
Network
AT Command Reference
Huawei GTM900 Wireless Module
Chapter 1 Overview
Description
Example
Set command
AT+CXXX=<..>
Test command
AT+CXXX=?
Read command
AT+CXXX?
Execution
command
This
command
reads
non-variable
parameters affected by internal processes in
the GSM engine.
AT+CXXX
Example: AT+CPWD=<fac>,<oldpwd>,<newpwd>
This command sets a new password for the facility lock function defined by command
Facility Lock+CLCK.
z
All spaces will be ignored when using strings without quotation marks.
All AT commands are not case sensitive, but the respective parameters are
sensitive to cases.
AT Command Reference
Huawei GTM900 Wireless Module
General Commands
ME Error
Possible
response(s)
Command
Execution
command
AT+CGMI
Test command
AT+CGMI=?
Description
OK
TA
returns
manufacturer
identification text.
OK
--
HUAWEI
Reference:
z
GSM 07.07
Command
AT+CGMM
Possible response(s)
GTM900X
OK
Description
TA returns product
model
identification
text.X
is
one
character of {A,B,C}.
AT Command Reference
Huawei GTM900 Wireless Module
Type
Command
Test command
AT+CGMM=?
Possible response(s)
OK
Description
--
Reference:
z
GSM 07.07
Possible
response(s)
Command
HW REVISION: X
Execution
command
SW
REVISION:
XX.YYY
AT+CGMR
Test command
AT+CGMR=?
Description
TA returns product
firmware
version
identification text.
OK
XX.YYY--variant
software release
OK
--
of
Reference:
z
GSM 07.07
Possible
response(s)
Command
Execution
command
AT+CGSN
Test command
AT+CGSN=?
Description
TA
returns
identification text for
determination
of
individual ME.
<SN>
OK
OK
--
Description
<SN>
Reference:
Huawei Technologies Proprietary
2-2
AT Command Reference
Huawei GTM900 Wireless Module
GSM 07.07
Possible
response(s)
Command
Set command
AT+CSCS=<ch
set>
Read command
AT+CSCS?
OK
Description
--
+CSCS: <chset>
OK
--
+CSCS:
Test command
(list of supported
<chset>s)
AT+CSCS=?
--
OK
Value
Description
"GSM"
[IRA]
International
T.50[13])
"PCCP437"
"PCDN"
"8859-1"
"HEX"
"UCS2"
<chset>
reference
alphabet
(ITU-T
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Possible
response(s)
Command
Execution
command
AT+CIMI
Test command
AT+CIMI=?
Description
<IMSI>
--
OK
OK
--
Description
IMSI (International Mobile Subscriber Identity),
string without double quotes
<IMSI>
Reference:
z
GSM 07.07
Set command
Read command
Test command
Possible
response(s)
Command
AT+WS46=[<n
>]
Description
OK
If set successful
ERROR/+CME
ERROR
If failed
+WS46: <n>
AT+WS46?
--
OK
+WS46:
(list
supported <n>s)
AT+ WS46=?
OK
of
--
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
12
Reference:
z
GSM 07.07
Command
Set command
AT+CSTA=[<type>]
Read command
AT+CSTA?
Test command
AT+CSTA=?
Possible response(s)
Description
OK
--
+CSTA: <type>
OK
+CSTA:
(list
of
supported <type>s)
--
--
OK
Value
145
[129]
Default
Others
<type>
type of address octet in
integer format
Description
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Description
BUSY
NO CARRIER
If a connection cannot be
set up.
Command
If successfully connected
and non-voice call, TA
switches to data state.
Execution
command
ATD[<dial_strin
g>][;]
CONNECT<text>
Note:
<text> output only if ATX
parameter setting with
value > 0.
OK
OK
AT Command Reference
Huawei GTM900 Wireless Module
Description
String of dialing digits and optionally V.25ter modifiers
(dialing digits): 0-9, * , #, +, A, B, C
V.25ter modifiers: these are ignored: ,(comma), T, P, !,
W, @
<dial_string>
[;]
Example:
ATD02150991234;
OK
OK
ATH
OK
ATD02150991234;
OK
NO CARRIER
Reference:
z
GSM 07.07
V.25 ter
Command
Possible
response(s)
Description
ATD><str>[I][G
][;]
If error is related to
ME functionality
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
Description
BUSY
If busy (parameter
setting ATX3)
NO CARRIER
If a connection cannot
be set up
OK
OK
<str>
[I]
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
<str> must 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)
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 called party);
refer subclause "AT+CLIR Calling line identification restriction"
Control the CUG supplementary service information for this call;
uses index and info values set with command AT+CCUG;
[G]
[;]
Example:
ATD>JACK;
OK
OK
ATH
AT Command Reference
Huawei GTM900 Wireless Module
OK
ATD>TOM;
ERROR
Reference:
z
GSM 07.07
V.25 ter
2.3.4
ATD>mem<n>[I][G][;]
Note:
z
The command is not applicable to data calls. Any attempt to dial a data call number
from <mem> causes the result code NO CARRIER to appear.
*# codes sent with ATD are treated as voice calls. Therefore, the command must be
terminated with a semicolon.
Command
Possible
response(s)
Description
ATD>mem<n>[
I][G][;]
If error is related to
ME functionality
BUSY
If busy (parameter
setting ATX3)
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
Description
NO CARRIER
If connection cannot
be set up
OK
OK
<mem>
phonebook
<n>
[I]
Value
Description
MT
FD
'DC
MC
RC
ON
--
--
list.
Storage
Calling
line
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
Control the CUG supplementary service
information for this call; uses index and info
values set with command AT+CCUG;
[G]
--
[;]
--
Reference:
z
GSM 07.07
V.25 ter
Example:
To query the location number of the phonebook entry.
AT+CPBR=1,xx
To dial a number from 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>DC6;
OK
OK
AT Command Reference
Huawei GTM900 Wireless Module
AT Command Reference
Huawei GTM900 Wireless Module
Execution
command
Possible
response(s)
Description
If error is related to
ME functionality
BUSY
If busy (parameter
setting ATX3)
NO CARRIER
If connection cannot
be set up
OK
OK
Command
ATD>n[I][G][;]
[I]
Description
Integer type memory location in the range of locations 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 of own phone number to
called party) and i=suppression (enables presentation of own
phone number to called party);
refer subclause "AT+CLIR Calling line identification restriction"
Control the CUG supplementary service information for this call;
uses index and info values set with command AT+CCUG;
[G]
[;]
Example:
ATD>1;
OK
AT Command Reference
Huawei GTM900 Wireless Module
OK
ATH
OK
ATD>DC5;
ERROR
Reference:
z
GSM 07.07
V.25 ter
2.3.4
ATD>mem<n>[I][G][;]
Command
ATDL[;]
Possible
response(s)
ERROR
ERROR
+CME
Description
If there is no last number
or number is not valid
BUSY
NO CARRIER
If a connection cannot be
set up
CONNECT<text>
If successfully connected
and non-voice call, TA
switches to data state.
Note: <text> output only if
+ATX parameter setting
with value > 0.
OK
OK
AT Command Reference
Huawei GTM900 Wireless Module
Note:
AT+CMOD is set to zero after a successfully completed 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.
Set command
Possible
response(s)
Description
If error is related to
ME functionality
OK
If successfully set
Command
AT+CMOD=[<
mode>]
Read command
AT+CMOD?
+CMOD: <mode>
--
Test command
AT+CMOD=?
+CMOD:
(list
of
supported <mode>s)
--
Value
Description
[0]
Single mode
<mode>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Execution
command
Test command
Possible
response(s)
Command
OK
ERROR
If failed
OK
--
AT+CHUP
AT+CHUP=?
Description
Reference:
z
GSM 07.07
Note:
This command implements the same behave as ATH.
Read command
Command
AT+CBST=[<s
peed>[,<name
>[,<ce>]]]
AT+CBST?
Possible response(s)
Description
OK
--
+CBST:
<speed>,<name>,<ce>
--
OK
Test command
AT+CBST=?
OK
--
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
Autobauding
[7]
12
14
65
66
68
70
71
75
Transparent
[1]
Non-transparent
<speed>
<name>
<ce>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CRLP=[<iw
s>[,<mws>[,<T
1>[,<N2>]]]]
AT+CRLP?
Description
OK
--
+CRLP:
<iws>,<mws>,<T1>,<
N2>
--
OK
+CRLP:
(list
of
supported
<iws>s),(list
of
supported <mws>s),
Test command
AT+CRLP=?
(list of supported
<T1>s),(list
of
supported <N2>s)
--
OK
Value
Description
<iws>
0~[61]
<mws>
0~[61]
<T1>
39~[48]-255
Acknowledgement timer
<N2>
1~[6]-255
Re-transmission attempts N2
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Note:
This command replaces V.25ter [14] command Modulation Reporting Control +MR,
which is not appropriate for use in the GSM network. Possible error control (other than
radio link protocol) and data compression reporting can be enabled with V.25ter
commands Error Control Reporting +ER and Data Compression Reporting+DR.
AT+CR=[<mod
e>]
Read command
AT+CR?
Test command
Possible
response(s)
Command
OK
--
+CR: <mode>
--
OK
+CR:
(list
of
supported <mode>s)
AT+CR=?
Description
--
OK
Value
Description
[0]
Disables reporting
Enables reporting
<mode>
Reference:
z
GSM 07.07
the failure in the last unsuccessful call setup (originating or answering) or in-call
modification
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Execution
command
AT+CEER
Test command
AT+CEER=?
+CEER: <report>
OK
OK
Description
---
Description
Including line terminators, in the information text shall not
exceed 2041 characters.
<report>
Reference:
z
GSM 07.07
AT+CRC=[<mo
de>]
Read command
AT+CRC?
Test command
Possible
response(s)
Command
OK
--
+CRC: <mode>
--
OK
+CRC:
(list
of
supported <mode>s)
AT+CRC=?
Description
--
OK
Value
Description
[0]
<mode>
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Possible
response(s)
Command
Set command
AT+CSNS=[<m
ode>]
Read command
AT+CSNS?
Test command
AT+CSNS=?
OK
Description
--
+CSNS: <mode>
OK
+CSNS:
(list
of
supported <mode>s)
--
--
OK
Value
Description
[0]
Voice
Data
<mode>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Command
Execution
command
Possible response(s)
+CNUM:[<alpha1>],<numb
er1>,<type1>[,<speed>,<se
rvice>[,<itc>]][<CR><LF>+
CNUM:[<alpha2>],<number
2>,<type2>[,<speed>,<serv
ice>[,<itc>]][...]]
AT+CNUM
Description
--
OK
Test command
AT+CNUM=?
If failed
OK
--
Value
Description
<alphax>
--
<numberx>
--
<typex>
--
<speed>
--
Refer AT+CBST
Asynchronous modem
<service>
Synchronous modem
service
related to the
phone
number
Voice
Fax
<itc>
3.1kHz
information
transfer
capability
UDI
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Possible
response(s)
Command
AT+CREG=[<n
>]
Description
OK
When n=1
+CREG: <n>,<stat>
--
OK
Read command
Test command
AT+CREG?
AT+CREG=?
If failed
+CREG:
(list
supported <n>s)
--
of
OK
<n>
<stat>
Value
Description
[0]
Registration denied
Unknown
Registered, roaming
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
AT+COPS=[<m
ode>[,<format>
[,<oper>]]]
OK
--
If error is relate to
ME functionality
+COPS:
<mode>[,<format>,<o
per>]
Read command
AT+COPS?
--
Ok
+CME ERROR: <err>
+COPS:
[list
of
supported (<stat>s,
long
alphanumeric
<oper>,short
alphanumeric
<oper>,numeric
<oper>)s]
Test command
Description
AT+COPS=?
If error is relate to
ME function
--
[,,(list of supported
<mode>s),(list
of
supported
<format>s)]
OK
+CME ERROR: <err>
If error is relate to
ME function
AT Command Reference
Huawei GTM900 Wireless Module
<mode>
<format>
<oper>
Value
Description
[0]
[0]
Short format
characters
Numeric <oper>
--
Unknown
Available
Current
Forbidden
read command
not
attempt
(<oper> field is
applicable in read
alphanumeric
<oper>,
<stat>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
OK
Set command
AT+CLCK=<fa
c>,<mode>[,<p
asswd>[,<class
>]]
Description
--
+CLCK:
<status>[,<class1>
[<CR><LF>+CLCK:
<status>,<class2>[...]
]
OK
Test command
AT+CLCK=?
If failed
+CLCK:
(list
of
supported <fac>s)
--
OK
+CME ERROR: <err>
If failed
Value
Description
<fac>
"AO"
values reserved
by the present
document
"OI"
"OX"
"AI"
"IR"
PS
PN
PP
PU
PC
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
PF
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)
<mode>
"SC"
SIM
"FD"
Unlock
Lock
Query status
Not active
Active
--
Voice (telephony)
16
32
64
<status>
<passwd>
<classx>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Test command
Possible
response(s)
Command
AT+CPWD=<fa
c>,<oldpwd>,<
newpwd>
AT+CPWD=?
Description
OK
--
If failed
+CPWD:
list
of
supported
(<fac>s,
<pwdlength>)s
--
OK
+CME ERROR: <err>
If failed
Value
Description
<fac>
"AO"
values reserved
by the present
document
"OI"
"OX"
"AI"
"IR"
PS
PN
PP
PU
PC
PF
SIM PIN 2
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
SC
SIM
<oldpwd>,
<newpwd>
--
<pwdlength>
--
length
of
the
Reference:
z
GSM 07.07
Possible
response(s)
Command
Set command
AT+CLIP=<n>
Read command
AT+CLIP?
Test command
AT+CLIP=?
Description
OK
--
+CLIP: <n>,<m>
--
OK
+CLIP:
(list
supported <n>s)
OK
of
--
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
<n>
[0]
Disable
sets/shows the
result
code
presentation
status in the TA
Enable
<m>
shows
the
subscriber CLIP
service status in
the network
CLIP provisioned
<number>
--
<type>
--
<subaddr>
--
<satype>
--
--
Optional
string
type
alphanumeric
representation of <number> corresponding to
the entry found in phonebook; Used character
set should be the one selected with command
Select TE Character Set AT+CSCS
Valid
<alpha>
<CLI validity>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Set command
AT+CLIR=[<n>]
Read command
AT+CLIR?
Test command
AT+CLIR=?
Description
OK
--
+CLIR: <n>,<m>
--
OK
+CLIR:
(list
supported <n>s)
of
--
OK
Value
Description
<n>
[0]
set
the
adjustment
for
outgoing calls
CLIR invocation
CLIR suppression
<m>
show
the
subscriber CLIR
service status in
the network
Reference:
z
GSM 07.07
Possible
response(s)
Command
AT+COLP=[<n
>]
OK
Description
--
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
Read command
AT+COLP?
Test command
AT+COLP=?
Description
+COLP: <n>,<m>
--
OK
+COLP:
(list
supported <n>s)
of
--
OK
GSM 07.07
Set command
Read command
Possible
response(s)
Command
AT+CCUG=[<n
>[,<index>[,<inf
o>]]]
AT+CCUG?
Description
OK
--
+CCUG:
<n>,<index>,<info>
--
OK
Test command
AT+CCUG=?
+CCUG:
(<n>),(<index>),(<info
>)
--
OK
Value
Description
[0]
[0]~9
CUG index
10
No index (preferred
subscriber data)
<n>
<index>
CUG
taken
from
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
[0]
No information
Suppress OA
<info>
Reference:
z
GSM 07.07
Possible
response(s)
Command
Description
OK
--
+CCFC:
<status>,<class1>[,<
number>,<type>
Set command
AT+CCFC=<re
ason>,<mode>[
,<number>[,<ty
pe>[,<class>[,<
subaddr>[,<sat
ype>[,<time>]]]]
]]
[,<subaddr>,<satype
>[,<time>]]][
<CR><LF>+CCFC:
<status>,<class2>[,<
number>,<type>
[,<subaddr>,<satype
>[,<time>]]][...]]
OK
+CME
<err>
Test command
AT+CCFC=?
ERROR:
+CCFC:
(list
supported
<reason>s)
OK
Reference:
z
GSM 07.07
If failed
of
--
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
Unconditional
Mobile busy
No reply
Not reachable
Disable
Dnable
Query status
Registration
Erasure
--
145
129
--
--
128
Default
<classx>
Voice (telephony)
sum of integers
each
representing
a
class
of
information
<reason>
<mode>
<number>
<type>
type of address
octet in integer
format
(refer
GSM 04.08 [8]
subclause
10.5.4.7)
<subaddr>
<satype>
type
of
subaddress octet
in integer format
(refer GSM 04.08
[8]
subclause
10.5.4.8)
<time>
1-30
value 20
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
Not active
Active
<status>
Set command
Possible
response(s)
Command
AT+CCWA=[<n
>[,<mode>[,<cl
ass>]]]
Description
OK
--
+CCWA:
<status>,<class1>[<C
R><LF>+CCWA:
<status>,<class2>[...]
]
If <mode>=2 and
command
successful
OK
+CME
<err>
ERROR:
+CCWA: <n>
Read command
AT+CCWA?
Test command
AT+CCWA=?
If failed
--
OK
+CCWA:
(list
supported <n>s)
of
OK
Value
Description
<n>
[0]
Disable
sets/shows the
result
code
presentation
status in the TA
Enable
<mode>
Disable
if
<mode>
parameter is not
given, network is
not interrogated
Enable
Query status
<classx>
Voice (telephony)
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
sum of integers
each
representing
a
class
of
information
Value
Description
Data
Fax
[7]
16
32
64
128
Not active
Active
<status>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Description
OK
AT+CHLD=[<n
>]
Set command
Test command
+CME
<err>
-ERROR:
[+CHLD:
(list
supported <n>s)]
AT+CHLD=?
If set failed
of
--
OK
<n>
integer type;
equals
to
numbers
entered before
SEND button
in GSM 02.30
[19] subclause
4.5.5.1
Value
Description
1X
2X
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
AT+CUSD=[<n
>[,<str>[,<dcs>]
]]
Read command
AT+CUSD?
Test command
AT+CUSD=?
Description
OK
--
If set failed
+CUSD: <n>
--
OK
+CUSD:
(list
supported <n>s)
of
--
OK
<n>
Value
Description
[0]
<str>
--
<dcs>
--
<m>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
[+CAOC: <ccm>]
Execution
command
AT+CAOC[=<
mode>]
OK
+CME ERROR: <err>
Read command
Test command
+CAOC: <mode>
AT+CAOC?
OK
AT+CAOC=?
[+CAOC:
(list
of
supported <mode>s]
Description
-If setting failed
--
--
OK
<mode>
<ccm>
Value
Description
[1]
--
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
terminated call setup or during a call, or when a forward check supplementary service
notification is received, unsolicited result code
+CSSU:<code2> [,<index>[,<number>,<type>[,<subaddr>,<satype>]]] is sent to TE.
Table 2-65 AT+CSSN action command syntax
Type
Set command
AT+CSSN=[<n
>[,<m>]]
Read command
AT+CSSN?
Test command
Possible
response(s)
Command
OK
--
+CSSN: <n>,<m>
OK
+CSSN:
(list
of
supported <n>s),(list
of supported <m>s)
AT+CSSN=?
Description
--
--
OK
Value
Description
<n>
[0]
Disable
sets/shows the
+CSSI
result
code
presentation
status in the TA
Enable
<m>
[0]
Disable
sets/shows the
+CSSU
result
code
presentation
status in the TA
Enable
[0]~9
CUG index
10
No index (preferred
subscriber data)
Call is waiting
<index>
<code1>
CUG
taken
from
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
<code2>
Value
Description
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Description
[+CLCC:
<id1>,<dir>,<stat>,<
mode>,<mpty>[,
Execution
command
<number>,<type>[,<a
lpha>]][<CR><LF>+C
LCC:
<id2>,<dir>,<stat>,<
mode>,<mpty>[,<nu
mber>,<type>[,<alph
a>]][...]]]
AT+CLCC
--
OK
+CME
<err>
Test command
AT+CLCC=?
ERROR:
OK
If list failed
--
Value
Description
--
Active
Held
<stat>
call state
<mode>
Voice
(bearer/teleservice)
Data
Fax
<idx>
<dir>
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
Unknown
--
--
<mpty>
<number>
string type phone
number in format
specified by <type>
Reference:
z
GSM 07.07
Set command
Read command
Possible
response(s)
Command
AT+CPOL=[<in
dex>][,<format
>[,<oper>]]
OK
--
If failed
+CPOL:
<index1>,<format>,<
oper1>[<CR><LF>+C
POL:
<index2>,<format>,<
oper2>[...]]
AT+CPOL?
Description
--
OK
+CME ERROR: <err>
If error is relate to
ME
AT Command Reference
Huawei GTM900 Wireless Module
Type
Test command
Possible
response(s)
Command
+CPOL:
(list
of
supported
<index>s),(list
of
supported <format>s)
AT+CPOL=?
Description
--
OK
+CME ERROR: <err>
If error is relate to
ME
<format>
<opern>
Value
Description
Numeric <oper>
Reference:
z
GSM 07.07
Execution
command
Possible
response(s)
Command
+COPN:
<numeric1>,<alpha1
>[<CR><LF>+COPN:
<numeric2>,<alpha2
>[...]]
AT+COPN
Description
--
OK
+CME ERROR: <err>
If error is relate to
ME
AT Command Reference
Huawei GTM900 Wireless Module
Type
Test command
Possible
response(s)
Command
AT+COPN=?
OK
Description
--
Value
Description
<numericn>
--
<alphan>
--
Note:
z
After the execution of the AT+COPN command, the system returns the operator list
and prompts "OK".
Reference:
z
GSM 07.07
Command
Possible response(s)
+CPAS: <pas>
Execution
command
AT+CPAS
OK
+CME ERROR: <err>
+CPAS: (list of supported
<pas>s)
Test command
AT+CPAS=?
Description
-If error is relate to
ME
--
OK
+CME ERROR: <err>
If error is relate to
ME
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
ME is ready
ME is unavailable
Ringing
Call in progress
<pas>
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
OK
--
If error is relate to
ME
AT+CFUN=[<fu
n>[,<rst>]]
+CFUN: <fun>
OK
Read command
--
AT+CFUN?
+CME ERROR: <err>
Test command
Description
+CFUN:
(list
of
supported
<fun>s),
(list of supported
<rst>s)
AT+CFUN=?
If error is relate to
ME
--
OK
+CME ERROR: <err>
If error is relate to
ME
AT Command Reference
Huawei GTM900 Wireless Module
<fun>
<rst>
Value
Description
Minimum functionality
[1]
Full functionality
Note:
It is manufacturer specific does this command affect network registration. Command
Operator Selection AT+COPS OR AT%NRG is used to force
registration/deregistration.
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
AT+CPIN=<pin
>[,<newpin>]
OK
--
If error is relate to
ME
+CPIN: <code>
Read command
Test command
OK
AT+CPIN?
AT+CPIN=?
--
If error is relate to
ME
OK
--
Description
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
<pin>
--
<new pin>
--
READY
SIM PIN
SIM PUK
PH-SIM PIN
PH-FSIM PIN
PH-FSIM PUK
ME is waiting phone-to-very
unblocking password to be given
SIM PIN2
SIM PUK2
PH-NET PIN
PH-NET PUK
PH-NETSUB
PIN
PH-NETSUB
PUK
PH-SP PIN
PH-SP PUK
PH-CORP
PIN
PH-CORP
PUK
ME is waiting
<code>
first
SIM
card
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Possible
response(s)
Command
+CBC: <bcs>,<bcl>
Execution
command
OK
AT+CBC
Test command
+CBC:
(list
of
supported
<bcs>s),(list
of
supported <bcl>s)
AT+CBC=?
Description
--
OK
Value
Description
ME is powered by battery
1~100
<bcs>
<bcl>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
+CSQ: <rssi>,<ber>
Execution
command
OK
AT+CSQ
Test command
+CSQ:
(list
of
supported
<rssi>s),(list
of
supported <ber>s)
AT+CSQ=?
Description
-If error is relate to
ME
--
OK
<rssi>
Value
Description
-111 dBm
2~30
-109~-53 dBm
31
99
0~7
99
<ber>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
AT+CPBS=<st
orage>
Description
OK
--
If error is relate to
ME
+CPBS:
<storage>[,<used>,<t
otal>]
Read command
AT+CPBS?
OK
+CME ERROR: <err>
Test command
--
+CPBS:
(list
supported
<storage>s)
AT+CPBS=?
If error is relate to
ME
of
--
OK
Value
Description
"ON"
"FD"
SIM fixed-dialling-phonebook
"DC"
SIM last-dialling-phonebook
"RC"
"MC"
MT
<used>
--
<total>
--
<storage>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Description
[+CPBR:
<index1>,<number>,
<type>,<text>[[...]
Set command
AT+CPBR=<in
dex1>[,<index2
>]
<CR><LF>+CPBR:
<index2>,<number>,
<type>,<text>]]
--
OK
+CME ERROR: <err>
Test command
+CPBR:(list
of
supported <index>s),
[<nlength>],
[<tlength>]
AT+CPBR=?
If error is relate to
ME
--
OK
Description
<index1>
<index2>
<number>
<type>
<text>
<nlength>
<tlength>
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Possible
response(s)
Command
Description
[+CPBF:
<index1>,<number>,
<type>,<text>[[...]
Set command
AT+CPBF=<fin
dtext>
<CR><LF>+CBPF:
<index2>,<number>,
<type>,<text>]]
--
OK
Test command
AT+CPBF=?
If list failed
+CPBF:
[<nlength>],[<tlength
>]
--
OK
+CME ERROR: <err>
If list failed
Description
<index1>
<index2>
<number>
<type>
<text>,<findtext>
<nlength>
<tlength>
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Set command
Test command
Possible
response(s)
Command
AT+CPBW=[<i
ndex>][,<numb
er>[,<type>[,<t
ext>]]]
AT+CPBW=?
Description
OK
--
If failed
+CPBW:
(list
of
supported
<index>s),[<nlength>]
,
--
(list of supported
<type>s),[<tlength>]
OK
+CME ERROR: <err>
If list failed
Description
<index>
<number>
<type>
<text>
<nlength>
<tlength>
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Set command
Test command
Possible
response(s)
Command
+CRSM:
<sw1>,<sw2>[,<resp
onse>]
AT+CRSM=<c
ommand>[,<file
id>[,<P1>,<P2>
,<P3>[,<data>]]
]
Description
--
OK
AT+CRSM=?
If failed
OK
--
Value
Description
176
READ BINARY
178
READ RECORD
192
GET RESPONSE
214
UPDATE BINARY
220
UPDATE RECORD
242
STATUS
<fileid>
--
<P1>
--
<P2>
--
Refer to <P1>
<P3>
--
Refer to <P1>
<data>
--
<sw1>, <sw2>
--
<response>
--
<command>
command
passed on by the
ME to the SIM;
refer GSM 11.11
[28]
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
AT+CMUT=<n
>
Description
OK
--
If set failed
+CMUT: <n>
Read command
Test command
--
OK
AT+CMUT?
AT+CMUT=?
If list failed
+CMUT:
(list
supported <n>s)
--
of
OK
Value
Description
[0]
Mute off
Mute on
<n>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
OK
--
If set failed
AT+CACM=[<p
asswd>]
+CACM: <acm>
Read command
Test command
Description
OK
AT+CACM?
AT+CACM=?
---
If failed
OK
--
Description
<passwd>
<acm>
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
AT+CAMM=[<a
cmmax>[,<pas
swd>]]
OK
--
If set failed
+CAMM: <acmmax>
Read command
Test command
OK
AT+CAMM?
AT+CAMM=?
--
If failed
OK
--
Description
AT Command Reference
Huawei GTM900 Wireless Module
Description
<acmmax>
<passwd>
Reference:
z
GSM 07.07
Set command
Read command
Test command
Possible
response(s)
Command
AT+CPUC=<cu
rrency>,<ppu>[
,<passwd>]
AT+CPUC?
Description
OK
--
If set failed
+CPUC:
<currency>,<ppu>
--
OK
AT+CPUC=?
If failed
OK
--
Description
<currency>
<ppu>
<passwd>
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
OK
--
If failed
AT+CCWE=<m
ode>
+CCWE: <mode>
OK
Read command
Test command
Description
--
AT+CCWE?
AT+CCWE=?
If failed
+CCWE:
(list
of
supported<mode>s)
--
OK
+CME ERROR: <err>
If failed
Value
Description
[0]
<mode>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CSVM=<m
ode>[,<number
>[,<type>]]
AT+CSVM?
Description
OK
--
If failed
+CSVM:<mode>,<nu
mber>,<type>
--
OK
Test command
AT+CSVM=?
+CSVM:
(list
of
supported <mode>s),
(list of supported
<type>s)
--
OK
Value
Description
[0]
--
129
145
ISDN
/
telephony
international number
161
128~255
<mode>
<number>
<type>
integer
type;
Type of address
octet. (refer GSM
04.08
section
10.5.4.7)
numbering
plan,
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
OK
--
If failed
AT+CLAE=<m
ode>
+CLAE: <mode>
OK
Read command
Test command
Description
--
AT+CLAE?
AT+CLAE=?
If failed
+CLAE:
(list
of
supported <mode>s)
--
OK
+CME ERROR: <err>
If failed
Value
Description
[0]
Disable
Enable
<mode>
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
AT+CLAN=<co
de>
OK
--
If set failed
+CLAN: <code>
Read command
OK
AT+CLAN?
Description
-If failed
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
+CLAN:(list
of
supported <code>s)
Test command
AT+CLAN=?
Description
--
OK
+CME ERROR: <err>
If failed
<code>
Value
Description
"AUTO"
"en"
English
"fr"
French
"de"
German
"it"
Italian
"es"
Spanish
"no"
Norwegian
el
Greek
pl
Polish
in
Indonesian
cs
Czech
zh
Chinese
ar
Arabic
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Execution
command
Description
<AT
Command1>
[<CR>
<LF>
<ATCommand2>[]]
AT+CLAC
--
OK
+CME ERROR: <err>
If failed
Description
Defines the AT command including the prefix
AT
Reference:
z
GSM 07.07
Set command
Read command
Possible
response(s)
Command
OK
ERROR
AT+CCLK=
<time>
AT+CCLK?
Description
+CCLK:
YY/MM/DD,hh:mm:ss
--
OK
Value
YY/MM/DD,hh:mm:ss
Example
Time set to:
Description
String type
AT Command Reference
Huawei GTM900 Wireless Module
2.6 ME Error
2.6.1 Report Mobile Equipment error +CMEE: AT+CMEE
Set command disables/enables the result code +CME ERROR: <err> as an indication
of an error relating to the functionality of the ME.
Table 2-113 AT+CMEE action command syntax
Type
Set command
AT+CMEE=[<n
>]
Read command
AT+CMEE?
Test command
Possible
response(s)
Command
Description
OK
--
+CMEE : <n>
--
OK
AT+CMEE=?
+CMEE:
(list
supported <n>s)
of
--
OK
<n>
Value
Description
[0]
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
phone failure
no connection to phone
10
11
12
13
SIM failure
14
SIM busy
15
SIM wrong
16
incorrect password
17
18
20
memory full
21
invalid index
22
not found
23
memory failure
24
25
26
27
30
no network service
31
network timeout
32
40
41
AT Command Reference
Huawei GTM900 Wireless Module
42
43
44
45
46
47
100
unknown
103
Illegal MS (#3)
106
Illegal ME (#6)
107
111
112
113
2)
132
133
134
149
3)
150
148
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Set command
AT
+FCLASS=<n>
Read command
AT+FCLASS?
Test command
AT+FCLASS=?
Description
OK
--
+FCLASS: <n>
--
OK
+FCLASS: (list
supported <n>s)
of
--
OK
<n>
Value
Description
Data
2.0
Voice
2)
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.
Set command
Possible
response(s)
Command
Description
AT+VTS=<dtmf
-string>
OK
--
AT+VTS=<dtmf
>[,<duration>]
If error is related to
ME functionality
AT Command Reference
Huawei GTM900 Wireless Module
Type
Test command
Possible
response(s)
Command
+VTS:
(list
of
supported <dtmf>s)[,
(list of supported
<duration>s)]
AT+VTS=?
Description
--
OK
Description
<dtmf-string>
<dtmf>
<duration>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
A/
--
Description
--
Reference:
z
v.25
Execution
command
Possible
response(s)
Command
Description
OK
ERROR
If <value> is not
recognized.
ATZ<value>
AT Command Reference
Huawei GTM900 wireless Module
<value>
Value
Description
[0]
The ATZ1 and ATZ2 commands 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
displayed:
+CSMS: 1.1.1
OK
OK
Among this, the first OK indicates that the parameter of 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
<value>
ATQ
<value>
ATS0
<n>
ATS3
<n>
ATS4
<n>
ATS5
<n>
ATS6
<n>
ATS7
<n>
ATS8
<n>
ATS10
<n>
ATV
<value>
ATX
<value>
AT&C
<value>
AT&D
<value>
AT+ILRR
<value>
AT+FCLASS
<n>
AT+CBST
<speed>,<name>,<ce>
Huawei Technologies Proprietary
3-2
AT Command Reference
Huawei GTM900 wireless Module
AT Command
AT+CMEE
<n>
AT+COPS
<mode>,<format>,<oper>
AT+CR
<mode>
AT+CRC
<mode>
AT+CRLP
<iws>,<mws>,<T1>,<N2>
AT+CMGF
<mode>
AT+CNMI
<mode>,<mt>,<bm>,<ds>,<bfr>
AT+CSDH
<show>
AT+CSMS
<service>
AT+CGREG
<n>
AT+CLIP
<n>
AT+CLIR
<n>
AT+COLP
<n>
AT+CREG
<n>
AT%ALS
<mod>
AT%CGAATT
<att_m>,<det_m>
AT%CGREG
<mode>
AT%CPI
<n>
AT%CREG
<n>
Table 3-5 The command parameters that are saved by the AT&W command and can
be recovered by the ATZ command
AT Command
ATE
<value>
ATQ
<value>
ATS0
<n>
ATS3
<n>
ATS4
<n>
ATS5
<n>
ATS6
<n>
ATS7
<n>
ATS8
<n>
ATS10
<n>
ATV
<value>
Huawei Technologies Proprietary
3-3
AT Command Reference
Huawei GTM900 wireless Module
AT Command
ATX
<value>
AT&C
<value>
AT&D
<value>
AT+ILRR
<value>
AT+FCLASS
<n>
AT+CBST
<speed>,<name>,<ce>
AT+CMEE
<n>
AT+COPS
<mode>,<format>,<oper>
AT+CR
<mode>
AT+CRC
<mode>
AT+CRLP
<iws>,<mws>,<T1>,<N2>
AT+CMGF
<mode>
AT+CNMI
<mode>,<mt>,<bm>,<ds>,<bfr>
AT+CSDH
<show>
AT+CSMS
<service>
AT+CGREG
<n>
AT+CLIP
<n>
AT+CLIR
<n>
AT+COLP
<n>
AT+CREG
<n>
AT%ALS
<mod>
AT%CGAATT
<att_m>,<det_m>
AT%CGREG
<mode>
AT%CPI
<n>
AT%CREG
<n>
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Execution
command
Possible
response(s)
Command
Description
OK
TA sets all of
parameters to the
default that
manufacturer
defined.
ERROR
If <value> is not
recognized
AT&F<value>
Value
Description
<value>
Table 3-8 Command parameters whose factory defaults can be restored by the AT&F0
command
AT Command
Value
ATS0
ATS1
ATS3
13
ATS4
10
ATS5
ATS6
ATS7
60
ATS8
ATS10
ATS30
ATS99
AT+CMEE
<n=0>
AT+COLP
<n=0>
AT+CCWA
<n=0>
AT Command Reference
Huawei GTM900 wireless Module
AT Command
Value
ATV
<value=1>
ATE
<value=1>
ATQ
<value=0>
ATX
<value=0>
AT+CR
<mode=0>
AT+CRC
<mode=0>
AT+CLIP
<n=0>
AT+DR
<mode=0>
AT+ILRR
<value=0>
AT+CSDH
<show=1>
AT+CSSN
<n=0,m=0>
AT+CUSD
<n=0>
AT%CPI
<n=0>
AT+CCWE
<mode=0>
AT+CAOC
<mode=0>
AT+CGREG
<n=0>
AT%CGREG
<n=0>
AT+CREG
<n=0>
AT%CREG
<n=0>
Table 3-9 Command parameters whose factory defaults can be restored by the AT&F1
command
AT Command
Value
ATS0
ATS1
ATS3
13
ATS4
10
ATS5
ATS6
ATS7
60
ATS8
ATS10
1
Huawei Technologies Proprietary
3-6
AT Command Reference
Huawei GTM900 wireless Module
AT Command
Value
ATS30
ATS99
AT+CMEE
<n=0>
AT+COLP
<n=1>
AT+CCWA
<n=0>
ATV
<value=1>
ATE
<value=1>
ATQ
<value=0>
ATX
<value=0>
AT+CR
<mode=1>
AT+CRC
<mode=1>
AT+CLIP
<n=1>
AT+DR
<mode=1>
AT+ILRR
<value=0>
AT+CSDH
<show=1>
AT+CSSN
<n=0,m=0>
AT+CUSD
<n=0>
AT%CPI
<n=0>
AT+CCWE
<mode=0>
AT+CAOC
<mode=0>
AT+CGREG
<n=1>
AT%CGREG
<n=1>
AT+CREG
<n=1>
AT%CREG
<n=1>
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
HUAWEI
Execution
command
ATI
GTM900
OK
Description
TA returns ME
issues product
information.
Reference:
z
v.25
Possible
response(s)
Command
Execution
command
AT+GMI
Test command
AT+GMI=?
Description
OK
TA returns the
information of
manufacturer.
OK
--
HUAWEI
Reference:
z
v.25
Possible
response(s)
Command
Execution
command
AT+GMM
Test command
AT+GMM=?
GTM900
OK
TA returns model
identification.
OK
--
Reference:
z
v.25
Description
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
HW REVISION: X
Execution
command
SW
XX.YYY
AT+GMR
Test command
AT+GMR=?
REVISION:
Description
TA returns product
firmware
version
identification text.
OK
XX.YYY --variant of
software release
OK
--
Reference:
z
v.25
Possible
response(s)
Command
Execution
command
AT+GSN
Test command
AT+GSN=?
<sn>
OK
OK
Description
TA returns one or
more lines of
information text to
identify the individual
device.
--
Description
International Mobile station Equipment
Identity of the telephone
<sn>
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
Execution
command
AT+GCAP
Test command
AT+GCAP=?
Description
OK
TA returns a list of
additional
capabilities.
OK
--
+GCAP: <name>
Description
For example: +FCLASS,+DS
<name>
or: +FCLASS
Possible
response(s)
Command
Set command
ATS3=<n>
Read command
ATS3?
Test command
ATS3=?
Description
OK
--
<n>
--
OK
S3:
(list
supported<n>s)
of
--
OK
Value
0-127
Description
Default: 13 (the ASCII character: carriage return)
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
Set command
ATS4=<n>
Read command
ATS4?
Test command
ATS4=?
Description
OK
--
<n>
--
OK
S4:
(list
supported<n>s)
of
--
OK
Value
Description
0~127
Reference:
z
v.25
Possible
response(s)
Command
Description
Set command
ATS5=<n>
OK
--
Read command
ATS5?
OK
--
Test command
ATS5=?
S5: (list of
supported<n>s)
--
OK
Value
Description
0~127
AT Command Reference
Huawei GTM900 wireless Module
Reference:
z
v.25
Possible
response(s)
Command
ATE<value>
OK
Description
--
Value
Description
[1]
Echo mode on
<value>
Reference:
z
v.25
Set command
Possible
response(s)
Command
Description
OK
If (value = 0)
(none)
If (value = 1)
ATQ<value>
Value
Description
[0]
<value>
Reference:
Huawei Technologies Proprietary
3-12
AT Command Reference
Huawei GTM900 wireless Module
z
v.25
Possible
response(s)
Command
Set command
Description
If (value = 0)
OK
If (value = 1)
ATV<value>
Value
Description
Information response: <text><CR><LF>
[0]
<value>
Information response:
<CR><LF><text><CR><LF>
Reference:
z
v.25
Possible
response(s)
Command
Set command
ATX<value>
OK
Description
--
Value
[0]
Description
CONNECT result code is given upon entering online data
state. Dial tone and busy detection are disabled
AT Command Reference
Huawei GTM900 wireless Module
Parameter
Value
Description
Reference:
z
v.25
Set command
Possible
response(s)
Command
Description
OK
--
ERROR
If DCD is not
supported by driver
AT&C<value>
Value
Description
[0]
<value>
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Set command
Possible
response(s)
Command
Description
OK
--
ERROR
If DTR is not
supported by driver
AT&D<value>
Value
Description
[0]
<value>
Reference:
z
v.25
Possible
response(s)
Command
Set command
AT+IPR=<rate>
Read command
AT+IPR?
OK
--
ERROR/ +CME
ERROR <err>
If error is relate to
ME
+IPR: <rate>
OK
Description
--
AT Command Reference
Huawei GTM900 wireless Module
Type
Test command
Possible
response(s)
Command
+IPR: (list of
supported <rate>s)
AT+IPR=?
Description
--
OK
Value
Description
300
600
1200
2400
4800
7200
<rate>
[9600]
--
14400
19200
28800
33900
38400
57600
115200
Reference:
z
v.25
Possible
response(s)
Command
AT+ICF=[<form
OK
Description
--
AT Command Reference
Huawei GTM900 wireless Module
Type
Possible
response(s)
Command
at>[,<parity>]]
Read command
ERROR/ +CME
ERROR <err>
If error is relate to ME
+ICF:<format>[,<parit
y>]
AT+ICF?
Description
--
OK
Test command
+ICF:(list
of
supported
<format>s),(list
of
supported <parity>s)
AT+ICF=?
--
OK
<format>
<parity>
Value
Description
8 Data; 2 Stop
[3]
8 Data; 1 Stop
7 Data; 2 Stop
7 Data; 1 Stop
Odd
Even
Mark
[3]
Space
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
Set command
AT+IFC=[<DCE
_by_DTE>[,<D
TE_by_DCE>]]
Read command
AT+IFC?
Description
OK
--
ERROR/ +CME
ERROR <err>
If error is relate to
ME
+IFC:<DCE_by_DTE
>,<DTE_by_DCE>
--
OK
Test command
+IFC:(list of supported
<DCE_by_DTE>s),(li
st of supported
<DTE_by_DCE>s)
AT+IFC=?
--
OK
<DCE_by_DTE>
<DTE_by_DCE>
Value
Description
--
[2]
--
[2]
Reference:
z
v.25
Note:
The values of <DCE_by_DTE> and <DTE_by_DCE> must be equal.
AT Command Reference
Huawei GTM900 wireless Module
If enabled, the intermediate result code is transmitted after 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
Possible
response(s)
Command
Set command
AT+ILRR=<val
ue>
Read command
AT+ILRR?
Test command
OK
--
ERROR/ +CME
ERROR <err>
If error is relate to
ME
+ILRR: <value>
--
OK
+ILRR (list of
supported <value>s)
AT+ILRR=?
Description
--
OK
Value
Description
[0]
<value>
Reference:
z
v.25
Possible
response(s)
Command
ATT
OK
Reference:
z
v.25
Description
Set to DTMF dialing
tone.
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
ATP
OK
Description
Set to pulse dialing.
Reference:
z
v.25
Note:
Any additional commands that appear after A on the same command line are ignored.
This command may be aborted by receiving a character during execution. It can not be
aborted in some connection setup states, such as handshaking, etc.
Execution
command
Possible
response(s)
Command
ATA
CONNECT
If response a data
call and connect
established
successful
CONNECT <text>
If response a data
call and connect
established
successful, <text>
may be the speed,
error control, etc.
OK
If response a voice
call and connect
established
successful
Description
AT Command Reference
Huawei GTM900 wireless Module
Type
Possible
response(s)
Command
Description
NO CARRIER
ERROR
If issued while in
online command
state
Reference:
z
v.25
Execution
command
Possible
response(s)
Command
Description
OK
--
ERROR
If <n> is not
recognized or
supported
ATH[<n>]
Value
Description
Terminate call
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Possible
response(s)
Command
Description
If connect successful
Set command
ATO[<value>]
CONNECT/CONNEC
T <text>
NO CARRIER
If connect failed
ERROR
If <value> is not
recognized or
supported
Value
Description
Reference:
z
v.25
Set command
Possible
response(s)
Command
OK
If successful
OK/ERROR
The second
OK/ERROR will
return if GPRS
attached
successfully or
failed.
ATS0=<n>
Read command
ATS0?
Test command
ATS0=?
<n>
OK
S0: (list of supported
<n>s)
OK
Description
--
--
AT Command Reference
Huawei GTM900 wireless Module
Value
Description
[0]
1~255
<n>
Reference:
z
v.25
ATS6=<n>
Read command
ATS6?
Test command
Possible
response(s)
Command
OK
--
<n>
--
OK
S6: (list of supported
<n>s)
ATS6=?
Description
--
OK
Value
Description
2~10
--
Reference:
z
v.25
Possible
response(s)
Command
ATS7=<n>
OK
Description
--
AT Command Reference
Huawei GTM900 wireless Module
Type
Possible
response(s)
Command
Read command
ATS7?
Test command
ATS7=?
<n>
Description
--
OK
S7: (list of supported
<n>s)
--
OK
Value
Description
Number of seconds in which connection must
be established or call will be disconnected.
1~255
Reference:
z
v.25
Possible
response(s)
Command
Set command
ATS8=<n>
Read command
ATS8?
Test command
ATS8=?
OK
Description
--
<n>
--
OK
S8: (list of supported
<n>s)
--
OK
Value
Description
Default
AT Command Reference
Huawei GTM900 wireless Module
Parameter
Value
Description
1~255
Reference:
z
v.25
ATS10=<n>
Read command
ATS10?
Test command
Possible
response(s)
Command
OK
--
<n>
--
OK
S10: (list of supported
<n>s)
ATS10=?
Description
--
OK
Value
Description
1~254
Reference:
z
v.25
AT Command Reference
Huawei GTM900 wireless Module
Set command
Read command
Possible
response(s)
Command
AT+DS=[<direc
tion>[,<compre
ssion_negotiati
on>[,<max_dict
>[,<max_string
>]]]]
OK
--
ERROR
If the parameters is
not supported
+DS:<direction>,<co
mpression_negotiatio
n>,<max_dict>,
AT+DS?
Description
--
<max_string>
OK
Test command
+DS: (list of
supported
<direction>s),(list of
supported
<compression_negoti
ation>s),(list of
supported
<max_dict>s),(list of
supported
<max_string>s)
AT+DS=?
--
OK
Value
Description
[0]
Transmit only
Receive only
[0]
<max_dict>
512~65535
--
<max_string>
[6]~250
--
<direction>
<compression_n
egotiation>
AT Command Reference
Huawei GTM900 wireless Module
Reference:
z
v.25
Note:
Data compression reporting intermediate result codes
z
+DR: NONE
+DR: V42B
+DR: V42B RD
+DR: V42B TD
+DR: V44
+DR: V44 RD
+DR: V44 TD
Set command
Read command
Test command
Possible
response(s)
Command
AT+DR=<value
>
OK
--
ERROR
If set failed
+DR: <value>
AT+DR?
--
OK
+DR: (list of
supported <value>s)
AT+DR=?
Description
--
OK
Value
Description
[0]
<value>
AT Command Reference
Huawei GTM900 wireless Module
Reference:
z
V.25
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
Description
AT+CGDCONT
=[<cid>
[,<PDP_type>
[,<APN>
OK
[,<PDP_addr>
[,<d_comp>
[,<h_comp>]]]]]]
ERROR
If set failed
AT+CGDCONT
?
+CGDCONT: <cid>,
<PDP_type>,<APN>,
<PDP_addr>,
<data_comp>,<head
_comp>[<CR><LF>+
CGDCONT:<cid>,<P
DP_type>,<APN>,<P
DP_addr>,<data_co
mp>,<head_comp>]
OK
Test command
AT+CGDCONT
=?
+CGDCONT: (range
of
supported
<cid>s),<PDP_type>,
,,(list of supported
<d_comp>s),(list
of
supported
<h_comp>s)
OK
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
A numeric parameter which specifies a
particular PDP context definition
<cid>
<PDP_type>
(1-2)
Only IP is supported.
IP Internet Protocol (IETF STD 5)
<APN>
<PDP_address>
<h_comp>
a numeric
parameter that
controls PDP
header
compression
On
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CGQREQ=
[<cid>
[,<precedence
>
[,<delay>[,<reli
ability.>
[,<peak>
[,<mean>]]]]]]
AT+CGQREQ?
Description
OK
ERROR
If set failed
+CGQREQ: <cid>,
<precedence >,
<delay>,<reliability>,
<peak>,
<mean>[<CR><LF>+
CGQREQ: <cid>,
<precedence >,
<delay>, <reliability.>,
<peak>, <mean>[]]
OK
Test command
AT+CGQREQ=
?
+CGQREQ:
<PDP_type>, (list of
supported
<precedence>s), (list
of supported
<delay>s), (list of
supported
<reliability>s), (list of
supported <peak>s),
(list of supported
<mean>s)
OK
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
Default. When PDP is activated, if no QoS is
designated to the corresponding cid, this
parameter is used. When cid=0, the query
command is not supported.
<cid>
<precedence>
a numeric
parameter which
specifies the
precedence
class
<delay>
a numeric
parameter which
specifies the
delay class
<reliability>
a numeric
parameter which
specifies the
reliability class
cope with
infrequent data
loss
a numeric
parameter which
specifies the
Up to 1 000 (8 kbit/s)
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
peak throughput
class
Value
Description
IP
<mean>
a
numeric
parameter which
specifies
the
mean throughput
class
10
11
12
13
14
15
16
17
18
31
Best effort
<PDP_type>
String parameter
of Packet Data
Protocol type
AT Command Reference
Huawei GTM900 Wireless Module
Caution:
z
All QoS options are set to 0. For example: AT+CGQREQ=1,0,0,0,0,0 cancels the
default parameters but not the parameters of the corresponding cid.
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CGQMIN=[
<cid>
[,<precedence
>
[,<delay>[,<reli
ability.>
[,<peak>
[,<mean>]]]]]]
AT+ CGQMIN?
Description
OK
ERROR
If set failed
+CGQMIN: <cid>,
<precedence >,
<delay>,<reliability>,
<peak>,
<mean>[<CR><LF>+
CGQMIN: <cid>,
<precedence >,
<delay>, <reliability.>,
<peak>, <mean>[]]
OK
Test command
+CGQMIN:
<PDP_type>, (list of
supported
<precedence>s), (list
of supported
<delay>s), (list of
supported
<reliability>s), (list of
supported <peak>s),
(list of supported
<mean>s)
AT+
CGQMIN=?
OK
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
AT+CGATT=[<
state>]
OK
ERROR
If set failed
+CGATT: <state>
Read command
AT+CGATT?
Test command
AT+CGATT=?
Description
OK
+CGATT: (list of
supported <state>s)
OK
Value
Description
<state>
[0]
Detached
indicates
the
state of GPRS
attachment
Attached
Reference:
z
GSM 07.07
Note:
If parameter <state>is omitted the GPRS attach state will be changed.
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CGACT=<
state>
[,<cid>[,<cid>[,
]]]
OK
ERROR
If set failed
+CGACT: <cid>,
<state>[<CR><LF>+
CGACT: <cid>,
<state>[...]]
AT+CGACT?
Description
OK
Test command
AT+CGACT=?
+CGACT: (list of
supported <state>s)
OK
Value
Description
<state>
[0]
Deactivated
indicates the
state of PDP
context
activation
Activated
<cid>
See AT+CGDCONT
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Test command
Possible
response(s)
Command
CONNECT
If establish
successful, the MT
issues the
intermediate result
code CONNECT and
enter V.25ter online
data state.
OK
ERROR
If set failed
+CGDATA: (list of
supported <L2P>s)
AT+CGDATA=[
<L2P> ,[<cid>
[,<cid> [,]]]]
AT+CGDATA=
?
Description
OK
Value
Description
<L2P>
PPP
<cid>
Refer to AT+CGDCONT
Reference:
z
GSM 07.07
Huawei Technologies Proprietary
4-10
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
AT+CGPADDR
=[<cid>
[,<cid>[,]]]
+CGPADDR:
<cid>,<PDP_addr>[<
CR><LF>+CGPADD
R:
<cid>,<PDP_addr>[...
]]
Description
OK
Test command
AT+CGPADDR
=?
ERROR
If list failed
+CGPADDR: (list of
defined <cid>s)
OK
<cid>
<PDP_address>
Value
Description
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
Description
OK
ERROR
If set failed
AT+CGAUTO=[
<n>]
Read command
AT+CGAUTO?
Test command
AT+CGAUTO=
?
+CGAUTO: <n>
OK
+CGAUTO: (list
supported <n>s)
of
-
OK
<n>
Value
Description
[3]
Reference:
z
GSM 07.07
Note:
If parameter <n> is omitted it is assumed to be 3.
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Test command
Possible
response(s)
Command
AT+CGANS=[<
response>,[<L2
P> ,[<cid>]]]
AT+CGANS=?
Description
OK
ERROR
If set failed
+CGANS: (list of
supported
<response>s), (list of
supported <L2P>s)
OK
Value
Description
[0]
<L2P>
PPP
<cid>
See AT+CGDCONT
<response>
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Possible
response(s)
Command
AT+CGCLASS
=<class>
Read command
AT+CGCLASS
?
Test command
AT+CGCLASS
=?
Description
OK
ERROR
+CGCLASS: <class>
OK
+CGCLASS: (list of
supported <class>s)
OK
Value
Description
<class>
ClassB
a string
parameter which
indicates the
GPRS mobile
class (in
descending order
of functionality)
CG
CC
Reference:
z
GSM 07.07
Set command
Read command
Possible
response(s)
Command
AT+CGEREP=[
<mode>[,<bfr>]
]
AT+CGEREP?
OK
ERROR
If set failed
+CGEREP:
<mode>,<bfr>
OK
Description
AT Command Reference
Huawei GTM900 Wireless Module
Type
Test command
Possible
response(s)
Command
AT+CGEREP=
?
+CGEREP: (list of
supported
<mode>s),(list
of
supported <bfr>s)
Description
OK
<mode>
Value
Description
[0]
[0]
<bfr>
Reference:
z
GSM 07.07
Note:
z
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CGREG=[<
n>]
AT+CGREG?
Description
OK
ERROR
If set failed
+CGREG:
<n>,<stat>[,<lac>,<ci
>]
OK
Test command
AT+CGREG=?
+CGREG: (list of
supported <n>s)
OK
<n>
Value
Description
[0]
<stat>[,<lac>,<ci>]
<stat>
<lac>
Registration denied
Unknown
Registered, roaming
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
<ci>
Value
Description
String type; Two byte cell ID in hexadecimal
format
Reference:
z
GSM 07.07
Note:
If parameter <n> is omitted the command do nothing.
Set command
Read command
Test command
Possible
response(s)
Command
AT+CGSMS=<
service>
AT+CGSMS?
AT+CGSMS=?
Description
OK
ERROR
If set failed
+CGSMS: <service>
OK
+CGSMS: (list of
currently available
<service>s)
OK
Value
Description
GPRS
Circuit switched
<service>
indicates the
service or
service
preference to be
used
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.07
Set command
Possible
response(s)
Command
ATD*99[*[<call
ed_address>][*
[<L2P>][*[<cid>
]]]]#
Description
CONNECT
Connect successful
NO CARRIER
ERROR/ +CME
ERROR: <err>
If error is related to
ME
Value
Description
<called_address>
It shall be ignored
<L2P>
PPP
<cid>
See :AT+CGDCONT
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
ATA
CONNECT
Description
-
Reference:
z
GSM 07.07
Command
Possible response(s)
ATH
OK
Reference:
z
GSM 07.07
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
+CSMS:
<mt>,<mo>,<bm>
Set command
AT+CSMS=<se
rvice>
OK
Read command
+CSMS: <
service>,<mt>,<mo>,
<bm>
AT+CSMS?
Description
TA returns the type
of messages
supported by ME.
If chosen service is
not supported by
ME, TA will be
return.
--
OK
Test command
+CSMS: (list of
supported
<service>s)
AT+CSMS=?
OK
--
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
[0]
<mt>
mobile
terminated
messages
Type supported
<mo>
mobile originated
messages
Type supported
<bm>
Type supported
<service>
broadcast
messages
type
Reference:
z
GSM 07.05
Set command
Possible
response(s)
Command
AT+CPMS=<m
em1>[,<mem2
>[,<mem3>]]
+CPMS:
<used1>,<total1>,<us
ed2>,<total2>,<used
3>,<total3>
--
OK
+CMS ERROR: <err>
Description
If chosen storage is
not appropriate for
ME
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
Description
+CPMS:
Read command
<mem1>,<used1>,<t
otal1>,<mem2>,<use
d2>,<total2>,<mem3
>,<used3>,<total3>
AT+CPMS?
--
OK
+CMS ERROR: <err>
Test command
+CPMS: (list of
supported
<mem1>s),(list of
supported
<mem2>s),(list of
supported <mem3>s)
AT+CPMS=?
If error is related to
ME functionality
--
OK
Value
Description
<mem1>
SM
memory to be
used when
reading and
deleting
messages
ME
ME message storage
<mem2>
SM
memory to be
used when
writing and
sending
messages
ME
ME message storage
<mem3>
SM
received
messages will be
placed to this
storage if routing
to TE is not set
ME
ME message storage
<usedx>
--
<totalx>
--
Reference:
z
GSM 07.05
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Set command
AT+CMGF=[<
mode>]
Read command
AT+CMGF?
Test command
OK
--
+CMGF: <mode>
OK
+CMGF:
(list
of
supported <mode>s)
AT+CMGF=?
Description
--
--
OK
Value
Description
[0]
PDU mode
TEXT mode
<mode>
Reference:
GSM 07.05
Possible
response(s)
Command
--
Description
--
AT Command Reference
Huawei GTM900 Wireless Module
<err>
Value
Description
0~127
128~255
300
ME failure
301
302
303
304
305
310
311
312
313
SIM failure
314
SIM busy
315
SIM wrong
316
317
318
320
Memory failure
321
322
Memory full
330
331
No network service
332
Network timeout
340
500
Unknown error
511
512
Manufacturer specific
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Set command
AT+CSCA=<sc
a>[,<tosca>]
Read command
AT+CSCA?
Description
OK
--
+CSCA:
<sca>,<tosca>
--
OK
Test command
AT+CSCA=?
OK
--
Value
Description
<sca>
--
<tosca>
--
Reference:
z
GSM 07.05
Note:
The SMS service centre address should be entered as specified by the service
provider.
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CSMP=[<f
o>[,<vp>[,<pid>
[,<dcs>]]]]
AT+CSMP?
Description
OK
--
+CSMP:
<fo>,<vp>,<pid>,<dcs
>
--
OK
Test command
AT+CSMP=?
OK
--
Value
Description
--
<vp>
--
<pid>
--
--
<fo>
<dcs>
Reference:
z
GSM 07.05
Huawei Technologies Proprietary
5-7
AT Command Reference
Huawei GTM900 Wireless Module
Note:
z
When storing a SMS-DELIVER from the TE to the preferred memory storage in text
mode (refer command Write Message to Memory +CMGW), <vp> field can be used
for <scts>.
The default values of <dcs> depend on SIM card and coding scheme for sending
messages in text mode. If the value of <dcs> is 8, the UCS2 coding scheme is used.
If the value of <dcs> is 0, the ASCII coding scheme is used.
Possible
response(s)
Command
Set command
AT+CSDH=[<s
how>]
Read command
AT+CSDH?
Description
OK
--
+CSDH: (list of
supported <show>s)
--
OK
Test command
+CSDH: <show>
AT+CSDH=?
OK
--
Value
Description
[1]
<show>
Reference:
z
GSM 07.05
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CSCB=[<m
ode>[,<mids>[,
<dcss>]]]
AT+CSCB?
Description
OK
--
+CSCB:
<mode>,<mids>,<dcs
s>
--
OK
Test command
+CSCB:
(list
of
supported <mode>s)
AT+CSCB=?
--
OK
Value
Description
[0]
<mids>
--
<dcss>
--
<mode>
Reference:
z
GSM 07.05
Note:
Supported values for parameter <mids> and <dcss>: maximum of 20 ranges could be
declared for each parameter.
AT Command Reference
Huawei GTM900 Wireless Module
Execution
command
Test command
Possible
response(s)
Command
Description
OK
--
AT+CSAS[=<pr
ofile>]
AT+CSAS=?
+CSAS: (list of
supported <profile>s)
--
OK
Value
Description
Manufacturer specific profile number where
settings are to be stored
[0]~255
Reference:
z
GSM 07.05
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
Description
OK
Execution
command
AT+CRES[=<pr
ofile>]
Test command
AT+CRES=?
+CRES: (list of
supported <profile>s)
--
OK
Value
Description
Manufacturer specific profile number where
settings are to be stored
[0]~255
Reference:
z
GSM 07.05
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Possible
response(s)
Command
AT+CNMI=[<m
ode>[,<mt>[,<b
m>[,<ds>[,<bfr
>]]]]]
AT+CNMI?
Description
OK
--
If failed
+CNMI:
<mode>,<mt>,<bm>,
<ds>,<bfr>
--
OK
Test command
+CNMI: (list of
supported
<mode>s),(list of
supported <mt>s),(list
of supported
<bm>s),(list of
supported <ds>s),(list
of supported <bfr>s)
AT+CNMI=?
--
OK
Value
Description
[0]
<mode>
control the
processing of
unsolicited result
codes specified
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
No SMS-DELIVER indications are routed to
the TE.
[0]
+CMTI: <mem>,<index>
SMS-DELIVERs (except class 2 messages
and messages in the message waiting
indication group (store message)) are routed
directly to the TE using unsolicited result
code:
+CMT([<alpha>],<length><CR><LF><pdu>
(PDU mode enabled))
<mt>
the rules for
storing received
SMs depend on
its data coding
scheme (refer
GSM 03.38 [2]),
preferred
memory storage
(+CPMS) setting
and this value
<bm>
the rules for
storing received
CBMs depend on
its data coding
scheme (refer
GSM 03.38 [2]),
the setting of
Select CBM
Types (+CSCB)
and this value;)
or
2
+CMT(<oa>, [<alpha>],<scts>
[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<l
ength>]<CR><LF><data> (text mode
enabled));
NOTE: If AT command 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 (discard
message)
[0]
or
+CBM:<sn>,<mid>,<dcs>,<page>,<pages><
CR><LF><data> (text mode enabled)
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
No SMS-STATUS-REPORTs are routed to
the TE.
[0]
<ds>
1
or
+CDS:
<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
(text mode enabled)
[0]
<bfr>
Reference:
z
GSM 07.05
Execution
command
Possible
response(s)
Command
AT+CMGL[=<st
at>]
+CMGL:<index>,<sta
t>,[<alpha>],<length>
<CR><LF><pdu><C
R><LF>+CMGL:<ind
ex>,<stat>,[<alpha>],
<length><CR><LF><
pdu>[...]]
OK
Description
If PDU mode
(+CMGF=0) and
command successful
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
+CMGL:<index>,<sta
t>,<oa/da>,[<alpha>],
[<scts>][,<tooa/toda>,
<length>]<CR><LF><
data>[<CR><LF>+C
MGL:<index>,<stat>,
<da/oa>,[<alpha>],[<
scts>][,<tooa/toda>,<l
ength>]<CR><LF><d
ata>[...]]
Description
If text mode
(+CMGF=1) and
command successful
for SMS-SUBMITs
and/or
SMS-DELIVERs
OK
+CMGL:<index>,<sta
t>,<fo>,<mr>,[<ra>],[
<tora>],<scts>,<dt>,<
st>[<CR><LF>+CMG
L:<index>,<stat>,<fo
>,<mr>,[<ra>],[<tora>
],<scts>,<dt>,<st>[...]]
SMS-STATUS-REP
ORTs
OK
+CMGL:<index>,<sta
t>,<fo>,<ct>[<CR><L
F>+CMGL:<index>,<
stat>,<fo>,<ct>[...]]
SMS-COMMANDs
OK
+CMS ERROR: <err>
If list failed
+CMGL: (list of
supported <stat>s)
--
OK
Test command
+CMGL: (list of
supported <stat>s)
AT+CMGL=?
--
OK
Value
Description
If text mode (+CMGF=1)
"REC
UNREAD"
"REC READ"
"STO
UNSENT"
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
If text mode (+CMGF=1)
"STO SENT"
"ALL"
all messages
If PDU mode (+CMGF=0)
all messages
--
--
--
<length>
--
<ct>
--
<alpha>
<dt>
<fo>
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
<da>
--
<index>
--
<mr>
--
--
--
<ra>
--
<scts>
--
<st>
--
<toda>
--
<tooa>
--
<tora>
--
<oa>
<pdu>
Reference:
z
GSM 07.05
Huawei Technologies Proprietary
5-17
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Description
+CMGR:
<stat>,[<alpha>],<len
gth><CR><LF><pdu
> OK
If PDU mode
(+CMGF=0) and
command successful
Command
+CMGR:<stat>,<oa>,
[<alpha>],<scts>[,<to
oa>,<fo>,<pid>,<dcs
>,<sca>,<tosca>,<len
gth>]<CR><LF><dat
a>
If text mode
(+CMGF=1) and
command successful
for SMS-DELIVER
OK
Set command
AT+CMGR=<in
dex>
+CMGR:<stat>,<da>,
[<alpha>][,<toda>,<fo
>,<pid>,<dcs>,[<vp>],
<sca>,<tosca>,<lengt
h>]<CR><LF><data>
OK
+CMGR:<stat>,<fo>,
<mr>,[<ra>],[<tora>],
<scts>,<dt>,<st>
OK
+CMGR:<stat>,<fo>,
<ct>[,<pid>,[<mn>],[<
da>],[<toda>],<length
><CR><LF><cdata>]
OK
Test command
AT+CMGR=?
If text mode
(+CMGF=1) and
command successful
for
SMS-STATUS-REP
ORT
If text mode
(+CMGF=1) and
command successful
for SMS-COMMAND
If read failed
OK
--
OK
--
If text mode
(+CMGF=1) and
command successful
for SMS-SUBMIT
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
--
<cdata>
--
<pid>
--
<sca>
--
<tosca>
--
--
<dcs>
<vp>
Reference:
z
GSM 07.05
Execution
command
Possible
response(s)
Command
Description
AT+CNMA
OK
--
AT+CNMA[=<n
>[,<length>[<C
R>PDU is given
<ctrl-Z/ESC>]]]
If PDU mode
(+CMGF=0) and
command failed
AT Command Reference
Huawei GTM900 Wireless Module
Type
Test command
Possible
response(s)
Command
AT+CNMA=?
Description
OK
--
+CNMA: (list of
supported <n>s)
If PDU mode
Value
Description
<n>
Reference:
z
GSM 07.05
Set command
Possible
response(s)
Command
AT+CMGS=<d
a>[,<toda>]<C
R>text to send
<ctrl-Z/ESC>
+CMGS:
<mr>[,<scts>]
OK
Description
If text
mode(+CMGF=1)
and command
successful
If text mode
(+CMGF=1) and
command failed
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
AT+CMGS=<le
ngth><CR>
PDU
to
send<ctrl-Z/ES
C>
Test command
AT+CMGS=?
+CMGS:
<mr>[,<ackpdu>]
OK
Description
If PDU
mode(+CMGF=0)
and command
successful
If PDU mode
(+CMGF=0) and
command failed
OK
--
Value
Description
--
--
<length>
--
<mr>
--
<scts>
--
--
<da>
<pdu>
<dt>
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
<ackpdu>
<toda>
Value
Description
--
--
Reference:
z
GSM 07.05
Set command
Test command
Possible
response(s)
Command
AT+CMSS=<in
dex>[,<da>[,<to
da>]]
AT+CMSS=?
+CMSS:
<mr>[,<scts>]
If text mode
(+CMGF=1) and
command successful
If text mode
(+CMGF=1) and
command failed
+CMSS:
<mr>[,<ackpdu>]
If PDU mode
(+CMGF=0) and
command successful
If PDU mode
(+CMGF=0) and
command failed
OK
--
Description
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
<ackpdu>
--
<index>
--
--
<toda>
--
<mr>
--
<scts>
--
<da>
Reference:
z
GSM 07.05
AT Command Reference
Huawei GTM900 Wireless Module
Possible
response(s)
Command
AT+CMGW[=<
oa/da>[,<tooa/t
oda>[,<stat>]]]<
CR>
text is
entered<ctrl-Z/
ESC>
Execution
command
AT+CMGW=<l
ength>[,<stat>]
<CR> PDU is
given
<ctrl-Z/ESC>
+CMGW: <index>
OK
Description
If text mode
(+CMGF=1) and
command successful
If text mode
(+CMGF=1) and
command failed
OK
If PDU mode
(+CMGF=0) and
command successful
If PDU mode
(+CMGF=0)
+CMGW: <index>
AT+CMGW=?
OK
--
Value
Description
--
--
<toda>
--
<tooa>
--
<da>
<oa>
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
"REC UNREAD"
REC READ"
"STO UNSENT"
"STO SENT"
<stat>
Reference:
z
GSM 07.05
Possible
response(s)
Command
Set command
Test command
Description
AT+CMGD=<ind
ex>[,<delflag>]
OK
If delete successful
If failed
AT+CMGD=?
OK
Value
Description
<delflag>
AT Command Reference
Huawei GTM900 Wireless Module
Reference:
z
GSM 07.05
Possible
response(s)
Command
Description
AT+CMGC=<fo
>,<ct>[,<pid>[,<
mn>[,<da>[,<to
da>]]]]<CR>
text is entered
<ctrl-Z/ESC>
+CMGC:
<mr>[,<scts>]
If text mode
(+CMGF=1) and
command
successful
If text mode
(+CMGF=1) and
command failed
AT+CMGC=<le
ngth><CR>
+CMGC:
<mr>[,<ackpdu>]
PDU is
given<ctrl-Z/ES
C>
If PDU mode
(+CMGF=0) and
command
successful
If PDU mode
(+CMGF=0) and
command failed
AT+CMGC=?
OK
--
Set command
Test command
<length>
<toda>
<pdu>
Value
Description
--
--
--
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
--
<fo>
--
<ct>
--
<pid>
--
<da>
--
<scts>
--
<mr>
Reference:
z
GSM 07.05
AT Command Reference
Huawei GTM900 Wireless Module
Note:
The command AT%NRG is an expansion of the AT+COPS command. The new
command allows specifying the service state of the registration. For a list of current
available network operators please use the test command of AT+COPS.
AT Command Reference
Huawei GTM900 Wireless Module
Read
command
Command
Possible response(s)
AT%NRG=[<regMod
e>[,<srvMode>[,<opr
Frmt>[,<opr>]]]]
AT%NRG?
Description
OK
ERROR
%NRG:
<regMode>,<srvMode>,[<opr
Frmt>],<srvStat>,[<opr>]
OK
Test
command
AT%NRG=?
OK
Value
Description
Full service
Limited service
No service
Numeric <oprr>
Full service
Limited service
No service
<regMode>
<srvMode>
<oprFrmt>
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
<opr>
Value
Description
--
Execution
command
Test command
Command
Possible response(s)
%CACM:
<cur>,<price>
AT%CACM
Description
OK
OK
AT%CACM=?
ERROR
If failed
OK
Description
<cur>
<price>
AT Command Reference
Huawei GTM900 Wireless Module
Execution
command
Test command
Possible
response(s)
Command
%CAOC:
<cur>,<price>
AT%CAOC
Description
OK
OK
AT%CAOC=?
ERROR
If failed
OK
--
Description
<cur>
<price>
Possible
response(s)
Command
%CTV: <dur>
Execution
command
Test command
OK
AT%CTV
AT%CTV=?
OK
ERROR
If failed
OK
--
Description
AT Command Reference
Huawei GTM900 Wireless Module
Description
Integer type; Represents the duration of the last call in unit of
seconds.
Note:
This value does not necessary refer to the actual call duration only. It may include the
call setup time. For details about how to get accurate time, refer to commands
AT%LCD and AT%TCD.
Command
Possible response(s)
Description
OK
ERROR
AT%CPI=<n>
Read
command
AT%CPI?
Test
command
AT%CPI=?
%CPI: <n>
OK
%CPI: (list of supported <n>s)
OK
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
Disable
<n>
Enable
Setup message
Disconnect message
Alert message
Synchronization message
<ibt>
No in-band tones
In-band tones
<tch>
TCH assignment
TCH assigned
<cId>
<msgType>
layer 3 message type
AT Command Reference
Huawei GTM900 Wireless Module
z
The result to an envelope command, which was sent by TE, is indicated using the
result %SATE: <satRsp>. For more information regarding the sending of envelope
commands to SIM, please refer to the %SATE command description.
If SIM application toolkit 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 indicated to TE using the result %SATA:[<rdl>]. 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.
Command
Possible response(s)
Set
command
AT%SATC=<n>,<satPrfl>
Read
command
AT%SATC?
Test
command
OK
ERROR
%SATC: <n>,<satPrfl>
OK
%SATC: (list of supported
<n>s),(<prflLen>)
AT%SATC=?
Description
OK
Value
Description
<satPrfl>
<satCmd>
<satRsp>
<n>
<satNtfy>
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
<rdl>
Value
Description
Integer type; If a pending SIM application toolkit
command is alerted to TE using result %SATA:, The
value of <rdl> indicates the redial timeout for the call in
unit of milliseconds
Command
Possible response(s)
%SATE: <satRsp>
Set
command
Test
command
AT%SATE=<satCmd>
AT%SATE=?
OK
Description
-
ERROR
OK
Description
<satCmd>
<satRsp>
AT Command Reference
Huawei GTM900 Wireless Module
Command
Possible response(s)
Set
command
AT%SATR=<satRsp>
Test
command
AT%SATR=?
Description
OK
ERROR
OK
Description
String type; SIM application toolkit response (hexadecimal
format; refer +CSCS) starting with first byte of response data
Command
Set
command
AT%SATT=<cs>
Test
command
AT%SATT=?
Possible response(s)
Description
OK
ERROR
OK
Value
<cs>
cause of command or session termination
Description
AT Command Reference
Huawei GTM900 Wireless Module
Command
Set
command
Possible response(s)
Description
OK
ERROR
AT%SNCNT=<rst>
%SNCNT: <nsapi1>, <upo>,
<dno>, <upp>,
<dnp><CR><LF>
Read
command
AT%SNCNT?
...
OK
Test
command
%SNCNT: (0)
AT%SNCNT=?
OK
Description
<rst>
<nsapi>
Connection id
<upo>
<dno>
<upp>
<dnp>
Command
Set
command
AT%CGAATT=<att_m>,<det_m>
Possible
response(s)
OK
ERROR
Description
AT Command Reference
Huawei GTM900 Wireless Module
Read
command
Test
command
%CGAATT:
<att_m>,<det_m>
AT%CGAATT?
OK
%CGAATT(list
of
supported
<att_m>s), (list of
supported
<det_m>s)
AT%CGAATT=?
OK
Value
Description
Automatic attach
automatic attach
mode
Manuel attach
<det_m>
automatic detach
mode
Manuel detach
<att_m>
Command
Possible response(s)
Set
command
AT%CPRI=<mode>
Read
command
AT%CPRI?
Test
command
AT%CPRI=?
OK
ERROR
%CPRI: <state>
OK
%CPRI: (list of supported
<mode>s)
OK
Description
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
<mode>
enable
or
disable
ciphering indications
[1]
Ciphering disabled
Ciphering enabled
<network_state>
<state>
Command
Set
command
AT%CGREG=<mode>
Read
command
Possible response(s)
AT%CGREG?
Description
OK
ERROR
%CGREG:
<mode>,<stat>,[<lac>],[<ci>]
,[<state>]
OK
Test
command
AT%CGREG=?
OK
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
<mode>
enable or disable
extended GPRS
registration state
reporting
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
Not registered
Registration denied
Unknown state
No cell available
<lac>
<ci>
Cell ID
<state>
<state>
Command
Possible response(s)
%TSIM <n>
AT%TSIM
Description
-
OK
Value
Description
<n>
AT Command Reference
Huawei GTM900 Wireless Module
Command
Execution command
Possible response(s)
Description
%LCD <time>
AT%LCD
OK
<time>
Value
Description
String type, The max value is
23:59:59, where the character
indicate hour, minute and second.
It wont be lost by power off.
hh:mm:ss
Command
Execution command
Possible response(s)
%TCD <time>
AT%TCD
OK
Description
-
<time>
Value
Description
String type, The max value is
19999:59:59, where the characters
indicate hour ,minute and second.
It wont be lost by power off.
hhhhh:mm:ss
AT Command Reference
Huawei GTM900 Wireless Module
Command
AT%MSO
Possible response(s)
Description
-
Execution
command
Possible
response(s)
Command
AT%MGL[=<st
at>]
%MGL:<index>,<stat
>,[<alpha>],<length>
<CR><LF><pdu><C
R><LF>%MGL:<inde
x>,<stat>,[<alpha>],<l
ength><CR><LF><p
du>[...]]
Description
If PDU mode
(+CMGF=0) and
command successful
OK
%MGL:<index>,<stat
>,<oa/da>,[<alpha>],[
<scts>][,<tooa/toda>,
<length>]<CR><LF><
data>[<CR><LF>%M
GL:<index>,<stat>,<d
a/oa>,[<alpha>],[<sct
s>][,<tooa/toda>,<len
gth>]<CR><LF><dat
a>[...]]
If text mode
(+CMGF=1),
command successful
SMS-SUBMITs
and/or
SMS-DELIVERs
OK
%MGL:<index>,<stat
>,<fo>,<mr>,[<ra>],[<
tora>],<scts>,<dt>,<s
t>[<CR><LF>%MGL:
<index>,<stat>,<fo>,
<mr>,[<ra>],[<tora>],
<scts>,<dt>,<st>[...]]
OK
SMS-STATUS-REP
ORTs
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Command
%MGL:<index>,<stat
>,<fo>,<ct>[<CR><L
F>%MGL:<index>,<s
tat>,<fo>,<ct>[...]]
Description
SMS-COMMANDs
OK
ERROR
Test command
If list failed
%MGL:
(list
of
supported <stat>s)
AT%MGL=?
OK
Set command
Command
Possible
response(s)
Description
AT%MGR=<ind
ex>
%MGR:
<stat>,[<alpha>],<len
gth><CR><LF><pdu
> OK
If PDU mode
(+CMGF=0) and
command successful
%MGR:<stat>,<oa>,[
<alpha>],<scts>[,<too
a>,<fo>,<pid>,<dcs>,
<sca>,<tosca>,<lengt
h>]<CR><LF><data>
Text mode
(+CMGF=1),
command successful
SMS-DELIVER
OK
%MGR:<stat>,<da>,[
<alpha>][,<toda>,<fo
>,<pid>,<dcs>,[<vp>],
<sca>,<tosca>,<lengt
h>]<CR><LF><data>
Text mode
(+CMGF=1),
command successful
SMS-SUBMIT
OK
%MGR:<stat>,<fo>,<
mr>,[<ra>],[<tora>],<
scts>,<dt>,<st>
OK
Text mode
(+CMGF=1),
command successful
SMS-STATUS-REP
ORT
AT Command Reference
Huawei GTM900 Wireless Module
Type
Possible
response(s)
Description
%MGR:<stat>,<fo>,<
ct>[,<pid>,[<mn>],[<d
a>],[<toda>],<length>
<CR><LF><cdata>]
Text mode
(+CMGF=1),
command successful
Command
SMS-COMMAND
OK
Test command
AT%MGR=?
ERROR
Read failed
OK
Command
Possible response(s)
Set
command
AT%SLEEP=<mode>
Read
command
AT%SLEEP?
Description
OK
Failure
%SLEEP:<mode>
OK
Value
Description
[0]
<mode>
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.
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Command
AT%NFI=<
path>,<gai
n>,<outbais
>,<extra_g
ain>
Possible response(s)
Description
OK
ERROR
If failed
%NFI:
<path>,<gain>,<outbais>
<path>=0, 2
OK
Read
command
AT%NFI?
%NFI:
<path>,<gain>,<outbais>,
<extra_gain>
<path>=1
OK
Test command
AT%NFI=?
OK
Value
Description
[0]
AT Command Reference
Huawei GTM900 Wireless Module
<gain>
-12
Min. gain
+12
Max. gain
13
Mute
[0]
Default value
2.0V
[1]
2.5V
[0]
28.2dB
4.6dB
<outbais>
<extra_gain>
Example 1:
AT%NFI=0,0,1
OK
Path of MIC set to audio input path 1 with the gain of 0dB and outbais of 2.5 V.
Returned result:
AT%NFI?
%NFI: 0,0,1
OK
Example 2:
AT%NFI=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
AT Command Reference
Huawei GTM900 Wireless Module
<gain>, a common parameter for all speaker paths, is used to set the gain of speaker
path.
<filter_switch> is used to enable/disable the filter of speaker path.
Table 6-40 AT%NFO action command syntax
Type
Command
Set command
AT%NFO=
<path>,<ga
in>,<filter_s
witch>
Read
command
AT%NFO?
Possible response(s)
Description
OK
ERROR
If failed
%NFO:
<path>,<gain>,<filter_switc
h>
OK
Test command
AT%NFO=
?
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
[0]
<path>
--
[3]
Default value
[0]
<gain>
<filter_switch>
Example:
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
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Test command
Possible
response(s)
Command
Description
OK
ERROR
If failed
AT%NFV=<vol>
%NFV: <vol>
AT%NFV?
OK
AT%NFV: (list of
supported <vol>s)
AT%NFV=?
OK
Value
Description
Mute
-24dB
-18dB
-12dB
[4]
-6dB
0dB
<vol>
Example:
AT%NFV=4
OK
Volume of the speaker set to -6 dB
Returned result:
AT%NFV?
%NFV: 4
OK
AT Command Reference
Huawei GTM900 Wireless Module
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 configuration
parameters include:
AT%NFI=<path>,<gain>,<outbais>,<extra_gain>
AT%NFO=<path>,<gain>,<filter_switch>
AT%STN=<vol>
AT%VLB=<enable>
Table 6-44 AT%NFW action command syntax
Type
Possible
response(s)
Command
Set command
Description
OK
ERROR
If failed
AT%NFW=<mode>
Read command
AT%NFW?
OK
Test command
AT%NFW=?
%NFW: (list of
supported <mode>s)
OK
<mode>
Value
Description
AT Command Reference
Huawei GTM900 Wireless Module
Example:
AT%NFI=0,0,1
OK
AT%NFO=0,3,0
OK
AT%STN=-26
OK
AT%VLB=0
OK
Save the parameters as follows:
AT%NFW=1
OK
Command
Possible response(s)
Description
OK
ERROR
If failed
AT%NFS?
OK
AT%NFS=?
AT%NFS: (list of
supported <mode>s)
AT%NFS=<mode>
OK
AT Command Reference
Huawei GTM900 Wireless Module
<mode>
Value
Description
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%NFS=1
OK
After reading and configuring the audio mode parameters saved by the subscriber, 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
Command
AT%STN=<vol>
Possible response(s)
OK
Description
-
AT Command Reference
Huawei GTM900 Wireless Module
ERROR
%STN: <vol>
Read command
AT%STN?
Test command
AT%STN=?
OK
%STN: (list of supported
<vol>s)
If failed
-
OK
Value
Description
Unit: dB
[-26]
mute
<vol>
Example:
AT%STN=-26
OK
Volume of the sidetone set to mute
Returned result:
AT%STN?
%STN: -26
OK
AT Command Reference
Huawei GTM900 Wireless Module
Set command
Read command
Test command
Possible
response(s)
Command
Description
OK
ERROR
If failed
AT%VLB=<enable>
%VLB : <enable>
AT%VLB?
OK
%VLB: (list of
supported <enable>s)
AT%VLB=?
OK
Value
Description
[0]
AEC disabled
AEC enabled
<enable>
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 active call.
AT Command Reference
Huawei GTM900 Wireless Module
Command
Possible response(s)
Description
OK
ERROR
If failed
AT%SNFS=<path>
AT%SNFS=?
OK
<path>
Value
Description
[0]
Example:
AT%NFI?
%NFI: 0,0,1
OK
AT%NFO?
%NFO: 0,3,0
OK
AT%SNFS=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
OK
Test
command
Command
Possible response(s)
AT%DTMF=<isEnable
>,[,<dtmf>,<duration>]
OK
ERROR
%DTMF: (<isEnable > value
list), (<dtmf > value list),
(<duration > value list)
AT%DTMF=?
Descriptio
n
OK
Value
Description
[0]
Disable
Enable
[0]-9,A-D,*,#
[0]
1-50
Multiples of 55ms
Caution:
z
AT Command Reference
Huawei GTM900 Wireless Module
Command
Possible response(s)
Description
OK
Set
command
AT%CTONE=<type>
Test
command
AT%CTONE=?
ERROR
%CTONE:
(<type> value list)
OK
Value
Description
[0]
Disable
<type>
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.
Command
Possible response(s)
Description
OK
AT%RING=<mode>
ERROR
AT Command Reference
Huawei GTM900 Wireless Module
Enquiry
command
%RING: <mode>
AT%RING?
OK
%RING:
Test
command
AT%RING=?
OK
Value
Description
[0]
Disable
Enable
<mode >
Caution:
When the incoming call ringtone plays, do not execute AT%RING to configure.
Command
Set
comma
nd
AT%STKR=<cmd_type>,[<
status>],[<item_id>],[<input
_string>]
Inquiry
comma
nd
Possible response(s)
OK
%STKR:cmd_type
ERROR
Description
-
%STKR: cmd_type
OK
AT%STKR?
ERROR
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
cmd_type
Command type
status
Command status
item_id
Item identification
input_string
Characters
Input string
Note:
For details, see STK User Manual.
6.4.2 AT%STKD
Execute this command to display 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)
Remarks
AT%STKD=<cmd_type>
Value
Remarks
Integer
eight bits
of
Command type
Note:
For details, see STK User Manual.
AT Command Reference
Huawei GTM900 Wireless Module
AT Command Reference
Huawei GTM900 Wireless Module
Read
command
Command
Possible response(s)
Description
AT%ETCPIP=[<user_
name>],
OK
[<password>],[<cid>]
AT%ETCPIP?
%ETCPIP:
<state>[,[<local_ip>],[<gate
>],[<DNS1>],[<DNS2>]]
OK
Test
command
AT%ETCPIP=?
OK
Value
<user_name>
String of no
more than 31
characters
<password>
String of no
more than 31
characters
<cid>
Description
z
z
z
z
z
z
z
<local_ip>
Local IP address
<gate>
Gateway
<DNS1>
<DNS2>
TCPIP initialized
See 7.10 .
<state>
<error number>
AT Command Reference
Huawei GTM900 Wireless Module
Note:
z
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.
Command
Possible response(s)
Set
command
AT%IPOPEN=<typ
e>,<dest_ip>,<dest
_port>,[[<udp_dest
_send_port>
,
[local_port>]]
Read
command
AT%IPOPEN?
Test
command
AT%IPOPEN=?
Description
CONNECT
%IPOPEN:[<type>,<dest_ip
>,<dest_port>]
OK
%IPOPEN: (list of <type>)
OK
Value
Description
<dest_ip>
Character
string
IP address to be connected
<dest_port>
16-bit integer
type
<udp_dest_send_port>
16-bit integer
type
z
z
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
<local_port>
Value
Description
16-bit integer
type
TCP
UDP
See 7.10 .
<type>
<error number>
Set
command
Command
Possible response(s)
AT%IPOPENX=<
link_num>,<type>
,<dest_ip>,<dest
_port>,[[<udp_de
st_send_port>,[lo
cal_port>]]
Description
CONNECT
%IPOPENX:
<link_num1>,[<type>,<dest_i
p>,<dest_port>],
<cd><cr>
Read
command
<link_num2>,[<type>,<dest_i
p>,<dest_port>],
AT%IPOPENX?
<cd><cr>
<link_num3>,[<type>,<dest_i
p>,<dest_port>],
<cd><cr>
OK
Test
command
%IPOPENX:
(list
of
<link_num>), (list of <type>)
AT%IPOPENX=?
OK
Value
<link_numx>
1 to 3
<dest_ip>
Characte
r string
Description
The number of an opened link
z
z
IP address to be connected;
The parameter consisting of characters only must
be enclosed in quotation marks.
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
<dest_port>
16-bit
integer
type
<udp_dest_sen
d_port>
16-bit
integer
type
<local_port>
16-bit
integer
type
TCP
UDP
See 7.10 .
z
z
<type>
<error
number>
Command
Possible response(s)
Description
Set
command
AT%IOMODE=[<n
>],[<link_flag>],[<b
uffer_flag>]
OK
Read
command
AT%IOMODE?
%IOMODE:<n>,<link_flag>,
<buffer_flag>
Test
command
OK
AT%IOMODE=?
%IOMODE:(list of <n>),(list
of
<link_flag>),(list
of
<buffer_flag>)
OK
Value
0
Description
No input or output data is converted.
z
<n>
[1]
AT Command Reference
Huawei GTM900 Wireless Module
Parameter
Value
Description
[1]
[1]
See 7.10 .
<link_flag>
<buffer_flag>
<error_num>
When <n> 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 recommended value of <n> is 1. See TCPIP AT Command User Guide for related
API functions of coding and decoding.
When <n> is set to 1, the data requires conversion. To send 0x1A to the terminal
equipment at the peer end, the local terminal equipment must convert 0x1A to 0x31,
0x41, respectively corresponding to printable characters of "1" and "A". During
transmission, the character string takes the form of "1A", that is, AT%IPSEND=1A.
Upon receipt of this type of input data, the receiving terminal equipment converts the
data back to 0x1A.
When <n> is set to 1, the receiving terminal 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 <buffer_flag> is set to 0, the receiver buffer is by default used. The buffer
supports 30 packets 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:
z
The value of <link_flag>, 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 User Guide.
The data saved to the receive buffer is lost during system outage.
AT Command Reference
Huawei GTM900 Wireless Module
z
Single-link
Multi-link
Command
Possible response(s)
[%IPSEND: <tx_window>]
Set
command
AT%IPSEND=<dat
a>
OK
ERROR[: <error number>]
Read
command
[%IPSEND:<tx_window>]
AT%IPSEND?
OK
Description
-
Description
<data>
<tx_window>
<error number>
See 7.10 .
Note:
z
The maximum value of the <tx_window> 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 <tx_window> descends by 1 after each packet is sent out. The size of
the <tx_window> is restored only when the data is received by the peer end in TCP
connection.
When the value of <tx_window>is 0, ERROR 20 is returned. In this case, the data
must be stopped from transmitting.
AT Command Reference
Huawei GTM900 Wireless Module
Caution:
When transmitting data,
z
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 %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.
Set
command
Command
Possible response(s)
AT%IPSENDX=<link_n
um>,<data>
[%IPSENDX:
<link_num>,<tx_window>]
Description
-
OK
ERROR[: <error number>]
Value
Description
<link_numx>
1-3
<data>
<tx_window>
<error number>
See 7.10 .
AT Command Reference
Huawei GTM900 Wireless Module
Note:
z
The maximum value of the <tx_window> 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 <tx_window> descends by 1 after each packet is sent out. The size of
the <tx_window> is restored only when the data is received by the peer end in TCP
connection.
When the value of <tx_window>is 0, ERROR 20 is returned. In this case, the data
must be stopped from transmitting.
Caution:
When transmitting data,
z
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 %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.
AT Command Reference
Huawei GTM900 Wireless Module
Command
Possible response(s)
Description
%IPCLOSE:<link_num>
AT%IPCLO
SE =
OK
[<link_num>
]
Read
command
AT%IPCLO
SE?
<link1_state>,<link2_state>,<link
3_state>
OK
Test
command
%IPCLOSE:(list
<link1_state>),(list
<link2_state>),(list
<link3_state>)
AT%IPCLO
SE =?
of
of
of
OK
Value
[1]-3
Description
z
z
Link closed
Link opened
See 7.10 .
<linkx_state>
<error number>
Note:
z
If all parameters use default values, link 1 is 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.
AT Command Reference
Huawei GTM900 Wireless Module
Command
Possible response(s)
AT%TXSTATE=
OK
[<link_num>]
Description
-
% TXSTATE:
<link1>,<send_sum>,<ack_
sum>
Read
command
AT%TXSTATE?
<link2>,<send_sum>,<ack_
sum>
<link3>,<send_sum>,<ack_
sum>
OK
Test
command
AT%TXSTATE=?
%TXSTATE:(list
<link_num>)
of
-
OK
Value
0
<link_numx>
[1]-3
Description
z
z
z
<send_sum>
<ack_sum>
ERROR[: <error
number>]
See 7.10 .
AT Command Reference
Huawei GTM900 Wireless Module
Note:
z
To check that the TCP data packets are acknowledged by the peer end, compare
the original data with the queried data.
If AT%TXSTATE is set to 0, all statistic data over the three links is cleared.
Command
Possible response(s)
Description
%IPDQ:<unread_sum>,<packet_sum>
Execution
command
AT%IPDQ
OK
Description
<unread_sum >
<packet_sum>
See 7.10 .
AT Command Reference
Huawei GTM900 Wireless Module
Set
command
Command
Possible response(s)
AT%
IPDR=[<index
>]
Description
%IPDR:<link_num>,<data_index
>,<data_len>,<data>
-
OK
ERROR[: <error number>]
Value
Description
<index>
1-30
[1]-3
<data_index>
<data_len>
<data>
<error number>
See 7.10 .
z
z
Note:
z
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 executing AT%IPDR for as many times as necessary.
Command
Possible response(s)
Description
%IPDQ:
Set
command
AT%IPDD=[<index
>],[<type>]
<del_num>
OK
ERROR[: <error number>]
AT Command Reference
Huawei GTM900 Wireless Module
Value
<index>
Description
0-30
<error number>
See 7.10 .
<type>
Note:
If all parameters use default values, the first read data packet is deleted.
Caution:
z
<index> set to 0 indicates a special application. For example, when AT+IPDD is set
to 0 or 2, this indicates that all data packets will be deleted.
Command
AT%IPDDM
ODE
=<mode>
Possible response(s)
Description
%IPDDMODE:<mode>
OK
Read
command
AT%IPDDM
ODE?
%IPDDMODE:<mode>
Test
command
AT%IPDDM
ODE =?
%IPDDMODE:(list of <mode>)
OK
OK
AT Command Reference
Huawei GTM900 Wireless Module
Value
Description
[0]
See 7.10 .
<type>
ERROR[: <error number>]
7.8.1 %IPDATA
I. Failure in Opening Default Cache
z
Single-link mode
%IPDATA:<len>,<data>
Table 7-25lists the parameter description of this command.
Table 7-25 Parameter description
Parameter
Description
<len>
<data>
Multi-link Mode
%IPDATA:<link_num>,<len>,<data>
Table 7-26 lists the parameter description of the command.
Table 7-26 Parameter description
Parameter
Description
<link_num>
<len>
<data>
AT Command Reference
Huawei GTM900 Wireless Module
Caution:
z
If %IOMODE is set to 0, the user can receive the data through the serial port.
If %IOMODE is set to 1, the user must convert the data before using the data. For
example, if the data received at the serial port is 0x31,0x41,0x30,0x37, this
indicates that the original data from the network is 0x1A,0x07.
Value
Description
<link_num>
1-3
<len>
<data_index>
7.8.2 %IPCLOSE:<n>
The network notifies the user to close the TCP connection. The link number is "n".
Table 7-28 lists the parameter description of the command.
Table 7-28 Parameter description
Parameter
Value
Description
1-3
<n>
AT Command Reference
Huawei GTM900 Wireless Module
Command
Possible response(s)
%DNSR:<ip>
Set
command
Resolution
succeeds.
OK
AT%DNSR=
<host_name>
ERROR [: <error_number>]
2.
Description
Resolution
fails.
Parameter description
Parameter
Value
Description
<host_name>
String type
<ip>
--
Resolved IP address
<error number>
See 7.10 .
Note:
z
Activate the PDP context through AT%ETCPIP before executing this command.
Description
User name or password subscription rejected by the network
APN error
Owing-fee SIM card
GPRS services not supported by SIM card
AT Command Reference
Huawei GTM900 Wireless Module
Code
Description
11
12
13
14
15
16
17
18
Other errors
20
21
22
23
24
25