Envoy Application Programming Manual

Table Of Contents
Full-Duplex Protocol
Envoy Application Programming Manual427159-001
6-7
Normal Text
The following types of message formats are allowed:
Normal Text on page 6-7
Transparent Text on page 6-7
Headings on page 6-7
Normal Text
Normal text is indicated by messages having the following form:
message = STX—text—ETB
message = STX—text—ETX
(message length = 2 + text length)
Transparent Text
Transparent text is indicated by messages having the following form:
message = DLE STX—text—ETB
message = DLE STX—text—ETX
(message length = 3 + text length)
Envoy automatically performs DLE insertion and deletion. The application process
sends and receives only the original binary text.
Headings
Headings use the formats shown in Table 6-3.
Table 6-3. Formats for Headings
Headings Format
Heading only SOH-heading-ETB
SOH-heading-ETX
Heading and normal text SOH-heading-STX-text-ETB
SOH-heading-STX-text-ETX
Heading and transparent text SOH-heading-DLE STX-text-ETB
SOH-heading-DLE STX-text-ETX