beautypg.com

Hayes commands – Eicon Networks 1530 User Manual

Page 119

background image

Command Line Interface

119

HAYES Commands

ENABLE HAYES ANSWER
DISABLE HAYES ANSWER

Enables/disables answering of incoming calls by the modem (DCE). When enabled, the
modem will automatically answer incoming calls.

ENABLE HAYES RETRY
DISABLE HAYES RETRY

Specifies if the modem should redial if a primary number is busy or otherwise does not
respond. If enabled, the secondary number, if defined, will be redialed. If the secondary number
is not defined, the primary number will be redialed

SET HAYES DATABITS DataBits

Defines the number of bits used to represent a character. Set this parameter to the same value as
on the modem connected to the port. This parameter allows for call setup commands to be
issued before a connection is established with an external modem.

Possible values: 7 or 8.

Default. 8.

SET HAYES SPEED speed

Defines the maximum rate in bits per second (bps) at which the dialer, while in command
mode, communicates with the modem connected to the port. This allows call setup commands
to be issued before a connection is established with an external modem.

Possible values for ‘speed’: 1200, 2400, 4800, 7200, 9600, 12000, 14400, 19200, 38400,
57600, 115200, 230400

Default: 115200.

SET HAYES PARITY { NONE | ODD | EVEN }

Defines the method of parity error checking used. Both ends of the connection must be set to
the same value. This allows call setup commands to be issued before a connection is
established with an external modem.

Possible values: None, Odd, Even.

Default: None.

SET HAYES NUMBER { PRIMARY | SECONDARY } number

Defines the phone numbers to dial. The primary number is dialed first. If the primary number is
busy or otherwise non-responsive, the secondary number is then dialed. If no secondary
number is defined, the primary number is used again.

PRIMARY: The first number to dial.

SECONDARY: The number to dial if the primary is non-responsive.

number: The characters ‘AT’ followed by a tone or pulse dial indicator (DT or DP), then the
telephone number. The AT prefix is a Hayes-standard way of communicating with a modem.
For example, ATDT 555-5555 dials the number 555-5555 using a tone dial. ATDP 555-5555
dials the same number using a pulse dial.