can I access USB serial device(com5) in browser(web app) with javascript?

1.6k views Asked by At

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?

1

There are 1 answers

1
Brad On BEST ANSWER

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