TwclGattClientConnection.GetConnectionParams(TwclBluetoothLeConnectionParameters) Method

Gets the current connection parameters.

Namespace: wclBluetooth
public
 function GetConnectionParams(
 out Params: TwclBluetoothLeConnectionParameters): Integer;

Parameters

Params
Type: TwclBluetoothLeConnectionParameters

If the function completed with success on output contains the current connection parameters.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

This feature is supported with BLED112 dongle and with Microsoft Bluetooth drivers on Windows 11 and above.