JavaScript/JQuery communicate with SerialPort/COM1

后端 未结 4 1494
情书的邮戳
情书的邮戳 2020-12-28 23:11

is it possible to force any communication from e.g. Javascript/JQuery to any serial comport?!

google is not able to answer that question.. but anyway it should be po

4条回答
  •  轮回少年
    2020-12-28 23:55

    kimstik's suggestion, using the jUART plugin for the browser is an excellent solution.

    Another possibility is to use a middleware, that facilitates the serial communication and provides a web interface, that JavaScript can interface with using AJAX requests.

    Python could be used, e.g. a script using a combination of pySerial and python-bobo.

提交回复
热议问题