How to read from Serial port in a webpage

后端 未结 4 827
轮回少年
轮回少年 2020-12-18 06:05

I want to design a webform that user should fill some fields. The value of one field should be read from Serial port (COM1) of client computer which a special hardware is co

4条回答
  •  执笔经年
    2020-12-18 06:18

    This would appear to break most security models for the web. I cannot think of a way that it would be possible to do within a browser without granting an applet or ActiveX control a whole lot of permissions (and even then I'm not certain it's possible). I think it's likely to require some kind of native "thick" client-side application to do the communication with the serial port.

提交回复
热议问题