Update source fields. Accepted kwargs: title, busType, frameStart, frameEnd, checksumAlgorithm, frameDetection, decoderMethod, hexadecimalDelimiters (Commercial only for multi-source projects).
(self, source_id: int, **kwargs)
| 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.""" |