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

7 statements  

« prev     ^ index     » next       coverage.py v7.11.0, created at 2025-10-30 00:10 +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 description: str = ""