System.Bluetooth.TBluetoothLEAdapter.StartDiscoveryRaw

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StartDiscoveryRaw(const ABluetoothLEScanFilterList: TBluetoothLEScanFilterList = nil; Refresh: Boolean = True): Boolean;

C++

bool __fastcall StartDiscoveryRaw(TBluetoothLEScanFilterList* const ABluetoothLEScanFilterList = (TBluetoothLEScanFilterList*)(0x0), bool Refresh = true);

Properties

Type Visibility Source Unit Parent
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEAdapter

Description

Starts a scan for Bluetooth Low Energy devices.

The StartDiscoveryRaw function of the current manager calls this function.

StartDiscoveryRaw scans for the BLE devices that ABluetoothLEScanFilterList contains filters about.

If you set Refresh to True, StartDiscoveryRaw creates a new filter list. Otherwise it uses the last one created.

StartDiscoveryRaw calls DoStartDiscoveryRaw.

See Also