Questions tagged [webusb]

WebUSB is a USB API for the web. Use this tag for questions about using the WebUSB API on any browser.

WebUSB is a USB API for the web. Use this tag for questions about using the WebUSB API on any browser.

Resources

206 questions
3
votes
1 answer

WebUSB filter by deviceClass and deviceSubClass

I'm developing a UVC utility that uses WebUSB, but I'm having trouble getting it to list out ONLY webcams. I should be able to add filters based on deviceClass and deviceSubClass, but it's returning an empty list. Here's a webcam device... 0:…
posit labs
  • 8,951
  • 4
  • 36
  • 66
3
votes
2 answers

Are functions on navigator.serial and SerialPort in Serial API unimplemented?

I am trying to connect to the serial port from a web page. I found the Serial API which can support that. var Serial = {}; (function() { 'use strict'; /* * */ Serial.debug = true; /* * */ // Serial.device; /* …
3
votes
1 answer

Webusb API navigator.usb.requestDevice

I recently tried to use web API to get my USB device. However, there are a few problems. First, the examples I found online are all about Arduino which I never try, so don't know whether it works on my computer or not. I tried to communicate with my…
howcome333
  • 31
  • 1
  • 4
3
votes
1 answer

WebUSB API Error: The device was disconnected

I am trying to communicate with a Samsung J7 over Web using WebUSB API. I am currently using this basic code: