src.bluetooth_sig.gatt.characteristics.esl_image_information¶
ESL Image Information characteristic implementation.
Classes¶
Name | Description |
|---|---|
ESL Image Information characteristic (0x2BFB). |
|
Parsed data from ESL Image Information characteristic. |
|
ESL image type identifiers per ESL Service spec. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.esl_image_information.ESLImageInformationCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[ESLImageInformationData]ESL Image Information characteristic (0x2BFB).
org.bluetooth.characteristic.esl_image_information
Describes an ESL image slot: index, maximum width, maximum height, and image type.
- class src.bluetooth_sig.gatt.characteristics.esl_image_information.ESLImageInformationData¶
Bases:
msgspec.StructParsed data from ESL Image Information characteristic.
- image_index¶
Index of the image slot (0-based).
- max_width¶
Maximum image width in pixels.
- max_height¶
Maximum image height in pixels.
- image_type¶
Image type identifier (codec/format).
- image_type: ESLImageType¶
- class src.bluetooth_sig.gatt.characteristics.esl_image_information.ESLImageType¶
Bases:
enum.IntEnumESL image type identifiers per ESL Service spec.
- BLACK_WHITE = 0¶
- EIGHT_GRAY_SCALE = 3¶
- FOUR_GRAY_SCALE = 2¶
- FULL_COLOR = 7¶
- RED_BLACK_WHITE = 5¶
- SIXTEEN_GRAY_SCALE = 4¶
- THREE_GRAY_SCALE = 1¶
- YELLOW_BLACK_WHITE = 6¶