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

6 statements  

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

1"""CoordinatedSetIdentification 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 CoordinatedSetIdentificationService(BaseGattService): 

12 """Coordinated Set Identification Service implementation (0x1846). 

13 

14 Identifies devices belonging to a coordinated set (e.g., left 

15 and right earbuds) for LE Audio. 

16 """ 

17 

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

19 CharacteristicName.SET_IDENTITY_RESOLVING_KEY: True, 

20 CharacteristicName.COORDINATED_SET_SIZE: False, 

21 CharacteristicName.SET_MEMBER_LOCK: False, 

22 CharacteristicName.SET_MEMBER_RANK: False, 

23 CharacteristicName.COORDINATED_SET_NAME: False, 

24 }