startActiveWriteOperation

fun startActiveWriteOperation(device: BluetoothDevice, characteristicUUID: UUID, payload: ByteArray, fragmentation: Boolean = false, operationType: BlueLinkOperationType): BlueLinkOperationError?

Writes data to a characteristic on the specified peripheral, provided characteristic exists on peripheral to write

Return

BlueLinkOperationFailReason if the operation fails, otherwise null