Hayes Protocol Mode Operation; Command Codes - Tandy DCM-7 Operation Manual

300-bps intelligent modem
Table of Contents

Advertisement

Hayes protocol mode operation
3
In Hayes protocol mode, commands instruct the DCM-7's operation and
register values determine how the commands will be executed. The command
structure is patterned from the industry standard AT-string-interface com-
mand, which makes the DCM-7 Hayes-software compatible.
Command codes
All command lines in Hayes protocol mode begin with the AT (attention
code) string and end with a carriage return (
ENTER ) •
AT
must be entered
in uppercase letters, but the commands following can be entered in either
upper- or lowercase letters. When the AT command is received, the DCM-7
will automatically set the operation speed (in Bps) and parity.
You can store a sequence of commands in the command buffer memory,
provided the command line does not exceed the 40-character buffer capaci-
ty. These commands, however, must be entered in logical order in order to
be executed.
If
the command line exceeds the buffer-character limit, the Modem
will not execute the commands and instead sends an error result code (Table 8).
Example 1. Sample command line
AT V1 S6 = 3 DP9, T(111)123-4567R
(ENTER)
Now, to review the commands, one by one:
AT
B~ginning
of command line.
Plac~
the Modem in command
receptive mode.
V1
Displa,y the verbal result code. (Refer to Result codes later
in this chapter.)
S6=3
DP9,
T
R
Wait 3 seconds for the dial tone.
Dial 9 by
pul~e
dia,ling, then pause 2 seconds (defa,ult
valu~
of
regist~r
SS). (Refer to
th~
section on Registers.)
Touch-tone dia,I the
t~lephone
number that
follow~.
Cha,nge to
answ~r
mode a,nd wait for carder.
(ENTER )
End of command line. Execute all commands.
The attention code AT, control characters and spaces do not take up space
in the command buff er. The punctuation used in the telephone number to
make it easier to read does take up space. Input the attention code AT, reset
command Z, or turn OFF the power supply of the Modem to clear the com-
mand buffer.
21

Advertisement

Table of Contents
loading

Table of Contents