Coverage for src / bluetooth_sig / gatt / characteristics / hid_iso_properties.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"""HID ISO Properties characteristic (0x2C23).
3Bitfield for HID Isochronous properties.
5References:
6 Bluetooth SIG HID over GATT Profile specification
7"""
9from __future__ import annotations
11from enum import IntFlag
13from .base import BaseCharacteristic
14from .templates import FlagTemplate
17class HIDISOProperties(IntFlag):
18 """HID ISO Properties flags."""
20 INPUT_REPORT_SUPPORTED = 0x01
21 OUTPUT_REPORT_SUPPORTED = 0x02
24class HIDISOPropertiesCharacteristic(BaseCharacteristic[HIDISOProperties]):
25 """HID ISO Properties characteristic (0x2C23).
27 org.bluetooth.characteristic.hid_iso_properties
29 Bitfield indicating supported HID isochronous channel properties.
30 """
32 _characteristic_name = "HID ISO Properties"
33 _template = FlagTemplate.uint8(HIDISOProperties)