Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- S Co:1:074:0 s 02 01 0000 0081 0000 0
- C Co:1:074:0 0 0
- S Co:1:074:0 s 02 01 0000 0002 0000 0
- C Co:1:074:0 0 0
- S Co:1:074:0 s 02 01 0081 0000 0000 0
- Uncaught (in promise) DOMException: The specified endpoint number is out of range.
- navigator.usb.requestDevice({ filters: [{ vendorId: 0x1083}] })
- .then(selectedDevice => {
- device = selectedDevice;
- return device.open(); // Begin a session.
- })
- .then(() => device.selectConfiguration(1))
- .then(() => device.claimInterface(0))
- .then(() => device.controlTransferOut({
- requestType: 'standard',
- recipient: 'endpoint',
- request: 0x00,
- value: 129,
- index: 0x00}))
Add Comment
Please, Sign In to add comment