Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
usb.util.claim_interface(dev, 4)
19
20
def
send(data):
21
dev.ctrl_transfer(0x21, 0x09, 0x200, 0x04, bytes(data) + bytes(64 - len(data)))
22
23
def
recv(timeout=1000):
24
try
:
Callers
2
send_recv
Function · 0.70
bitmask_sniffer.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected