bpod_core.ipc.discover
- bpod_core.ipc.discover(service_type, properties=None, timeout=10) tuple[str, dict[bytes, bytes | None]]
Discover a Zeroconf device/service on the local network matching given properties.
- Parameters:
- Return type:
- Returns:
str
– The Zeroconf service address, e.g., ‘tcp://192.168.1.10:1234’.dict
– The TXT record of the service
- Raises:
TimeoutError – If no matching device/service is found within the timeout period.