System.Bluetooth.TBluetoothGattServer.OnConnectedDevice
Delphi
property OnConnectedDevice: TConnectLEDeviceEvent read FOnConnectedDevice write FOnConnectedDevice;
C++
__property TConnectLEDeviceEvent OnConnectedDevice = {read=FOnConnectedDevice, write=FOnConnectedDevice};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
Occurs when a remote device connects to your GATT server.
The event handler of OnConnectedDevice 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.