Click or drag to resize

wclGattClientConnectionPrepareForConnection Method

The method called internally before connection.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
protected virtual int PrepareForConnection()

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
Remarks
A derived class may override this method to process some connection pre-requirements that should be executed in the main thread UI. Used by BLED112 to be able to get protection parameters.
See Also