Coverage for src / bluetooth_sig / gatt / services / immediate_alert.py: 100%
6 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
1"""Immediate Alert Service implementation."""
3from __future__ import annotations
5from typing import ClassVar
7from ..characteristics.registry import CharacteristicName
8from .base import BaseGattService
11class ImmediateAlertService(BaseGattService):
12 """Immediate Alert Service implementation.
14 Exposes a control point to allow a peer device to cause the device to
15 immediately alert.
17 Contains characteristics related to immediate alerts:
18 - Alert Level - Required
19 """
21 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
22 CharacteristicName.ALERT_LEVEL: True, # required
23 }