Envoy Application Programming Manual

Table Of Contents
Contents
Envoy Application Programming Manual427159-001
xii
Examples (continued)
Examples (continued)
Example 2-5. Address List for Supervisor Station A 2-16
Example 2-6.
Address List for Tributary Stations B and C 2-17
Example 2-7.
Polling Example 2-19
Example 2-8.
Selection Example 2-21
Example 2-9.
Error Handling By Receiver 2-24
Example 3-1.
Initial Read (Line in CONTROL State) 3-18
Example 3-2.
Timeout on Initial Read 3-18
Example 3-3.
Continuation READ (Line in READ State) 3-20
Example 3-4.
Initial READ (Line in WRITE State) 3-21
Example 3-5.
Initial READ of ID (Line in CONTROL State) 3-22
Example 3-6.
Initial WRITE (Line in CONTROL State) 3-23
Example 3-7.
Continuation WRITE (Line in WRITE State) 3-24
Example 3-8.
Initial WRITEREAD (Line in CONTROL State) 3-26
Example 3-9.
Continuation WRITEREAD (Line in WRITE State) 3-27
Example 3-10.
WRITEREAD Procedure (ID Exchange by Caller) 3-28
Example 3-11.
WRITEREAD Procedure (ID Exchange by Called Station) 3-29
Example 3-12.
WRITEREAD Procedure (Multileaving Conversational
Exchange) 3-29
Example 3-13.
CONTROL Procedure (Send EOT) 3-31
Example 3-14.
CONTROL Procedure (Send WACK) 3-31
Example 3-15.
CONTROL Procedure (Enable RVI) 3-31
Example 3-16.
CONTROL Procedure (Send TTD) 3-32
Example 3-17.
Send Messages from the Local Station 3-44
Example 3-18.
Program Code for read^text and write^text 3-45
Example 3-19.
Read Messages from the Remote Station 3-51
Example 3-20.
Send Messages with WRITEREAD Calls 3-52
Example 3-21.
RVI Sequences 3-54
Example 3-22.
ID Exchange Sequence 3-55
Example 4-1.
Address List Format 4-11
Example 4-2.
Build an Address List 4-12
Example 4-3.
Continuous Polling 4-15