ServiceData

data class ServiceData(val uuid: ParcelUuid, val data: DataByteArray, val mask: DataByteArray? = null)

A helper class which groups service id and it's data.

Constructors

Link copied to clipboard
constructor(uuid: ParcelUuid, data: DataByteArray, mask: DataByteArray? = null)

Properties

Link copied to clipboard

Service data.

Link copied to clipboard
val mask: DataByteArray? = null

Service data mask. For any bit in the mask, set it to 1 if it needs to match the one in service data, otherwise set it to 0 to ignore that bit.

Link copied to clipboard

Service id.