

AT Command Interface Specification
Issue 01 · Date 2011-08-26

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.
Copyright © Huawei Technologies Co., Ltd. 2011. All rights reserved.
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.
are trademarks or registered trademarks of Huawei Technologies Co., Ltd. Other trademarks, product, service and company names mentioned are the property of their respective owners.
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.
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.
Trademarks and Permissions · , , and

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification About This Document
History
Version Date Chapter Descriptions
01 2011-08-26 Creation














HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Overall Description
This chapter briefly describes the contents and organization of this document and focuses on the basic knowledge of AT command interfaces.
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.
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).
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 Overall Description
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.
Carriage return character. For details, see the description in S3.
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.
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 Overall Description
Figure 1-2 shows the basic organization format of the AT command line.
Figure 1-2 Basic organization format the AT command line
read command for checking current subparameter values
command line termination character
extended commands are delimited with semicolon
subparameters may be omitted
basic command (no + prefix)
extended command (prefixed with +)
test command for checking possible subparameter values
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
also string type subparameters possible
information response to +CMD2=?
information response to +CMD2?
shows acceptable ranges of each subparameter
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.
subparameter · command line prefix · final result code

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Overall Description
Table 1-1 Format of a basic command
[] 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.
If a basic command that is allowed to contain does not contain , the
default value of is used in the command.
If a basic command that is not allowed to contain contains , "ERROR"
or “+CME ERROR : operation not allowed” 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
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.
Replaces the characters saved in the S register with the characters related to the value of <value>.
If the parameter number of the register is not identified, this indicates that the command does not exist. In this case, ERROR is returned.
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 Overall Description
Table 1-3 Types and formats of extended and vendor-defined commands
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.
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.
=? A test command is executed to query the parameter range.
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.
A set command is executed to set parameters.
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 Overall Description
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.
? A read command is executed to read the current value of a parameter.
=? A test command is executed to check the parameter range.
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.
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.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Overall Description
or to the end of a command. This rule is applicable to the communication between the MT and TE programs.
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.
This document consists of 15 chapters, covering the following contents:
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.
Chapter Description

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Overall Description
Chapter 11 Audio Commands The AT commands related to the audio interface of the module.
Chapter 12 Wakeup Commands The AT commands related to wakeup interface of the module.
Chapter 13 SAR Commands The AT commands related to control the SAR of the module.
Chapter14 GPS Commands The AT commands related to the GPS of the module.
Chapter 15 Appendix Appendix
Chapter Description

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
2.1 E – Echo Command
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.
:
In case of using the command without <value>, <value> is set to 1.
After restart, <value> is set to 1.
E[] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
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.
: 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.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
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.
: 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.
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.
: 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.
S5= OK · S5?

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
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. indicates the S3 character and indicates the S4 character.

The following table describes the format comparison of the returned result code content.

NO CARRIER 3 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.
V[] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
:
In case of using the command without <value>, <value> is set to 0.
This command sets whether the MT returns the execution result to the TE.
:
In case of using the command without <value>, <value> is set to 0.
In case of an MT-related error:
Q[] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
This command sets the related parameters to the default values set by the manufacturer.
The following parameters can be specified by running this command:



HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
This command queries the values of currently configured parameters.
The following parameters can be queried by running this command:

This command repeats the previous AT command. This command does not require the user to press Enter.
If the last command is:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
OK
A/
OK
2.10 +CMEE – Command for Setting the Error Report Format
+CMEE? +CMEE:
+CMEE=? +CMEE:(supported list)
This command sets whether the returned value uses "+CME ERROR:" to indicate an error related to the MT. If the returned value uses "+CME ERROR:" to indicate an error related to the MT, the error related to the MT generates "+CME ERROR:" to replace "ERROR". When the error cause is unrelated to the MT, "ERROR" is returned.
:
After restart, the value of <n> is 2.
81042940 · 81042940 · +CMEE= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
In case of an MT-related error:
+CME ERROR:
+CFUN? +CFUN:
In case of an MT-related error:
+CME ERROR:
+CFUN=? +CFUN:(supported list),(supported list)
In case of an MT-related error:
+CME ERROR:
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.
:
: Specifies whether the MT is restarted before the mode is set (reserved and not supported at present).
+CFUN[=[,]] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
If the AT+CFUN command is executed without parameters, the operating mode is set to the LPM mode.
^VOLT ^VOLT: OK
In case of an MT-related error:
This command queries the current voltage.
In case of an MT-related error:
+CME ERROR:
^RESET? In case of successful execution:
^RESET:
This command restarts the MT.
^RESET[=] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Basic Configuration Commands
: 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.
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.
^HS=, ^HS:,,,,[,]
This command initiates a handshake between the TE and the MT.
: 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 Basic Configuration Commands
: Specifies the action type of the TE.
: Specifies the current communication protocol status of the MT.
:
: Reserved and not supported at present.
^HS:494BBC7E,0,0,2,3
OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
3.1 I – Command for Querying Product Identity Information
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).
:
In case of using the command without <value>, <value> is set to 0.
I[]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
OK
3.2 +CGMI/+GMI – Command for Querying Manufacturer Information
+CGMI or +GMI
+CGMI=? or +GMI=? OK
This command queries manufacturer information.
: A string without double quotation marks, indicating the manufacturer information.
Huawei Technologies Co., Ltd.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
+CGMM or +GMM
+CGMM=? or +GMM=? OK
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.
: A string without double quotation marks, indicating the product name.
MC509
OK
3.4 +CGMR/+GMR – Command for Querying the Software Version
+CGMR or +GMR
+CGMR=? or +GMR=? OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
This command queries the software version of the MT.
: Indicates the software version. It is a string without double quotation marks, consisting of 31 characters at most.
11.105.01.00.000
3.5 +GSN – Command for Querying the ESN
+GSN <CR><LF>+GSN:<ESN><CR><LF>
+GSN=? <CR><LF>OK<CR><LF>
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.
: 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 Identity Information Query Commands
+GSN:80469bb7
3.6 +CGSN – Command for Querying the ESN
+CGSN <CR><LF><ESN><CR><LF>
+CGSN=? <CR><LF>OK<CR><LF>
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.
: Indicates the ESN. It is a string without double quotation marks, consisting of eight hex digits.
OK
80469bb7

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
^HWVER ^HWVER:
This command queries the hardware version of the MT.
: Indicates the hardware version. It is a string without double quotation marks, consisting of 30 characters at most.
^MEID ^MEID:
This command queries the mobile equipment identifier (MEID) of the R-UIM card. If the R-UIM card is unavailable, the MEID of the MT is returned.
: A string without double quotation marks, consisting of 14 hex digits. If the MEID does not exist, "00000000000000" is displayed.
^MEID:A0C72311111111

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
3.9 +CIMI – Command for Querying the IMSI

This command queries the IMSI of the R-UIM card. If the R-UIM card is unavailable, the IMSI of the MT is returned.



HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
This command queries the integrated circuit card identity (ICCID) of the R-UIM card.
The ICCID can also be queried when the R-UIM card is locked. If no R-UIM card is available, "+CME ERROR:R-UIM not inserted" is returned.
: A string without double quotation marks, consisting of 20 hex digits.
^ICCID:89860309907552584689
OK
3.11 ^MDN – Command for Querying the MDN
^MDN ^MDN:
In case of an MT-related error:
^MDN=? <CR><LF>OK<CR><LF>
This command queries the mobile directory number (MDN) of the R-UIM card. If no R-UIM card is available, the MDN of the MT is returned.
: A string without double quotation marks, consisting of a maximum of 15 decimal digits.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Identity Information Query Commands
^MDN:8613312121001
OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Security Control Commands
4.1 +CLCK – Command for Enabling the PIN and Querying the Status
When =2 and the command is successfully executed:
+CLCK:
When ≠2 and the command is successfully executed:
In case of an MT-related error:
+CME ERROR:
+CLCK=? +CLCK:(supported list)
The execution command locks or unlocks the R-UIM card and query the locking status.
The test command queries the equipment supported by this command.
: Specifies the equipment on which this command is executed.
+CLCK=, · [,[,]]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Security Control Commands
:
: 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.
In case of an MT-related error:
+CME ERROR:
+CPIN? +CPIN:
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.
+CPIN=[,] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Security Control Commands
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.
, : Strings with double quotation marks. The string consists of digits 0– 9 only. Otherwise, "ERROR" is returned.
READY: The MT does not have a password entry request.
R-UIM PUK2: PUK2 password request, and used to unlock the locked PIN2 code (not supported at present)
In case of an MT-related error:
+CME ERROR:
^CPIN? ^CPIN:,[],,< pin_times>
In case of an MT-related error:
+CME ERROR:
The execution command verifies and unlocks the PIN and PIN2 codes.
If PIN or PIN2 is requested, run ^CPIN= for verification.
^CPIN=[,] OK · [,,]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Security Control Commands
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.
, : strings with double quotation marks. The characters in the string contain only 0–9. Otherwise, "ERROR" is returned.
READY: The MT does not have a password entry request.
R-UIM PUK2: PUK2 password request, and used to unlock the locked PIN2 code (not supported at present)
: 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.
: Specifies the remaining number of PUK entry attempts, and the maximum number of entry attempts is 10.
: Specifies the remaining number of PIN entry attempts, and the maximum number of entry attempts is 3.
: 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 Security Control Commands
: Specifies the remaining number of PIN2 entry attempts, and the maximum number of entry attempts is 3 (not supported at present).
In case of an MT-related error:
+CME ERROR:
+CPWD=? +CPWD:supported (,) list
In case of an MT-related error:
+CME ERROR:
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).
: 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).
,: 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.
: Specifies the maximum length of the password of the equipment lock.
+CPWD=,, ·

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Security Control Commands
+CLCK:1
OK
AT+CPWD=”SC”,”1111”,”2222”
OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Serial Port Control Commands
5.1 &C – Command for Setting the Changing Mode of DCD Signals
In case of an MT-related error:
This command sets the changing mode of DCD signals.
:
In case of using the command without <value>, <value> is set to 0.
&C[] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Serial Port Control Commands
5.2 &D–Command for Setting the MT Action in Response to the DTR Signals
In case of an MT-related error:
This command sets the MT action when data terminal ready (DTR) signals change from ON to OFF.
:
In case of using the command without <value>, <value> is set to 0.
In case of an MT-related error:
&D[] OK · &S[] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Serial Port Control Commands
This command sets the changing mode of DSR signals.
:
In case of using the command without <value>, <value> is set to 0.
In case of an MT-related error:
+ICF? +ICF:[,]
+ICF=? +ICF:(supported list),(supported list)
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.
:
+ICF[=[,]] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Serial Port Control Commands
:
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.
In case of an MT-related error:
+IPR? +IPR:
+IPR=? +IPR:(supported automatic detection baud rate list),(supported list)
This command sets the baud rate of the current physical serial port on the MT. The default value upon startup is 115200.
+IPR[=] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Serial Port Control Commands
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.
AT+IPR without a parameter is equivalent to AT+IPR=115200.
In case of an MT-related error:
+IFC? +IFC:,< CR>
+IFC=? +IFC:(supported list),
This command sets and queries bidirectional flow control.
:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Serial Port Control Commands
:
AT+IFC is equivalent to AT+IFC=0,0.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
6.1 ^SIMST–change of uim state instructions
^ SIMST:
When the uim state changes, the MT automatically reports the new state to the TE.
255:uim card not exist

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
^SYSINFO ^SYSINFO:,,,
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.
,[,,]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
4:HDR mode
6:GPS mode
: Not supported at present.
:
10:REV0
11:REVA
13:1XRTT
6.3 ^DSDORMANT – Instructions into the dormant
^ DSDORMANT:
in the time data is not up or down no data transmission initiated by the network to the dormant.
0:not dormant state

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
^MODE:[,]
When the system mode changes, the MT automatically reports the change to the TE.
4:HDR mode
6:GPS mode
: Indicates the system sub-mode. This parameter is not used in the product.
In case of an MT-related error:
^PREFMODE? ^PREFMODE:
^PREFMODE=

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
This command forced to set priorities network mode for the user.
< pref_mode >:
In case of an MT-related error:
^ RFSWITCH:,OK
In case of an MT-related error:
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
^RFSWITCH [=]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
:
state of RF software switch, the value for the two values 0,1,
:
state of RF hardware switch, the value for the two values 0,1,
Query the current state of RF switch: (return information for the current state of the hardware switch is open, the software switch is off)
Feedback results:
OK
6.7 +CSQ – Command for Querying the RSSI
+CSQ or +CSQ? +CSQ:,
+CSQ=? +CSQ:(supported list),(supported list)
The execution command queries the current receive signal strength indicator (RSSI) and bit error rate (BER) values.
AT command issued

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
The test command queries the current RSSI and BER values.
2...30: The strength is between –109 and –53 dBm.
: A percentage value. BER query is not supported at present. "99" is returned when the execution command and the test command are executed.
^RSSILVL:
When the RSSI change exceeds a threshold, the MT automatically reports the RSSI to the TE.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
^HRSSILVL:
When the HDR RSSI change exceeds a threshold, the MT automatically reports the RSSI to the TE.
In case of an MT-related error:
^RSSIREP? ^RSSIREP:
^RSSIREP=? ^RSSIREP:(supported list)
^RSSIREP= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
This command sets whether the signal strength is automatically reported.
:
^CRSSI ^CRSSI:OK
^CRSSI:
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.
2...30: The strength is between –109 and –53 dBm.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
^HDRRSSI ^HDRRSSI:OK
^HDRRSSI:
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.
2...30: The strength is between –109 and –53 dBm.
6.13 ^TIME–Command for Querying the System Time on the Network Side
^TIME ^TIME:
In case of an MT-related error:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
This command reads the current system time from the network. If the system time cannot be obtained, "ERROR" is returned.
^TIME: 2010/07/24 17:35:04
OK
6.14 ^COTKSLACT – Command for Defining a Subscriber
^COTKSLACT=<MDN>,<MIN> <CR><LF>OK<CR><LF>
In case of an MT-related error:
+CME ERROR:
^COTKSLACT=? <CR><LF>OK<CR><LF>
The set command sets the MDN and MIN in the subscription information about a subscriber.
: A string with double quotation marks, consisting of 10 digits (0–9).
: A string with double quotation marks, consisting of 10 digits (0–9).

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
^OTAACTED? ^OTAACTED:
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.
: Specifies the OTA status.
^OTACMSG:
This command reports the OTA update status.
: Indicates the OTA update status.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
^CURRSID? ^CURRSID:,,OK
This command used to query the SID/NID of the current system. IF the current system is at EVDO only mode, the command can get the EVDO‟s sub net ID.
: the system‟s current sid.
: the system‟s current sid.
: the evdo‟s sub-net ID.
Hex number,0-FFFFFFFF
a) If there is a usable 1x system, the command could not return the
:
^CURRSID:14844,4001,0
Decimal number, 0-32767 · Decimal number, 0-65534

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Network Service Interface Commands
b) If there is only EVDO system, the command could return like that:
^CURRSID:0,0,8E4FC
OK
c) If there is not exited system, the command could return like that:
^CURRSID:0,0,0
OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
7.1 D – Command for Originating a Data Service Call
In case of an MT-related error:
+CME ERROR:
This command originates a data service call.
In this product, this command supports only data service dial-up.
: Specifies the called number, consisting of ASCII characters. Allowed characters include only 0–9, *, and #.
CONNECT
D[] OK · CONNECT

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
In case of an MT-related error:
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.
: 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.
In case of an MT-related error:
+CME ERROR:
This command is used by the TE to originate a voice call to the network through the MT.
H[] OK · +CDV OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
: 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.
OK
^ORIG:0,0
7.4 +CHV – Command for Disconnecting a Voice Call
In case of an MT-related error:
+CME ERROR:
This command disconnects a voice call.
: 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.
+CHV[] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
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.
When a call is originated to the MT, the MT periodically (T is about 5s) reports the indication to the TE.
In case of an MT-related error:
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.
:
S0= OK · S0?

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
1–255: Automatic answer is enabled. An incoming call will be answered after the number of rings set by <value>.
^ORIG:,
This command indicates that the MT is originating a call.
: Specifies the call ID, uniquely identifying the call. The value ranges from 1 to 9.
^CONN:,
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 Call Control Commands
when the call is not answered If the MT receives an incoming call, the MT reports this indication to the TE when the MT answers the call.
: Specifies the call ID, uniquely identifying the call. The value ranges from 1 to 9.
^CEND:,,[,]
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.
: Specifies the call ID, uniquely identifying the call. The value ranges from 1 to 9.
: Specifies the call duration in the unit of second. The time starts from reporting of the ^CONN command until the call is complete.
: Specifies the call end cause. In this product, this parameter is set to 255 permanently.
: Specifies call control information (not supported at present).

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
In case of an MT-related error:
+CME ERROR:
+CLIP? +CLIP:
+CLIP=? +CLIP:(supported list)
URC +CLIP:,,,,,
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.
:
In case of using the command without <n>, <n> is set to 0.
: Specifies a calling number. It is a string with double quotation marks. Allowed characters include only 0–9, *, #, and +.
: Specifies the number type. "145" indicates an international number, and "129" indicates a national number. For details, see section 15.5 "Phone Number Type."
:
+CLIP[=] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
Three fields are reserved between <type> and <CLI validity>.
+CLIP:"",128,,,,1
+CLIP:"",128,,,,2
7.12 +CLCC – Command for Querying the Call Status
+CLCC [+CLCC:,,,,[,,< type>]
[+CLCC:,,,,[,,< type>]
In case of an MT-related error:
+CME ERROR:
This command queries the number of current calls and the state of each call.
If there are no calls, "OK" is returned when this command is executed.
: Specifies the call ID. The value ranges from 1 to 9.
1: MT
or · or · […]]]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
: 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.
: 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."
+CLCC:1,0,0,0,0,”13801000841”,129
OK
7.13 ^DTMF – Two-Stage Dialing Command
In case of an MT-related error:
+CME ERROR:
^DTMF=, OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
This command sends a dual tone multiple frequency (DTMF) key value to the network through signaling in the call status.
: Specifies a call ID. The value ranges from 1 to 9.
: ASCII characters, indicating a DTMF key value. Allowed characters include only 0–9, *, and #. Only one character is allowed each time.
OK
^ORIG:2,0
^CONN:2,0
AT^DTMF=2,1
OK
AT^DTMF=2,#
OK
7.14 ^PPPCFG – Command for Setting the PPP User Name and Password
In case of an MT-related error:
+CME ERROR:
^PPPCFG or ^PPPCFG? ^PPPCFG:,< CR>
In case of an MT-related error:
+CME ERROR:
^PPPCFG=, OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
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.
: 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.
: 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.15 +CTA – Command for Setting operating mode
In case of an MT-related error:
ERROR:
+CTA? +CTA:
In case of an MT-related error:
ERROR:
+CTA=? +CTA:(supported list)
In case of an MT-related error:
ERROR:
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.
AT^PPPCFG="Huawei","Huawei" · +CTA= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Call Control Commands
: the time to enter the dormant.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
8.1 +CPMS – Command for Setting the Short Message Storage Location
+CPMS:,,,,,
In case of an SMS-related error:
+CMS ERROR:
+CPMS? +CPMS:,,,,< used2>,,,,
In case of an SMS-related error:
+CMS ERROR:
+CPMS=? +CPMS:(supported list),(supported list),(supported list)
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.
+CPMS= · [,[,]]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
All storage medium types supported by the MT can be returned when the test command is executed.
: Specifies the medium for short message read and deletion. It is a string with double quotation marks. The optional values are as follows:
: 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>.
: 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>.
: An integer, specifying the total number of short messages that can be saved in <mem1>.
: An integer, specifying the total number of short messages that can be saved in <mem2>.
: An integer, specifying the total number of short messages that can be saved in <mem3>.
: An integer, specifying the number of short messages that are saved in <mem1>.
: 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
In case of an SMS-related error:
+CMS ERROR:
+CNMI? +CNMI:,,,,
+CNMI[=[, [,[,[,]]]]]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
+CNMI=? +CNMI:(supported list),(supported list),(supported list),(supported list),(supported list)
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.
: Specifies the short message notification mode.
In CDMA mode, always set to 1.
: Specifies the storage and notification rules for received short messages.
The storage and notification for a new short message has the two modes:
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.
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 SMS Interface Commands
Figure 8-1 shows the interaction between the TE and the MT in the preceding two 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

