Tejas Chauhan
Tejas Chauhan

Reputation: 109

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

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?

Upvotes: 3

Views: 1990

Answers (1)

Brad
Brad

Reputation: 163538

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

Upvotes: 2

Related Questions