System.Bluetooth.TBluetoothLEDevice.DoOnCharacteristicWrite
Delphi
procedure DoOnCharacteristicWrite(const ACharacteristic: TBluetoothGattCharacteristic; AGattStatus: TBluetoothGattStatus); virtual;
C++
virtual void __fastcall DoOnCharacteristicWrite(TBluetoothGattCharacteristic* const ACharacteristic, TBluetoothGattStatus AGattStatus);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEDevice |
Description
Dispatcher of the OnCharacteristicWrite event.
DoOnCharacteristicWrite is called when the data of a characteristic of a service from a remote device is written to the remote device.
You start a write operation using WriteCharacteristic.
This event dispatcher receives the following parameters:
ACharacteristic
is the characteristic that has been written.AGattStatus
is the exit status of the write operation.