src.bluetooth_sig.gatt.characteristics.bond_management_feature

Bond Management Feature characteristic implementation.

Classes

Name

Description

BondManagementFeatureCharacteristic

Bond Management Feature characteristic (0x2AA5).

BondManagementFeatureFlags

Bond Management Feature flags as per BMS v1.0.1 Table 3.5.

Module Contents

class src.bluetooth_sig.gatt.characteristics.bond_management_feature.BondManagementFeatureCharacteristic(info: src.bluetooth_sig.types.CharacteristicInfo | None = None, validation: src.bluetooth_sig.gatt.characteristics.characteristic_meta.ValidationConfig | None = None)

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[BondManagementFeatureFlags]

Bond Management Feature characteristic (0x2AA5).

org.bluetooth.characteristic.bond_management_feature

Variable-length bit field (1-3 octets) where each bit indicates a supported bond management operation per BMS v1.0.1 Table 3.5. Server sends only enough octets for the highest set bit.

allow_variable_length = True
max_length = 3
min_length = 1
class src.bluetooth_sig.gatt.characteristics.bond_management_feature.BondManagementFeatureFlags

Bases: enum.IntFlag

Bond Management Feature flags as per BMS v1.0.1 Table 3.5.

Variable-length bit field across up to 3 octets (18 defined bits).

DELETE_ALL_BR_EDR = 256
DELETE_ALL_BR_EDR_AUTH = 512
DELETE_ALL_BR_EDR_LE = 64
DELETE_ALL_BR_EDR_LE_AUTH = 128
DELETE_ALL_EXCEPT_REQUESTING_BR_EDR = 16384
DELETE_ALL_EXCEPT_REQUESTING_BR_EDR_AUTH = 32768
DELETE_ALL_EXCEPT_REQUESTING_BR_EDR_LE = 4096
DELETE_ALL_EXCEPT_REQUESTING_BR_EDR_LE_AUTH = 8192
DELETE_ALL_EXCEPT_REQUESTING_LE = 65536
DELETE_ALL_EXCEPT_REQUESTING_LE_AUTH = 131072
DELETE_ALL_LE = 1024
DELETE_ALL_LE_AUTH = 2048
DELETE_REQUESTING_BR_EDR = 4
DELETE_REQUESTING_BR_EDR_AUTH = 8
DELETE_REQUESTING_BR_EDR_LE = 1
DELETE_REQUESTING_BR_EDR_LE_AUTH = 2
DELETE_REQUESTING_LE = 16
DELETE_REQUESTING_LE_AUTH = 32