37 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
48
views
Using Web Serial API hangs when receiving continuous transmission data of Electronic Scale
I want to get data from the electronic scale to upload to the web and display in real time. When I successfully connect to the scale and receive data, the web hangs and stops receiving data. But there ...
0
votes
1
answer
282
views
Web Serial API: "BufferOverrunError" when reading from ESP32 in browser
I'm using the Web Serial API to read data from an ESP32 device via a USB connection, but I consistently encounter the error "BufferOverrunError" in my browser when trying to read data.
Setup:...
0
votes
1
answer
593
views
Web USB / Serial API + led strip KAA332-LH
I wonder if anyone has any experience with the Web USB and controlling a LED strip. I have a basic LED strip. I can connect the device from the browser js, but when I try to do device.open() I'm ...
0
votes
0
answers
137
views
How to open selected WebSerialAPI's SerialPort from Web Worker?
I want to delegate opening serial port and reading from serial stream to web worker, due to high throughput of serial port data lagging main thread.
First, user requests particular serial port
(I have ...
0
votes
0
answers
385
views
Web Serial API on sidepanel \ No port selected by the user (selection panel does not appear)
Making a browser extension.
From the main window, the scripts work as they should, but when I open them in the side panel, the serial port selection window does not appear. As a consequence, an error ...
0
votes
1
answer
341
views
How to get more information about a USB device in Windows?
I have a USB device (BBC micro:bit v2), which is presented by Chrome with description "BBC micro:bit CSMIS-DAP" when connected to in a webapp via Web Serial API, even in Windows.
The ...
3
votes
0
answers
117
views
Google Chrome Web Serial API: Will it work after the computer go to sleep/idle?
I'm implementing a QR Code reader (via a Honeywell 7580g reader) for check-ins. This uses the reader as a serial connection, not as a keyboard input.
Users will show their QR Code to the reader, and ...
2
votes
3
answers
3k
views
View command line used by Playwright to launch Chromium
I have a web application that talks to a connected device from Chrome and which for specific reasons needs to be tested from within a Docker container. The device has two USB endpoints, one of which ...
0
votes
1
answer
682
views
javascript web serial api
i'm working on project i need from client to connect to serial port of
Weighing machine scale and click on another button to get data in realtime in one line without using any library like node ...
3
votes
2
answers
2k
views
chromium on ubuntu serial web api no compatible devices found
I want to use web serial api in chromium to be able to communicate with Arduino, however I get the message no compatible devices found.
When I use Arduino IDE or python I can find it, but with ...
1
vote
1
answer
679
views
How do you get the serial port of a printer device?
I'm using WebSerial API to use thermal-printer in chrome browser, and want to access only 'COM1' port without requestPort.
Can I access to specific port and using that port?
1
vote
0
answers
626
views
Chrome Web Serial API From Chrome Extension
In a Chrome extension, we are trying to communicate with a microcontroller via the Web Serial API.
The source code to the extension is on GitHub: https://github.com/capstone-coi/COI
The extension, ...
2
votes
0
answers
668
views
Web Serial API: how to flush and get length of data in buffer?
Is it possible to test whether data is available in the input stream (port.readable)?
And how can it be flushed (read until ...? cancel() a reader?)?
Docs:
https://web.dev/serial/ -> https://...
1
vote
1
answer
330
views
Webserial - Auto connect to previously connected vendor/product ID device
I'm attempting to use WebSerial (to control an esp32 light array) on a kiosk device running Chrome, and I'd like to be able to reconnect automatically to a previously used web serial device without ...
1
vote
0
answers
399
views
Web Serial API Not Persisting Port Access
I'm building a PWA with Nuxt.js that uses the Web Serial API to communicate with our proprietary hardware. It works as expected (i.e. the port will be available without user action the next time you ...