User`s guide
44 DC 900-1339H
FMP Programmer’s Guide
3.3.1 DLI Optional Arguments
Section 3.4 and Section 3.5 describe the dlWrite and dlRead functions for an FMP
application. Both functions can use the optional arguments parameter to provide the
protocol-specific information required for Raw operation (Section 3.1.2). The “C” def-
inition of the optional arguments structure is shown in Figure 3–1.
typedef struct _DLI_OPT_ARGS
{
unsigned short usFWPacketType; /* FW_CONTROL or FW_DATA */
unsigned short usFWCommand; /* FW_ICP_WRITE, FW_ICP_WRITE_EXP */
/* or FW_ICP_READ */
unsigned short usFWStatus;
unsigned short usICPClientID;
unsigned short usICPServerID;
unsigned short usICPCommand; /* Required for start/stop cmds */
short iICPStatus; /* ICP return error code (dlRead) */
unsigned short usICPParms[3];
unsigned short usProtCommand; /* Required field (dlWrite) */
short iProtModifier;
unsigned short usProtLinkID;
unsigned short usProtCircuitID; /* Used for translation tables */
unsigned short usProtSessionID;
unsigned short usProtSequence;
unsigned short usProtXParms[2];
} DLI_OPT_ARGS;
Figure 3–1: “C” Definition of DLI Optional Arguments Structure