Coverage for src/bluetooth_sig/gatt/characteristics/fixed_string_16.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 16 characteristic (0x2AF7)."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import Utf8StringTemplate
9class FixedString16Characteristic(BaseCharacteristic[str]):
10 """Fixed String 16 characteristic (0x2AF7).
12 org.bluetooth.characteristic.fixed_string_16
14 Fixed-length 16-octet UTF-8 string.
15 """
17 _template = Utf8StringTemplate(max_length=16)
18 expected_length = 16