beautypg.com

Lantronix MSS User Manual

Page 27

background image

Command Reference

Change Datasend

2-18

Timeout

Sets the trigger that allows serial data to be accumulated until a “timeout”
condition has been detected.

Idle

Defines the timeout as a period of time since the last character was received.

num

Sets the timeout in milliseconds.

Frame

Defines the timeout as the time since the current “character burst” was started.

None

Clears previous timeout settings, so the transmission takes place whenever the
MSS decides to send the data.

Character

Sets a trigger that transmits any accumulated data as soon as the specified one
or two byte character sequence is detected in the data stream.

x

Enter the desired alphanumeric character. To specify a control character, use
escaped hex (\xx). For example, Ctrl-B (ASCII character 0x02) would be
specified as \02.

Any

Sets any character as the trigger.

None

Clears any previous trigger characters.

y

Enter the optional second alphanumeric character. To specify a control
character, use escaped hex (\xx). For example, Ctrl-B (ASCII character 0x02)
would be specified as \02.

Save

Specifies what happens to the matched trigger characters. Either the first
character or both characters will be passed to the host as the first bytes of data,
or the characters will be discarded.

Defaults

30 (msec)

Examples

Local> CHANGE DATASEND TIMEOUT IDLE 50

(Triggers data transmission for 50 milliseconds since the last character was received.)

Local> CHANGE DATASEND TIMEOUT FRAME 150

(Triggers data transmission for 150 milliseconds since the current “character burst”
was started.)

Local> CHANGE DATASEND CHARACTER Z

Local> CHANGE DATASEND SAVE 1

(Transmits any accumulated data, including “Z,” as soon as the “Z” character is
detected in the data stream.)

See Also

Change Autostart, page 2-12