User`s guide
B: BSC 2780/3780 Control Procedures
DC 900-1340I 223
B.1.9 Normal Link Stop
The client can stop a link at any time by issuing a Stop Link command (Section 5.4.1.6
on page 122), which disables the transmitter and the receiver and returns any data
buffers in use to the client.
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 Stop Link command is useful for
temporarily stopping the link without terminating the session (for example, to recon-
figure the link using the Link Configuration command). The link is restarted again by
issuing a Start Link command (Section 5.4.1.5 on page 121).
Figure B–12 is an example of the link stop sequence.
Note
In blocking mode the stop acknowledge is implied by a successful
Stop Link command.
Figure B–12: Link Stop Sequence
Client Freeway
Remote Station
Stop link
Stop Acknowledge
dlWrite
(DLI_PROT_STOP_LINK)
dlRead
(
DLI_PROT_RESP_UNBIND_ACK)