Coverage for src/bluetooth_sig/gatt/characteristics/country_code.py: 100%
7 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
1"""Country Code characteristic (0x2C13)."""
3from __future__ import annotations
5from ...types.gatt_enums import CharacteristicRole
6from .base import BaseCharacteristic
7from .templates import Uint16Template
10class CountryCodeCharacteristic(BaseCharacteristic[int]):
11 """Country Code characteristic (0x2C13).
13 org.bluetooth.characteristic.country_code
15 ISO 3166-1 numeric country code.
16 """
18 _manual_role = CharacteristicRole.STATUS
19 _template = Uint16Template()