Installation guide
3: Interfacing to DLI/TSI and Protocol Software
DC 900-1325I 51
If you opened the same session in Normal operation, then all of the above actions could
be performed automatically when your SRA issues the dlOpen call. The information
normally supplied by the SRA for the above calls is instead placed in the DLI configura-
tion file. In Normal operation the DLI API takes this information and uses it to auto-
matically generate the additional dlWrite calls at session open time. As such, many of
the protocol loopback programs use DLI Normal operation. However, what is conve-
nient for the loopback program may not be the best way to go for your SRA. Luckily,
you can choose what actions you want and don’t want taken when using Normal oper-
ation. The following sections give some more information on the individual settings
used by Normal operation.
3.2.1 Link Configuration Parameters
One of the advantages of DLI Normal operation is being able to set individual link con-
figuration parameters from the DLI configuration file. Each protocol that supports
Normal operation has a list of text parameter names and values that you can specify in
the port definition section of the DLI configuration file. Any link configuration param-
eters not set by the DLI configuration file will be assigned the default value. Refer to the
Programmer’s guide for your particular protocol for specific parameter names, values,
and defaults.
If required, the SRA may change these settings after the dlOpen by using a Set Link Con-
figuration command (via dlWrite call). However, if the session is closed and reopened,
the parameters in the DLI configuration file will once again be sent to the port.
When using Normal operation, the DLI will set the link configuration parameters as the
default action. If you don’t want the DLI to set the link configuration parameter at ses-
sion start, then put the following command in the port definition section of the DLI
configuration file:
cfgLink = “no”;