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

7 statements  

« prev     ^ index     » next       coverage.py v7.14.3, created at 2026-06-28 01:26 +0000

1"""Scan Refresh characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from ...types.gatt_enums import CharacteristicRole 

6from .base import BaseCharacteristic 

7from .templates import Uint8Template 

8 

9 

10class ScanRefreshCharacteristic(BaseCharacteristic[int]): 

11 """Scan Refresh characteristic (0x2A31). 

12 

13 org.bluetooth.characteristic.scan_refresh 

14 

15 Requests the server to refresh the scan. 

16 """ 

17 

18 _manual_role = CharacteristicRole.STATUS 

19 

20 _template = Uint8Template()