notifyCharacteristicChanged

abstract fun notifyCharacteristicChanged(device: ClientDevice, characteristic: IBluetoothGattCharacteristic, confirm: Boolean, value: DataByteArray)

Send a notification or indication that a local characteristic has been updated.

Parameters

device

The remote device to receive the notification/indication. This value cannot be null.

characteristic

The local characteristic that has been updated.

confirm

True to request confirmation from the client (indication) or false to send a notification

value

See also

(https://developer.android.com/reference/android/bluetooth/BluetoothGattServer#notifyCharacteristicChanged(android.bluetooth.BluetoothDevice,%20android.bluetooth.BluetoothGattCharacteristic,%20boolean,%20byte[]))