Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Configuration
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
14
2.5 ATV - 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
command
ATV[<value>]
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>
z
In case of an error: <CR><LF>ERROR<CR><LF>
Parameter description
<value>: integer; ATV is equivalent to ATV0.
z
0: The MS sends the abbreviated head and full tail, and returns the result code in
numeric form.
z
1 (default value): The MS sends the full head and tail, and returns the result
code in verbose string form.
Table 2-4 Effect of ATV on response formats
V0 V1
Returned
information field
<text><CR><LF> <CR><LF><text><CR><LF>
Returned result
code
<numeric
code><CR>
<CR><LF><verbose code><CR><LF>
Note:
In the response format, <CR> indicates the S3 character; <LF> indicates the S4 character.
Table 2-5 List of execution results
String Format Numeric
Format
Meaning
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.