WebUSB Is Dead

栏目: IT技术 · 发布时间: 5年前

Two years ago I started playing with WebUSB , a web API to connect hardware to the Web. The idea was crazy, especially that there is already an implementation supported by Chrome, but… unfortunately only few experiments worked fine. The same experiments that I saw two years ago.

Due to the lack of documentation, I quickly hit the limitation of the API and reached a dead-end. I posted few questions in stackoverflow, such as the controlTransferOut() limitation , then I find out how to deal with it.

Then I posted more detailed code on how to use WebUSB to connect to a scanner directly ! I was able to connect to my scanner, it was a Canon DR-M160II, but low level transfer code got stack somewhere. The issue seems to be related to webusb chrome implementation itself.

Emscripten wasn’t a solution too, as I quickly hit the limitation of the compiler too ! Sane was working correctly from my Ubuntu, so WebUSB should be working fine too !

Last but not least, WebUSB API lack of documentation until today. Not lots of people are using the API, 27 issues open today on github, 90 closed.

WebUSB is available in Chrome 61 for Android, Chrome OS, Linux, macOS and Windows. If you are able to connect successfully to your USB device from Chrome feel free to drop a message !

Notice that the last WebUSB API unofficial draft have been published on December 3rd 2019, by a team from Google ! The only implementation remain in Chrome… But I still thing that it’s dead, most probably because it was not able to leave Google.


以上所述就是小编给大家介绍的《WebUSB Is Dead》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

ACM图灵奖演讲集

ACM图灵奖演讲集

阿申豪斯特 / 苏运霖 / 电子工业出版社 / 2005-4 / 55.0

本书完整地收录了这些演讲,并配之以部分获奖者撰写的后记,旨在反映过去数年来这一领域中发生的变化。对任何一位计算机科学的历史与发展有兴趣的人来说,本书都极具收藏价值。  本文收录了自图灵奖开始颁发的1966年起到1985年这20年间图灵奖获得者在授奖大会上所做演讲的全文。由于在此期间有三次是把奖项同时授予两个人的,而其中有两次两位获奖者分别做了演讲,因此一共收录了22篇演讲稿。本书把这些演讲分为两大......一起来看看 《ACM图灵奖演讲集》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具