Coverage for src / bluetooth_sig / types / registry / formattypes.py: 100%

8 statements  

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

1"""Types for Bluetooth SIG Format Types registry.""" 

2 

3from __future__ import annotations 

4 

5from msgspec import Struct 

6 

7 

8class FormatTypeInfo(Struct, frozen=True, kw_only=True): 

9 """Information about a Bluetooth characteristic format type.""" 

10 

11 value: int 

12 short_name: str 

13 description: str 

14 exponent: bool 

15 size: int