Coverage for src / bluetooth_sig / gatt / services / electronic_shelf_label.py: 100%
6 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
1"""ElectronicShelfLabel Service implementation."""
3from __future__ import annotations
5from typing import ClassVar
7from ..characteristics.registry import CharacteristicName
8from .base import BaseGattService
11class ElectronicShelfLabelService(BaseGattService):
12 """Electronic Shelf Label Service implementation (0x1857).
14 Provides control and configuration of electronic shelf label
15 (ESL) devices including display, LED, and sensor management.
16 """
18 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
19 CharacteristicName.ESL_ADDRESS: True,
20 CharacteristicName.ESL_CONTROL_POINT: True,
21 CharacteristicName.ESL_CURRENT_ABSOLUTE_TIME: True,
22 CharacteristicName.ESL_DISPLAY_INFORMATION: False,
23 CharacteristicName.ESL_IMAGE_INFORMATION: False,
24 CharacteristicName.ESL_LED_INFORMATION: False,
25 CharacteristicName.ESL_RESPONSE_KEY_MATERIAL: True,
26 CharacteristicName.ESL_SENSOR_INFORMATION: False,
27 CharacteristicName.AP_SYNC_KEY_MATERIAL: True,
28 }