Technical data
114
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.
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.