beautypg.com

Serial interface related parameters, Connect type, Modem settings - for modem connection only – Multi-Tech Systems MTS2SA-T User Manual

Page 135

background image

Chapter 11 – Point-to-Point Protocol

Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A)

135

Serial Interface Related Parameters

Connect Type

This command sets the connection type. A connection type can be either a direct connection or a
connection through a modem. In case of a modem connection, the modem settings also have to
be configured as described in the following sections.

Command:

# set serial [serial-interface] connect-type

Example:

#set serial s0 connect-type direct
OK
(Or)
#set serial s0 connect-type modem
OK

#set serial s1 connect-type direct
"Modem port s1 is an inbuilt modem interface and cannot be set to direct"
ERROR

#set serial s1 connect-type modem
OK

Modem Settings - For Modem Connection Only

This command sets the initialization string of the modem.

Command:

# set serial [serial-interface] modem init-string

Example:

#set serial s1 modem init-string 1 ATS0=1
OK

This command sets the hangup string of the modem.

Command:

# set serial [serial-interface] modem hangup-string

Example:

#set serial s1 modem hangup-string +++ATH0
OK

This command sets the dial-prefix string of the modem.

Command:

# set serial [serial-interface] modem dial-prefix

Example:

#set serial s1 modem dial-prefix ATDT
OK

This command is used to set the dial number on the dialing end.

Command:

# set serial [serial-interface] modem dial-number

Example:

#set serial s1 modem dial-number 224824
OK

This command is used to set the dialing trigger mode

Command:

# set serial [serial-interface] modem dialing-trig-mode

Note:

By default, the modem on modem port S1 is in the answering state.

This command is valid only for the modem port S1.

Examples:

# set serial s0 modem dialing-trig-mode
ERROR : ‘Command not supported on device port s0’
# set serial s1 modem dialing-trig-mode
OK

none:

When the

dialing-trig-mode is configured none, the modem dials

immediately once the target boots up.

dtr:

When the

dialing-trig-mode is configured dtr, the modem dials as soon

as the TR goes high on the device port S0; i.e., when the serial device is
connected to S0.

command:

When the

dialing-trig-mode is configured as command, the serial

device can control the physical link establishment and link termination with the
aid of the commands

linkup s1 and hangup s1 respectively.

This manual is related to the following products: