DTE command syntax
Two different command formats as specified by the 2.250 specification are supported these
are basic and extended commands as described below.
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. Characters used in
<
command>
shall be taken from the set of
alphabetic characters.
•
<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 does not expect a
<
number>
and a number is present, an
ERROR
is
generated. All leading "
0
"s in
<
number>
are ignored by the terminal.
•
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
).
Special Note:
As an extension to the V.250 standard basic commands in the CDM800 series will also
accept
test
and
query
syntax described as below.
<
command
>
?
The current values (if any) stored for the parameter are sent to the terminal in an
information text response.
The format of this response is described in the definition of the parameter. Generally, the
values will be sent in the same form in which they would be issued by the host in a
parameter setting command
<
command
>=
?
If the terminal does not recognize the indicated command, it returns an
ERROR
result code
and terminates processing of the command line.
If the terminal does recognize the parameter name, it shall return an information text
response to the host, followed by an
OK
result code. The information text response
shall indicate the <
numbers>
supported by the terminal.
S-parameters
Commands that begin with the letter "
S
" constitute a special group of parameters known as
"S-parameters". These differ from other commands in important respects. 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 shall appear. "
?
" is used to read the
current value of the indicated S-parameter; "
=
" is used to set the S-parameter to a new
value.
CDM800 Series V.250 Manual
Page 7 of 33
To suit software version 1.52.2
4/4/2008