Coverage for src / bluetooth_sig / gatt / characteristics / bgs_features.py: 100%
9 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
1"""BGS Features characteristic (0x2C03)."""
3from __future__ import annotations
5from enum import IntFlag
7from .base import BaseCharacteristic
8from .templates import FlagTemplate
11class BGSFeatures(IntFlag):
12 """Broadcast Game Sender feature flags."""
14 MULTISINK = 0x01
15 MULTIPLEX = 0x02
18class BGSFeaturesCharacteristic(BaseCharacteristic[BGSFeatures]):
19 """BGS Features characteristic (0x2C03).
21 org.bluetooth.characteristic.bgs_features
23 Bitfield indicating the supported Broadcast Game Sender features.
24 """
26 _template = FlagTemplate.uint8(BGSFeatures)