Bluetooth Framework C++ Edition

◆ PrepareForConnection()

virtual int PrepareForConnection ( )
protectedvirtual

The method called internally before connection.

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

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.