Click to connect and a USB device chooser shows up in Chrome where you can pick your device.A notification appears right away, with the right website to go to for this device. Let's see the behavior you could expect with the WebUSB API: With this API, hardware manufacturers will be able to build cross-platform JavaScript SDKs for their devices.īut most importantly this will make USB safer and easier to use by bringing it to the Web. And that's one of the reasons the WebUSB API has been created: to provide a way to expose USB device services to the Web. Sadly this platform-specific code has historically prevented these devices from being used by the Web. These non-standardized USB devices require hardware vendors to write platform-specific drivers and SDKs in order for you (the developer) to take advantage of them. You're right, but you'll find other kinds of Universal Serial Bus (USB) devices out there. If I said plainly and simply "USB", there is a good chance that you will immediately think of keyboards, mice, audio, video, and storage devices.
0 Comments
Leave a Reply. |