GattServerRequest.WriteCharacteristics.Part


class GattServerRequest.WriteCharacteristics.Part


A part of write requests.

It represents a partial write request such that value is to be written to a part of characteristic based on offset.

For example, if the [offset] is 2, the first byte of [value] should be written to the third byte of the [characteristic], and the second byte of [value] should be written to the fourth byte of the [characteristic] and so on.

Summary

Public properties

GattCharacteristic

a characteristic to write

Int

an offset of the first octet to be written

ByteArray

a value to be written

Public properties

characteristic

Added in 1.0.0-alpha02
val characteristicGattCharacteristic

a characteristic to write

offset

Added in 1.0.0-alpha02
val offsetInt

an offset of the first octet to be written

value

Added in 1.0.0-alpha02
val valueByteArray

a value to be written