User`s guide

70 DC 900-1343D
DDCMP Programmer’s Guide
C.4 link-config-packet
Packet Description
This packet is used to configure a link. The data field consists of a data structure with
the format shown in Figure C–1.
Packet Header
Freeway (DLI only):
usFWPacketType = FW_DATA
usFWCommand = FW_ICP_WRITE
usFWStatus = 0
ICP:
usICPClientID = 0
usICPServerID = 0
[usLength = 50 (used for non-DLI only)]
usICPCommand = DLI_ICP_CMD_WRITE
iICPStatus = 0
usICPParams[0] = 0
usICPParams[1] = 0
usICPParams[2] = 0
Protocol:
usProtCommand = DLI_PROT_CFG_LINK
iProtModifier = 0
usProtLinkID = port number
usProtCircuitID = 0
usProtSessionID = protocol session number from “attach-packet”
usProtSequence = 0
usProtXParms[0] = 0
usProtXParms[1] = 0
unsigned short reserved[8]; /* 16 bytes for ddcmp internal use */
unsigned short baud_rate;
unsigned short clock_source;
unsigned short reply_tmr_sec;
unsigned short line_mode;
unsigned short duplex; /* unused */
unsigned short half_duplex; /* unused */
unsigned short version;
unsigned short eia;
unsigned short maintstate;
Figure C–1: “C” Structure for Configure Link Packet