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

7 statements  

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

1"""Count 16 characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from ...types.gatt_enums import CharacteristicRole 

6from .base import BaseCharacteristic 

7from .templates import Uint16Template 

8 

9 

10class Count16Characteristic(BaseCharacteristic[int]): 

11 """Count 16 characteristic (0x2AEA). 

12 

13 org.bluetooth.characteristic.count_16 

14 

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

16 """ 

17 

18 _manual_role = CharacteristicRole.MEASUREMENT 

19 _template = Uint16Template()