MCPcopy Index your code
hub / github.com/RizeCrime/linuxblaster_control / send

Function send

testing/test_usb.py:19–20  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

17usb.util.claim_interface(dev, 4)
18
19def send(data):
20 dev.ctrl_transfer(0x21, 0x09, 0x200, 0x04, bytes(data) + bytes(64 - len(data)))
21
22def recv(timeout=1000):
23 try:

Callers 2

send_recvFunction · 0.70
test_usb.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected