TwclBluetoothRadio.HalDiscoverBle(Byte) Method

Implements a hardware-dependent code to start discovering for a remote Low Energy Bluetooth devices.

Namespace: wclBluetooth
protected
 function HalDiscoverBle(const Timeout: Byte): Integer; virtual; abstract;

Parameters

Timeout
Type: Byte

Specifies the maximum amount of time before the inquiry is halted (in seconds).

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.