System.Bluetooth.TBluetoothLEManager.DoDiscoverDevice
Delphi
procedure DoDiscoverDevice(const Sender: TObject; const ADevice: TBluetoothLEDevice; Rssi: Integer; const ScanResponse: TScanResponse); virtual;
C++
virtual void __fastcall DoDiscoverDevice(System::TObject* const Sender, TBluetoothLEDevice* const ADevice, int Rssi, TScanResponse* const ScanResponse);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEManager |
Description
Dispatcher of the OnDiscoverLeDevice event.
The current adapter calls this function during device discovery.
This event dispatcher receives the following parameters:
Sender
is the current adapter .ADevice
is the device discovered.Rssi
holds the value of the current received signal strength indicator.ScanResponse
is the data advertised by the device.