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

Method source_update

tests/utils/api_client.py:615–622  ·  view source on GitHub ↗

Update source fields. Accepted kwargs: title, busType, frameStart, frameEnd, checksumAlgorithm, frameDetection, decoderMethod, hexadecimalDelimiters (Commercial only for multi-source projects).

(self, source_id: int, **kwargs)

Source from the content-addressed store, hash-verified

613 self.command("project.source.delete", {"sourceId": source_id})
614
615 def source_update(self, source_id: int, **kwargs) -> None:
616 """Update source fields. Accepted kwargs: title, busType, frameStart,
617 frameEnd, checksumAlgorithm, frameDetection, decoderMethod,
618 hexadecimalDelimiters (Commercial only for multi-source projects).
619 """
620 params = {"sourceId": source_id}
621 params.update(kwargs)
622 self.command("project.source.update", params)
623
624 def source_set_property(self, source_id: int, key: str, value) -> None:
625 """Set a driver connection property for a source."""

Calls 2

commandMethod · 0.95
updateMethod · 0.45