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

7 statements  

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

1"""Ranging Data Ready characteristic (0x2C18). 

2 

3Per RAS v1.0 §3.4, Table 3.14: contains only the Ranging Counter (uint16) 

4of the completed CS Procedure. 

5 

6References: 

7 Bluetooth SIG Ranging Service v1.0, Section 3.4 

8""" 

9 

10from __future__ import annotations 

11 

12from ...types.gatt_enums import CharacteristicRole 

13from .base import BaseCharacteristic 

14from .templates import Uint16Template 

15 

16 

17class RangingDataReadyCharacteristic(BaseCharacteristic[int]): 

18 """Ranging Data Ready characteristic (0x2C18). 

19 

20 org.bluetooth.characteristic.ranging_data_ready 

21 

22 Indicates that ranging data is ready for retrieval. 

23 The value is the Ranging Counter of the completed CS Procedure. 

24 """ 

25 

26 _manual_role = CharacteristicRole.STATUS 

27 _template = Uint16Template()