powerhawks 2017-02-04 02:08 采纳率: 100%
浏览 3690
已采纳

火狐浏览器客户端读取串口的数据

火狐浏览器读取客户端串口的数据,然后javascript能够得到串口的数据。
应该是要开发一个插件的。跪求大神给个方案,万分感谢!!!

  • 写回答

2条回答 默认 最新

  • 斯洛文尼亚旅游 2017-02-04 02:47
    关注

    https://github.com/billhsu/jUART

    这个。具体提安装看说明,支持win、Linux,mac系统
    Install Plugin

    Windows:

    Copy the /bin/Windows/npjUART.dll into your browser's plugin directory.

    Take FireFox for example: Copy /bin/Windows/npjUART.dll to C:\Program Files (x86)\Mozilla Firefox\plugins

    For Windows 8, you need to register the DLL first. You can copy the DLL under SYSTEM32(or SYSWOW for 64 bit systems). After that there's no need to copy it to browser's folders.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?