
Chapter 8 – Point-to-Point Protocol
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 95
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 <direct/modem>
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 <line-no> <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 <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 <dial-prefix string>
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 <phone no>
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 <none/dtr/command>
Examples: # set serial s0 modem dialing-trig-mode <none/dtr/command>
ERROR : ‘Command not supported on device port s0’
# set serial s1 modem dialing-trig-mode <none/dtr/command>
OK
Notes
• By default, the modem on modem port s1 is in the answering state.
• The user can choose the dialing trigger method with the following command to dial.
• This command is valid only for the modem port s1.
Definitions:
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.
Komentáře k této Příručce