System.Bluetooth.Components.TBluetoothLE.OnCharacteristicReadRequest
Delphi
property OnCharacteristicReadRequest: TGattCharacteristicReadEvent read FOnCharacteristicReadRequest write FOnCharacteristicReadRequest;
C++
__property System::Bluetooth::TGattCharacteristicReadEvent OnCharacteristicReadRequest = {read=FOnCharacteristicReadRequest, write=FOnCharacteristicReadRequest};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Occurs when the GATT server of your component receives a request from a client device of the data of a characteristic.
The handler of OnCharacteristicReadRequest receives the following parameters:
Sender
is the GATT server of your component.ACharacteristic
is the characteristic that has been requested.AGattStatus
is the exit status of the read request.