beautypg.com

Cli conventions – B&B Electronics WLNN-AN(ER,SE,SP.EK)-DP551 - Manual User Manual

Page 27

background image

Airborne Enterprise CLI Reference Manual

27

 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. Subsequent use of the pass CLI command will re-establish the
bridge for that interface.

The CLI Server allows independent configuration of escaping processing for
each serial port and for TCP CLI session. The serial interface escape processing
is configurable using the CLI parameter

esc-mode-serial

. The TCP CLI

Session escape processing is configurable using the CLI parameter

esc-

mode-lan

. See section “CLI Commands” for details on these parameters.

6.6

CLI Conventions

The CLI uses the following conventions:

 All commands consist of a string of printable characters, including the

command and optional arguments delimited by one or more spaces or tabs.
Multiple consecutive spaces or tabs are generally considered as one
delimiter.

 Commands and arguments are case sensitive, except hexadecimal values

and port IDs, which can be uppercase or lowercase.

Arguments enclosed within […] are optional.

 All arguments are literal ASCII text, except where indicated.

 Most commands that set the value of a parameter can also obtain the value

of the parameter by omitting the argument. Numeric values are returned in
aschex format.

 A choice between arguments is indicated with the | character. Only one of

the choices can be selected.

 All CLI commands are terminated with a .

 The maximum length of a CLI command line is 256 characters, including

spaces and terminating characters.

 Argument types include:

<ASCII Text>

literal ASCII character string without delimiters (no

spaces or tabs).