HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Other Commands

16.2ATS3 – 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

ATS3?

command

 

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

ATS3=<n>

command

 

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?

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

205

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 222
Image 222
Huawei MG323 manual Querying the Current Command Line Ending Character, Setting the Command Line Ending Character, ATS3?