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

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

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

  • 写回答

2条回答

  • Go 旅城通票 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条)

报告相同问题?

悬赏问题

  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误
  • ¥15 一道python难题3
  • ¥15 牛顿斯科特系数表表示