src.bluetooth_sig.gatt.characteristics.peripheral_privacy_flag

Peripheral Privacy Flag characteristic implementation.

Classes

Name

Description

PeripheralPrivacyFlagCharacteristic

Peripheral Privacy Flag characteristic (0x2A02).

PeripheralPrivacyState

Peripheral privacy state.

Module Contents

class src.bluetooth_sig.gatt.characteristics.peripheral_privacy_flag.PeripheralPrivacyFlagCharacteristic

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

Peripheral Privacy Flag characteristic (0x2A02).

org.bluetooth.characteristic.gap.peripheral_privacy_flag

Indicates whether privacy is enabled (1) or disabled (0).

expected_length: int = 1
class src.bluetooth_sig.gatt.characteristics.peripheral_privacy_flag.PeripheralPrivacyState

Bases: enum.IntEnum

Peripheral privacy state.

DISABLED = 0
ENABLED = 1