CharacteristicWrite

Event indicating the result of a characteristic write operation.

If this callback is invoked while a reliable write transaction is in progress, the value of the characteristic represents the value reported by the remote device. An application should compare this value to the desired value to be written. If the values don't match, the application must abort the reliable write transaction.

See also

(https://developer.android.com/reference/android/bluetooth/BluetoothGattCallback#onCharacteristicWrite(android.bluetooth.BluetoothGatt,%20android.bluetooth.BluetoothGattCharacteristic,%20int))

Constructors

Link copied to clipboard
constructor(characteristic: IBluetoothGattCharacteristic, status: BleGattOperationStatus)

Properties

Link copied to clipboard

Characteristic that was written to the associated remote device.

Link copied to clipboard