9: Administration
SGX 5150 IoT Device Gateway User Guide
117
TM
To Configure Tunnel Serial Settings
Using Web Manager
To configure the Serial Settings for a specific tunnel, on the
Administration
page, click
Tunnel
>
Tunnel 1 > Serial Settings
.
Using the CLI
To enter Tunnel 1 command level:
enable > tunnel 1 > serial
Using XML
Include in your file:
<configgroup name=”tunnel serial” instance=”1”>
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 9-48 Tunnel Packing Mode Settings
DTR
Select the conditions in which the Data Terminal Ready (DTR) control signal on
the serial line are asserted. Choices are:
Unasserted
TruPort
= the DTR is asserted whenever either a connect or an accept mode
tunnel connection is active with the Telnet Protocol RFC2217 saying that the
remote DSR is asserted.
Asserted while connected
= the DTR is asserted whenever either a
connect or an accept mode tunnel connection is active.
Continuously asserted
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.
Note:
This configuration option appears when Timeout mode is selected.
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.
Note:
This configuration option appears when Timeout mode is selected.
Terminal Serial Settings
(continued)
Description