User guide
9: Client Applications — Commands and Responses
DC 900-1338I 177
unsigned char parity; /* (async only) 0 = none, 1 = odd,
2=even */
unsigned char char_len; /* (async only) 7 = 7 bits,
8=8bits */
unsigned char stop_bits; /* (async only) 1 = 1 stop bit,
2=2stopbits */
unsigned char crc; /* (async and bsc only)
0 = no CRC, 1 = CRC */
unsigned char syncs; /* (bsc only) number of leading
sync characters 1 to 8 */
unsigned char start_char; /* (async and bsc only) block
start character */
unsigned char stop_char; /* (async only) block end
character */
};
To configure an ICP link, the client sends a message with the optional arguments struc-
ture shown in Figure 9–13.
At the ICP, the fields of the ICP and protocol headers that the ICP receives contain the
following values:
DLI_OPT_ARGS.usFWPacketType FW_DATA
DLI_OPT_ARGS.usFWCommand FW_ICP_WRITE
DLI_OPT_ARGS.usFWStatus n/a
DLI_OPT_ARGS.usICPClientID n/a
DLI_OPT_ARGS.usICPServerID n/a
DLI_OPT_ARGS.usICPCommand DLI_ICP_CMD_WRITE
DLI_OPT_ARGS.iICPStatus n/a
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 is to configure
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–13: Configure Link Command Format