beautypg.com

Pass mode for the serial interface, Pass mode for a tcp cli session, Listen mode (serial/uart/spi interface only) – B&B Electronics WLNN-AN(ER,SE,SP.EK)-DP551 - Manual User Manual

Page 25

background image

Airborne Enterprise CLI Reference Manual

25

6.3.3 PASS Mode for the Serial Interface

When the CLI Session on the serial interface attempts a transition to PASS
Mode, the CLI Server establishes an outbound connection from the module to a
user-specified TCP server and/or UDP server on the network interface. Once a
connection is established, data bridging becomes possible between the CLI
Session on the serial interface and the TCP Server and/or UDP server. If the
connection to the primary TCP server failed, the CLI Server will attempt to
connect to a secondary TCP server, if configured. If the transition to PASS Mode
was triggered by the automatic startup configuration, the CLI Server will use the

wl-retry-time

configuration parameter to continuously retry connection to

the servers.

The IP addresses of the primary TCP and UDP servers are configured using

wl-

tcp-ip

and

wl-udp-ip

CLI commands. The secondary TCP server is

configured using the

wl-tcp-ip2

command. The TCP server port is

configured using

wl-tcp-port

and

wl-udp-port

CLI commands. The retry

timer is configured using the

wl-retry-time

CLI command. See section “CLI

Commands” for more details on these commands.

6.3.4 PASS Mode for a TCP CLI Session

When the CLI Session on the network interface (TCP CLI session) attempts to
transition to PASS Mode, the CLI Server establishes a data bridge to the CLI
Session on the serial interface if the following conditions are both true:

 The CLI Session on one or more of the serial interfaces is in LISTEN Mode.

 The number of CLI Session on the network interface, in PASS Mode, is less

than the CLI sessions on the serial interfaces in LISTEN mode.

 If more than one of the Serial interfaces is in LISTEN mode, it is possible to

direct the TCP CLI Session PASS mode connection to either of the available
sessions.

6.3.5 LISTEN Mode (Serial/UART/SPI Interface Only)

LISTEN Mode is a passive data bridging mode of the CLI Session. The LISTEN
Mode is only applicable on the serial, UART and SPI interfaces. When the CLI
Session on the serial interface enters LISTEN Mode, the module passively waits
for a data bridge to be established from a TCP CLI session. The data bridge
may be initiated using a CLI Session via the PASS Mode or using the tunneling
feature. The CLI Session may transition to CLI Mode using CLI Server escape
processing. See section “CLI Server Escape Processing” for details.

When the serial interface CLI Session is in LISTEN Mode, the following are
possible:

 TCP connections on the network interface can use the CLI commands pass,

putget or putexpect to establish a data bridge.

 TCP connection can establish a data bridge if tunneling is enabled.