System.Bluetooth.TBluetoothGattServer.DoOnCharacteristicRead
Delphi
procedure DoOnCharacteristicRead(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic; var AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoOnCharacteristicRead(System::TObject* const Sender, TBluetoothGattCharacteristic* const ACharacteristic, TBluetoothGattStatus &AGattStatus);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
説明
OnCharacteristicRead イベントのディスパッチャです。
DoOnCharacteristicRead が呼び出されるのは、GATT サーバーがクライアント デバイスからキャラクタリスティック データの要求を受け取ったときです。
このイベント ディスパッチャは次のパラメータを受け取ります。
Sender
はお使いの GATT サーバーです。ACharacteristic
は、要求されたキャラクタリスティックです。AGattStatus
は読み取り要求の終了ステータスです。