8: Line and Tunnel Settings
PremierWave® XN Intelligent Gateway User Guide
81
Packing Mode
With Packing, data from the serial Line is not sent over the network immediately. Instead, data is
queued and sent in segments, when either the timeout or byte threshold is reached. Packing
applies to both Accept and Connect Modes.
Table 8-4 Tunnel Packing Mode Settings
To Configure Tunnel Packing Mode Settings
Using Web Manager
To configure the Packing Mode for a specific tunnel, click
Tunnel
in the menu and select
Tunnel 1 -> Packing Mode
.
Using the CLI
To enter the Tunnel 1 Packing command level:
enable -> tunnel 1 -> packing
Using XML
Include in your file:
<configgroup name="tunnel packing" instance="1">
Tunnel Packing
Mode Settings
Description
Mode
Configure the Tunnel Packing Mode. Choices are:
Disable
= Data not packed.
Timeout
= data sent after timeout occurs.
Send Character
= data sent when the Send Character is read on the Serial Line.
Threshold
Set the threshold (byte count). If the received serial data reaches this threshold, then
the data will be sent on the network. Valid range is 100 to 1450 bytes. Default is 512.
Timeout
Set the timeout value, in milliseconds, after the first character is received on the
serial line, before data is sent on the network. Valid range is 1 to 30000 milliseconds.
Default is 1000. This setting becomes available when the Timeout mode is selected.
Send Character
Enter Control Characters in any of the following forms:
<control>J
0xA (hexadecimal)
\10 (decimal)
If used, the Send Character is a single printable character or a control character that,
when read on the Serial Line, forces the queued data to be sent on the network
immediately.
Trailing Character
Enter Control Characters in any of the following forms:
<control>J
0xA (hexadecimal)
\10 (decimal).
If used, the Trailing Character is a single printable character or a control character
that is injected into the outgoing data stream right after the Send Character. Disable
the Trailing Character by blanking the field (setting it to <None>).