Coverage for src / bluetooth_sig / gatt / characteristics / bearer_technology.py: 100%
17 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"""Bearer Technology characteristic (0x2BB5)."""
3from __future__ import annotations
5from enum import IntEnum
7from .base import BaseCharacteristic
8from .templates import EnumTemplate
11class BearerTechnology(IntEnum):
12 """Bearer technology type."""
14 THREEG = 0x01
15 FOURGEE = 0x02
16 LTE = 0x03
17 WIFI = 0x04
18 FIVEG = 0x05
19 GSM = 0x06
20 CDMA = 0x07
21 TWOG = 0x08
22 WCDMA = 0x09
25class BearerTechnologyCharacteristic(BaseCharacteristic[BearerTechnology]):
26 """Bearer Technology characteristic (0x2BB5).
28 org.bluetooth.characteristic.bearer_technology
30 Technology used by the telephone bearer.
31 """
33 expected_length: int = 1
34 _template = EnumTemplate.uint8(BearerTechnology)