User guide

142 DC 900-1338I
Protocol Software Toolkit Programmer Guide
The Freeway Data Link Interface Reference Guide shows a generic code example
which can guide your application program development. The loopback test pro-
gram (
spsalp.c) distributed with the product software is another example.
Chapter 9 provides detailed command and response header formats.
The various mnemonic codes mentioned throughout this document are defined
in the include files provided with this product, which are described in Table 81.
8.1 Summary of DLI Concepts
The DLI presents a consistent, high-level, common interface across multiple clients,
operating systems, and transport services. It implements functions that permit your
application to use data link services to access, configure, establish and terminate ses-
sions, and transfer data across multiple data link protocols. The DLI concepts are
described in detail in the Freeway Data Link Interface Reference Guide. This section sum-
marizes the basic information.
8.1.1 Configuration in the Freeway Server or Embedded ICP Environment
Several items must be configured before a client application can run in the Freeway
environment:
boot configuration for Freeway server implementations
data link interface (DLI) session configuration
Table 81: Include Files
Description Include File
DLI_PROT_* Codes dliprot.h
DLI_ICP_ERR_* Codes dlicperr.h
DLI_ICP_CMD_* Codes dliicp.h
FW_* Codes freeway.h