write

abstract suspend fun write(characteristic: BleCharacteristic, data: ByteArray, writeType: BleWriteType)(source)

Writes a value to the characteristic using the requested BLE write type.