set tcpserial

sendtime={01-65535ms}

Indicates that data from the serial port should be sent out to the network after the given amount of time has past where no new data has arrived from the serial port. This option only is valid when the “buffered” option is “on.” A value of 0 (zero) disables this option. The default is 0.

endpattern=string

Indicates that data from the serial port should be sent out to the network after the given endpattern string has been found in the data from the serial port. This option only is valid when the “buffered” option is “on.” An empty string disables this option.

The maximum length of this string is 16 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 4 characters. That is, this string must reduce down to a 4-character string when the escape sequences are processed.

strippattern={onoff}

This option corresponds with the “endpattern” option. When a valid “endpattern” string is found, this option indicates whether the matching string is stripped or kept in the data stream. The default is “off.”

Examples

#> set tcpserial

hangupdcd=off

idletime=20

 

#> set tcpserial

port=1

sid=on

sidstring=”abc”

 

#> set

tcpserial

port=1

buffered=on sendtime=50 sendcount=512

 

#> set

tcpserial

 

 

 

See also

"revert" on page 61.

 

"show" on page 249.

214

Chapter 2 Command Descriptions

Page 214
Image 214
Digi 90000566_H manual Sendtime=01-65535ms, Endpattern=string, Strippattern=onoff, Revert on Show on