User`s guide

26 DC 900-1343D
DDCMP Programmer’s 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 (
ddcmpalp.c) distributed with the product software is another example.
Appendix C 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 2–1.
2.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
summarizes the basic information.
2.1.1 Configuration in the Freeway Environment
Several types of configuration affect how a client application runs in the Freeway envi-
ronment:
Freeway server configuration
data link interface (DLI) session configuration
Table 2–1: 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