"""Running Speed and Cadence Service implementation."""

from __future__ import annotations

from typing import ClassVar

from ..characteristics.registry import CharacteristicName
from .base import BaseGattService


class RunningSpeedAndCadenceService(BaseGattService):
    """Running Speed and Cadence Service implementation (0x1814).

    Used for running sensors that measure speed, cadence, stride length,
    and distance. Contains the RSC Measurement characteristic for
    running metrics.
    """

    service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
        CharacteristicName.RSC_MEASUREMENT: True,  # required
    }
