Technical data
95
The tty_test utility contains a test server, a test client, and a small terminal application. The test client calls the
test server. When the connection is established, the client starts to generate test frames and to transmit these
frames to the test server. The test server loops the received data back to the transmitter (client). The test client
verifies the received frames based on sequence number and check sum, and generates link statistics. The
tty_test utility is located in the /usr/lib/eicon/divas directory.
tty_test in server mode
The test server can be started with the following commands:
Command Description
tty_test <tty_nr> s <protocol> [-
l<frame_length> -s<rate>]
This command starts a test server on your console. You can see the
messages from the TTY interface and the link statistics generated
by the receiving side.
tty_test <tty_nr> sv <protocol> [-
l<frame_length> -s<rate>]&
This command starts a test server in the background. In this mode,
the test server detaches from your console and does not display
any output. To get information about the test server started in the
background, use the ps x command. To safely stop the test server
running in the background, use the HUP signal (kill -HUP
process_number or killall -HUP tty_test).
Parameters for the tty_test in server mode
Parameter Level Description
tty_nr Mandatory Dialogic
®
Diva
®
TTY number that should be used by this test server. It should
range between 1 and N, where N is the sum of B-channels of the Dialogic
®
Diva
®
Media Boards installed in the system
protocol Mandatory
Value Description
auto Automatic detection of the B-channel protocol stack.
x75 HDLC/X.75/Transparent. This protocol stack provides reliable data
transfer. V.42bis compression is detected automatically.
x75v42 HDLC/X.75 with V.42bis data compression/Transparent. This protocol is
not used on the server side because x75 automatically detects X.75 with
V.42bis.
v120 HDLC/V.120/Transparent V.120 with V.42bis is possible.
v110 V.110/Transparent/Transparent
mdm Modem with full negotiation/V.42+V.42bis/Transparent.
tty_test utility