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

5 statements  

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

1"""Active Preset Index characteristic (0x2BDC).""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Uint8Template 

7 

8 

9class ActivePresetIndexCharacteristic(BaseCharacteristic[int]): 

10 """Active Preset Index characteristic (0x2BDC). 

11 

12 org.bluetooth.characteristic.active_preset_index 

13 

14 Index of the currently active preset. 

15 """ 

16 

17 _template = Uint8Template()