System.Bluetooth.TBluetoothLEDevice.DoOnCharacteristicRead

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoOnCharacteristicRead(const ACharacteristic: TBluetoothGattCharacteristic; AGattStatus: TBluetoothGattStatus); virtual;

C++

virtual void __fastcall DoOnCharacteristicRead(TBluetoothGattCharacteristic* const ACharacteristic, TBluetoothGattStatus AGattStatus);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEDevice

Description

Dispatcher of the OnCharacteristicRead event.

DoOnCharacteristicRead is called when the data of a characteristic of a service from a remote device is read from the remote device.

This read operation may be triggered by any of the following:

  • You actively requested to read the data of a characteristic using ReadCharacteristic.
  • You enabled notifications for changes on a characteristic using SetCharacteristicNotification, the characteristic then changed on the remote device and the data of the characteristic was automatically updated on your end.

This event dispatcher receives the following parameters:

See Also