src.bluetooth_sig.gatt.characteristics.esl_led_information

ESL LED Information characteristic implementation.

Classes

Name

Description

ESLColorGamut

ESL LED colour gamut flags per ESL specification.

ESLLEDInformationCharacteristic

ESL LED Information characteristic (0x2BFD).

ESLLEDInformationData

Parsed data from ESL LED Information characteristic.

Module Contents

class src.bluetooth_sig.gatt.characteristics.esl_led_information.ESLColorGamut

Bases: enum.IntFlag

ESL LED colour gamut flags per ESL specification.

BLUE = 4
GREEN = 2
RED = 1
class src.bluetooth_sig.gatt.characteristics.esl_led_information.ESLLEDInformationCharacteristic

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

ESL LED Information characteristic (0x2BFD).

org.bluetooth.characteristic.esl_led_information

Describes an ESL LED: index and colour gamut bitfield (Red, Green, Blue).

expected_length: int = 2
min_length: int = 2
class src.bluetooth_sig.gatt.characteristics.esl_led_information.ESLLEDInformationData

Bases: msgspec.Struct

Parsed data from ESL LED Information characteristic.

led_index

Index of the LED (0-based).

color_gamut

Colour gamut bitfield indicating supported colours.

color_gamut: ESLColorGamut
led_index: int