User`s guide

68 DC 900-1317J
ADCCP NRM Programmer’s Guide
The presence of the zeroed station ID tells the client that the control packet relates to
the physical link, rather than to an assigned station.
When reporting an active station on a link, the ICP specifies the usProtCommand field
(
DLI_PROT_RESP_BIND_ACK), the iProtModifier field, the link ID, and the usProtXParms[0]
field (station ID). The iProtModifier field indicates the stations operational mode (see
Ta ble 3 –6 ). The presence of the station ID tells the client that the control packet relates
to an assigned station, rather than to the physical link.
3.4.18 DLI_PROT_SEND_UNBIND Packet
The client uses this packet to disable a physical link or an active station on the link. If
the client attempts to disable the physical link while at least one station is active on the
link, the ICP disables all active stations on the link prior to disabling the physical link.
To disable a physical link, the client must specify the usProtCommand field
(
DLI_PROT_SEND_UNBIND), the link ID, and a zeroed usProtXParms[0] field (station ID).
The presence of the zeroed station ID tells the ICP that the control packet relates to the
physical link, rather than to an assigned station.
To disable an assigned station on a link, the client must specify the usProtCommand field
(
DLI_PROT_SEND_UNBIND) and the usProtXParms[0] field (station ID). The presence of the
station ID tells the ICP that the control packet relates to an assigned station, rather than
to the physical link.
The ICP’s normal response to the DLI_PROT_SEND_UNBIND packet is a
DLI_PROT_RESP_UNBIND_ACK packet. If the client attempts to disable an inactive link, the
ICP sends the normal response (
DLI_PROT_RESP_UNBIND_ACK). However, if the client
attempts to disable an inactive station, the ICP returns a
DLI_PROT_RESP_ERROR packet.
A call to dlClose (described in the Freeway Data Link Interface Reference Guide) also
stops the link, but terminates the session as well. This is the normal method to termi-
nate a session at the end of a client application. The
DLI_PROT_SEND_UNBIND packet is use-