src.bluetooth_sig.gatt.characteristics.volume_offset_state

Volume Offset State characteristic (0x2B80).

Classes

Name

Description

VolumeOffsetStateCharacteristic

Volume Offset State characteristic (0x2B80).

VolumeOffsetStateData

Parsed data from Volume Offset State characteristic.

Module Contents

class src.bluetooth_sig.gatt.characteristics.volume_offset_state.VolumeOffsetStateCharacteristic

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

Volume Offset State characteristic (0x2B80).

org.bluetooth.characteristic.volume_offset_state

Reports the current volume offset and change counter for the Volume Offset Control Service.

expected_length = 3
class src.bluetooth_sig.gatt.characteristics.volume_offset_state.VolumeOffsetStateData

Bases: msgspec.Struct

Parsed data from Volume Offset State characteristic.

Contains the volume offset and change counter.

change_counter: int
volume_offset: int