CharacteristicUserDescriptionDescriptor

abstract fun CharacteristicUserDescriptionDescriptor(description: String, writable: Boolean = false)

Declares a Characteristic User Description descriptor.

This descriptor is used to provide a human-readable description of the characteristic. Although the CUDD is usually read-only, it may be writable. In that case, the CharacteristicProperty.EXTENDED_PROPERTIES property and Characteristic Extended Properties descriptor with WRITABLE_AUXILIARIES flag will be added automatically.

Parameters

description

The human-readable description of the characteristic.

writable

Whether the descriptor is writable.