EasyManua.ls Logo

Multitech MultiConnect - Page 33

Multitech MultiConnect
181 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4 – Command Line Interface (CLI)
Multi-Tech Systems, Inc. MultiConnect Serial-to-Serial Adapter User Guide (S000354A) 33
Serial Commands – Setup
Command Syntax set serial [s0/s1] buffer-datasize <0/d bytes>
Description
This command primarily buffers the data.
Default Value
0 – No buffering.
Success
OK
Error 1. Too few arguments
“Usage: set serial s0/s1 buffer-datasize <0/d bytes>
Type ‘set serial s0/s1 buffer-datasize ?’ for more information”
2. Multiple matches
buffer-datasize
buffer-time
3. Datasize range
“error: Buffer data-size range : [1 - 1500] bytes
Type ‘set serial s0/s1 buffer-datasize ?’ for more information”
Command Syntax set serial [s0/s1] buffer-time <0/t secs>
Description
This command is related to the ‘set serial s0/s1 buffer-datasize’ command.
The buffering of data shall either wait for datasize configured (in the previous
command) or time t secs.
Example:
Sl
Buffer-datasize
Buffer-time (secs)
Descriptions
1
0 - Default
0 - Default
No buffering. Passes the data to the serial application on the reception of a
character on the serial application.
2
10
0
Buffer till it reaches buffer-datasize (10); then passes it to the serial application.
3
0
10
No buffering. Pass the data to the serial application on the reception of a
character on the serial.
4
10
10
Buffer the characters till it reaches the buffer-datasize (10)
(OR)
wait for the buffer-time (10Secs).
The data is passed on to the serial application depending on which condition is
satisfied first.
Default Value
0 – No buffering
Success
OK
Error
1. Too few arguments
“Usage: set serial s0/s1 buffer-time <0/t secs>
Type ‘set serial s0/s1 buffer-time ?’ for more information”
2. Multiple matches
buffer-datasize
buffer-time
3. Time limit
“error: Time limit supported : <1 – 60 secs>
Type ‘set serial s0/s1 buffer-time ?’ for more information”

Table of Contents

Related product manuals