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

10 statements  

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

1"""UGG Features characteristic (0x2C01).""" 

2 

3from __future__ import annotations 

4 

5from enum import IntFlag 

6 

7from .base import BaseCharacteristic 

8from .templates import FlagTemplate 

9 

10 

11class UGGFeatures(IntFlag): 

12 """Unicast Game Gateway feature flags.""" 

13 

14 UGG_MULTIPLEX = 0x01 

15 UGG_96_KBPS = 0x02 

16 UGG_MULTISINK = 0x04 

17 

18 

19class UGGFeaturesCharacteristic(BaseCharacteristic[UGGFeatures]): 

20 """UGG Features characteristic (0x2C01). 

21 

22 org.bluetooth.characteristic.ugg_features 

23 

24 Bitfield indicating the supported Unicast Game Gateway features. 

25 """ 

26 

27 _template = FlagTemplate.uint8(UGGFeatures)