CharacteristicExtendedPropertiesDescriptor

abstract fun CharacteristicExtendedPropertiesDescriptor(reliableWrite: Boolean = false, writableAuxiliaries: Boolean = false): Int

Declares a Characteristic Extended Properties descriptor.

This descriptor is used to define additional properties of the characteristic, such as reliable writes and writable auxiliaries.

Unless you need to customize reliableWrite, you do not need to add this descriptor manually. It is added automatically when the characteristic has EXTENDED_PROPERTIES property and the CharacteristicUserDescriptionDescriptor is writable.

Parameters

reliableWrite

Whether reliable writes are supported.

writableAuxiliaries

Whether writable auxiliaries are supported.