System.Bluetooth.Components.TBluetoothLE.OnDescriptorRead
Delphi
property OnDescriptorRead: TGattDescriptorEvent read FOnDescriptorRead write FOnDescriptorRead;
C++
__property System::Bluetooth::TGattDescriptorEvent OnDescriptorRead = {read=FOnDescriptorRead, write=FOnDescriptorRead};
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 descriptor of a service from a remote device is read from the remote device.
You start a read operation using ReadDescriptor.
The event handler of OnDescriptorRead receives the following parameters:
Sender
is the remote device that provides the descriptor.ADescriptor
is the descriptor that has been read.AGattStatus
is the exit status of the read operation.