DescriptionAdd chrome.usb.getConfiguration and expose extra descriptors.
Adds a new API function, chrome.usb.getConfiguration, that returns all
the data from the device's configuration descriptor instead of just the
interfaces as chrome.usb.listInterfaces does. Each level of the
descriptor hierarchy also gets an "extra_data" field which contains all
of the miscellaneous descriptors assocated with a configuration,
interface or endpoint.
BUG=382908
Committed: https://crrev.com/79146d0b0d917eb6482cf2c22ec76db09eaa5a37
Cr-Commit-Position: refs/heads/master@{#294758}
Patch Set 1 : #
Total comments: 4
Patch Set 2 : Use interface and endpoint iterators. #Patch Set 3 : Rebased to tip of tree. #Patch Set 4 : Rebased to tip of tree. #
Messages
Total messages: 32 (14 generated)
|