SLTA-10 Adapter User’s Guide 83
Buffered Link Protocol
The DOS network driver uses the buffered link protocol when the
/N
option is specified. See
Chapter 8 for a description of this option. The UNIX network driver uses the buffered link
protocol if the
alert_ack_prtcl
variable is set to
FALSE
in the source code (this is the default).
The Switch1/CFG3 input of the SLTA-10 Adapter, as described in Chapter 4, must be in the
buffered protocol state (UP position).
When using this protocol, the link-layer header contains a length byte followed by a one’s
complement of the length byte. These values are always validated by the receiver before accepting
the rest of the message. Following the length bytes is the network interface command. See
Appendix D of the
Host Application Programmer's Guide
for a description of the command byte
structure. If the message contains a data field it follows the command byte. Finally, a checksum
terminates the sequence.
length
ALERT (01)
not_length
network interface
command
[data]
checksum
Link-Layer
Header
Sender Receiver
Figure 32 SLTA-10 Adapter Buffered Link Protocol
The length byte value describes the length of the network interface command byte plus the length
of the data field. This value will always be at least 1. The checksum is a two’s complement of the
sum of the command byte and all of the bytes in the data field, if it exists. Checksum errors
detected by the host will cause an error to be reported to the application, and checksum errors
detected by the SLTA-10 Adapter will cause the message to be ignored.
This protocol is used when the host is capable of accepting asynchronously occurring input data
without losing characters. The host is also relieved of the obligation of responding to an ALERT
character within 50 ms. This protocol may therefore be used by an application-level handler
calling an interrupt-driven buffered serial device driver. Drivers with these characteristics are
typically provided with real time operating systems such as VRTX or time-sharing operating
systems such as UNIX or VMS. In this case, these drivers should be set up for binary data
communications without software flow control.