System.Bluetooth.TBluetoothLEDevice.OnCharacteristicWrite
Delphi
property OnCharacteristicWrite: TGattCharacteristicEvent read FOnCharacteristicWrite write FOnCharacteristicWrite;
C++
__property TGattCharacteristicEvent OnCharacteristicWrite = {read=FOnCharacteristicWrite, write=FOnCharacteristicWrite};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEDevice |
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.