Lantronix Hub Switch User Manual


 
MSS User Guide 4: Configuration
4-12
Autostart can also be triggered by a specific input character. There is no default Autostart
character; you will have to configure one. For example, when using Modem Emulation
Mode you may want to use A so that Autostart will happen as soon as an AT modem
command is entered. Keep in mind that when you configure an Autostart character, you
can no longer use <CR> to get to the Local> prompt.
Figure 4-36: Configuring an Autostart Character for MSS-VIA and MSS4
Local>> CHANGE PORT 1 AUTOSTART CHARACTER "A"
Figure 4-37: Configuring an Autostart Character for MSS100
Local>> CHANGE AUTOSTART CHARACTER "A"
Serial Data
Once a connection has been started, several different triggers can be used to transmit all
accumulated serial data to the host. These options are controlled with the Change Port
Datasend command. The datasend process used by the MSS balances network traffic
with latency concerns.
One kind of trigger can be set by specifying a “timeout” condition of either the time since
the last character was received (with the Timeout Idle parameter) or the time since the
current character burst was started (with the Timeout Frame parameter). For example, to
trigger data transmission 150 milliseconds after the current character burst began, enter
the following command:
Figure 4-38: Transmitting Serial Data with Trigger Delay for MSS-VIA and MSS4
Local>> CHANGE PORT 1 DATASEND TIMEOUT FRAME 150
Figure 4-39: Transmitting Serial Data with Trigger Delay for MSS100
Local>> CHANGE DATASEND TIMEOUT FRAME 150
The examples in Figure 4-38 and Figure 4-39 can be visualized as:
x x x xxx xx (data) x x xx xxxxxxxx xx xxxx xx xxxx
|-------------------------------------------------------|
150 milliseconds transmit packet
Another option is to set a one- or two-character trigger that will cause the MSS to transmit
the data. You can also specify whether the trigger characters will be sent to the host as
part of the serial data or whether they should be discarded (the default). For example, the
following commands will cause the accumulated serial data to transmit as soon as the “Z”
character is detected in the data stream and to send the matched character (“Z”) to the
host as part of that data.
Figure 4-40: Transmitting Serial Data with a Character Trigger for MSS-VIA and MSS4
Local>> CHANGE PORT 1 DATASEND CHARACTER Z
Local>> CHANGE PORT 1 DATASEND SAVE 1
Figure 4-41: Transmitting Serial Data with a Character Trigger for MSS100
Local>> CHANGE DATASEND CHARACTER Z
Local>> CHANGE DATASEND SAVE 1