Coverage for src / bluetooth_sig / gatt / services / volume_control.py: 100%
6 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"""VolumeControl Service implementation."""
3from __future__ import annotations
5from typing import ClassVar
7from ..characteristics.registry import CharacteristicName
8from .base import BaseGattService
11class VolumeControlService(BaseGattService):
12 """Volume Control Service implementation (0x1844).
14 Controls audio volume and mute state for LE Audio devices.
15 """
17 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
18 CharacteristicName.VOLUME_STATE: True,
19 CharacteristicName.VOLUME_CONTROL_POINT: True,
20 CharacteristicName.VOLUME_FLAGS: True,
21 }