Coverage for src/bluetooth_sig/gatt/characteristics/voice_assistant_supported_features.py: 100%
10 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
1"""Voice Assistant Supported Features characteristic (0x2C38)."""
3from __future__ import annotations
5from enum import IntFlag
7from ..constants import SIZE_UINT8
8from .base import BaseCharacteristic
9from .templates import FlagTemplate
12class VoiceAssistantSupportedFeatures(IntFlag):
13 """Voice Assistant supported features bitfield."""
15 SESSION_FLAGS_ENABLED = 1 << 0
18class VoiceAssistantSupportedFeaturesCharacteristic(BaseCharacteristic[VoiceAssistantSupportedFeatures]):
19 """Voice Assistant Supported Features characteristic (0x2C38).
21 org.bluetooth.characteristic.voice_assistant_supported_features
22 """
24 expected_length = SIZE_UINT8
25 _template = FlagTemplate.uint8(VoiceAssistantSupportedFeatures)