MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

actions/ble.py:30–37  ·  view source on GitHub ↗
(self, logger=None)

Source from the content-addressed store, hash-verified

28 """
29
30 def __init__(self, logger=None):
31 self.logger = logger or logging.getLogger(__name__)
32 self.scan_active = False
33 self.scan_start_time = 0.0
34 self.discovered_devices = {}
35 self.paired_devices = {}
36 self.os_type = platform.system() # 'Linux', 'Windows', 'Darwin'
37 self.logger.info(f"BluetoothManager initialized for {self.os_type}")
38
39 def _is_windows(self) -> bool:
40 """Check if running on Windows"""

Callers

nothing calls this directly

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected