Coverage for src / bluetooth_sig / gatt / services / hid_iso.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-04-03 16:41 +0000

1"""HidIso Service implementation.""" 

2 

3from __future__ import annotations 

4 

5from typing import ClassVar 

6 

7from ..characteristics.registry import CharacteristicName 

8from .base import BaseGattService 

9 

10 

11class HidIsoService(BaseGattService): 

12 """HID ISO Service implementation (0x185C). 

13 

14 Provides Human Interface Device functionality over LE Audio 

15 isochronous channels for low-latency input. 

16 """ 

17 

18 _service_name: str = "HID ISO" 

19 

20 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = { 

21 CharacteristicName.HID_ISO_PROPERTIES: False, 

22 CharacteristicName.LE_HID_OPERATION_MODE: False, 

23 }