TwclBluetoothManager.GetLeRadio(TwclBluetoothRadio) Method

Gets the first available Radio object that supports Bluetooth Low Energy features.

Namespace: wclBluetooth
public
 function GetLeRadio(out Radio: TwclBluetoothRadio): Integer; overload;

Parameters

Radio
Type: TwclBluetoothRadio

If the function completed with success on output contains the first found available Bluetooth Radio object. Otherwise the parameter contains nil.

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.