Extended Syntax Commands; Command Naming Rules; Values; Numeric Constants - AOpen FM56 Manual

Pci fax/modem
Hide thumbs Also See for FM56:
Table of Contents

Advertisement

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.

2.4 Extended Syntax Commands

2.4.1 Command Naming Rules

Both actions and parameters have names, which are used in the related commands.
Names always begin with the character "+". Following the "+", from one to 16 additional
characters appear in the command name. These characters will be selected from the
following set:
A through Z (IA5 4/1 through 5/10)
0 through 9 (IA5 3/0 through 3/9)
! (IA5 2/1)
% (IA5 2/5)
- (IA5 2/13)
. (IA5 2/14)
/ (IA5 2/15)
: (IA5 3/10)
_ (IA5 5/15)
The first character following the "+" must be an alphabetic character in the range of "A"
through "Z". This first character generally implies the application in which a command is
used (e.g., F for Fax or V for voice).
The modem considers lower-case characters to be the same as their upper-case
equivalents.

2.4.2 Values

When subparameters are associated with the execution of an action, or when setting a
parameter, the command may include specification of values. This is indicated by the
appearance of <value> in the descriptions below.
<value> consists of either a numeric constant or a string constant.

2.4.2.1 Numeric Constants

Numeric constants are expressed in decimal, hexadecimal, or binary.
Decimal numeric constants consist of a sequence of one or more of the characters "0"
through "9", inclusive. Hexadecimal numeric constants consist of a sequence of one or
more of the characters "0" through "9", inclusive, and "A" through "F" inclusive. The
characters "A" through "F" represent the equivalent decimal values 10 through 15.
Binary numeric constants consist of a sequence of one or more of the characters "0" and
"1".

Advertisement

Table of Contents
loading

Table of Contents