Technical data

96
-
l<frame_length>
Optional Length of the test frame. It is normally not used by the test server but it should
be provided if the -s option follows
-s<rate> Optional Speed adaptation rate. This parameter should be indicated if the v110 B-channel
protocol is used without auto detection. It should range between 2 and 9 (5-9600,
9-56000). If this option is selected, the "-l" option should also be used
tty_test in client mode
The test client can be started with the following commands:
Command Description
tty_test <tty_nr> <CPN> <protocol>
[-l<frame_length> -s<rate>] [-
a<at_command>] [-y] [-m<packets>]
This command starts a test client on your console.
tty_test <tty_nr> <CPN> <protocol>
[-l<frame_length> -s<rate>] [-
a<at_command>] [-mpackets] -x&
This command starts a test client in the background. In this mode,
the test client detaches from your console and does not display any
output. It generates a file named log.<tty_nr> in its working
directory. The test client reports its link statistics to this file. You
can monitor the link statistics by the command strings log.* |
more.
Note: The tty_test updates the log files after 64 KBytes of data have been transferred. Therefore, please be
patient if you use, e.g., the V.110 protocol with 9600 bps.
To get information about the test client started in the background, type: ps ax | grep tty_test.
To safely stop the test client running in the background, use the "HUP" signal (kill -HUP process_number or
killall -HUP tty_test). The tty_test utility understands the commands HUP, TERM, ABRT and INT. These
commands terminate the tty_test utility.
Parameters for the tty_test in client 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 Board installed in the system.
CPN Mandatory Called Party Number (any number can be used in back-to-back mode)
protocol Mandatory
Value Description
hdlc HDLC/Transparent/Transparent. This protocol stack is widely used by
RAS.
x75 HDLC/X.75/Transparent. This protocol stack provides reliable data
transfer. V.42bis compression is detected automatically.