Coverage for src / bluetooth_sig / gatt / characteristics / country_code.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-18 11:17 +0000

1"""Country Code characteristic (0x2C13).""" 

2 

3from __future__ import annotations 

4 

5from ...types.gatt_enums import CharacteristicRole 

6from .base import BaseCharacteristic 

7from .templates import Uint16Template 

8 

9 

10class CountryCodeCharacteristic(BaseCharacteristic[int]): 

11 """Country Code characteristic (0x2C13). 

12 

13 org.bluetooth.characteristic.country_code 

14 

15 ISO 3166-1 numeric country code. 

16 """ 

17 

18 _manual_role = CharacteristicRole.STATUS 

19 _template = Uint16Template()