System.Bluetooth.Components.TBluetoothLE.OnCharacteristicWriteRequest
Delphi
property OnCharacteristicWriteRequest: TGattCharacteristicWriteEvent read FOnCharacteristicWriteRequest write FOnCharacteristicWriteRequest;
C++
__property System::Bluetooth::TGattCharacteristicWriteEvent OnCharacteristicWriteRequest = {read=FOnCharacteristicWriteRequest, write=FOnCharacteristicWriteRequest};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Occurs when the GATT server of your component receives a request from a client device to edit the data of a characteristic.
The handler of OnCharacteristicWriteRequest receives the following parameters:
Sender
is the GATT server of your component.ACharacteristic
is the characteristic that is the target of the request.AGattStatus
is the exit status of the write request.