Installation guide

3: Typical Sequence of Operations
DC 900-1564A 27
3.2 Attaching a Link
The application must successfully attach an ICP link before it can configure, bind, read
from, or write to that link. To attach a link, the application must perform the actions
listed below.
The application writes a DLI_ICP_CMD_ATTACH command. This allocates the ICP
link for application use under the rules for the access mode specified in the
request, and associates a session with that link and access mode (defined in
Table 4–1 on page 33).
The application reads a DLI_ICP_CMD_ATTACH response with a status field that con-
firms or denies the request. The returned session identifier is used on all subse-
quent
DLI_ICP_CMD_WRITE requests.
3.3 Configuring an Attached Link
After the application attaches an ICP link with either Master or Control access mode, it
can configure the link prior to binding the link. If a competing application currently has
the link bound, the link cannot be configured. If the default configuration for the link
is suitable, configuration is not required. To configure a link, the application must per-
form the actions listed below.
The application writes a DLI_PROT_CFG_LINK command.
The application reads a DLI_PROT_CFG_LINK response with a status field that con-
firms or denies the request.
3.4 Binding an Attached Link
After the application attaches an ICP link with either Master or Control access mode, it
can bind the link. If the link is configured for low-level or high-level SLC network ser-
vice, then binding a link places it online for SLC message transfer. If the link is config-