src.bluetooth_sig.gatt.descriptors.characteristic_extended_properties

Characteristic Extended Properties Descriptor implementation.

Classes

Name

Description

CharacteristicExtendedPropertiesData

Characteristic Extended Properties descriptor data.

CharacteristicExtendedPropertiesDescriptor

Characteristic Extended Properties Descriptor (0x2900).

ExtendedPropertiesFlags

Characteristic Extended Properties flags.

Module Contents

class src.bluetooth_sig.gatt.descriptors.characteristic_extended_properties.CharacteristicExtendedPropertiesData

Bases: msgspec.Struct

Characteristic Extended Properties descriptor data.

reliable_write: bool
writable_auxiliaries: bool
class src.bluetooth_sig.gatt.descriptors.characteristic_extended_properties.CharacteristicExtendedPropertiesDescriptor

Bases: src.bluetooth_sig.gatt.descriptors.base.BaseDescriptor

Characteristic Extended Properties Descriptor (0x2900).

Defines extended properties for a characteristic using bit flags. Indicates support for reliable writes and writable auxiliaries.

supports_reliable_write(data: bytes) bool

Check if reliable write is supported.

supports_writable_auxiliaries(data: bytes) bool

Check if writable auxiliaries are supported.

class src.bluetooth_sig.gatt.descriptors.characteristic_extended_properties.ExtendedPropertiesFlags

Bases: enum.IntFlag

Characteristic Extended Properties flags.

RELIABLE_WRITE = 1
WRITABLE_AUXILIARIES = 2