Coverage for src / bluetooth_sig / gatt / characteristics / device_name.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
1"""Device Name characteristic implementation."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import Utf8StringTemplate
9class DeviceNameCharacteristic(BaseCharacteristic[str]):
10 """Device Name characteristic (0x2A00).
12 org.bluetooth.characteristic.gap.device_name
14 Represents the device name as a UTF-8 string.
15 """
17 _template = Utf8StringTemplate()