12 change datasend, 12 change datasend -17 – Lantronix MSS User Manual

Page 26

Advertising
background image

Command Reference

Change Datasend

2-17

PortList

Specify a particular port or group of ports. Port numbers are specified with
integers between 1 and 4, and should be separated with commas (for lists) or
dashes (for ranges).

Defaults

8 data bits

See Also

Change Autobaud, page 2-11; Change Parity, page 2-35.

2.12 Change Datasend

Changes the amount of time the MSS will allow serial characters to accumulate before sending them to the
host. Several different triggers can be used to notify the MSS when to send the accumulated data. You can
specify a “timeout” condition of either the time since the last character was received (the Timeout Idle
parameter) or the time since the current “character burst” was started (the Timeout Frame parameters). The
timer resolution on the MSS is approximately 20 milliseconds. Any timeout values lower than 30
milliseconds will be approximated as well as possible.

Another option is to set a one- or two-character trigger, specified through the Character parameter, 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 through the Save parameter.

Packets created by the serial handling rules will be queued to the ethernet driver as a single operation, but
there is no guarantee that they will be received at the host in a single network read. If the serial input buffer
is filled, the accumulated data will be queued to the ethernet driver regardless of the serial handling rules.
The serial input buffer size is 1024 bytes.

Restrictions

Requires privileged user status.

Parameters

Port

MSS4 only. Specifies a particular port or group of ports.

Note:

In the absence of the PortList parameter, the configuration will affect the MSS4’s
current port only.

PortList

Specify a particular port or group of ports. Port numbers are specified with
integers between 1 and 4, and should be separated with commas (for lists) or
dashes (for ranges).

CHANGE PORT PortList DATASEND

TIMEOUT

IDLE num

FRAME num

NONE

CHARACTER

x

ANY

NONE

y

ANY

SAVE

1

2

NONE

Advertising