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

8 statements  

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

1"""Voice Assistant Name characteristic (0x2C31).""" 

2 

3from __future__ import annotations 

4 

5from ..constants import SIZE_UINT8 

6from .base import BaseCharacteristic 

7from .templates import Utf8StringTemplate 

8 

9 

10class VoiceAssistantNameCharacteristic(BaseCharacteristic[str]): 

11 """Voice Assistant Name characteristic (0x2C31). 

12 

13 org.bluetooth.characteristic.voice_assistant_name 

14 """ 

15 

16 min_length = SIZE_UINT8 

17 allow_variable_length = True 

18 _template = Utf8StringTemplate()