src.bluetooth_sig.gatt.characteristics.esl_led_information¶
ESL LED Information characteristic implementation.
Classes¶
Name | Description |
|---|---|
ESL LED colour gamut flags per ESL specification. |
|
ESL LED Information characteristic (0x2BFD). |
|
Parsed data from ESL LED Information characteristic. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.esl_led_information.ESLColorGamut¶
Bases:
enum.IntFlagESL 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).
- class src.bluetooth_sig.gatt.characteristics.esl_led_information.ESLLEDInformationData¶
Bases:
msgspec.StructParsed 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¶