MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / ProcessCommandTx

Method ProcessCommandTx

src/pyCecClient/pyCecClient.py:115–121  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

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):

Callers 1

MainLoopMethod · 0.95

Calls 2

CommandFromStringMethod · 0.80
TransmitMethod · 0.45

Tested by

no test coverage detected