Coverage for src / bluetooth_sig / gatt / services / volume_offset_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"""VolumeOffsetControl Service implementation."""
3from __future__ import annotations
5from typing import ClassVar
7from ..characteristics.registry import CharacteristicName
8from .base import BaseGattService
11class VolumeOffsetControlService(BaseGattService):
12 """Volume Offset Control Service implementation (0x1845).
14 Provides per-output volume offset control for LE Audio devices.
15 """
17 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
18 CharacteristicName.VOLUME_OFFSET_STATE: True,
19 CharacteristicName.AUDIO_LOCATION: True,
20 CharacteristicName.VOLUME_OFFSET_CONTROL_POINT: True,
21 CharacteristicName.AUDIO_OUTPUT_DESCRIPTION: True,
22 }