Coverage for src / bluetooth_sig / gatt / characteristics / user_index.py: 100%
7 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
1"""User Index characteristic implementation."""
3from __future__ import annotations
5from ...types.gatt_enums import CharacteristicRole
6from .base import BaseCharacteristic
7from .templates import Uint8Template
10class UserIndexCharacteristic(BaseCharacteristic[int]):
11 """User Index characteristic (0x2A9A).
13 org.bluetooth.characteristic.user_index
15 Identifies a user by index as an unsigned 8-bit integer.
16 """
18 _manual_role = CharacteristicRole.INFO
19 _template = Uint8Template()