User guide
178 DC 900-1338I
Protocol Software Toolkit Programmer Guide
ICP_HDR
count = size of protocol header (16 bytes) plus data area
command = DLI_ICP_CMD_WRITE
status = high bits indicate byte ordering
PROT_HDR
command = DLI_PROT_CFG_LINK
session = session ID
DATA AREA = configuration data structure
The ICP returns these headers to the client as an acknowledgment that the link config-
uration was completed. The values in the headers of this acknowledgment are the same
as those that were received at the ICP, except that the ICP header’s
status field and the
protocol header’s
modifier field are filled in with codes reflecting the success of the
transaction. The client application receives this acknowledgment by issuing a
read com-
mand as described in Section 9.2.8 on page 185.
The client’s expected response is a
DLI_PROT_CFG_LINK message with the iICPStatus
field set to DLI_ICP_ERR_NO_ERR, as shown in Figure 9–14. The data area is not appli-
cable. If the ICP discovers an error in the message, it returns the configuration message
with the
iICPStatus field set to DLI_ICP_ERR_BAD_PARMS.
DLI_OPT_ARGS.usFWPacketType n/a
DLI_OPT_ARGS.usFWCommand n/a
DLI_OPT_ARGS.usFWStatus n/a
DLI_OPT_ARGS.usICPClientID n/a
DLI_OPT_ARGS.usICPServerID n/a
DLI_OPT_ARGS.usICPCommand n/a
DLI_OPT_ARGS.iICPStatus DLI_ICP_ERR_NO_ERR
DLI_OPT_ARGS.usICPParms [0] n/a
DLI_OPT_ARGS.usICPParms [1] n/a
DLI_OPT_ARGS.usICPParms [2] n/a
DLI_OPT_ARGS.usProtCommand DLI_PROT_CFG_LINK
DLI_OPT_ARGS.iProtModifier n/a
DLI_OPT_ARGS.usProtLinkID Link ICP configured
DLI_OPT_ARGS.usProtCircuitID n/a
DLI_OPT_ARGS.usProtSessionID Session ID (See attach, Section 9.2.3 on page 164)
DLI_OPT_ARGS.usProtSequence n/a
DLI_OPT_ARGS.usProtXParms [0] n/a
DLI_OPT_ARGS.usProtXParms [1] n/a
Figure 9–14: Configure Link Response Format