System.Bluetooth.Components.TBluetoothLE.OnCharacteristicWrite
Delphi
property OnCharacteristicWrite: TGattCharacteristicEvent read FOnCharacteristicWrite write FOnCharacteristicWrite;
C++
__property System::Bluetooth::TGattCharacteristicEvent OnCharacteristicWrite = {read=FOnCharacteristicWrite, write=FOnCharacteristicWrite};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Occurs 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.
The handler of OnCharacteristicWrite receives the following parameters:
Sender
is the remote device that provides the characteristic.ACharacteristic
is the characteristic that has been written.AGattStatus
is the exit status of the write operation.