Technical data
115
-
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.
-
a<at_command
>
Optional Allows to provide additional AT-command strings used for client initialization.
-y Optional Does not display any messages except call progress and data transfer status.
-m<packets> Optional Exits after "packets" data packets were sent. Displays the transfer status on the
screen (standard out) and prints it to the log.<tty_nr> file. Error messages
generated at dial time are additionally written to syslog. If the data packets have
been successfully transferred, exit status is 20. Any other exit status indicates an
error. This option allows you to create scripts that provide tests for multiple calls
with different protocols.
Example 2. Start tty_test server with protocol auto-detection
To start the test server at TTY number 10 and use protocol auto-detection, execute: tty_test 10 s auto.
Example 3. Start the test server using the V.110 protocol
To start the test server at TTY number 21 using the V.110 protocol with 9600 bps in the background, execute:
tty_test 21 sv v110 -l2048 -s5&
Example 4. Start the test client using the X.75 protocol and specify the frame length
To start the test client at TTY 1 using the X.75 protocol, the called party number 800, and a test frame length of
514 bytes, execute: tty_test 1 800 x75 -l514.
Example 5. Start the test client using the V.110 protocol
To start the test client at TTY 1 running in the background using the V.110 protocol, called party number 800, a
test frame length of 128 bytes, a rate adaptation speed of 9600 bps, and rate adaptation indication in the bearer
capabilities, execute: tty_test 1 800 v110 -l128 -s5 -a+iu="<8890214800bb>" -x&
Example 6. Start 30 test server and 30 test client sessions
Start 30 test server and 30 test client sessions using this sample shell script. It uses B-channel protocol auto
detection on the server side and V.110 with 9600 bps on the client side.