3 basic syntax commands – Comtrol AT Commands for SmartACFL User Manual

Page 14

Advertising
background image

Command Reference Manual

2-2

Conexant

100722A

2.2.4

Repeating a Command Line

If the prefix "A/" or "a/" is received, the modem immediately executes once again the body of the preceding command line. No
editing is possible, and no termination character is necessary. A command line may be repeated multiple times in this
manner. Responses to the repeated command line are issued using format of the original command line. If "A/" is received
before any command line has been executed, the preceding command line is assumed to have been empty (that results in an
OK result code).

2.2.5

Types of DTE Commands

There are two types of commands: action commands and parameter commands. Commands of either type may be included
in command lines, in any order.

Action commands may be "executed" (to invoke a particular function of the equipment, which generally involves more than
the simple storage of a value for later use), or "tested" (to determine whether or not the equipment implements the action
command, and, if subparameters are associated with the action, the ranges of subparameter values that are supported).

Parameters may be "set" (to store a value or values for later use), "read" (to determine the current value or values stored), or
"tested" (to determine whether or not the equipment implements the parameter, and the ranges of values supported).

2.3

Basic Syntax Commands

2.3.1

Basic Syntax Command Format

The format of Basic Syntax commands, except for the D and S commands, is as follows:

<command>[<number>]

where <command> is either a single character, or the "&" character followed by a single character per V.250. In addition,
<command> can be the "%" character followed by a single character, the "*" character followed by a single character, or the
"^" character followed by a single character.

<number> may be a string of one or more characters from "0" through "9" representing a decimal integer value. Commands
that expect a <number> are noted in the description of the command. If a command expects <number> and it is missing
(<command> is immediately followed in the command line by another <command> or the termination character), the value "0"
is assumed. If a command does not expect a <number> and a number is present, an ERROR is generated. All leading "0"s in
<number> are ignored by the modem.

Additional commands may follow a command (and associated parameter, if any) on the same command line without any
character required for separation. The actions of some commands cause the remainder of the command line to be ignored
(e.g., A).

See the D command for details on the format of the information that follows it.

2.3.2 S-Parameters
Commands that begin with the letter "S" are known as "S-parameters". The number following the "S" indicates the "parameter
number" being referenced. If the number is not recognized as a valid parameter number, an ERROR result code is issued.

Immediately following this number, either a "?" or "=" character must appear. "?" is used to read the current value of the
indicated S-parameter; "=" is used to set the S-parameter to a new value.

S<parameter_number>?

S<parameter_number>=[<value>]

If the "=" is used, the new value to be stored in the S-parameter is specified in decimal following the "=". If no value is given
(i.e., the end of the command line occurs or the next command follows immediately), the S-parameter specified may be set to
0, or an ERROR result code issued and the stored value left unchanged. The ranges of acceptable values are given in the
description of each S-parameter.

If the "?" is used, the modem transmits a single line of information text to the DTE. The text portion of this information text
consists of exactly three characters, giving the value of the S-parameter in decimal, with leading zeroes included.

Advertising
This manual is related to the following products: