Access to Serial Port through Browser


Is there a way to read/write to a serial port using a WebCore component?


Rhett Price

You might find this video by TMS interesting:

As far as I know, the classic serial port is not exposed via a browser API. The classic solution is to write an ActiveX that then deals with the serial port and you communicate from the web application with the ActiveX.
A more modern solution would be to use serial over USB and this becomes increasingly exposed by the browser API. We have support for this coming in an upcoming release. A sneak preview was shown here: