HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Configuration

2.5ATV - Command for Setting the Formats of ME Responses

The ATV command sets the formats of result code and information field returned by the AT command, including the composition of head and tail. In addition, the ATV command sets the forms of the contents of returned result code, including numeric and verbose string forms.

Execution ATV[<value>] command

Function Sets the formats of result code and information field returned by the AT command, and the forms of the contents of returned result code.

Response z In case of successful execution: <CR><LF>OK<CR><LF>

zIn case of an error: <CR><LF>ERROR<CR><LF>

Parameter description

<value>: integer; ATV is equivalent to ATV0.

z0: The MS sends the abbreviated head and full tail, and returns the result code in numeric form.

z1 (default value): The MS sends the full head and tail, and returns the result code in verbose string form.

Table 2-4Effect of ATV on response formats

 

 

V0

 

V1

 

 

 

 

 

 

 

 

Returned

 

<text><CR><LF>

<CR><LF><text><CR><LF>

 

information field

 

 

 

 

 

 

 

 

 

 

 

 

 

Returned result

 

<numeric

 

<CR><LF><verbose code><CR><LF>

 

code

 

code><CR>

 

 

 

 

 

 

 

 

 

Note:

 

 

 

 

 

 

In the response format, <CR> indicates the S3 character; <LF> indicates the S4 character.

 

 

 

 

 

 

 

 

Table 2-5List of execution results

 

 

 

 

 

 

 

 

 

String Format

Numeric

 

Meaning

 

 

 

Format

 

 

 

 

OK

0

 

 

The command is successfully executed.

 

 

 

 

 

 

 

CONNECT

1

 

 

The connection is successfully set up.

 

 

 

 

 

 

 

RING

2

 

 

The terminal rings.

 

 

 

 

 

 

 

NO CARRIER

3

 

 

The connection fails to be set up or the connection is

 

 

 

 

 

hung up.

 

 

 

 

 

 

 

 

 

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

14

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 31
Image 31
Huawei MG323 ATV Command for Setting the Formats of ME Responses, String Format Numeric Meaning, Connect, Ring, No Carrier