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

6 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 20:14 +0000

1"""Software Revision String characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Utf8StringTemplate 

7 

8 

9class SoftwareRevisionStringCharacteristic(BaseCharacteristic[str]): 

10 """Software Revision String characteristic (0x2A28). 

11 

12 org.bluetooth.characteristic.software_revision_string 

13 

14 Represents the software revision as a UTF-8 string. 

15 """ 

16 

17 _template = Utf8StringTemplate() 

18 min_length = 0