System.Bluetooth.Components.TBluetoothLE.DoOnCharacteristicReadRequest
Delphi
procedure DoOnCharacteristicReadRequest(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic;
var AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoOnCharacteristicReadRequest(System::TObject* const Sender, System::Bluetooth::TBluetoothGattCharacteristic* const ACharacteristic, System::Bluetooth::TBluetoothGattStatus &AGattStatus);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Dispatcher of the OnCharacteristicRead event.
DoOnCharacteristicReadRequest is called when the GATT server of your component receives a request from a client device of the data of a characteristic.
This event dispatcher 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.