Coverage for src/bluetooth_sig/gatt/characteristics/coordinated_set_name.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.14.3, created at 2026-06-28 01:26 +0000

1"""Coordinated Set Name characteristic (0x2C1A).""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Utf8StringTemplate 

7 

8 

9class CoordinatedSetNameCharacteristic(BaseCharacteristic[str]): 

10 """Coordinated Set Name characteristic (0x2C1A). 

11 

12 org.bluetooth.characteristic.coordinated_set_name 

13 

14 UTF-8 name shared by members of a coordinated set. 

15 """ 

16 

17 _template = Utf8StringTemplate(max_length=128) 

18 allow_variable_length = True