System.Bluetooth.TBluetoothLEDevice.OnDescriptorWrite
Delphi
property OnDescriptorWrite: TGattDescriptorEvent read FOnDescriptorWrite write FOnDescriptorWrite;
C++
__property TGattDescriptorEvent OnDescriptorWrite = {read=FOnDescriptorWrite, write=FOnDescriptorWrite};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEDevice |
Description
Occurs when the data of a descriptor from a remote device is written to the remote device.
You start a write operation using WriteDescriptor.
The event handler of OnDescriptorWrite receives the following parameters:
Sender
is the remote device that provides the descriptor.ADescriptor
is the descriptor that has been written.AGattStatus
is the exit status of the write operation.