WebUSB API
E856216
WebUSB API is a web standard that enables websites to securely communicate with and control USB devices directly from the browser.
Observed surface forms (1)
| Surface form | Occurrences |
|---|---|
| WebHID API | 1 |
Statements (54)
| Predicate | Object |
|---|---|
| instanceOf |
Browser API
ⓘ
Web API ⓘ Web standard ⓘ |
| accessibleFrom | Client-side JavaScript running in the browser ⓘ |
| allows |
Custom protocol implementation over USB from web pages
ⓘ
Vendors to expose USB devices to the web via descriptors ⓘ |
| basedOn | JavaScript NERFINISHED ⓘ |
| designedFor | Web browsers ⓘ |
| documentationAt | https://wicg.github.io/webusb/ ⓘ |
| enables | Web pages to communicate with USB devices ⓘ |
| firstPublicDraftYear | 2016 GENERATED ⓘ |
| focusesOn | Secure access to USB devices from the web ⓘ |
| keyMethod |
USBDevice.claimInterface()
ⓘ
USBDevice.clearHalt() ⓘ USBDevice.close() ⓘ USBDevice.controlTransferIn() NERFINISHED ⓘ USBDevice.controlTransferOut() NERFINISHED ⓘ USBDevice.open() ⓘ USBDevice.releaseInterface() NERFINISHED ⓘ USBDevice.selectConfiguration() ⓘ USBDevice.transferIn() ⓘ USBDevice.transferOut() ⓘ navigator.usb.requestDevice() ⓘ |
| notWidelySupportedBy |
Apple Safari
NERFINISHED
ⓘ
Mozilla Firefox NERFINISHED ⓘ |
| partOf | Web platform NERFINISHED ⓘ |
| provides |
Navigator.usb interface
NERFINISHED
ⓘ
USBAlternateInterface interface ⓘ USBConfiguration interface ⓘ USBDevice interface ⓘ USBEndpoint interface NERFINISHED ⓘ USBInTransferResult interface NERFINISHED ⓘ USBInterface interface NERFINISHED ⓘ USBIsochronousInTransferResult interface NERFINISHED ⓘ USBIsochronousOutTransferResult interface NERFINISHED ⓘ USBOutTransferResult interface NERFINISHED ⓘ |
| relatedTo |
Web Bluetooth API
NERFINISHED
ⓘ
Web Serial API NERFINISHED ⓘ WebHID API NERFINISHED ⓘ |
| requires | User gesture to request device access ⓘ |
| runsIn | Browser sandbox environment ⓘ |
| securityFeature |
Device filters to limit accessible devices
ⓘ
HTTPS requirement for access ⓘ Origin-based access control ⓘ User permission prompt for device access ⓘ |
| standardizedBy | W3C Web Platform Incubator Community Group NERFINISHED ⓘ |
| status | Experimental in some browsers ⓘ |
| supportedBy |
Google Chrome
NERFINISHED
ⓘ
Microsoft Edge (Chromium-based) NERFINISHED ⓘ |
| supports | Direct communication with USB devices from the browser ⓘ |
| useCase |
Configuring USB peripherals through web interfaces
ⓘ
Connecting microcontrollers to web applications ⓘ Interacting with measurement instruments via the web ⓘ Programming development boards from the browser ⓘ |
Referenced by (3)
Full triples — surface form annotated when it differs from this entity's canonical label.
this entity surface form:
WebHID API