writeCharacteristic

abstract fun writeCharacteristic(uuid: UUID, value: ByteArray)

Writes value to the GATT characteristic with uuid (using Write Without Response or Write With Response according to the characteristic's properties) and invokes Callback.onCharacteristicWrite when completed.