
Chapter 3: Connection Methods, Attributes and Configurable Features
15
time-out (if enabled) occurs or if the connection mode is
Connect on DCD
and the DCD signal
is lowered.
Table 3.4 describes this method’s configurable items for each serial port.
Table 3.4: Raw TCP Client Connection Method Configurable Items
Item
Description
Enable/
disable
Enables or disables the raw TCP client connection method on the port. This method cannot
be enabled if any other serial port connection method is already enabled on the port.
The default value is disabled.
Destination IP
address
Specifies the IP address of the raw TCP server. This is a required item; there is no default
value. Only a single destination address can be configured for each serial port. The address
cannot be 0.0.x.x, 127.x.x.x, 192.1.1.1, 248-255.x.x.x or the IP address of the ESP-4 MI hub.
Destination IP
port number
Specifies the IP port number on which the remote server is listening. Valid values are 0-65535.
The default value is 4001 for port 1, 4002 for port 2, 4003 for port 3 and 4004 for port 4.
Local IP port
number
Specifies the IP port number for the embedded TCP client. Valid values are 1024-65535. This
value cannot conflict with port numbers specified for other enabled connection methods on
other ports.
The default value is 4001 for port 1, 4002 for port 2, 4003 for port 3 and 4004 for port 4.
Inactivity time-
out
Specifies the length of time before the TCP session is disconnected if there is no activity.
Valid values are 0-65535 seconds. A 0 value disables the inactivity time-out.
For example, a value of 60 indicates the TCP session will be disconnected if there is no
activity for a period of 60 seconds.
The default value is 0 (disabled).
Connection
mode
Specifies the criteria for establishing the TCP connection. Valid values are:
Autostart
Always attempt to establish the TCP connection.
Connect on Data
The TCP connection will be established upon receiving the first data
character from the serial port.
Connect on DCD
(Valid only on RS-232 ports.) The TCP connection will be established
when the DCD signal is logically high.
Serial
buffering
Specifies the length of time accumulated serial data should be buffered before being sent to
the remote server. Valid values are 0-65535 hundredths of a second. A 0 value indicates that
data will be sent as soon as it is available.
For example, a value of 100 indicates that once serial data is received, it will remain buffered
up to 1 second (100 hundredths of a second), at which time all data will be sent.
If the buffer becomes half full, the time is ignored and the data is sent.
The default value is 0 (send immediately).
Idle TCP
buffering
Enables or disables buffering of received serial data while waiting for a TCP connection to be
established. When enabled, the most recent 20K bytes of data are held in an internal buffer.
Once the connection is established, the buffered serial data is sent to the remote endpoint of
the TCP connection.
The default value is disabled.
Содержание ESP-4 MI
Страница 8: ...vi ESP 4 MI Serial Hub Installer User Guide...
Страница 54: ...44 ESP 4 MI Serial Hub Installer User Guide...
Страница 60: ...50 ESP 4 MI Serial Hub Installer User Guide...
Страница 79: ......