System.Bluetooth.Components.TBluetoothLE.DoOnCharacteristicWriteRequest
Delphi
procedure DoOnCharacteristicWriteRequest(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic; var AGattStatus: TBluetoothGattStatus; const AValue: TByteDynArray);
C++
void __fastcall DoOnCharacteristicWriteRequest(System::TObject* const Sender, System::Bluetooth::TBluetoothGattCharacteristic* const ACharacteristic, System::Bluetooth::TBluetoothGattStatus &AGattStatus, const System::DynamicArray<System::Byte> AValue);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Dispatcher of the OnCharacteristicWrite event.
DoOnCharacteristicWriteRequest is called when the GATT server of your component receives a request from a client device to edit the data of a characteristic.
This event dispatcher 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.