I am working on a project. we have our USB device. so how can I open(access) my USB(refer to attached to the image to see what kind of port and device is.) data in the web app? and which "javascript APIs" do I have to use?
Asked
Active
Viewed 1,264 times
1 Answers
2
Yes.
If you want to use a serial port, you can use the Web Serial API.
https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API

Brad
- 159,648
- 54
- 349
- 530
-
Current [browser support is limited to Chrome, Edge, and Opera](https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API#browser_compatibility). – djvg May 30 '23 at 12:55