procedure DoOnCharacteristicRead(const ACharacteristic: TBluetoothGattCharacteristic; AGattStatus: TBluetoothGattStatus); virtual;
virtual void __fastcall DoOnCharacteristicRead(TBluetoothGattCharacteristic* const ACharacteristic, TBluetoothGattStatus AGattStatus);
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:
ACharacteristicis the characteristic that has been read.
AGattStatusis the exit status of the read operation.