src.bluetooth_sig.gatt.characteristics.volume_state

Volume State characteristic (0x2B7D).

Classes

Name

Description

VolumeMuteState

Volume mute state.

VolumeStateCharacteristic

Volume State characteristic (0x2B7D).

VolumeStateData

Parsed data from Volume State characteristic.

Module Contents

class src.bluetooth_sig.gatt.characteristics.volume_state.VolumeMuteState

Bases: enum.IntEnum

Volume mute state.

MUTED = 1
NOT_MUTED = 0
class src.bluetooth_sig.gatt.characteristics.volume_state.VolumeStateCharacteristic

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

Volume State characteristic (0x2B7D).

org.bluetooth.characteristic.volume_state

Reports the current volume setting, mute state, and change counter for the Volume Control Service.

expected_length = 3
class src.bluetooth_sig.gatt.characteristics.volume_state.VolumeStateData

Bases: msgspec.Struct

Parsed data from Volume State characteristic.

Contains the current volume setting, mute state, and change counter.

change_counter: int
mute: VolumeMuteState
volume_setting: int