write Characteristic
suspend fun writeCharacteristic(serviceUuid: UUID, characteristicUuid: UUID, value: ByteArray): Boolean
Writes a value to a characteristic on the connected BLE device.
Delegates to BleConnection.writeCharacteristic.
Return
true if the write was successful, false otherwise.
Parameters
service Uuid
The UUID of the GATT service containing the characteristic.
characteristic Uuid
The UUID of the characteristic to write to.
value
The ByteArray value to write.