Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. For
any assistance, please contact our local office or company headquarters.
Huawei Technologies Co., Ltd.
Huawei Industrial Base, Bantian, Longgang, Shenzhen 518129, People‟s Republic of China
Tel: +86-755-28780808 Global Hotline: +86-755-28560808 Website: www.huawei.com
E-mail: mobile@huawei.com
Please refer color and shape to product. Huawei reserves the right to make changes or improvements to any
of the products without prior notice.
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent of Huawei Technologies Co., Ltd.
The product described in this manual may include copyrighted software of Huawei Technologies Co., Ltd and
possible licensors. Customers shall not in any manner reproduce, distribute, modify, decompile, disassemble,
decrypt, extract, reverse engineer, lease, assign, or sublicense the said software, unless such restrictions
are prohibited by applicable l900 or such actions are approved by respective copyright holders under
licenses.
Trademarks and Permissions
, , and
Other trademarks, product, service and company names mentioned are the property of their respective
owners.
are trademarks or registered trademarks of Huawei Technologies Co., Ltd.
Notice
Some features of the product and its accessories described herein rely on the software installed, capacities
and settings of local network, and may not be activated or may be limited by local network operators or
network service providers, thus the descriptions herein may not exactly match the product or its accessories
you purchase.
Huawei Technologies Co., Ltd reserves the right to change or modify any information or specifications
contained in this manual without prior notice or obligation.
NO WARRANTY
THE CONTENTS OF THIS MANUAL ARE PROVIDED “AS IS”. EXCEPT AS REQUIRED BY APPLICABLE
L900, NO WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE, ARE MADE IN RELATION TO THE ACCURACY, RELIABILITY OR CONTENTS OF THIS
MANUAL.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO CASE SHALL HUAWEI
TECHNOLOGIES CO., LTD BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR
CONSEQUENTIAL DAMAGES, OR LOST PROFITS, BUSINESS, REVENUE, DATA, GOODWILL OR
ANTICIPATED SAVINGS.
Import and Export Regulations
Customers shall comply with all applicable export or import l900 and regulations and will obtain all necessary
governmental permits and licenses in order to export, re-export or import the product mentioned in this
manual including the software and technical data therein.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This chapter briefly describes the contents and organization of this document and
focuses on the basic knowledge of AT command interfaces.
1.1 Content Description
This document describes the AT command interface specification that is supported by
Huawei terminal product MC509 module. This document describes certain AT
commands (implemented by terminal devices) of international standards such as
TIA/EIA/IS-707-A.3,GSM 07.07, GSM 07.05, and International Telecommunication
Union-Telecommunication Standardization Sector (ITU-T) V.250 [14] according to the
requirements of terminal devices. In addition, this document describes the proprietary
AT command interfaces that are implemented by terminal devices.
1 Overall Description
This document does not describe the interfaces that have been defined by standards
or implemented by the mobile terminal (MT) but are not required by the MC509. The
description of AT command interfaces covers only the data packets of interfaces and
the methods and processes for the terminal equipment (TE) and the MT to use
interfaces, excluding the contents that are not directly related to interfaces. In
addition, this document describes only the AT command interfaces falling within the
range of Rm interfaces between the TE and MT, excluding the AT command
interfaces falling within the range of Um interfaces between the MT and interworking
function (IWF).
1.2 Product Description
HUAWEI MC509 (the MC509) is a CDMA LGA module product, supporting two
CDMA frequency bands, that is, CDMA800 and CDMA1900.
The MC509 provides one external UART interface and supports functions such as
short message service (SMS), phone book, data service, and embedded TCP/UDP.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
You are not advised to use various parameter values that are not described in this
document or not supported currently as described in this document.
The AT command parameters described in the following chapters are in two formats:
<> and [], which are described as follows:
<...> The parameter inside these angle brackets is mandatory. The <> does not
exist in a command.
[...] The parameter inside these square brackets is optional. The [] does not exist
in a command or a response.
<CR> Carriage return character. For details, see the description in S3.
<LF> Line feed character. For details, see the description in S4.
When an AT command is sent, the characters contained in the name and parameters
(excluding SMSs, phone book, and operator name) of the AT command are case
insensitive. All the characters contained in the result returned by the AT command
must be in upper case (excluding SMSs, phone book, operator name and error
messages).
When an AT command is sent, string parameters can be placed inside quotation
marks or not.
1.4 Overview of AT Command Interfaces
1.4.1 Description of AT Commands
An AT command controls the rules for interaction between the TE such as PC and
MT such as MS. Figure 1-1 shows the interaction between the TE and MT.
Figure 1-1 Interaction between the TE and MT
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Figure 1-2 Basic organization format the AT command line
The returned value of the AT command consists of two parts: response message and
result codes. Figure 1-3 shows an example of returned value of the AT command.
Figure 1-3 An example of returned value of the AT command
1.4.2 Types of AT Commands
AT commands are categorized into three types: basic commands, S register
commands, and extended and vendor-defined commands.
A basic command starts with a single letter or with the & symbol plus a single letter.
Table 1-1 describes the format of a basic command.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
In the command format, <command> indicates a single
letter (A–Z) or the & symbol plus a single letter.
In the command format, <number> indicates a decimal
number with one digit or multiple digits. The digit 0 at
the start of <number> can be ignored.
Note:
If a basic command that is allowed to contain <number> does not contain <number>, the
default value of <number> is used in the command.
If a basic command that is not allowed to contain <number> contains <number>, "ERROR"
or “+CME ERROR : operation not allowed” is returned.
Command Format
Description
Read
command
S<parameter
number>?
Returns the ASCII code of characters currently
saved in the S register. The ASCII code is
expressed by a 3-digit decimal number. The digit
0 is added in the front of the number in case of
insufficient digits.
Set
command
S<parameter
number>=<value>
Replaces the characters saved in the S register
with the characters related to the value of
<value>.
Note:
If the parameter number of the register is not identified, this indicates that the command does
not exist. In this case, ERROR is returned.
An S register command consists of the letter S and a decimal number, which is called
the parameter number of the register. An S register command can be in the format of
read command and set command. Table 1-2 describes the format of an S register
command.
Table 1-2 Format of an S register command
All extended commands start with the + symbol. Vendor-defined commands start with
a special symbol such as ^ and %. In this document, all vendor-defined commands
start with the ^ symbol. Extended and vendor-defined commands are further
categorized into action commands and parameter commands. Table 1-3 describes
the types and formats of extended and vendor-defined commands.
An action command refers to a command that performs a specific action in addition
to interacting with the local parameters of the MS, including AT+CPBR and AT^HCMGS. An action command may or may not contain parameters. Action
commands are categorized into execution (write) command and test command. A
parameter command refers to a command that interacts with the local parameters of
the MT only, certain of which may affect the execution of action commands.
Parameter commands are categorized into set command, read command, and test
command.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
In the command format,
<compound_value>
indicates multiple
parameters that are
separated by a comma.
A parameter having a
default value can be
omitted from the
command. In this case,
the default value is used
instead.
Note:
If all parameters are omitted, the = symbol following <name>
should be omitted. If <name> is not identified, this command
does not exist. In this case, the ERROR is returned. When
<name> is identified, if a command that is not allowed to contain
parameters contains parameters or a command that is allowed to
contain parameters contains more parameters than the defined
ones, "ERROR" or “+CME ERROR: operation not allowed” is
returned.
test
command
<name>=?
A test command is
executed to query the
parameter range.
Note:
If the MS fails to identify <name>, the MT returns ERROR. If the
MT can identify <name> and the contents returned by the
command do not contain parameters, the MS returns OK. If the
contents returned by the command contain parameters, the MS
returns the available value range of each parameter, and then
returns OK.
In the command format,
<compound_value>
indicates multiple
parameters that are
separated by a comma.
A parameter with a
default value can be
omitted from the
command. In this case,
the default value is used
instead.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
If all parameters are omitted, the = symbol following <name>
should be omitted. If <name> is not identified, this command
does not exist. In this case, ERROR is returned. When <name>
is identified, if a command that is not allowed to contain
parameters contains parameters or a command that is allowed to
contain parameters contains more parameters than the defined
ones, "ERROR" or “+CME ERROR : operation not allowed” is
returned.
Read
command
<name>?
A read command is
executed to read the
current value of a
parameter.
test
command
<name>=?
A test command is
executed to check the
parameter range.
Note:
If the MS fails to identify <name>, the MT returns ERROR. If the
MT can identify <name> and the contents returned by the
command do not contain parameters, the MS returns OK. If the
contents returned by the command contain parameters, the MS
returns the value range of each parameter, and then returns OK.
1.4.3 Abort Attributes of AT Commands
Abort means that the TE sends an instruction to abort a command when the
command is being executed. An abort instruction must be sent before a command is
completely executed. Therefore, the abort instruction is valid for a command whose
execution consumes certain time; however, not all commands of this kind can be
aborted. Whether a command can be aborted depends on the abort attribute of the
command. Each AT command has its abort attribute, which is alternative. That is, the
command is either abortive or not abortive. Abortive commands include certain basic
commands and execution commands of action commands. Within 125 ms after the
abortive commands are sent, no abort request is accepted. After 125 ms and before
the commands are completely executed, if the module receives any character sent
by the TE, the commands are aborted immediately.
1.4.4 Rules for Running AT Commands
1. Each command line contains only one AT command and ends with a carriage
return character, in addition to the basic standard commands such as 1, V, S3
etc. In principle, users are not allowed to run S3/S4 format modification
commands. This rule is applicable to the communication between the MT and
TE programs.
2. To increase the readability and regularity of command and response formats, in
addition to the original interfaces specified in standards and protocols, all new
interfaces must observe the following rule: No space is added to the end of
commands such as the AT^XXX=<arg0>,<arg1> commands, or added to the
end of the ^ symbol, colon, and comma. No redundant space is added ahead of
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
or to the end of a command. This rule is applicable to the communication
Chapter
Description
Chapter 1 Overall Description
The contents and organization of this
document and the basic knowledge of
AT command interfaces.
Chapter 2 Basic Configuration
Commands
The AT commands used to configure
the basic data of the module.
Chapter 3 Identity Information Query
Commands
The AT commands used to query the
identity information.
Chapter 4 Security Control Commands
The AT commands used to control the
security of the module.
Chapter 5 Serial Port Control Commands
The AT commands used to control the
serial ports of the module.
Chapter 6 Network Service Interface
Commands
The AT commands related to the
network services of the module.
Chapter 7 Call Control Commands
The AT commands used to control the
calls on the module.
Chapter 8 SMS Interface Commands
The AT commands related to the short
messages of the module.
Chapter 9 Phonebook Interface
Commands
The AT commands related to the
phonebook interface of the module.
Chapter 10 Internet Service Interface
Commands
The AT commands related to the
internet services of the module.
between the MT and TE programs.
3. For an uninterruptible AT command, after sending the AT command, the TE
must wait until the MT responds to the AT command before sending the second
AT command.
4. A string used by the TE to send a command cannot contain the combination of
quotation marks and commas (confusing a parameter with a string). The current
version does not support escape character. The code value of a data format in
the UCS2 encoding is reported as characters. For example, if the UCS2 code of
a Chinese character is 0x553a, the 553a is reported.
A possible response sent by the MT to the TE consists of Information text and
Result code, in which Information text is optional and Result code is mandatory.
The format of a possible response is controlled by the ATV command. For details,
see the description of the ATV Command. In this document, all possible responses
listed in tables follow the ATV1 format.
1.5 Organization of This Document
This document consists of 15 chapters, covering the following contents:
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command sets whether the MT echoes the characters received from the TE.
The dial-up network, especially the automatic processing software automatically sends the
ATE0 command to disable the echo mode, thus shortening the time for the client to parse the
AT command.
2.1.3 Parameter Description
<value>:
0: The MT does not echo the characters received from the TE.
1: The MT echoes the characters received from the TE (default value after startup).
In case of using the command without <value>, <value> is set to 1.
After restart, <value> is set to 1.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command sets the command line termination character S3. S3 saves the
command line termination character in the ASCII code format. The character is sent
by the TE to indicate the termination of a command line, which is identified and
confirmed by the MT. The character is also sent by the MT to compose the headers,
tails, and end flags of the result code and response information.
When running S3=<value> to set S3, use the current S3 as the termination character.
The new S3 will be immediately returned with the result code.
2.2.3 Parameter Description
<value>: A decimal number ranges from 000 to 127, indicating the ASCII code of the
character. The default value is 013.
ATS3=1 is equivalent to ATS3=001.
2.3 S4–Response Format Character
2.3.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command sets the response format character S4. S4 saves the response format
character in the ASCII code format. The character is sent by the MT to compose the
headers, tails, and end flags of the result code and response information.
If the S4 character is changed by the command, the new S4 will be immediately
returned with the result code of the command.
2.3.3 Parameter Description
<value>: A decimal number ranges from 000 to 127, indicating the ASCII code of the
character. The default value is 010.
ATS4=1 is equivalent to ATS4=001.
2.4 S5–Backspace Character
2.4.1 Syntax
2.4.2 Interface Description
This command sets the backspace character S5. S5 saves the backspace character
in the ASCII code format. The character is sent by the TE as a request to delete the
previous character and is identified and confirmed by the MT.
2.4.3 Parameter Description
<value>: A decimal number ranges from 000 to 127, indicating the ASCII code of the
character. The default value is 008.
ATS5=1 is equivalent to ATS5=001.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
The connection fails to be established or
the MT hangs up.
ERROR
4
The command is unavailable or the line
of commands is too long; therefore, an
error is returned.
NO DIALTONE
6
There is no dialing tone.
BUSY
7
The called subscriber is busy.
NO ANSWER
8
There is no answer.
2.5.1 Syntax
2.5.2 Interface Description
This command sets the format of the result code and information field in response to
an AT command, including the composition of the header and the tail and the form of
the returned result code content. The retuned result code content has two formats,
namely, digit, and detailed string.
The following table describes the impact of the format setting on the format of the
result code and the response information field. <CR> indicates the S3 character and
<LF> indicates the S4 character.
The following table describes the format comparison of the returned result code
content.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF>
<value>:
0: The MT sends an abbreviated header and tail and adopts the result code in the
digit format.
1: The MT sends a complete header and tail and adopts the result code in the
detailed string format (default value after startup).
In case of using the command without <value>, <value> is set to 0.
2.6 Q–Command for Controlling Return of the Execution
Result
2.6.1 Syntax
2.6.2 Interface Description
This command sets whether the MT returns the execution result to the TE.
2.6.3 Parameter Description
<value>:
0: The MT returns the execution result (default value after startup).
1: The MT does not return the execution result.
In case of using the command without <value>, <value> is set to 0.
2.7 &F–Command for Restoring Factory Settings
2.7.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
2.10 +CMEE–Command for Setting the Error Report
Format
2.10.1 Syntax
2.10.2 Interface Description
This command sets whether the returned value uses "+CME ERROR:<err>" to
indicate an error related to the MT. If the returned value uses "+CME ERROR:<err>"
to indicate an error related to the MT, the error related to the MT generates "+CME
ERROR:<err>" to replace "ERROR". When the error cause is unrelated to the MT,
"ERROR" is returned.
2.10.3 Parameter Description
<n>:
0: The returned value of "+CME ERROR:<err>" is not used, and only "ERROR" is
returned in the case of an error.
1: The returned value of "+CME ERROR:<err>" is used, and <err> uses the number
value of the error.
2: The returned value of "+CME ERROR:<err>" is used, and <err> uses the detailed
string value of the error (default value after startup).
After restart, the value of <n> is 2.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
2.11 +CFUN–Command for Setting the Operating Mode
2.11.1 Syntax
2.11.2 Interface Description
The execution command sets the operating mode of the MT.
The current operating mode is returned when the read command is executed.
The supported parameter value is returned when the test command is executed.
2.11.3 Parameter Description
<fun>:
0: The operating mode is set to the low power consumption (LPM) mode (the
previous operating mode of the MT must be the non-offline mode).
1: The operating mode is set to the online mode (the previous operating mode of the
MT must be the non-offline mode) (default value after startup).
4: The operating mode is set to the offline mode (the previous operating mode of the
MT must be the non-FTM mode)
5: The operating mode is set to the FTM mode (the previous operating mode of the
MT must be the online mode)
6: reset the MT (the previous operating mode of the MT must be the offline mode)
<rst>: Specifies whether the MT is restarted before the mode is set (reserved and not
supported at present).
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<delay_time>: Delay time.
0 Disable the function of this command.
1~65535 Delay time, indicates in second.
AT^RESET without a parameter is equivalent to AT^RESET=0.
2.14 ^MSO–Shutdown Command
2.14.1 Syntax
2.14.2 Interface Description
This command powers off the MT. When the command is executed, the MT logs out
of the network, saves subscriber data, and then shut down.
2.15 ^HS–Command for Shaking Hands with the TE
2.15.1 Syntax
2.15.2 Interface Description
This command initiates a handshake between the TE and the MT.
2.15.3 Parameter Description
<id>: Consists of eight hex digits. It indicates the ID reported by the MT for identifying
the MT. When the TE sends this command for the first time, id is set to 0, and then id
is set to the value reported by the MT.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<action>: Specifies the action type of the TE.
0: The TE is active. (If the TE sends this command for the first time, it indicates
startup.)
1: The TE is stopped.
<protocol>: Specifies the current communication protocol status of the MT.
0: The MT runs in the APP state.
<is_offline>:
0: online state
1: offline state (reserved and not supported at present)
2: LPM
<product_class>: Specifies the product type
2: Code division multiple access (CDMA) 1X + EVDO
<product_id>: Specifies the product ID
3: MC509
<software_id>: Reserved and not supported at present.
2.15.4 Example
AT^HS=0,0
^HS:494BBC7E,0,0,2,3
OK
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
3.1 I–Command for Querying Product Identity
Information
3.1.1 Syntax
3.1.2 Interface Description
This command queries identity information related to the MT, including manufacturer
information (+GMI), product model (+GMM), software version (+GMR), and electronic
serial number (ESN)/international mobile equipment identity (IMEI) (+GSN).
3.1.3 Parameter Description
<value>:
0: The preceding identity information is queried.
In case of using the command without <value>, <value> is set to 0.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command queries product name information. The product name information can
be presented in one or more lines of text, depending on the manufacturer. It is used
to identifying the equipment model and may include the product name and any
information provided by the manufacturer. The number of returned characters
(including the termination character '\0') cannot exceed 2048.
3.3.3 Parameter Description
<production_name>: A string without double quotation marks, indicating the product
name.
3.3.4 Example
AT+CGMM
MC509
OK
3.4 +CGMR/+GMR–Command for Querying the
Software Version
3.4.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command queries the software version of the MT.
3.4.3 Parameter Description
<softversion>: Indicates the software version. It is a string without double quotation
marks, consisting of 31 characters at most.
3.4.4 Example
AT+CGMR
11.105.01.00.000
OK
3.5 +GSN–Command for Querying the ESN
3.5.1 Syntax
3.5.2 Interface Description
This command queries the ESN of the MT.
If the removable user identify module (R-UIM) card is inserted, and the personal identification
number (PIN) of the R-UIM card is successfully unlocked, the ESN of the R-UIM card is
returned.
3.5.3 Parameter Description
<ESN>: Indicates the ESN. It is a string without double quotation marks, consisting of
eight hex digits.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
If the removable user identify module (R-UIM) card is inserted, and the personal identification
number (PIN) of the R-UIM card is successfully unlocked, the ESN of the R-UIM card is
returned.
3.6.3 Parameter Description
<ESN>: Indicates the ESN. It is a string without double quotation marks, consisting of
eight hex digits.
3.6.4 Example
AT+CGSN
80469bb7
OK
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
+CPIN?
<CR><LF>+CPIN:<code><CR><LF>
<CR><LF>OK<CR><LF>
+CPIN=?
<CR><LF>OK<CR><LF>
1: locking
2: status query
<status>:
0: deactivated
1: activated
<passwd>: A string with double quotation marks. It should be the same as the
password set by running the +CPWD command. This item is mandatory when mode
is set to 0 or 1. The parameter value must be a string consisting of digits 0–9.
Otherwise, "ERROR" is returned.
<class>: Reserved and not supported at present
4.2 +CPIN–PIN Management Command
4.2.1 Syntax
4.2.2 Interface Description
The execution command verifies and unlocks the PIN and PIN2 codes.
If PIN or PIN2 is requested, run +CPIN=<pin> for verification.
If PUK or PUK2 is requested, run +CPIN=<pin>,<newpin> for unlocking. The first
parameter is R-UIM PUK or R-UIM PUK2. The second parameter is the new PIN or
PIN2 code.
If the PIN is not requested and the execution command is run, the error information
+CME ERROR is returned.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
[,<puk2_times>,<pin2_times>]<CR><LF>
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
^CPIN=?
<CR><LF>OK<CR><LF>
If an emergency call is being originated, the emergency call may be disconnected when the
PIN or PUK code is verified.
Operation on PIN2 and PUK2 is not supported at present.
The read command queries whether the password is requested.
4.2.3 Parameter Description
<pin>, <newpin>: Strings with double quotation marks. The string consists of digits 0–
9 only. Otherwise, "ERROR" is returned.
<code>: string (without quotation marks)
READY: The MT does not have a password entry request.
R-UIM PIN: UICC/R-UIM PIN password request
R-UIM PUK: UICC/R-UIM PUK password request, and used to unlock the locked PIN
code
R-UIM PIN2: PIN2 password request (not supported at present)
R-UIM PUK2: PUK2 password request, and used to unlock the locked PIN2 code
(not supported at present)
4.3 ^CPIN–PIN Extension Management Command
4.3.1 Syntax
4.3.2 Interface Description
The execution command verifies and unlocks the PIN and PIN2 codes.
If PIN or PIN2 is requested, run ^CPIN=<pin> for verification.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
If PUK or PUK2 is requested, run ^CPIN=<pin>,<newpin> for unlocking. The first
parameter is R-UIM PUK or R-UIM PUK2. The second parameter is the new PIN or
PIN2 code.
If the PIN is not requested and the execution command is run, the error information
+CME ERROR is returned.
If an emergency call is being originated, the emergency call may be disconnected when the
PIN or PUK code is verified.
Operation on PIN2 and PUK2 is not supported at present.
The read command queries whether the password is requested. The remaining number of
password entry attempts is provided.
4.3.3 Parameter Description
<pin>, <newpin>: strings with double quotation marks. The characters in the string
contain only 0–9. Otherwise, "ERROR" is returned.
<code>: string (without quotation marks)
READY: The MT does not have a password entry request.
R-UIM PIN: UICC/R-UIM PIN password request
R-UIM PUK: UICC/R-UIM PUK password request, and used to unlock the locked PIN
code
R-UIM PIN2: PIN2 password request (not supported at present)
R-UIM PUK2: PUK2 password request, and used to unlock the locked PIN2 code
(not supported at present)
<times>: Specifies the remaining number of entry attempts. For the PIN and PIN2
codes, the maximum number of entry attempts is 3. For the PUK and PUK codes, the
maximum number of entry attempts is 10.
If the password is requested, the <times> field specifies the remaining number of entry
attempts. If the password is not requested, this field is null.
The PIN2 and PUK2 codes are not supported at present. Therefore, the remaining number
of entry attempts for them is not displayed.
<puk_times>: Specifies the remaining number of PUK entry attempts, and the
maximum number of entry attempts is 10.
<pin_times>: Specifies the remaining number of PIN entry attempts, and the
maximum number of entry attempts is 3.
<puk2_times>: Specifies the remaining number of PUK2 entry attempts, and the
maximum number of entry attempts is 10 (not supported at present).
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<pin2_times>: Specifies the remaining number of PIN2 entry attempts, and the
Command
Possible Response(s)
+CPWD=<fac>,<oldpwd>,
<newpwd>
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
+CPWD=?
<CR><LF>+CPWD:supported (<fac>,<pwdlength>)
list <CR><LF>
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
maximum number of entry attempts is 3 (not supported at present).
4.4 +CPWD–Command for Changing the Password
4.4.1 Syntax
4.4.2 Interface Description
The execution command changes the PIN and PIN2 codes of the equipment.
The test command queries the supported equipment and the maximum length of the
equipment password.
The password can be changed only when the PIN is enabled (that is, 1 is returned when the
+CLCK command is executed for query).
4.4.3 Parameter Description
<fac>: A string with double quotation marks. <fac> specifies the equipment (only the
R-UIM card is supported, with the value of SC) operated by this command.
"SC": Specifies the PIN code of the R-UIM card.
"P2" : Specifies the PIN2 code of the R-UIM card (reserved and not supported at
present).
<oldpwd>,<newpwd>: A string with double quotation marks, specifying the old
password and new password. The maximum length is specified by <pwdlength>.
The string consists of digits 0–9 only. Otherwise, "ERROR" is returned.
<pwdlength>: Specifies the maximum length of the password of the equipment lock.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF>
Command
Possible Response(s)
&S[<value>]
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF>
Response to the DTR Signals
5.2.1 Syntax
5.2.2 Interface Description
This command sets the MT action when data terminal ready (DTR) signals change
from ON to OFF.
5.2.3 Parameter Description
<value>:
0: The MT ignores the DTR status.
1: When DTR signals changes from ON to OFF, the MT switches to the command
mode and maintains the current conversation (reserved and not supported at
present).
2: When DTR signals changes from ON to OFF, the MT switches to the command
mode and interrupts the current data conversation (CSD, packet-switched (PS) data
service); when DTR=OFF, automatic answer is disabled (default value after startup).
In case of using the command without <value>, <value> is set to 0.
5.3 &S–Command for Setting the Changing Mode of
DSR Signals
5.3.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command sets the changing mode of DSR signals.
5.3.3 Parameter Description
<value>:
0: DSR signals are always ON (default value after startup).
1: DSR signals are ON after the connection is established (reserved and not
supported at present).
In case of using the command without <value>, <value> is set to 0.
5.4 +ICF–Command for Setting the Character Frame
Format
5.4.1 Syntax
5.4.2 Interface Description
This command sets the start and end (asynchronous) frame format of the current
physical serial port on the MT. This format is used when the MT receives the
command, information, and result code from the TE.
At present, only "AT+ICF=3,3" is supported.
5.4.3 Parameter Description
<format>:
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<parity>:
0: odd parity (reserved and not supported at present)
1: even parity (reserved and not supported at present)
2: MARK (reserved and not supported at present)
3: SPACE (default value after startup)
AT+ICF is equivalent to AT+IFC=3,3.
When the check bit of the physical serial port on the TE is set to None or Space, the TE
can properly communicate with the MT.
5.5 +IPR–Command for Setting the Fixed Baud Rate
5.5.1 Syntax
5.5.2 Interface Description
This command sets the baud rate of the current physical serial port on the MT. The
default value upon startup is 115200.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Automatic detection of the baud rate is not supported at present. Therefore, the first
returned parameter list is blank when the test command is executed. For example:
+IPR:(),(300,600,1200,2400,4800,9600,19200,38400,57600,115200,230400)
If the physical serial port baud rate is higher than the radio bearer rate, data may be lost
when being transmitted.
After the baud rate is changed, wait for a period of time (for example, 100 ms) before
continuing the communication.
5.5.3 Parameter Description
<rate>: Specifies the baud rate. It is a decimal integer. The values are as follows:
300,600,1200,2400,4800,9600,19200,38400,57600,115200,230400
AT+IPR without a parameter is equivalent to AT+IPR=115200.
5.6 +IFC–Command for Setting Flow Control
5.6.1 Syntax
5.6.2 Interface Description
This command sets and queries bidirectional flow control.
5.6.3 Parameter Description
<DCE_by_DTE>:
0: none (default value after startup)
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
1: software flow control (XON/XOFF) (not supported at present)
2: Request to send (RTS) signal
3: XON/XOFF, and the XON/XOFF is sent to the remote TS to supplement local flow
control (not supported at present)
<DTE_by_DCE>:
0: none (default value after startup)
1: XON/XOFF (not supported at present)
2: Clear to send (CTS) signal
AT+IFC is equivalent to AT+IFC=0,0.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command queries the current system information, such as the system service
state, domain, whether to roam, system mode, and state of the R-UIM card.
6.2.3 Parameter Description
<srv_status>: Indicates the system service state. The values are as follows:
0: no service
1: restricted service (not supported by this product)
2: valid service
3: restricted regional service (not supported by this product)
4: power-saving and deep sleep state
<srv_domain>: Indicates the service domain of the system. The values are as follows:
0: no service domain
1: only CS service
2: only PS service
3: PS+CS service
4: CS and PS are not registered, searching
255: This fixed value is always returned because the product does not support this
parameter.
<roam_status>: Indicates the roaming state. The values are as follows:
0: non-roaming state
1: roaming state
<sys_mode>: Indicates the system mode. The values are as follows:
0: no service
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
4:HDR mode
6:GPS mode
8:CDMA/HDR HYBRID
<sim_state>: Indicates the state of the R-UIM card. The values are as follows:
0: The state of the R-UIM card is invalid or the PIN code is locked.
1: The state of the R-UIM card is valid.
240: ROMSIM version
255: The R-UIM card does not exist.
<lock_state>: Not supported at present.
<sys_submode>:
0:NOSRV
10:REV0
11:REVA
13:1XRTT
6.3 ^DSDORMANT–Instructions into the dormant
6.3.1 Syntax
6.3.2 Interface Description
Data service connection, in the time data is not up or down no data transmission
initiated by the network to the dormant.
6.3.3 Parameter Description
<dormant_state>: dormant state
0:not dormant state
1: dormant state
2-255: Reservations
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>^ PREFMODE: (range of supported <
pref_mode >s)<CR><LF>OK<CR><LF>
Change
6.4.1 Syntax
6.4.2 Interface Description
When the system mode changes, the MT automatically reports the change to the TE.
6.4.3 Parameter Description
<sys_mode>: Indicates the system mode. The values are as follows:
0: no service
2: CDMA mode
4:HDR mode
6:GPS mode
8:CDMA/HDR HYBRID
<sys_submode>: Indicates the system sub-mode. This parameter is not used in the
product.
6.5 ^PREFMODE–Command for setting the network
mode
6.5.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command switches the RF and save the corresponding value, the query
features include pin LGA interface PIN45 status query, LGA interface PIN45 pin
determines the state of the state of the hardware switch. Background according to
the return value of the order to determine the background screen when in operation,
whether to pop-up message.
^ RFSWITCH feature is equivalent to + CFUN function (the two values 0 and 1),
based on the values save the corresponding value.
AT^RFSWITCH=0 equivalent to AT+CFUN=0
AT^RFSWITCH=1 equivalent to AT+CFUN=1
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<SW state>:
state of RF software switch, the value for the two values 0,1,
0: The state of RF software switch is set to Off.
1: The state of RF software switch is set to on.
<HW state>:
state of RF hardware switch, the value for the two values 0,1,
0: The state of RF hardware switch is set to Off.
1: The state of RF hardware switch is set to on.
6.6.4 Example
Query the current state of RF switch: (return information for the current state of the
hardware switch is open, the software switch is off)
AT command issued
AT^RFSWITCH ?
Feedback results:
^ RFSWITCH: 0,1
OK
6.7 +CSQ–Command for Querying the RSSI
6.7.1 Syntax
6.7.2 Interface Description
The execution command queries the current receive signal strength indicator (RSSI)
and bit error rate (BER) values.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
The test command queries the current RSSI and BER values.
Command
Possible Response(s)
<CR><LF>^RSSILVL:<rssi><CR><LF>
6.7.3 Parameter Description
<rssi>: Indicates the received signal strength. The values are as follows:
0: The strength is equal to or less than –113 dBm.
1: The strength is equal to –111 dBm.
2...30: The strength is between –109 and –53 dBm.
31: The strength is equal to or greater than –51 dBm.
99: The strength is unknown or cannot be measured.
<ber>: A percentage value. BER query is not supported at present. "99" is returned
when the execution command and the test command are executed.
6.8 ^RSSILVL–Command for Reporting the RSSI
6.8.1 Syntax
6.8.2 Interface Description
When the RSSI change exceeds a threshold, the MT automatically reports the RSSI
to the TE.
6.8.3 Parameter Description
<rssi>: Indicates the received signal strength. The values are as follows:
0: no signal
20: one bar
40: two bars
60: three bars
80: four bars
99: five bars
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
When the HDR RSSI change exceeds a threshold, the MT automatically reports the
RSSI to the TE.
6.9.3 Parameter Description
<rssi>: Indicates the received signal strength. The values are as follows:
0: no signal
20: one bar
40: two bars
60: three bars
80: four bars
99: five bars
6.10 ^RSSIREP–Command for Setting the Reporting of
the RSSI
6.10.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command sets whether the signal strength is automatically reported.
6.10.3 Parameter Description
<value>:
0: The signal strength is not reported.
1: The signal strength is reported (default value after startup).
6.11 ^CRSSI–Command for Reporting the RSSI
6.11.1 Syntax
6.11.2 Interface Description
The execution command queries the current receive signal strength indicator (RSSI).
When the RSSI change exceeds a threshold, the MT automatically reports the RSSI
to the TE.
6.11.3 Parameter Description
<rssi>: Indicates the received signal strength. The values are as follows:
0: The strength is equal to or less than –113 dBm.
1: The strength is equal to –111 dBm.
2...30: The strength is between –109 and –53 dBm.
31: The strength is equal to or greater than –51 dBm.
99: The strength is unknown or cannot be measured.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF>
6.12.1 Syntax
6.12.2 Interface Description
The execution command queries the current receive signal strength indicator (RSSI).
When the HDR RSSI change exceeds a threshold, the MT automatically reports the
HDR RSSI to the TE.
6.12.3 Parameter Description
<hdrrssi>: Indicates the received signal strength. The values are as follows:
0: The strength is equal to or less than –113 dBm.
1: The strength is equal to –111 dBm.
2...30: The strength is between –109 and –53 dBm.
31: The strength is equal to or greater than –51 dBm.
99: The strength is unknown or cannot be measured.
6.13 ^TIME–Command for Querying the System Time on
the Network Side
6.13.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
^COTKSLACT?
<CR><LF>OK<CR><LF>
^COTKSLACT=?
<CR><LF>OK<CR><LF>
This command reads the current system time from the network. If the system time
cannot be obtained, "ERROR" is returned.
6.13.3 Parameter Description
<yyyy>: year
<mm>: month
<dd>: day
<hh>: hour
<mm>: minute
<ss>: second
6.13.4 Example
AT^TIME
^TIME: 2010/07/24 17:35:04
OK
6.14 ^COTKSLACT–Command for Defining a Subscriber
6.14.1 Syntax
6.14.2 Interface Description
The set command sets the MDN and MIN in the subscription information about a
subscriber.
6.14.3 Parameter Description
<MDN>: A string with double quotation marks, consisting of 10 digits (0–9).
<MIN>: A string with double quotation marks, consisting of 10 digits (0–9).
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command queries whether the over-the-air (OTA) interface is activated. The
initial value of <value> is 0. If the MT is activated through the OTA interface, the
value is 1.
6.15.3 Parameter Description
<value>: Specifies the OTA status.
0: not activated
1: activated
6.16 ^OTACMSG–Command for Indicating the OTA
Update Status
6.16.1 Syntax
6.16.2 Interface Description
This command reports the OTA update status.
6.16.3 Parameter Description
<status>: Indicates the OTA update status.
0: initialized
1: Over-the-air service provisioning (OTASP) programming started
2: Service Programming Lock unlocked
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
<CR><LF>NO CARRIER<CR><LF>
<CR><LF>CONNECT <text><CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF>
<CR><LF>+CME ERROR:<err><CR><LF>
7.1 D–Command for Originating a Data Service Call
7.1.1 Syntax
7.1.2 Interface Description
This command originates a data service call.
In this product, this command supports only data service dial-up.
7.1.3 Parameter Description
<dial_string>: Specifies the called number, consisting of ASCII characters. Allowed
characters include only 0–9, *, and #.
7.1.4 Example
ATD#777
CONNECT
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF>
Command
Possible Response(s)
+CDV<dial_string>
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
7.2.1 Syntax
7.2.2 Interface Description
This command disconnects the data service connection with a remote subscriber. To
use this command on the current port, you must enter +++ to change the current port
from the data mode to the command mode.
If this command cannot be used, you can interrupt a data connection by changing DTR signals
from the ON state to the OFF state. For details, see the &D command.
7.2.3 Parameter Description
<value>: An integer. The connection is disconnected and "OK" is returned only when
the value is 0. (The connection cannot be disconnected when the value is not 0, and
the response result is "ERROR".) ATH is equivalent to ATH0.
7.3 +CDV–Command for Originating a Voice Call
7.3.1 Syntax
7.3.2 Interface Description
This command is used by the TE to originate a voice call to the network through the
MT.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
Command
Possible Response(s)
A
<CR><LF>OK<CR><LF>
<dial_string>: Specifies the called number, consisting of ASCII characters. Allowed
characters include only 0–9, *, #, and +. The + symbol can only be placed at the
beginning of a number. The maximum length of a number cannot exceed 65.
7.3.4 Example
AT+CDV13372311111
OK
^ORIG:0,0
7.4 +CHV–Command for Disconnecting a Voice Call
7.4.1 Syntax
7.4.2 Interface Description
This command disconnects a voice call.
7.4.3 Parameter Description
<value>: An integer. The connection is interrupted and "OK" is returned only when
the value is 0. (The connection cannot be interrupted when the value is not 0, and the
response result is "ERROR".) If there is no voice connection, "OK" is returned.
In case of using the command without <value>, <value> is set to 0.
7.5 A–Command for Answering a Call A
7.5.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF>
S0?
<CR><LF><value><CR><LF>
<CR><LF>OK<CR><LF>
When a call is originated to the MT, the TE uses this command to notify the MT to
answer the call. If there is an incoming call from the third party at this time, this
command can also be used to answer the incoming call. If there is no incoming call,
"NO CARRIER" is returned.
7.6 RING–Command for Indicating a Call
7.6.1 Syntax
7.6.2 Interface Description
When a call is originated to the MT, the MT periodically (T is about 5s) reports the
indication to the TE.
7.7 S0–Command for Setting Automatic Answer
7.7.1 Syntax
7.7.2 Interface Description
This command sets the automatic answer function. After the automatic answer
function is enabled, the MT starts automatic answer when there is a new incoming
call.
7.7.3 Parameter Description
<value>:
0: Automatic answer is disabled (default value after startup).
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
1–255: Automatic answer is enabled. An incoming call will be answered after the
Command
Possible Response(s)
<CR><LF>^ORIG:<call_x>,<call_type><CR><LF>
Command
Possible Response(s)
<CR><LF>^CONN:<call_x>,<call_type><CR><LF>
number of rings set by <value>.
7.8 ^ORIG–Command for Indicating the Origination of a
Call
7.8.1 Syntax
7.8.2 Interface Description
This command indicates that the MT is originating a call.
7.8.3 Parameter Description
<call_x>: Specifies the call ID, uniquely identifying the call. The value ranges from 1
to 9.
<call_type>: Specifies the call type. The values are as follows:
0: voice call
2: PS domain data call (not supported at present)
3: CDMA SMS call (not supported at present)
7: OTA call (standard OTASP numbers)
8: OTA call (non-standard OTASP numbers)
9: emergency call
7.9 ^CONN–Command for Indicating a Call Connection
7.9.1 Syntax
7.9.2 Interface Description
If the MT is the caller, when a call request is successfully sent to the network and a
response from the network is received, the MT reports the response to the TE even
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
indication to the TE when the MT answers the call.
7.9.3 Parameter Description
<call_x>: Specifies the call ID, uniquely identifying the call. The value ranges from 1
to 9.
<call_type>: Specifies the call type. The values are as follows:
0: voice call
2: PS domain data call (not supported at present)
3: CDMA SMS call (not supported at present)
7: OTA call (standard OTASP numbers)
8: OTA call (non-standard OTASP numbers)
9: emergency call
7.10 ^CEND–Command for Indicating the End of a Call
7.10.1 Syntax
7.10.2 Interface Description
After a call is terminated, the MT reports this indication to the TE to notify the TE of
the call end cause and the call duration.
7.10.3 Parameter Description
<call_x>: Specifies the call ID, uniquely identifying the call. The value ranges from 1
to 9.
<duration>: Specifies the call duration in the unit of second. The time starts from
reporting of the ^CONN command until the call is complete.
<end_status>: Specifies the call end cause. In this product, this parameter is set to
255 permanently.
<cc_cause>: Specifies call control information (not supported at present).
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
The set command sets whether reporting of the caller ID unsolicited result code
(URC) is allowed. If the caller ID URC is allowed to be reported, when there is an
incoming call, the caller ID indication is provided following the RING indication and
periodically (every five seconds) reported to the TE.
7.11.3 Parameter Description
<n>:
0: Caller ID URC reporting is not allowed (default value after startup).
1: Caller ID URC reporting is allowed.
In case of using the command without <n>, <n> is set to 0.
<number>: Specifies a calling number. It is a string with double quotation marks.
Allowed characters include only 0–9, *, #, and +.
<type>: Specifies the number type. "145" indicates an international number, and
"129" indicates a national number. For details, see section 15.5 "Phone Number
Type."
<CLI validity>:
0: The call line identity (CLI) is valid.
1: The CLI is rejected by the call originator.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<state>: Specifies the call state. The values are as follows:
Command
Possible Response(s)
^DTMF=<call_x>,<dtmf_digit>
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
0: active
1: held (not supported at present)
2: dialing
3: alerting (not supported at present)
4: incoming
5: waiting (not supported at present)
<mode>: Specifies the call type. The values are as follows:
0: voice
1: data
<mpty>: Specifies the multiparty call. The values are as follows:
0: non-multiparty call
1: multiparty call (not supported at present)
<number>: Specifies a call number. It is a string with double quotation marks. Allowed
characters include only 0–9, *, #, and +. In addition, the + symbol can only be at the
start of the number.
<type>: Specifies the type of a call number. "145" indicates an international number,
and "129" indicates a national number. For details, see section 15.5 "Phone Number
Type."
7.12.4 Example
AT+CLCC
+CLCC:1,0,0,0,0,”13801000841”,129
OK
7.13 ^DTMF–Two-Stage Dialing Command
7.13.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR:<err><CR><LF>
+CTA?
<CR><LF>+CTA:<n><CR><LF>
In case of an MT-related error:
<CR><LF>ERROR:<err><CR><LF>
+CTA=?
<CR><LF>+CTA:(supported <n> list)<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR:<err><CR><LF>
This command sets the Point to Point Protocol (PPP) user name and password
before data service dial-up. After the dial-up connection is successful, the client can
use the user name and password to establish a PPP connection.
7.14.3 Parameter Description
<userid>: Specifies the PPP authentication user name. It is a string with double
quotation marks. The maximum length is 127 characters excluding the double
quotation marks.
<password>: Specifies the PPP authentication password. It is a string with double
quotation marks. The maximum length is 127 characters excluding the double
quotation marks.
7.14.4 Example
AT^PPPCFG="Huawei","Huawei"
OK
7.15 +CTA–Command for Setting operating mode
7.15.1 Syntax
7.15.2 Interface Description
Execution command use to set the time to enter the dormant.
Read command use to read the time to enter the dormant.
Test command use to test the time to enter the dormant.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
8.1 +CPMS–Command for Setting the Short Message
Storage Location
8.1.1 Syntax
8.1.2 Interface Description
The set command sets the short message storage medium corresponding to the
short message operations (such as read or write) and return the current usage of the
selected medium.
The name and usage of the currently selected storage medium are returned when
the read command is executed.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<mem1>: Specifies the medium for short message read and deletion. It is a string
with double quotation marks. The optional values are as follows:
"SM": R-UIM card
"ME": nonvolatile memory on the module (default value after startup)
<mem2>: Specifies the medium for short message write and sending. It is a string
with double quotation marks. Its optional values and default value are the same as
those of <mem1>.
<mem3>: Specifies the medium for storing the received short message. It is a
string with double quotation marks. Its optional values and default value are the same
as those of <mem1>.
<total1>: An integer, specifying the total number of short messages that can be saved
in <mem1>.
<total2>: An integer, specifying the total number of short messages that can be saved
in <mem2>.
<total3>: An integer, specifying the total number of short messages that can be saved
in <mem3>.
<used1>: An integer, specifying the number of short messages that are saved in
<mem1>.
<used2>: An integer, specifying the number of short messages that are saved in
<mem2>
<used3>: An integer, specifying the number of short messages that are saved in
<mem3>.
8.2 +CNMI–Command for Setting the Mode of New
Short Message Notification
8.2.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
The set command sets the mode of notifying the TE of a new short message. Where:
<mode> and <bfr> are used to set the mode of notifying the TE of a new short
message.
<mt> sets the storage and notification rules for newly received short messages: a
new short message is directly reported to the TE; or a new short message is stored in
the MT and the storage position is reported to the TE.
<ds> sets whether a short message status report (+CDSI, ^HCDS) is sent.
The supported parameter value is returned when the test command is executed.
8.2.3 Parameter Description
<mode>: Specifies the short message notification mode.
0: The short message notification is stored in the buffer of the MT. If the buffer of the
MT is full, the new notification overwrites the oldest notification.
1: The short message notification is sent to the TE. If the short message notification
fails to be sent (for example, in online data mode), the notification is discarded
(default value after startup).
2: Send a message notification and message status report to the TE. If the sending
fails (for example, in the online data mode), buffer the message notification in the MS
and send it to the TE later.
In CDMA mode, <mode> always set to 1.
<mt>: Specifies the storage and notification rules for received short messages.
The storage and notification for a new short message has the two modes:
1. The short message is stored in the MT, and a storage position notification is sent to
the TE (default value after startup).
The short message notification uses the +CMTI command, that is, a new short
message is stored in <mem3> specified by the +CPMS command; the storage
location and the index value are reported to the TE.
2. The short message is not stored in the MT but is directly sent to the TE.
The short message notification uses the ^HCMT command. A new short message is
not stored on the board. It is reported to the TE. The TE needs to call the AT+CNMA
command to acknowledge the reported short message. If the AT+CNMA command is
not received within two seconds, the MT sends a receiving error to the network.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Figure 8-1 shows the interaction between the TE and the MT in the preceding two
New short message
RP-ACK
Not acknowledged in a certain
time
TE
MT
NETWORK
Report (^HCMT)
New short message
Acknowledge (+CNMA)
RP-ACK
New short message
Report (^HCMT)
Network timeout RP-ERROR
2. Report the short
message to the TE;
send RP-ERROR if
no acknowledgement
is received in a
certain time
Store the short message in the
MT and report the storage
position (+CMTI)
1. Store the short
message in the MT,
send RP-ACK to the
network, and report
the storage position
<mode>
<mt>
Saving a Short
Message or Not
Reporting a Short
Message or Not
Reporting
Command
0 1 Yes
No 1 1 Yes
Yes
+CMTI
0 2 No
No 1 2 No
Yes
^HCMT
modes.
Figure 8-1 Interaction between the TE and the MT
Table 8-1 describes the combinations of the preceding two parameters.
Table 8-1 Combinations of the preceding two parameters
<bm>: Not supported at present. The value is always 0.
<ds>: Used to set a short message return receipt.
0: A short message return receipt is not sent to the TE.
1: The short message return receipt is not stored in the MT but is sent to the TE.
If PDU mode enabled:
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
2: The short message return receipt is stored in the MT, and a storage position
notification is sent to the TE by using the +CDSI command. (default value after
startup).
+CDSI:<mem>,<index><CR><LF>
<bfr>: Set the buffer processing when <mode>=1, 2 is entered from <mode>=0.
0: In the <mode>1-2 mode, MS sends all URCs to TE in one time. (default value after
startup)
1: In the <mode>1-2 mode, clear all URCs..
8.2.4 Example
Set CNMI=1,1,0,1,0.
A new short message is stored in the MT, and the storage position is reported by
running the +CMTI:"ME",1 command. A status report short message is not stored but
is reported by using the ^HCDS command.
If a message notification cannot be reported (for example, in the online-data mode),
the message notification is discarded.
8.3 +CMTI–Command for Indicating the Arrival of a
Short Message
8.3.1 Syntax
8.3.2 Interface Description
This command indicates that a new short message or a new status report short
message has been received.
8.3.3 Parameter Description
<mem>: Specifies the storage medium of a short message. Currently, only "SM" and
"ME" are supported.
"ME": ME short message storage medium
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<index>: An integer, indicating the position of a short message in the storage medium.
8.4 ^HCMT–Command for Reporting a New Short
Message
8.4.1 Syntax
8.4.2 Interface Description
This command reports a new short message without storing it to the TE.
8.4.3 Parameter Description
<callerID>: Specifies the number of the short message sender.
<year, month, day, hour, minute, second>: The year, month, day, hour, minute and
second when a short message is received.
<lang>: Specifies the language. The values are as follows:
0: unspecified
1: English
6: Chinese
<format>: Specifies the encoding format of a short message. The values are as
follows:
0: GSM 7 bit (not supported at present)
1: ASCII encoding (when the encoding range is not greater than 7F)
2: IA5 (not supported at present)
3: octet (not supported at present)
4: Latin (not supported at present)
5: Latin_Hebrew (not supported at present)
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
6: UNICODE encoding (when the encoding range is greater than 7F)
Command
Possible Response(s)
<CR><LF>+CDSI:<mem>,<index><CR><LF>
<Length>: Specifies the length of a received short message.
<prt>: Specifies the priority of a short message. The values are as follows:
0: normal
1: interactive
2: urgent
3: emergency
<Prv>: Specifies the confidentiality level.
0: normal
1: restricted
2: confidential
3: secret
<type>: Specifies the type of a short message.
0: normal
1: CPT (not supported at present)
2: voice mail (not supported at present)
3: SMS report
4: Flash SMS
<tag>: an integer:0~3
0: WMS_TAG_MT_NOT_READ
1: WMS_TAG_MT_READ
2: WMS_TAG_MO_NOT_SENT
3: WMS_TAG_MO_SENT
<Msg>: The received short message.
<layer3 packet>: see ^HCMGS command.
8.5 +CDSI–Command for Indicating the Arrival of a
Status Report Short Message
8.5.1 Syntax
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
This command indicates that a new status report short message is received and
provides the storage position.
8.5.3 Parameter Description
<mem>: Specifies the storage location of a short message.
"SM": R-UIM short message storage medium
"ME": ROMSIM short message storage medium
<index>: An integer, identifying the position in the storage location.
8.6 ^HCDS–Command for Reporting a New Status
Report Short Message
8.6.1 Syntax
8.6.2 Interface Description
This command reports a received new short message report without storing it to the
TE.
8.6.3 Parameter Description
<callerID>: Specifies the number of the short message sender.
<format>: Specifies the encoding format of a short message. The values are as
follows:
0: GSM 7 bit (not supported at present)
1: ASCII encoding (when the encoding range is not greater than 7F)
2: IA5 (not supported at present)
3: octet (not supported at present)
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
4: Latin (not supported at present)
5: Latin_Hebrew (not supported at present)
6: UNICODE encoding (when the encoding range is greater than 7F)
<year>: The year when a short message is received.
<month>: The month when a short message is received.
<day>: The day when a short message is received.
<hour>: The hour when a short message is received.
<minute>: The minute when a short message is received.
<second>: The second when a short message is received.
<length>: Specifies the length of a received short message.
<lang>: Specifies the language. The values are as follows:
0: unspecified
1: English
6: Chinese
<prt>: Specifies the priority of a short message. The values are as follows:
0: normal
1: interactive
2: urgent
3: emergency
<Prv>: Specifies the confidentiality level.
0: normal
1: restricted
2: confidential
3: secret
<type>: Specifies the type of a short message.
0: normal
1: CPT (not supported at present)
2: voice mail (not supported at present)
3: SMS report
4: Flash SMS
<tag>:an integer:0~3
0: WMS_TAG_MT_NOT_READ
1:WMS_TAG_MT_READ
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an SMS-related error:
<CR><LF>+CMS ERROR:<err><CR><LF>
+CNMA=?
<CR><LF>OK<CR><LF>
3:WMS_TAG_MO_SENT
<Msg>: The received short message.
<layer3 packet>:see ^HCMGS command.
8.7 +CNMA–Command for Acknowledging a New Short
Message
8.7.1 Syntax
8.7.2 Interface Description
This command replies to the ^HCMT or ^HCDS indication received by the TE from
the MT.
The execution command acknowledges the reception of a new short message sent
to the TE. For usage of the command, see the +CNMI command.
Before the previous received short message is acknowledged, the MT does not send
another ^HCMT or ^HCDS command to the TE.
If the MT does not obtain a short message acknowledgement in the specified time
(about two seconds) (due to network timeout), it sends "RP-ERROR" to the network.
If this command is executed but no short message needs to be acknowledged,
"+CMS ERROR:<err>" is returned.
8.7.3 Parameter Description
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
The set command sets parameters for sending short messages, including whether to
acknowledge, priority, encoding format, and confidentiality.
This AT command is only effective in text mode.
8.8.3 Parameter Description
<ack>: Specifies whether a short message status report is required. The values are
as follows:
0: The short message status report is not required (default value after startup).
1: The short message status report is required.
<prt>: Specifies the priority of a short message. The values are as follows:
0: normal (default value after startup)
1: interactive
2: urgent
3: emergency
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<format>: Specifies the encoding format of a short message. The values are as
Command
Possible Response(s)
If PDU mode (+CMGF=0):
^HCMGS=<length><CR><Lay
er3 packet><ctrl-z/ESC>
If text mode (+CMGF=1):
^HCMGS=<da>[,<toda>]<CR>
text is entered<ctrl-z/ESC>
If PDU mode (+CMGF=0):
<CR><LF>^HCMGS: <mr><CR><LF>
<CR><LF>OK<CR><LF>
If TEXT mode (+CMGF=1):
<CR><LF>^HCMGSS: <mr><CR><LF>
<CR><LF>OK<CR><LF>
In case of an SMS-related error:
<CR><LF>+CMS ERROR:<err><CR><LF>
^HCMGS=?
<CR><LF>OK<CR><LF>
follows:
0: GSM 7 bit (not supported at present)
1: ASCII encoding (when the encoding range is not greater than 7F)
2: IA5 (not supported at present)
3: octet (not supported at present)
4: Latin (not supported at present)
5: Latin_Hebrew (not supported at present)
6: UNICODE encoding (when the encoding range is greater than 7F)
<Prv>: Specifies the confidentiality level. The values are as follows:
0: normal (default value after startup)
1: restricted
2: confidential
3: secret
8.9 ^HCMGS–Command for Sending a Short Message
8.9.1 Syntax
8.9.2 Interface Description
This command sends a short message to the network. The short message is sent in
two steps:
PDU mode:
Firstly, ^HCMGS=<length> end with (CR),
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
TE wait for <CR><LF><greater_than><space>(IRA 13, 10, 62, 32) from the MT,
and input the message content that end with<ctrl-Z> (IRA 26).
TEXT mode:
The ^HCMGS=<da>[,<toda>] command is sent with the end of (CR).
The TE waits <CR><LF><greater_than><space>(IRA 13, 10, 62, 32) returned by
the MT, and then sends the message content ending with <ctrl-Z> (IRA 26).
In TEXT mode, it only supports 0~0x00FF with UCS2.
The maximum length of message is 160 characters with 7bit codec, and 70
characters with UCS2S.
8.9.3 Parameter Description
<length>:the length is bytes of layer3 packet.
<da>: Specifies the number of the recipient of a short message. It is a string with
double quotation marks, consisting of a maximum of 20 characters. The value can be
0–9, *, #, and +. The "+" symbol can only be at the start of the number.
<toda>: Specifies the address encoding format. It is a digit of one byte. It is not
supported at present. The default value is 0.
<mr>: A decimal digit, specifying the identifier of a short message. The value ranges
from 0 to 65535.
<ctrl-Z>: Identifies the end of a short message. The character is '0x1A' ('0x001A' in
the Unicode).
<ESC>: Indicates that the sending of a short message is canceled. The character is
'0x1B' ('0x001B' under the Unicode).
<Layer3 packet>:the character is 0~9、A~F,two characters form a Octet.
Sending of a short message adopts the asynchronous command processing mode in the AT
command. Currently, the asynchronous command processing process cannot process other
AT commands. During the process, if the MT receives a short message-related command,
such as the +CPMS, ^HCMGR, +CMGD, ^HCMGL, +CNMA, +CNMI, or ^HCMGW command,
it returns "+CMS ERROR:302". That is, the operation is not allowed. If the MT receives the
^HCMGS command, it returns "^HCMGSF: 0". If the MT receives another command unrelated
to a short message, it returns "+CME ERROR:40". That is, the operation is not allowed.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<CR><LF>OK<CR><LF>
In case of an SMS-related error:
<CR><LF>+CMS
ERROR:<err><CR><LF>
^HCMGW=?
<CR><LF>OK<CR><LF>
8.12 ^HCMGW–Command for Storing a Short Message
8.12.1 Syntax
8.12.2 Interface Description
This command stores a short message to the storage location specified by <mem2>
in the +CPMS command. The short message can be saved to the "SM" or "ME".
PDU mode:
Save a message to memory, there are two steps:
Firstly, ^HCMGW=<length>,<tag> end with(CR)
TE wait for <CR><LF>< greater_than ><space>(IRA 13, 10, 62, 32) from the MT,
and input the message content that end with<ctrl-Z> (IRA 26).
TEXT mode:
Save a message to memory, there are two steps:
Firstly, ^HCMGW=<oa/da>[,<tooa/toda>],<stat>,<ptr>,<type>,<format>,<lang>
[,<year>,<month>,<day>,<hour>,<minute>,<second>] end with(CR)
TE wait for <CR><LF>< greater_than ><space>(IRA 13, 10, 62, 32) from the MT,
and input the text content that end with<ctrl-Z> (IRA 26)
8.12.3 Parameter Description
<oa/da>: Specifies the number of the sender or recipient of a short message. It is a
string with double quotation marks, consisting of a maximum of 20 characters. The
value can be 0–9, *, #, and +. The + symbol can only be placed at the beginning of a
number.
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
<tooa/toda>: Specifies the address encoding format. It is a digit of one byte. It is not
supported at present. The default value is 0.
<stat>: Specifies the storage status of a short message. The values are as follows:
0: received unread short messages
1: received read short messages
2: stored unsent short messages
3: stored sent short message
<lang>: Specifies the language. The values are as follows:
0: unspecified
1: English
6: Chinese
<ptr>: An integer, specifying the priority of a short message. The values are as
follows:
0: normal
1: interactive
2: urgent
3: emergency
<year>,<month>,<day>,<hour>,<minute>,<second>: The year, month, day, hour,
minute, and second of a short message.
<index>: A number consisting of decimal digits (0–9), specifying the position number
in the storage medium. The value ranges from 0 to the value of the maximum
memory capacity minus one.
<format>: Specifies the encoding format of a short message. The values are as
follows:
0: GSM 7 bit (not supported at present)
1: ASCII encoding (when the encoding range is not greater than 7F)
2: IA5 (not supported at present)
3: octet (not supported at present)
4: Latin (not supported at present)
5: Latin_Hebrew (not supported at present)
6: UNICODE encoding (when the encoding range is greater than 7F)
<type>: Specifies the type of a short message. The values are as follows:
0: normal
1: CPT (not supported at present)
2: voice mail (not supported at present)
3: SMS report
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.