writeCharacteristic

abstract fun writeCharacteristic(characteristic: IBluetoothGattCharacteristic, value: DataByteArray, writeType: BleWriteType): Boolean

Writes value to a characteristic.

Parameters

characteristic

A characteristic to which the value will be written.

value

A value as DataByteArray.

writeType

A write type method BleWriteType.