System.Bluetooth.TBluetoothGattServer.DoOnConnectedDevice

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoOnConnectedDevice(const Sender: TObject; const ADevice: TBluetoothLEDevice); virtual;

C++

virtual void __fastcall DoOnConnectedDevice(System::TObject* const Sender, TBluetoothLEDevice* const ADevice);

Properties

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

Description

Dispatcher of the OnConnectedDevice event.

DoOnConnectedDevice is called when a remote device connects to your GATT server.

This event dispatcher receives the following parameters:

  • Sender is your GATT server.
  • ADevice is the remote device that is now connected to your GATT server.

Platform Support

Currently, there is no platform that supports reporting that remote devices connect to your GATT server as clients.

See Also