4 Modem Command Guidelines
Modem Command Guidelines
Repeating a Command
To repeat the last command line issued, enter the
A/
command.
When repeating the
A/
command, it is not necessary to enter
the
AT
prefix or press
enter,
because the
A/
command repeats the
AT
prefix and
enter
function.
The last command entered remains in the command buffer until
the modem is reset or power to the modem is turned off. Both
actions clear the buffer. The
A/
command is invalid while the
buffer is clear.
Omitting a Parameter in a Command Line
If you enter a command that normally includes a numeric
parameter, such as
ATHn,
without entering the numeric parameter,
the missing parameter is assumed to be the default parameter.
For example, the
Hn
(hang-up) command can have a numeric
parameter of zero (
H0
), which is the default, or of one (
H1
).
If neither parameter is entered,
ATH
plus
enter
is the equivalent
of
ATH0
plus
enter.
This rule does not apply to the
D
(dial) command.
Setting the Result Code Format
A result code is the response of the modem to a command. It may
be issued in either of two formats: words (the long form, also
known as verbose) or numeric characters (the short form,
represented by digits).
The result code format is set using the
Vn
command:
■
Use
V1
for words (default).
■
Use
V0
for numeric characters.
291715-001.book Page 4 Thursday, July 18, 2002 3:03 PM