Coverage for src/bluetooth_sig/gatt/characteristics/fixed_string_8.py: 100%
6 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
1"""Fixed String 8 characteristic (0x2AF8)."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import Utf8StringTemplate
9class FixedString8Characteristic(BaseCharacteristic[str]):
10 """Fixed String 8 characteristic (0x2AF8).
12 org.bluetooth.characteristic.fixed_string_8
14 Fixed-length 8-octet UTF-8 string.
15 """
17 _template = Utf8StringTemplate(max_length=8)
18 expected_length = 8