Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Other Commands
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
205
16.2 ATS3 – Command for Settting the Command Line
Ending Character
This command sets the command line ending character S3, which saves the
command line ending character as an ASCII code. This character is sent by the TE,
indicating the end of a command line.
16.2.1 Querying the Current Command Line Ending Character
Read
command
ATS3?
Function
Queries the current command line ending character.
Response
z
In case of successful execution:
<CR><LF><n><CR><LF>
<CR><LF>OK<CR><LF>
z
In case of an error during command execution:
<CR><LF>ERROR:<CR><LF>
z
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>
Parameter description
<n>: integer, which indicates the ASCII code of the command line ending character.
Value range: 1~710~6466~8385~9698~115117~127. Default value: 13.
16.2.2 Setting the Command Line Ending Character
Write
command
ATS3=<n>
Function
Sets the command line ending character.
Response
z
In case of successful execution: <CR><LF>OK<CR><LF>
z
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>
Note:
<n> is not allowed starting with 0x”, or regarding as ATS3=0.
16.2.3 Examples
Example 1:
Query the current command line ending character.
ATS3?