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

Function send

bitmask_sniffer.py:20–21  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

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

Callers 2

send_recvFunction · 0.70
bitmask_sniffer.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected