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

5 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 20:14 +0000

1"""User Index characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Uint8Template 

7 

8 

9class UserIndexCharacteristic(BaseCharacteristic[int]): 

10 """User Index characteristic (0x2A9A). 

11 

12 org.bluetooth.characteristic.user_index 

13 

14 Identifies a user by index as an unsigned 8-bit integer. 

15 """ 

16 

17 _template = Uint8Template()