Bluetooth Framework
CwclBluetoothRadio::SetConnectable Method

Changes the connectable state of the local Bluetooth Radio.

int SetConnectable(bool Connectable);
bool Connectable 
The new connectable state for the Radio.  

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

Setting the Conenctable parameter to True allows remote Bluetooth enabled devices to connect to this Radio.  

Setting the Conenctable parameter to False blocks the Radio from remote Bluetooth enabled devices connecting.  

Microsoft: A radio that is non-connectable is non-discoverable. The radio must be made non-discoverable prior to making a radio non-connectable. Failure to make a radio non-discoverable prior to making it non-connectable will result in failure of thi smethod call.  


Copyright (c) 2006-2020. All rights reserved.