System.Bluetooth.TBluetoothGattServer.OnCharacteristicRead

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCharacteristicRead: TGattCharacteristicReadEvent read FOnCharacteristicRead write FOnCharacteristicRead;

C++

__property TGattCharacteristicReadEvent OnCharacteristicRead = {read=FOnCharacteristicRead, write=FOnCharacteristicRead};

Properties

Type Visibility Source Unit Parent
event public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattServer

Description

Occurs when your GATT server receives a request from a client device of the data of a characteristic.

The handler of OnCharacteristicRead receives the following parameters:

  • Sender is your GATT server.
  • ACharacteristic is the characteristic that has been requested.
  • AGattStatus is the exit status of the read request.

See Also