src.bluetooth_sig.gatt.characteristics.esl_image_information

ESL Image Information characteristic implementation.

Classes

Name

Description

ESLImageInformationCharacteristic

ESL Image Information characteristic (0x2BFB).

ESLImageInformationData

Parsed data from ESL Image Information characteristic.

ESLImageType

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.

expected_length: int = 6
min_length: int = 6
class src.bluetooth_sig.gatt.characteristics.esl_image_information.ESLImageInformationData

Bases: msgspec.Struct

Parsed 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_index: int
image_type: ESLImageType
max_height: int
max_width: int
class src.bluetooth_sig.gatt.characteristics.esl_image_information.ESLImageType

Bases: enum.IntEnum

ESL 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