\ | convert to | \\ |
00 hex | convert to | \ 80 hex |
A0 hex | convert to | \ 20 hex |
(excluding DC hex) |
|
|
2)
other codes | unchanged |
Host Transmissions |
|
Transmission | Format |
Poll | STX, ADDR |
Host Data | STX, CMD, data, CS1, CS2, ADDR |
Acknowledgment | ACK |
Negative ACK | NAK |
Terminal Transmissions |
|
Transmission | Format |
Terminal Data | STX, data, CS1, CS2, ETX |
Acknowledgment | ACK |
Negative ACK | NAK |
4.4.1.Protocol Operation
The terminal protocol operates as a
The following scenarios typify link transmissions (Poll):
* Terminal has no data for the host:
=> STX ADDR
<= EOT - if no data is ready for transmission
* Terminal has data for the host:
=> STX ADDR
<= STX <data> CS1 CS2 ETX - if data is ready