Envoy Application Programming Manual

Table Of Contents
Asynchronous Line Supervisor Protocol
Envoy Application Programming Manual427159-001
10-9
File-System Procedures
FILEINFO
Returns error information and characteristics about an open line.
OPEN
Establishes communications with a line. A line can be opened by only one process
(and its backup) at a time.
READ
Solicits data from the line. When a terminal responds on the input line by sending a
message, the terminal’s message is returned to the application process. The READ
completes after detecting a defined termination character, a filled buffer block, or a
timeout with no more input data. For read-only lines, the application must issue
another READ before the next timeout interval occurs or before the buffer fills to
prevent loss of data from the line.
SETMODE
Alters various line characteristics (Table 10-5.)
Table 10-5. SETMODE Operations for Asynchronous Line
Supervisor (page 1 of 2)
Operation Parameter Description
15 1 Specifies timeout in 10-millisecond units
2.<14> 0: Specifies noncontinuous output break for timeout inter-
val
1: Specifies continuous output break until WRITE
2.<15> 0: Disables break detect
1: Enables break detect
16 Sets line type:
1.<3> 0: Enables incoming message parity checking
1: Disables incoming message parity checking
1.<13> 0: Specifies normal read
1: Specifies read-only (read continuous)
1.<15> 0: Specifies nonswitched
1: Specifies switched
18 Sets statistics threshold
22 1 Modifies baud rate (bits per second)
0 = 50
1 = 75
2 = 110