6: Tunnel Settings
xPico® Wi-Fi® Embedded Device Server User Guide
35
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 6-2 Tunnel Packing Mode Settings
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.
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.
Note:
This configuration option becomes available when Timeout is the
selected Mode.
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.
Note:
This configuration option becomes available when Timeout is the
selected Mode.
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.
Note:
This configuration option becomes available when Send Character is
the selected Mode.
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>).
Note:
This configuration option becomes available when Send Character is
the selected Mode.