TwclBluetoothRadio.HalSetDiscoverable(Boolean) Method

Implements a hardware-dependent code for changing the discoverable state of the local Bluetooth Radio.

Namespace: wclBluetooth
protected
 function HalSetDiscoverable(
 const Discoverable: Boolean): Integer; virtual; abstract;

Parameters

Discoverable
Type: Boolean

The new discoverable state for the Radio.

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 to provide driver-dependent code.