ServerBleGattDescriptor

A helper class which handles operation which can happen on a GATT characteristic on a server side. Its main responsibility is to handle write/read requests in a synchronous manner, because simultaneous calls will be ignored by Android API. It has DataByteArray value assigned which can change during communication.

Properties

Link copied to clipboard

Permissions of this descriptor.

Link copied to clipboard
val uuid: UUID

UUID of the descriptor.

Link copied to clipboard
val value: SharedFlow<DataByteArray>

The last value stored on this descriptor.

Functions

Link copied to clipboard

Sets new DataByteArray value on this descriptor which will be visible for further read requests.