Coverage for src / bluetooth_sig / types / base_types.py: 100%

7 statements  

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

1"""Base data types shared across the library.""" 

2 

3from __future__ import annotations 

4 

5import msgspec 

6 

7from .uuid import BluetoothUUID 

8 

9 

10class SIGInfo(msgspec.Struct, kw_only=True): 

11 """Base information about Bluetooth SIG characteristics or services.""" 

12 

13 uuid: BluetoothUUID 

14 name: str 

15 id: str = ""