src.bluetooth_sig.gatt.characteristics.bearer_list_current_calls

Bearer List Current Calls characteristic (0x2BB9).

Classes

Name

Description

BearerListCurrentCallsCharacteristic

Bearer List Current Calls characteristic (0x2BB9).

BearerListCurrentCallsData

Parsed data from Bearer List Current Calls characteristic.

CallFlags

Call flags per TBS specification.

CallListItem

A single call entry in the Bearer List Current Calls.

CallState

Call state values per TBS specification.

Module Contents

class src.bluetooth_sig.gatt.characteristics.bearer_list_current_calls.BearerListCurrentCallsCharacteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[BearerListCurrentCallsData]

Bearer List Current Calls characteristic (0x2BB9).

org.bluetooth.characteristic.bearer_list_current_calls

List of current calls on the telephone bearer. Each list item contains a length prefix, call index, state, flags, and URI.

allow_variable_length = True
min_length = 0
class src.bluetooth_sig.gatt.characteristics.bearer_list_current_calls.BearerListCurrentCallsData

Bases: msgspec.Struct

Parsed data from Bearer List Current Calls characteristic.

calls: tuple[CallListItem, Ellipsis]
class src.bluetooth_sig.gatt.characteristics.bearer_list_current_calls.CallFlags

Bases: enum.IntFlag

Call flags per TBS specification.

Bit 0: Incoming/Outgoing — 0 = incoming call, 1 = outgoing call (Table 3.7).

OUTGOING = 1
WITHHELD = 2
WITHHELD_BY_NETWORK = 4
class src.bluetooth_sig.gatt.characteristics.bearer_list_current_calls.CallListItem

Bases: msgspec.Struct

A single call entry in the Bearer List Current Calls.

call_flags: CallFlags
call_index: int
state: CallState
uri: str
class src.bluetooth_sig.gatt.characteristics.bearer_list_current_calls.CallState

Bases: enum.IntEnum

Call state values per TBS specification.

ACTIVE = 3
ALERTING = 2
DIALING = 1
INCOMING = 0
LOCALLY_AND_REMOTELY_HELD = 6
LOCALLY_HELD = 4
REMOTELY_HELD = 5