(self, data)
| 113 | |
| 114 | # send a custom command |
| 115 | def ProcessCommandTx(self, data): |
| 116 | cmd = self.lib.CommandFromString(data) |
| 117 | print("transmit " + data) |
| 118 | if self.lib.Transmit(cmd): |
| 119 | print("command sent") |
| 120 | else: |
| 121 | print("failed to send command") |
| 122 | |
| 123 | # scan the bus and display devices that were found |
| 124 | def ProcessCommandScan(self): |
no test coverage detected