User`s guide

Host
Host Application
r-------‘----------‘-r
I
------
bWhmw2r_APL _ _ _ _ _ I
---___-------------------------------------
Application Layer Interface
A
Driver services:
open/close/ioctl/read/write
Output Buffers
Input Buffers
I I
I
Downlink Flow Control
I I
Uplink Flow Control
Buffer Request Protocol
XON/XOFF Protocol
Interface Transport Protocol
(Reliable or None)
- --------
Interface Link Protocol
(ALERT/ACK or Buffered)
Physical Layer Interface (EIA-232)
Host Application
I
SLTA-10
I
Network Driver
Network Interface
LONWORKS
Network
-
Figure 9.1 Host Application Architecture
To implement an SLTA-10 MIP mode network driver for a host other than DOS,
Windows, or UNIX, follow these steps:
1
Implement and test low-level serial I/O. Serial I/O may be performed directly to
the host’s UART as is done in the DOS network driver, or may be performed by a
serial I/O driver on the host as is done by the UNIX network driver.
Serial I/O
should be interrupt driven for better performance.
The UNIX network driver uses the UNIX serial port driver for all low-level serial
I/O and interrupt support. This simplifies the driver and also simplifies porting
between different versions of UNIX.
The serial device is opened by the
ldv-open ( ) function and closed by the ldv-close ( ) function. Data are read
SLTA-10 Adapter User’s Guide
9-3