Envoy Application Programming Manual

Table Of Contents
ADM-2 Multipoint Supervisor Protocol
Envoy Application Programming Manual427159-001
7-47
WRITEREAD (Send Function and Read Message)
Example 7-25 shows the line-control sequences that take place when a function key is
pressed on terminal 1, the terminal is polled, and a send function of "send page
foreground" is issued to the terminal.
Example 7-25. Send Function and Read Message
Application Process Terminal 1
CALL READ(...)
|
| EOT 11p ENQ ->
| <-- SOH @ ETX
(READ completes)
error = 0
line state = READ
MCW.<8:15> = 0
MCW.<6> = 1 (message type = special)
CALL WRITEREAD (...)
| ACK ->
| <-- EOT
| EOT 11w ENQ ->
| <-- STX-text-ETX
(WRITEREAD completes)
error = 0
line state = READ