Coverage for src / bluetooth_sig / gatt / characteristics / health_sensor_features.py: 100%
8 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"""Health Sensor Features characteristic (0x2BF3)."""
3from __future__ import annotations
5from enum import IntFlag
7from .base import BaseCharacteristic
8from .templates import FlagTemplate
11class HealthSensorFeatures(IntFlag):
12 """Health Sensor feature flags."""
14 OBSERVATION_TYPE_SUPPORTED = 0x0001
17class HealthSensorFeaturesCharacteristic(BaseCharacteristic[HealthSensorFeatures]):
18 """Health Sensor Features characteristic (0x2BF3).
20 org.bluetooth.characteristic.health_sensor_features
22 Bitfield indicating the supported Health Sensor features.
23 """
25 _template = FlagTemplate.uint32(HealthSensorFeatures)