Bluetooth Framework C++ Edition

◆ Open() [1/2]

int Open ( const bool  HandlePairing = true)

Opens the Bluetooth Manager and allocated required hardware resources.

Parameters
HandlePairingAllows to disable pairing handling by Bluetooth Framework. Set this to false to disable Bluetooth Framework pairing. Set to true (the default value) to enable Bluetooth Framework pairing.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

An application must call this method before using any of the Bluetooth Framework features.

An application must call this method from its main thread only.