Coverage for src / bluetooth_sig / gatt / characteristics / call_control_point_optional_opcodes.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"""Call Control Point Optional Opcodes characteristic (0x2BBF)."""
3from __future__ import annotations
5from enum import IntFlag
7from .base import BaseCharacteristic
8from .templates import FlagTemplate
11class CallControlPointOptionalOpcodes(IntFlag):
12 """Optional opcodes supported by the Call Control Point."""
14 LOCAL_HOLD_AND_LOCAL_RETRIEVE = 0x0001
15 JOIN = 0x0002
18class CallControlPointOptionalOpcodesCharacteristic(
19 BaseCharacteristic[CallControlPointOptionalOpcodes],
20):
21 """Call Control Point Optional Opcodes characteristic (0x2BBF).
23 org.bluetooth.characteristic.call_control_point_optional_opcodes
25 Bitmask of optional opcodes supported by the Call Control Point.
26 """
28 expected_length: int = 2
29 _template = FlagTemplate.uint16(CallControlPointOptionalOpcodes)