set udpserial

sid={onoff}

Determines how the socket ID (SID) string in the “sidstring” option is handled; that is, whether the string specified by the “sidstring” option is sent at the beginning of each UDP packet.

on

The value of “sidstring” is sent at the beginning of each UDP packet.

off

The value of “sidstring” is not sent at the beginning of each UDP packet.

The default is “off.”

sidstring=string

The string sent at the beginning of each UDP packet if the “sid” option is set to on. The maximum length of this string is 256 characters, including escape sequences for special characters. For more details on the escape sequences, see "Entering Special Characters in String Values" on page

13.The maximum parsed length of this string is 256 characters. That is, this string must reduce down to a 256-character string when the escape sequences are processed.

clostime=time

The amount of idle time before closing the serial port, in milliseconds. If no data is sent or received on the serial port for the specified amount of time, the serial port is closed. This allows the serial port to be used by other things such as TCP socket or RealPort. If a value of 0 milliseconds is set, the “closetime” option will internally be recalculated to be 1 millisecond or twice the send time, whichever is greater. The default is 0 milliseconds.

Options for setting UDP destinations for a given serial port

The following options require a specific range to be specified by the “range” option.

port=range

Specifies the serial port. Optional on a single-port device.

range={1-64}

Specifies the UDP destination to be configured.

description=string

A string for descriptive purposes only.

active={onoff}

Specifies whether data from the serial port is sent to this destination.

on

Data from the serial port is sent to this destination.

off

This destination is not sent any data.

The default is “off.”

ipaddress=ip address

The IP address of the network destination to which data is sent.

218

Chapter 2 Command Descriptions

Page 218
Image 218
Digi 90000566_H manual Sidstring=string, Clostime=time, Range=1-64