5: Commands and Levels
PremierWave® 2050 Enterprise Wi-Fi® IoT Module Command Reference
362
gap timer
<milliseconds>
Sets the gap timer in milliseconds. If some data has been
received, 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.
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 entering 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.
parity none
Does not use a parity bit on the line.
parity odd
Uses a parity bit on the line for odd parity.
protocol modbus ascii
Applies Modbus ASCII protocol on the line.
protocol modbus rtu
Applies Modbus RTU protocol on the line.
protocol none
Uses no protocol on the line.
protocol tunnel
Applies tunnel protocol on the line.
reassert
Asserts line status with current configured values.
show
Displays the current status.
show command mode
Shows the command mode settings for the current line.
show history
Displays the last 20 commands entered during the current
CLI session.
show line
Displays the current configuration.
show statistics
Shows the line statistics.
state disable
Disables the line so data cannot be sent/received.
state enable
Enables the line so data can be sent/received.
stop bits 1
Uses one stop bit after data on the line.
stop bits 2
Uses two stop bits after data on the line.
terminal
<line>
Enters the configure-terminal level. <line> = number of the
terminal line (serial port) to be configured.
terminal network
Enters the configure-terminal level for the network.
termination disable
Refrains from terminating the line.
termination enable
Enables 120 ohm line termination in RS485 half-duplex
mode.
threshold
<bytes>
Sets the threshold in bytes. After this many bytes are re-
ceived, they are forwarded without delay.
tunnel
<line>
Enters the tunnel level. <line> = number of the tunnel line
(serial port) to be configured.
usb
<line>
Enters the usb level. <line> = number of the line (usb port)