Coverage for src / bluetooth_sig / types / registry / dp_property_ids.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 IDs registry.""" 

2 

3from __future__ import annotations 

4 

5import msgspec 

6 

7from bluetooth_sig.types.registry import BaseUuidInfo 

8 

9 

10class PropertyIdEntry(msgspec.Struct, frozen=True): 

11 """Entry for property IDs from YAML.""" 

12 

13 identifier: str 

14 propertyid: str 

15 

16 

17class PropertyIdsData(msgspec.Struct): 

18 """Top-level data structure for property_ids.yaml.""" 

19 

20 propertyids: list[PropertyIdEntry] 

21 

22 

23class PropertyIdInfo(BaseUuidInfo, frozen=True, kw_only=True): 

24 """Information about a Bluetooth SIG property ID.""" 

25 

26 summary: str = ""