MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / is_connected

Method is_connected

tests/utils/api_client.py:292–295  ·  view source on GitHub ↗

Check if device is connected.

(self)

Source from the content-addressed store, hash-verified

290 self.command("io.disconnect")
291
292 def is_connected(self) -> bool:
293 """Check if device is connected."""
294 status = self.command("io.getStatus")
295 return status.get("isConnected", False)
296
297 def enable_csv_export(self) -> None:
298 """Enable CSV export."""

Calls 2

commandMethod · 0.95
getMethod · 0.45