System.Bluetooth.Components.TBluetoothLE.DoInternalDiscoverLEDevice
Delphi
procedure DoInternalDiscoverLEDevice(const Sender: TObject; const ADevice: TBluetoothLEDevice; Rssi: Integer; const ScanResponse: TScanResponse); overload;
C++
void __fastcall DoInternalDiscoverLEDevice(System::TObject* const Sender, System::Bluetooth::TBluetoothLEDevice* const ADevice, int Rssi, System::Bluetooth::TScanResponse* const ScanResponse)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Handler of the OnDiscoverLeDevice event of the manager of your component.
DoInternalDiscoverLEDevice is a protected method that is called when the OnDiscoverLeDevice
event of the manager of your component occurs, as a result of a previous call to DiscoverDevices, and receives the following parameters:
Sender
is the manager of your component.ADevice
is a device that was discovered.Rssi
holds the value of the current received signal strength indicator.ScanResponse
is the data advertised by the device.
DoInternalDiscoverLEDevice is responsible for:
- Adding the following event handlers to the discovered device:
- Calling DoOnDiscoverLEDevice, the dispatcher of the OnDiscoverLEDevice event of your component.