Coverage for src / bluetooth_sig / types / registry / dp_property.py: 0%

10 statements  

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

1"""Types for Bluetooth SIG Device Property registry.""" 

2 

3from __future__ import annotations 

4 

5import msgspec 

6 

7 

8class PropertySpec(msgspec.Struct, frozen=True, kw_only=True): 

9 """Specification for a Bluetooth SIG property from DP.""" 

10 

11 identifier: str 

12 name: str 

13 group: str 

14 characteristic: str 

15 description: str 

16 

17 

18class DpPropertyData(msgspec.Struct, frozen=True, kw_only=True): 

19 """Top-level data structure for DP property YAML files.""" 

20 

21 property: PropertySpec