System.Bluetooth.TBluetoothGattServer.OnCharacteristicRead
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:
- Senderis your GATT server.
- ACharacteristicis the characteristic that has been requested.
- AGattStatusis the exit status of the read request.