Coverage for src / bluetooth_sig / gatt / services / mesh_proxy.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-04-03 16:41 +0000

1"""MeshProxy Service implementation.""" 

2 

3from __future__ import annotations 

4 

5from typing import ClassVar 

6 

7from ..characteristics.registry import CharacteristicName 

8from .base import BaseGattService 

9 

10 

11class MeshProxyService(BaseGattService): 

12 """Mesh Proxy Service implementation (0x1828). 

13 

14 Enables GATT-based communication with a Bluetooth Mesh network 

15 via a proxy node. 

16 """ 

17 

18 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = { 

19 CharacteristicName.MESH_PROXY_DATA_IN: True, 

20 CharacteristicName.MESH_PROXY_DATA_OUT: True, 

21 }