: Not supported at present. The value is always 0.
: Used to set a short message return receipt.
If PDU mode enabled:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
If Text mode enabled:
^HCDS: ,,,,,,,,,,,,,
: Set the buffer processing when =1, 2 is entered from =0.
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.
+CMTI:,
This command indicates that a new short message or a new status report short message has been received.
: Specifies the storage medium of a short message. Currently, only "SM" and "ME" are supported.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
: An integer, indicating the position of a short message in the storage medium.
If PDU mode enabled:
If text mode enabled:
^HCMT:,,,,,< minute>,,,,,,,,
This command reports a new short message without storing it to the TE.
: Specifies the number of the short message sender.
: The year, month, day, hour, minute and second when a short message is received.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
: Specifies the length of a received short message.
: Specifies the confidentiality level.
: Specifies the type of a short message.
1: WMS_TAG_MT_READ
2: WMS_TAG_MO_NOT_SENT
3: WMS_TAG_MO_SENT
: The received short message.
: see ^HCMGS command.
8.5 +CDSI–Command for Indicating the Arrival of a Status Report Short Message
+CDSI:,

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
This command indicates that a new status report short message is received and provides the storage position.
: Specifies the storage location of a short message.
: An integer, identifying the position in the storage location.
If PDU mode enabled:
If text mode enabled:
^HCDS: ,,,,,,, ,,,,,,
This command reports a received new short message report without storing it to the TE.
: Specifies the number of the short message sender.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
: The year when a short message is received.
: The month when a short message is received.
: The day when a short message is received.
: The hour when a short message is received.
: The minute when a short message is received.
: The second when a short message is received.
: Specifies the length of a received short message.
: Specifies the confidentiality level.
: Specifies the type of a short message.
1 : WMS_TAG_MT_READ

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
3 : WMS_TAG_MO_SENT
: The received short message.
:see ^HCMGS command.
In case of an SMS-related error:
+CMS ERROR:
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:" is returned.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
In case of an SMS-related error:
+CMS ERROR:
^HSMSSS? ^HSMSSS:,,,
^HSMSSS=? ^HSMSSS:(supported list),(supported list),(supported list),(supported list)
The set command sets parameters for sending short messages, including whether to acknowledge, priority, encoding format, and confidentiality.
^HSMSSS=,, ,

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
If PDU mode (+CMGF=0):
If TEXT mode (+CMGF=1):
In case of an SMS-related error:
+CMS ERROR:
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 SMS Interface Commands
TE wait for <CR><LF><greater_than><space>(IRA 13, 10, 62, 32) from the MT, and input the message content that end with (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 (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.
: the length is bytes of layer3 packet.
: 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.
: Specifies the address encoding format. It is a digit of one byte. It is not supported at present. The default value is 0.
: A decimal digit, specifying the identifier of a short message. The value ranges from 0 to 65535.
: Identifies the end of a short message. The character is '0x1A' ('0x001A' in the Unicode).
: Indicates that the sending of a short message is canceled. The character is '0x1B' ('0x001B' under the Unicode).
: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 SMS Interface Commands
^HCMGSS:
This command notifies the TE of the successful sending of a short message.
: A decimal digit, specifying the identifier of a short message. The value ranges from 0 to 65535.
^HCMGSF:
This command notifies the TE of the failure in sending a short message.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
: Specifies an error code of short message sending failure.
1: WMS_ADDRESS_TRANSLATION_FAILURE_S
2: WMS_NETWORK_RESOURCE_SHORTAGE_S
3: WMS_NETWORK_FAILURE_S
4: WMS_INVALID_TELESERVICE_ID_S
5: WMS_OTHER_NETWORK_PROBLEM_S
6: WMS_OTHER_NETWORK_PROBLEM_MORE_FIRST_S
31: WMS_OTHER_NETWORK_PROBLEM_MORE_LAST_S
32: WMS_NO_PAGE_RESPONSE_S
33: WMS_DESTINATION_BUSY_S
34: WMS_NO_ACK_S
35: WMS_DESTINATION_RESOURCE_SHORTAGE_S
36: WMS_SMS_DELIVERY_POSTPONED_S
37: WMS_DESTINATION_OUT_OF_SERVICE_S
38: WMS_DESTINATION_NO_LONGER_AT_THIS_ADDRESS_S
39: WMS_OTHER_TERMINAL_PROBLEM_S
40: WMS_OTHER_TERMINAL_PROBLEM_MORE_FIRST_S
47: WMS_OTHER_TERMINAL_PROBLEM_MORE_LAST_S
48: WMS_SMS_DELIVERY_POSTPONED_MORE_FIRST_S
49: WMS_SMS_DELIVERY_POSTPONED_MORE_LAST_S
64: WMS_RADIO_IF_RESOURCE_SHORTAGE_S
65: WMS_RADIO_IF_INCOMPATIBLE_S
66: WMS_OTHER_RADIO_IF_PROBLEM_S
67: WMS_OTHER_RADIO_IF_PROBLEM_MORE_FIRST_S
95: WMS_OTHER_RADIO_IF_PROBLEM_MORE_LAST_S
96: WMS_UNEXPECTED_PARM_SIZE_S
97: WMS_SMS_ORIGINATION_DENIED_S
98: WMS_SMS_TERMINATION_DENIED_S
99: WMS_SUPPL_SERVICE_NOT_SUPPORTED
100: WMS_SMS_NOT_SUPPORTED_S
101: WMS_RESERVED_101_S
102: WMS_MISSING_EXPECTED_PARM_S
103: WMS_MISSING_MANDATORY_PARM_S
104: WMS_UNRECOGNIZED_PARM_VALUE_S
105 WMS_UNEXPECTED_PARM_VALUE_S
106: WMS_USER_DATA_SIZE_ERROR_S
107: WMS_OTHER_GENERAL_PROBLEMS_S
108: WMS_OTHER_GENERAL_PROBLEMS_MORE_FIRST_S

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
8.12 ^HCMGW – Command for Storing a Short Message
If PDU mode enabled:
^HCMGW:
If TEXT mode enabled:
In case of an SMS-related error:
+CMS ERROR:
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=, end with(CR)
TE wait for < greater_than >(IRA 13, 10, 62, 32) from the MT, and input the message content that end with (IRA 26).
TEXT mode:
Save a message to memory, there are two steps:
TE wait for < greater_than >(IRA 13, 10, 62, 32) from the MT, and input the text content that end with (IRA 26)
: 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 SMS Interface Commands
: Specifies the address encoding format. It is a digit of one byte. It is not supported at present. The default value is 0.
,,,,,: The year, month, day, hour, minute, and second of a short message.
: 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.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
: Specifies the content of a short message.
: Command termination character, indicating the end of a command.
: Indicates the end of the content of a short message. The character is '0x1A' when the encoding format is not UNICODE encoding; the character is '0x001A' when the encoding format is UNICODE encoding.
: Indicates canceling sending of the short message. The character is '0x1B'.
:the character is 0~9、A~F,two characters form a Octet
1 : WMS_TAG_MT_READ
2 : WMS_TAG_MO_NOT_SENT
3 : WMS_TAG_MO_SENT
8.12.4 Example
It saves a message but don‟t send out:
OK
At ^ HCMGW=44,2 · >0000021002040702C4CC484898580601FC08190003200010010A104F88307C61 F106 C4100306080731164709

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
^HCMGL[=] if pdu mode (+CMGF=0), command successful.
if text mode (+CMGF=1), command successful.
+CMS ERROR:
^HCMGL=? ^HCMGL:(supported list)
The execution command returns all short message indexes with the status value of <stat> from the storage medium specified by <mem1>.
Status report short messages are considered as received common short messages.
All supported stat values are returned when the test command is executed.
Else:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
In case of using the command without , is set to 0.
: An integer, identifying the position in the storage medium.
1: WMS_TAG_MT_READ
2: WMS_TAG_MO_NOT_SENT
3: WMS_TAG_MO_SENT
^HCMGR=[,] If PDU mode, command successful:
If TEXT mode, command successful:
^HCMGR: ,,,,,,,,,,, , OK
In case of an SMS-related error:
+CMS ERROR:
The execution command returns short messages with the storage position of <index> from the storage medium specified by <mem1>. Whether to modify the short message status depends on the value of <mode>.
: An integer, identifying the position in the storage medium.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
In case of using the command without <mode>, <mode> is set to 0.
: Specifies the number of the short message sender.
: The year, month, day, hour, minute, and second when a short message is received.
: Specifies the length of a received short message.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
: The received short message.
: Indicates the end of the content of a short message. The character is '0x1A' when the encoding format is not UNICODE encoding; the character is '0x001A' when the encoding format is UNICODE encoding.
In case of an SMS-related error:
+CMS ERROR:
+CMGD=? +CMGD:(supported list)[,(supported list)]
The execution command deletes the short messages in the <index> position of the storage medium specified by <mem1>. For the setting and description of <mem1>, see the +CPMS command. If the second parameter <delflag> is provided, and the value is not 0, the MT ignores <index> and performs operations based on <delflag>.
The current storage position of short messages and the supported <delflag> values are returned when the test command is executed.
: Identifies the storage position of a short message.
:
+CMGD= · [,]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
8.16 ^SMMEMFULL–Command for Reporting Full of Short Messages on a Storage Medium
^SMMEMFULL:
If the limit for the short messages stored on the specified storage medium has been reached, this event is automatically reported to the TE by using the ^SMMEMFULL command when a new message arrives. The user can use the +CPMS command to switch to another storage medium for storing the message.
: A string, specifying the type of the storage medium where short messages are full.
+CMGF[=] OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SMS Interface Commands
+CMGF? +CMGF:
+CMGF=? +CMGF:(list of supported s)
The SET command is used to set the format of the short message. The format has two modes, and depends on the parameter. The two modes are: PDU mode and TEXT mode. The TEXT mode is unable to display Chinese. The format of message in PDU mode, refers to ^HCMGS command.
The READ command is used to return the current mode selection.
The TEST command returns the applicable values.
:
1 TEXT mode (Default)
If no is included, it is equivalent to the effect that the is 1.
0 PDU mode

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Phonebook Interface Commands
9.1 +CPBS – Command for Selecting a Phonebook Memory
In case of an MT-related error:
+CME ERROR:
+CPBS? +CPBS:,,
In case of an MT-related error:
+CME ERROR:
+CPBS=? +CPBS:(supported list)
The set command selects a phonebook memory. The initial setting is "SM" after the MT is restarted. Other phonebook-related commands are executed on the phonebook memory selected by this command.
The currently selected phonebook memory, number of used entries, and maximum number of entries are returned when the read command is executed.
The supported phonebook memory type is returned when the test command is executed.
: Specifies the type of the phonebook memory.
+CPBS= · [,]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Phonebook Interface Commands
: Reserved.
: An integer, specifying the number of used entries in the currently selected memory.
: An integer, specifying the maximum number of entries in the currently selected memory. When the memory is "SM", the maximum value depends on the R- UIM card. When the memory is "ME", the maximum value is 300.
[^CPBR:,,,,[[...]
In case of an MT-related error:
+CME ERROR:
^CPBR=? ^CPBR:(supported list),,
In case of an MT-related error:
+CME ERROR:
This command returns the phonebook entries between index1 and index2 in the currently selected phonebook memory. If no phonebook entry is available in all positions between index1 and index2, "+CME ERROR: not found" is returned.
If only <index1> is specified, only the phonebook records of index1 are returned.
The position range of the currently selected phonebook memory, and the maximum lengths of <number> and <text> are returned when the test command is executed.
, , : They specify the position in the phonebook. They are integers.
: A string with double quotation marks, specifying a phone number.
^CPBR= [,]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Phonebook Interface Commands
: Specifies the number type. The value ranges from 128 to 255. 145 indicates an international number, and 129 indicates a national number. For details, see section 15.5 "Phone Number Type." When the first character in the read phone number is +, <type> is set to 145 automatically.
: A string with double quotation marks, specifying a name. When <coding> is set to 1, it indicates that <text> is the hex text of original data.
: Specifies the encoding format, indicating the character code of the <text> field, and the language. The values are as follows:
: An integer, specifying the maximum length of a phone number. When the memory is "SM", the maximum value depends on the R-UIM card. When the memory is "ME", the maximum value is 40.
: An integer, specifying the maximum length of a name. When the memory is "SM", the maximum value depends on the R-UIM card. When the memory is "ME", the maximum value is 90.
In case of an MT-related error:
+CME ERROR:
^CPBW=? ^CPBW:(supported list),,(supported list),
In case of an MT-related error:
+CME ERROR:
This command stores phonebook entries in the position specified by the currently selected phonebook memory <index>. If <index> is omitted, but <number> is contained in the parameter, the phonebook entry is stored in the first blank position of the phonebook. If there is no blank position, "+CME ERROR: memory full" is reported.
The position range of the currently selected phonebook memory, maximum length of the <number> field, all values of the <type> field, and maximum length of the <text> field are returned when the test command is executed.
^CPBW[=][, · [,[,,]]]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Phonebook Interface Commands
When the phonebook is stored, all entered lengths should be within the maximum length range.
: An integer, specifying the position in the phonebook.
: A string with double quotation marks, specifying a phone number. (Allowed characters are 0–9, „#‟, „*‟, „+‟, „(„, „)‟, and „-„). The three characters „(„, „)‟, and „–„ are ignored by the processing program regardless of their positions. The + symbol can only be in the at the start of the number.
: Specifies the number type. The value ranges from 128 to 255. 145 indicates an international number, and 129 indicates a national number. For details, see section 15.5 "Phone Number Type." If this parameter is omitted, and the first symbol in a phone number is +, the default value is 145. Otherwise, the default value is 129.
: A string with double quotation marks, specifying a name (its content does not support Enter and quotation marks).
: Specifies the encoding format, which indicates the character code of the <text> field, and the language. The values are as follows:
: An integer, specifying the maximum length of a phone number. When the memory is "SM", the maximum value depends on the R-UIM card. When the memory is "ME", the maximum value is 40.
: An integer, specifying the maximum length of a name. When the memory is "SM", the maximum value depends on the R-UIM card. When the memory is "ME", the maximum value is 90.
In the above command string the parameter values mean the following:
1 (position of the record in the memory)
" 80534E4E3A" (name Huawei)
1 (name encoding format UCS2)
"28780808" (phone number) · 129 (number type)

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
10.1 ^IPINIT–Command for Initializing a TCP/UDP Connection
In case of an MT-related error:
^IPINIT? If initialization is performed:
^IPINIT:,,,
If initialization is not performed:
^IPINIT=? ^IPINIT:(supported list)
This command initializes a TCP/UDP connection. After initialization is complete, a local IP address is obtained, enabling the next step to be performed, for example, enabling a TCP connection and transmitting UDP data.
In case of using the command without <user_name> and/or <password>, the user name and password that have been set by running the PPPCFG command are used.
^IPINIT[=[, · [,]]] · ,< LF>

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
: Not used by the product. It does not need to be specified. For details, see "Example."
: A string with double quotation marks, consisting of a maximum of 31 characters. It can be omitted.
: A string with double quotation marks, consisting of a maximum of 31 characters. It can be omitted.
: Specifies the initialization completion flag.
: A string without double quotation marks, specifying the local IP address.
: A string without double quotation marks, specifying the IP address of the primary DNS server.
: A string without double quotation marks, specifying the IP address of the secondary DNS server.
OK
AT^IPINIT?
^IPINIT:1,10.0.10.87,,129.11.18.8,0.0.0.0
OK
or · AT^IPINIT=,"card","card"
![Page 114 of the Huawei MC509 user manual — [...]]<CR><LF>](/cdn/reader/1d/1d205303c4bae4ecf9c333911d0a8e3fc2e533dd3092925170a11eea6a2a1daf/images/page-114.webp?w=400)
HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
In case of an MT-related error:
^IPOPEN? If a connection is established:
^IPOPEN:,,[,
[^IPOPEN:,,[,
If no connection is established:
^IPOPEN=? ^IPOPEN:(supported list), (supported list),(supported list)
This command establishes a wireless connection with one or more remote servers to complete data exchange. TCP and UDP modes are supported.
: Specifies the ID of a connection. The value ranges from 1 to 5.
: A string, specifying the connection type. Double quotation marks are used in the execution command. Double quotation marks are not contained in the returned value when the read command is executed. For details, see "Example."
"TCP": A TCP connection is established.
"UDP": A UDP connection is established.
: A string, specifying the target IP address to be connected to. Double quotation marks are used in the execution command. Double quotation marks are not

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
contained in the returned value when the read command is executed. For details, see "Example."
: An integer, specifying the port of the peer server to be connected to. The value ranges from 1 to 65535.
: An integer, specifying the local sending and receiving port. The value ranges from 1 to 65535.
OK
AT^IPOPEN=2,"TCP","129.11.18.8",10000,8000
OK
AT^IPOPEN=3,"UDP","129.11.18.8",7000,6000
OK
AT^IPOPEN?
^IPOPEN:1,TCP,9000,129.11.18.8,10000
^IPOPEN:2,TCP,8000,129.11.18.8,10000
^IPOPEN:3,UDP,6000,129.11.18.8,7000
OK
10.3 ^IPLISTEN–Command for Enabling Server Listening
In case of an MT-related error:
+CME ERROR:
^IPLISTEN? ^IPLISTEN:,,
^IPLISTEN=? ^IPLISTEN:(supported list),(supported list),(supported list)
^IPLISTEN=, · · ERROR or

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
This command enables the server listening function. After a server is started, the server can be connected to a maximum of five clients.
: A string, specifying the connection type. Double quotation marks are used in the execution command. Double quotation marks are not contained in the returned value when the READ and test commands are executed. For details, see "Example."
"TCP": A TCP connection is established.
"UDP": A UDP connection is established.
"NULL": No connection is established. The value is returned only when the read command is executed. The value cannot be returned when the test command is executed. The value cannot be used in the execution command.
: An integer, specifying the local listening port. The value ranges from 1 to 65535.
If server listening is not enabled, 0 is returned when the query command is executed.
: An integer, specifying the number of currently idle connections. The value ranges from 0 to 5.
^IPLISTEN:NULL,0,2
OK
AT^IPLISTEN=?
^IPLISTEN:(TCP,UDP),(1-65535),(0-5)
OK
AT^IPLISTEN="TCP",12000
OK
AT^IPLISTEN?
^IPLISTEN:TCP,12000,2
OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
^IPSEND=, ^IPSEND:
In case of an MT-related error:
+CME ERROR:
This command transmits subscriber data through an established connection.
: Specifies the ID of an established connection. The value ranges from 1 to 5.
: Specifies subscriber data. A maximum of 1,500 bytes enclosed by double quotation marks can be transmitted.
Only the subscriber data in the form of visible characters can be transmitted. To transmit invisible characters, they must first be converted into visible ones. In addition, subscriber data cannot contain quotation marks and commas.
^IPSEND:3
OK
ERROR or

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
In case of an MT-related error:
+CME ERROR:
^IPGETDATA? ^IPGETDATA:,,
^IPGETDATA=? ^IPGETDATA:(supported list)
This command queries the data receiving buffer provided for a user. The latest received three data packets are stored in the buffer for the user to query. If there are more than three data packets, the new data packets overwrite the oldest data packets.
: Specifies the index number of the buffered data. The value ranges from 0 to 2.
: Specifies the connection ID recorded in the buffered data. The value ranges from 1 to 5.
: An integer, specifying the data length. The value ranges from 0 to 1500.
: A string embraced in double quotation marks, specifying subscriber data. Only visible characters are supported. Quotation marks and commas are not allowed in the subscriber data.
^IPGETDATA:0,2,4
^IPGETDATA:1,2,3
ERROR or

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
OK
AT^IPGETDATA=0
^IPGETDATA:0,2,4,
OK
AT^IPGETDATA=1
^IPGETDATA:1,2,3,
ADF
OK
10.6 ^IPDATA–Command for Indicating the Arrival of TCP/UDP Data
^IPDATA:,,
This command automatically reports the received data.
: Specifies the ID of an established connection. The value ranges from 1 to 5.
: An integer, specifying the data length. The value ranges from 1 to 1500.
: A string without double quotation marks, specifying the newly received data. Only visible characters are supported.
^IPDATA:3,4,asdf

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
In case of an MT-related error:
+CME ERROR:
^IPCLOSE? ^IPCLOSE:,,,,
^IPCLOSE=? ^IPCLOSE:(supported list)
This command disables a TCP/UDP connection or disables the TCP/UDP function.
If <link_id> is set to 1–5, it indicates that the corresponding established connection is disconnected. To disconnect a TCP connection, four handshaking operations are needed for both party. UDP connection can be disconnected directly.
If <link_id> is set to 6, it indicates that the server listening function is disabled for the module.
If <link_id> is set to 7, it indicates that the module deregisters from the network, which is similar to dial-up disconnection.
: Specifies the ID of a connection. The value ranges from 1 to 7.
: Specifies the state of connection x.
^IPCLOSE= OK · ERROR or

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
OK
AT^IPCLOSE=1
OK
AT^IPCLOSE?
^IPCLOSE:0,1,0,0,0
OK
10.8 ^IPENTRANS–Command for Enabling the Transparent Transmission Mode
In case of an MT-related error:
This command enables the TCP transparent transmission mode. In this mode, there is no length restriction on the subscriber data being transmitted to the remote end through a TCP connection.
After "OK" is returned, a subscriber can continuously enter data and transmit the data to the remote end.
If a subscriber continuously enters +++, the transparent transmission mode is disabled.
A UDP connection does not support this mode.
: Specifies the ID of an established connection. The value ranges from 1 to 5.
^IPENTRANS= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Internet Service Interface Commands
OK
Now, the remote end will receive any characters (excluding consecutive three +) entered by a subscriber.
aat · aaaaaaaaat · aaat

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Audio Commands
11.1 ^SWSPATH -Switch Sound Path
^SWSPATH? ^SWSPATH:
^SWSPATH =? ^ SWSPATH:(list of supported s) OK
This command is used to switch sound path in voice call. Resetting the module will not affect the value. Module updating will reset the value to default value.
:
11.2 ^CPCM-Configure PCM audio

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Audio Commands
^CPCM? ^CPCM:, ,,, OK
^CPCM =? ^CPCM:(list of supported s), (list of supported s) , (list of supported s), (list of supported s), (list of supported s)OK
This command is used to configure the PCM audio before a voice call. Resetting the module will not affect the value. Module updating will reset the value to default value.
:
1 MASTER_AUX (Reserved, not supported currently)
2 SLAVE (Reserved, not supported currently)
2 a-law (Reserved, not supported currently)
0 2.048MHz (default)
1 128KHz (Reserved, not supported currently)
1 long frame (Reserved, not supported currently)
1 short sync offset set: the short sync sent to the external world in Primary PCM master mode is launched 1/4 cycle after the rising edge of the PCM CLK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Audio Commands
2 long sync offset set: the long sync sent to the external world in Aux PCM master mode is launched 1/4 cycle ahead of the rising edge of PCM CLK (Reserved, not supported currently)
This command is used to adjust the microphone gain of the MT.
Test command returns supported values as compound value.
: 1~12 integer type value with manufacturer specific range (smallest value represents the lowest gain). Default value is 5. Resetting the module will not affect the value. Firmware updating will reset the value to default value.
+CMIC= OK · +CLVL= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Audio Commands
This command is used to select the volume of the internal loudspeaker of the MT.
Test command returns supported values as compound value.
: 0~5 integer type value with manufacturer specific range (smallest value represents the lowest sound level). 0 means mute. Default value is 2. Resetting the module will not affect the value. Module updating will reset the value to default value.
This command is used to enable and disable the uplink voice muting during a voice call.
Test command returns supported values as compound value.
:
0 mute off (default)
+CMUT= OK · 1 mute on

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Audio Commands
This value restored to 0 when voice call is ended.
This command is used to enable and disable the downlink voice muting.
Test command returns supported values as compound value.
:
0 mute off (default)
Resetting the module will not affect the value. Module updating will reset the value to default value.
^SMUT= OK · 1 mute on

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Wakeup Commands
12.1 ^WAKEUPCFG -Wakeup Function Configuration
Errors about MT:
+CME ERROR:
This command is used to configure module‟s wakeup function by host, including the hardware interfaces supported, and the supported remote-wakeup sources.
The status of wakeup function
Option of hardware interfaces that support wakeup with length of 1 byte.
The supported hardware interfaces are defined with 8-bit mask. Every single bit represents the status of one kind of hardware interface. „1‟ represents TURN ON and „0‟ represents TURN OFF. Details are defined as following table:
^WAKEUPCFG=[, [,]]

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Wakeup Commands

Parameter to configure remote wakeup source with length of 2 bytes.
This parameter is defined with 16-bit mask. Every single bit represents a remote wakeup source supported by Module. „1‟ represents TURN ON and „0‟ represents TURN OFF. Details are defined as following table”

Query the current configuration parameters:
The wakeup function status is TURN ON. The hardware interface to wakeup is WAKUP_OUT PIN. The supported remote-wakeup sources are Voice, SMS and DATA.
Set the wakeup function status TURN ON. The hardware interface to wakeup is set to USB. Supported remote-wakeup sources are Voice, SMS, DATA and UR.
Configuration Succeed:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Wakeup Commands
^CURC? ^CURC:
The SET command is used to set mode value to open or close unsolicited reports. The unsolicited reports it can control are listed below: :^MODE, ^SIMST ,^CRSSI, ^HDRSSI, ^RSSILVL,^HRSSILVL. The unsolicited reports are closed if the mode value is set to 0 and the unsolicited reports are open if the mode value is set to 1. The default value of mode is set to 1. So, “^CURC=0” should be executed if all the unsolicited reports need to be closed.
The READ command returns the current mode value.
The TEST command returns the value range it supports.
:
0 the unsolicited reports closed
1 the unsolicited reports open (default value)
2 (not support now)
^CURC= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SAR Commands
13.1 ^BODYSARON–Disable or Enable Body SAR
In case of successful execution:
In case of an error during command execution: ERROR
^BODYSARON? In case of successful execution:
^BODYSARON:
In case of an error during command execution: ERROR
This command is used to enable or disable the BodySAR function. Read command can queries current state for BodySAR function, Test command returns supported value of set command.
^BODYSARON=

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SAR Commands
In case of successful execution:
In case of an error during command execution: ERROR
^BODYSARCDMA? I In case of successful execution:
^BODYSARCDMA:
In case of an error during command execution: ERROR
This command is used to set the max transmit power limit of CDMA. Read command can queries current value of the max transmit power limit, Test command returns supported value of the max transmit power limit.
Integer from 19 to 24; default value is 24
^THERM:
^BODYSARCDMA=< power>

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification SAR Commands
This command is used to send an unsolicited report to host when entering/exiting thermal protecting state according temperature. This command is affected by AT command ^CURC(if exists).
: Value that indicates whether thermal protection takes effect. The possible values are defined as below:
0 Indicates that the modem has entered thermal protecting state.
1 Indicates that the modem has exit thermal protecting state.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
14.1 ^WPDOM–Command for Setting Operation Mode
Error:
This command is used to set the position operation mode. Read command can queries current operation mode, Test command returns supported operation mode. SET command can only be used before position session beginning or after end, can‟t be used during positioning, or will be error.
^WPDOM= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
Error code Error Description
4 Operation not supported
276 GPS function disabled
283 PD session is ongoing
285 Too many parameters

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
Error:
This command is used to set the position session type. READ command queries current session type. TEST command returns supported session type. SET command can only be used before position session beginning or after end, can‟t be used during positioning, or will be error.
Error code Error description
4 Operation not supported
283 PD session is ongoing
285 Too many parameters
^WPDST= OK · 281 Invalid parameter

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
Error:
^WPDFR? ^WPDFR:,
This command is used to set the fix rate of position session. READ command queries the current fix rate, TEST command returns supported fix rates. SET command can only be used before position session beginning or after end, can‟t be used during positioning, or will be error.
this command can only use when the session type is tracking fix.
: the number of position fixes an application will trigger. The range is 1 to 65535, default value is 65535, no storing at power down
: the valid time between fixes. This value is valid for num fixes >1. The range is 1 to 1800(s), default value is 1, no storing at power down
Error code Error description
4 Operation not supported
283 PD session is ongoing
285 Too many parameters
^WPDFR=, · 281 Invalid parameter

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
Error:
This command is used to set the QoS of fix request, include the performance and the accuracy threshold. READ command queries current QoS, TEST command returns supported QoS range. SET command can only be used before position session beginning or after end, can‟t be used during positioning, or will be error.
: the level of desired performance in the scale of 0 to 255, this value encodes the preferred response quality(in seconds) to be used for the GPS pseudorange measurements. No storing at power down.
1 to 255: this indicates the upper bound for GPS search. Note that this does not correspond to overall session time, but only the amount of time spent searching in GPS mode.
: this allows applications to specify(in meters) the accuracy threshold for a GPS fix. The range is 25 to 1000 meters, default value is 50 meters, no storing at power down
Error code Error description
4 Operation not supported
283 PD session is ongoing
^WPQOS=, · · 281 Invalid parameter

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands


This command is used to start a GPS position. Each time only support one position, if it has have a GPS session, then this command will returns error.



HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
This command is used to end GPS position session. If there is no active session, this command will return error.
Error code Error description
4 Operation not supported
276 GPS function disabled
284 PD session is in off status
This command reports the position result to user. The report interval is related to fix rate. If the time between fix ≥ 3s, it won‟t limited the report interval, or it will report the first fix result, then report once after three fixes.
All the default parameters below are 0
: longitude, in the range from -180 degrees to +180 degrees, referenced to the WGS-84 reference ellipsoid, counting positive angles east of the Greenwich meridian and negative angles west of the Greenwich meridian.
: latitude, in the range from -90 degrees to +90 degrees, referenced to the WGS-84 reference ellipsoid, counting positive angles north of the equator and negative angles south of the equator.
:altitude, height of MS above the WGS 84 reference ellipsoid in units of 1 meter, ranging from -500 m to 15883 m, where the field value conveys the height plus 500 m, positive is above the horizontal and negative is under the horizontal. (Because of the bug of GPS system, the altitude is not accurate)

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
When position end, it will report this command and tell the user the end reason.
When position success,

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
Error:
This command is used to delete the assisted data. TEST command returns supported delete types. This command can only be used before position begin or after position end, not support deleting during position.
Error code Error description
4 Operation not supported
^WPDIM= OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands


This command queries current GPS type.
Bits Bit4 Bit3 Bit2 Bit1 Bit0
GPS Type Cell-ID gpsOneXTRA User plane Control plane Standalones

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification GPS Commands
Error code Error description
4 Operation not supported
If the module support all GPS types:
^GPSTYPE : 31
OK

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix
15.1 CME ERROR List
For all AT commands, if the default value of the CMEE is 2, "ERROR" can be reported, or "CME ERROR" can be reported. "CME ERROR" includes certain common errors ad certain specific errors of the AT commands.
Table 15-1 lists CME ERRORs that may be produced by certain interface commands and causes. The numbers in the header row are the <err> values of the CME ERROR, and numbers in the body of the table are cause IDs. For the mapping between the <err> value of CME ERROR and the string, see Table 15-2 . The causes are described later.
For example, 7 is entered in the column of the +CPWD= command row with the <err> value of 16, which indicates that the +CPWD= command may produce CME ERROR with the <err> value of 16. The text string is "incorrect password", the cause ID is 7, and the specific cause explanation is "incorrect password".
Table 15-1 CME ERRORs and causes

3© 4 10 12 13 14 16 20 21 22 23 24 26 27 100 65280

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix

3© 4 10 12 13 14 16 20 21 22 23 24 26 27 100 65280
^CPBW= 4 6 1 13 10 14 15 16
The following lists all common and specific errors.
The error causes are as follows:
Command error:
Table 15-2 describes the mapping between the <err> value of CME ERROR and the string.
Table 15-2 Mapping between the <err> value of CME ERROR and the string
<err> Code String Text
0 phone failure

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix


HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix


HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix

300 301 302 303 304 305 313 314 320 321 322 340 500
The following lists the <err> value of CMS ERROR that may be returned by all AT commands of CDMA product short messages.
Table 15-3 describes the mapping between the <err> value of CMS ERROR and the string.
Table 15-3 Mapping between the <err> value of CMS ERROR and the string


HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix
The causes are as follows:

OK 0 A command is executed, and there is no error.
NO ANSWER 8 Timeout occurs when the connection is complete, and there is no reply.
+CME ERROR: The error type is specified by <err>.
+CMS ERROR: It is a short message-related error.
The final result code is the termination flag of an AT command.

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix
Table 15-4 lists the initial values of the interface parameters mentioned in this document during MT startup.
Table 15-4 Initial parameter values after startup

+CPMS = ME, = ME, and = ME
+CNMI = 1, = 1, = 0, = 2, and = 0
^HSMSSS = 0, = 0, = 1, = 0
The phone number type consists of one byte. Its structure is as follows:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix
0 0 0: This value is selected when the subscriber does not know the check information of the target address number. The address number is organized by the network side.
0 0 1: This value is selected when the subscriber can identity that the number is an international number or the user considers that the number is in the national number range.
0 1 0: The number is a national number without a prefix or a suffix. This value is selected when the subscriber originates a national call.
0 1 1: The number is a specific number on the network and is used for management or service. This value cannot be used by the user.
1 0 1: The number is in the default 7-bit encoding format of the GSM and is not supported at present.
1 1 0: The number is short and is not supported at present.
1 1 1: The number is reserved for extension and is not supported at present.
(Note: bit3…bit0 is valid only when the value of bit6…bit4 is 000,001,010.
0: The number depends on the number scheme on the network side.
0 0 1 1: data numbering plan, not supported at present.
0 1 0 0: telex numbering plan, not supported at present.
1 0 0 0: national numbering plan, not supported at present.
1 0 0 1: private numbering plan, not supported at present.
1 0 1 0: ERMES numbering plan, not supported at present.
The common phone number types are as follows:

HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix
15.6 AT Commands That Are Allowed to Be Executed in PIN Code Limit Mode



HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix


HUAWEI MC509 CDMA LGA Module AT Command Interface Specification Appendix

Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.