Coverage for src / bluetooth_sig / gatt / characteristics / central_address_resolution.py: 100%
10 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
1"""Central Address Resolution characteristic."""
3from __future__ import annotations
5from enum import IntEnum
7from .base import BaseCharacteristic
8from .templates import EnumTemplate
11class CentralAddressResolutionSupport(IntEnum):
12 """Central Address Resolution support status."""
14 NOT_SUPPORTED = 0
15 SUPPORTED = 1
18class CentralAddressResolutionCharacteristic(BaseCharacteristic[CentralAddressResolutionSupport]):
19 """Central Address Resolution characteristic (0x2AA6).
21 org.bluetooth.characteristic.central_address_resolution
23 Indicates whether the Central Address Resolution is supported (1) or not (0).
24 """
26 expected_length: int = 1
27 _template = EnumTemplate.uint8(CentralAddressResolutionSupport)