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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
説明
OnCharacteristicWrite イベントのディスパッチャです。
DoOnCharacteristicWriteRequest が呼び出されるのは、お使いのコンポーネントの GATT サーバーがクライアント デバイスからキャラクタリスティック データの編集要求を受け取ったときです。
このイベント ディスパッチャは次のパラメータを受け取ります。
Sender
はお使いのコンポーネントの GATT サーバーです。ACharacteristic
は、要求の対象となるキャラクタリスティックです。AGattStatus
は書き込み要求の終了ステータスです。