DLREQUEST_ESTABLISH


Establish operational mode as described by Flags, by sending a mode setting command. If already in an operational mode, all send data is discarded and a new mode setting command is sent to establish a new connection. On request completion, the API generates a DLCONFIRM_ESTABLISH when successful, otherwise a DLINDICATION_RELEASE is generated.

If the link is already waiting for link establishment or waiting for the link to be released (DLSTATE_WAIT_ESTABLISH or DLSTATE_WAIT_RELEASE), then MgslDlCall returns ERROR_BUSY and no action is taken.

MgslDlCall returns ERROR_INVALID_REQUEST if the specified link is a normal response mode secondary station. Secondary stations are not permitted to send commands.

Type DLREQUEST_ESTABLISH
Flags As described below
Size 0
Buffer Unused

DLREQUEST_ESTABLISH Flags

(the following flags mutually exclusive)

DLFLAG_SNRM
Establish normal response mode using modulo 8.
DLFLAG_SNRME
Establish normal response mode using modulo 128.
DLFLAG_SABM
Establish asynchronous balanced mode connection using modulo 8.
DLFLAG_SABME
Establish asynchronous balanced mode connection using modulo 128.
 

In addition to the one of the set mode flags listed above, the following flag may be set to have the mode setting command frame use the broadcast address.

 
DLFLAG_BROADCAST
Send command using broadcast address.


Previous Contents Next