6: Tunnel Settings
xPico® Wi-Fi® Embedded Device Server User Guide 39
To Configure Tunnel Connect Mode Settings
Using Web Manager
To configure the Disconnect Mode for a specific tunnel, click Tunnel in the menu and select
Tunnel 1 -> Connect.
Using CLI
To enter the Tunnel command level: config -> Tunnel <instance>
Using XML
Include in your file: <configgroup name = "Tunnel Connect" instance = "1">
Disconnect Mode
Specifies the optional conditions for disconnecting any Accept Mode connection that may be
established. If any of these conditions are selected but do not occur and the network disconnects
from the device, a Connect Mode connection will attempt to reconnect. However, if none of these
conditions are selected, a closure from the network is taken as a disconnect.
Table 6-5 Tunnel Disconnect Mode Settings
Block Network Select to enable or disable the block network, which is used for debugging
purposes.
Enabled: incoming characters from the network will not be forwarded to the
serial line but will be buffered and eventually flow off the network side.
Disabled: incoming characters from the network are sent on into the serial line.
Any buffered characters are sent first. This is the “normal” setting.
Tunnel Disconnect
Mode Settings
Description
Stop Character Enter the Stop Character which when received on the Serial Line, disconnects the
tunnel. The Stop Character may be designated as a single printable character or
as a control character. Control characters may be input in any of the following
forms: <control>J or 0xA (hexadercimal) or \10 (decimal). Disable the Stop
Character by blanking the field to set it to <None>.
Modem Control Select to enable or disable the disconnect when modem control pin is not asserted
on the serial line.
Timeout Enter the number of milliseconds a tunnel may be idle before disconnection. The
value of zero disables the idle timeout.
Flush Line Set whether to flush the Serial Line when the Tunnel is disconnected. Choices are:
Enabled
Disabled (default)
Tunnel Connect
Mode Settings
Description