etho.services.hardware¶
Local hardware discovery shared by services and the command line.
- class etho.services.hardware.HardwareDevice(name: str, protocol: collections.abc.Mapping[str, str | int]=<factory>, details: str = '')[source]¶
- class etho.services.hardware.HardwareDiscovery(service: str, probe: str | None = None, devices: tuple[etho.services.hardware.HardwareDevice, ...] = (), error: Exception | None = None)[source]¶
- etho.services.hardware.discover_hardware(*, ble_duration: float = 10.0) Iterator[HardwareDiscovery][source]¶
Run each registered service’s local probes independently.