Coverage for src / bluetooth_sig / types / advertising / flags.py: 100%
11 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
1"""BLE Advertising Flags (Core Spec Supplement, Part A, Section 1.3)."""
3from __future__ import annotations
5from enum import IntFlag
8class BLEAdvertisingFlags(IntFlag):
9 """BLE Advertising Flags (Core Spec Supplement, Part A, Section 1.3).
11 These flags indicate the discoverable mode and capabilities of the advertising device.
12 """
14 LE_LIMITED_DISCOVERABLE_MODE = 0x01
15 LE_GENERAL_DISCOVERABLE_MODE = 0x02
16 BR_EDR_NOT_SUPPORTED = 0x04
17 SIMULTANEOUS_LE_BR_EDR_CONTROLLER = 0x08
18 SIMULTANEOUS_LE_BR_EDR_HOST = 0x10
19 RESERVED_BIT_5 = 0x20
20 RESERVED_BIT_6 = 0x40
21 RESERVED_BIT_7 = 0x80