TwclGattClientConnection.HalGetConnectionParams(TwclBluetoothLeConnectionParameters) Method

Implements a hardware-dependent code to get the current connection parameters.

Namespace: wclBluetooth
protected
 function HalGetConnectionParams(
 out Params: TwclBluetoothLeConnectionParameters): Integer; virtual; abstract;

Parameters

Params
Type: TwclBluetoothLeConnectionParameters

If the function completed with susccess 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.

A derived class must override this method.