
1 – CLI Overview
100-8005-101G Airborne™ Product Family CLI Reference Guide Page 5
Quatech, Inc. Confidential
1.2.11 Detecting and Executing the Escape Sequence
Upon detection of the escape sequence, the CLI Server applies the follow rules for transitions of
the CLI Session on that interface:
If the CLI Session is in LISTEN Mode and there is no data bridge established, the
CLI Session will transition to CLI Mode and send an “OK” response to the CLI
Session.
If the CLI Session is in LISTEN Mode and there is an active data bridge established,
the CLI Server will terminate the active data bridge and the CLI Session will remain
in LISTEN Mode. Basically, two escapes are required to transition from active data
bridge to CLI mode.
If the CLI Session is in PASS Mode, the CLI Server will send an “OK” response to
the CLI Session and transition to CLI Mode.
The following effects of escape processing require the attention of system implementations:
If the escape sequence is an escape string, the escape string received on one CLI
Session is transmitted to the CLI Session on the other end of the data bridge prior to
performing the CLI Session transition. This allows the other end to parse the
received data and determine when the data bridge is shutdown.
If the escape sequence is the BREAK signal, the BREAK received on the serial
interface is not transmitted to the wireless interface, but the transition takes place
internally.
The CLI Session that detects the escape sequence will post an “OK” response on its
interface if the escape sequence caused the CLI Session to transition to the CLI
Mode.
Escape detection does not close the TCP connection. It only terminates the data
bridge. Subsequence use of the pass CLI command will re-establish the bridge for
that interface.
The CLI Server allows independent configuration of escaping processing for the serial and
wireless interfaces. The serial interface escape processing is configurable using the CLI
parameter esc-mode-serial. The wireless interface escape processing is configurable using
the CLI parameter esc-mode-lan. See section “CLI Commands” for details on these
parameters.
Comentários a estes Manuais