5: Commands and Levels

 

 

 

mand mode.

command mode serial string <string>

Sets a string that can be entered at boot time to enter command

 

mode.

 

<string> = text with possible binary characters.

 

Within [] use binary decimal up to 255 or hex up to 0xFF.

 

Within {} specify decimal milliseconds time delay.

command mode signon message <string>

Sets a sign-on message that is sent from the serial port when the

 

device boots and when the line is in command mode.

 

<string> = text with possible binary characters.

 

Within [] use binary decimal up to 255 or hex up to 0xFF.

command mode wait time <milliseconds>

Sets boot-up wait time for command mode serial string.

 

<milliseconds> = wait time.

configure current settings

Configures line with the current value of settings.

data bits 7

Uses seven bits for data on the line.

data bits 8

Uses eight bits for data on the line.

default baud rate

Restores the default speed of 9600 bits per second.

default data bits

Restores the default of eight data bits.

default flow control

Restores the default of no flow control.

default interface

Restores the default interface type to this line.

default parity

Restores the default of no parity.

default protocol

Restores the default protocol on the line.

default stop bits

Restores the default of one stop bit.

default threshold

Restores the factory default threshold.

default xoff char

Restores the default xoff character on this line.

default xon char

Restores the default xon character on this line.

exit

Exits to the enable level

flow control hardware

Uses hardware (RTS/CTS) flow control on the line.

flow control none

Does not provide flow control on the line.

flow control software

Uses software (xon/xoff characters) flow control on the line.

gap timer <milliseconds>

Sets the gap timer in milliseconds. If some data has been re-

 

ceived, it will

 

be forwarded after this time since the last character.

interface rs232

Sets the line interface to RS232.

interface rs485 full-duplex

Sets the line interface to RS485 in full-duplex mode.

interface rs485 half-duplex

Sets the line interface to RS485 in half-duplex mode.

interface usb-cdc-acm

Sets the line interface to USB-CDC-ACM mode.

kill session

Kills command mode session on the Line

line <line>

Enters the line level.

 

<line> = number of the line (serial port) to be configured.

name <text>

Sets the name for this line.

no clear line counters

Restores the serial counters to the aggregate values.

no command mode

Disables command mode for the current line.

no command mode signon message

Clears the signon message displayed at boot time and when en-

 

tering

 

command mode.

no gap timer

Removes the gap timer, so forwarding depends on the line speed.

no name

Removes the name of this line.

parity even

Uses a parity bit on the line for even parity.

PremierWave EN Command Reference

184

Page 184
Image 184
Lantronix 900-581 manual Gap timer milliseconds, Line line