System.Bluetooth.Components.TBluetoothLE.DoOnCharacteristicWrite
Delphi
procedure DoOnCharacteristicWrite(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic; AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoOnCharacteristicWrite(System::TObject* const Sender, System::Bluetooth::TBluetoothGattCharacteristic* const ACharacteristic, System::Bluetooth::TBluetoothGattStatus AGattStatus);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
Description
Répartiteur de l'événement OnCharacteristicWrite.
DoOnCharacteristicWrite est appelée quand les données d'une caractéristique d'un service fourni par un périphérique distant sont écrites par ce périphérique.
Vous démarrez une opération d'écriture en utilisant WriteCharacteristic.
Ce répartiteur d'événement reçoit les paramètres suivants :
Senderest le périphérique distant qui fournit la caractéristique.ACharacteristicest la caractéristique qui a été écrite.AGattStatusest le statut de sortie de l'opération d'écriture.