Command descriptions
set udpserial
ConnectPort® LTS Command Reference
147
[ipaddress=
ip address}
[ipport=
ip port]
Display current UDP serial settings
set udpserial [port=
range [range=range]]
Options
Options for setting general UDP serial forwarding characteristics
port=
range
Used to specify the serial port. Optional on a single-port device.
To configure settings for an XBee port, specify “port=xbee”. To configure settings for an internal
modem port, specify “port=internalmodem”.
state={on|off}
Indicates whether an established network connection should be terminated when the serial port’s
DCD signal drops. The default is “off.”
sendcount=
bytes
The number of bytes received from the serial port that will cause the data to be sent on to the
network destinations. This trigger cannot be disabled. The default is 1024 bytes.
sendtime={0|
time
}
The amount of idle time, in milliseconds, allowed before sending data to the network. If no data is
received on the serial port for the time specified by this option, any buffered data will be sent on to
the network destinations. A value of 0 (zero) disables this trigger.
endpattern=
string
If this string is set, any pattern match of data received from the serial port will cause the data to be
sent on to the network destinations. The maximum length of this string is 32 characters, including
escape sequences for special characters. For more details on the escape sequences, see "Entering
Special Characters in String Values". The maximum parsed length of this string is 4 characters. That is,
this string must reduce down to a 4-character string when the escape sequences are processed.
strippattern={on|off}
Determines how the data specified by the “endpattern” option is handled.
on
The endpattern that is found is stripped from the stream before any data is to be sent
on to the network destinations.
off
The endpattern is not stripped from the stream before data is sent on to network
destinations.
The default is "off."
sid={on|off}
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
Содержание ConnectPort LTS 16
Страница 1: ...ConnectPort LTS Command Reference ...
Страница 117: ...Command descriptions set service ConnectPort LTS Command Reference 117 See also n revert n set network n show ...
Страница 152: ...Command descriptions set usb ConnectPort LTS Command Reference 152 Example Format the USB memory set usb format id 1 ...