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

7 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-18 11:17 +0000

1"""Count 24 characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from ...types.gatt_enums import CharacteristicRole 

6from .base import BaseCharacteristic 

7from .templates import Uint24Template 

8 

9 

10class Count24Characteristic(BaseCharacteristic[int]): 

11 """Count 24 characteristic (0x2AEB). 

12 

13 org.bluetooth.characteristic.count_24 

14 

15 Represents a count value using 24-bit unsigned integer. 

16 """ 

17 

18 _manual_role = CharacteristicRole.MEASUREMENT 

19 _template = Uint24Template()