write

@RequiresPermission(value = "android.permission.BLUETOOTH_CONNECT")
suspend fun write(value: DataByteArray)

Writes value to a descriptor.

Parameters

value

A bytes to write.

Throws

on GATT communication failure.

when a BLE device is disconnected.