src.bluetooth_sig.gatt.characteristics.volume_offset_control_point

Volume Offset Control Point characteristic (0x2B82).

Classes

Name

Description

VolumeOffsetControlPointCharacteristic

Volume Offset Control Point characteristic (0x2B82).

VolumeOffsetControlPointData

Parsed data from Volume Offset Control Point characteristic.

VolumeOffsetControlPointOpCode

Volume Offset Control Point operation codes.

Module Contents

class src.bluetooth_sig.gatt.characteristics.volume_offset_control_point.VolumeOffsetControlPointCharacteristic

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

Volume Offset Control Point characteristic (0x2B82).

org.bluetooth.characteristic.volume_offset_control_point

Used for controlling volume offset in the Volume Offset Control Service.

allow_variable_length = True
min_length = 2
class src.bluetooth_sig.gatt.characteristics.volume_offset_control_point.VolumeOffsetControlPointData

Bases: msgspec.Struct

Parsed data from Volume Offset Control Point characteristic.

Contains the opcode, change counter, and optional volume offset parameter.

change_counter: int
op_code: VolumeOffsetControlPointOpCode
volume_offset: int | None = None
class src.bluetooth_sig.gatt.characteristics.volume_offset_control_point.VolumeOffsetControlPointOpCode

Bases: enum.IntEnum

Volume Offset Control Point operation codes.

SET_VOLUME_OFFSET = 1