I'm using a somewhat flaky USB device, that gets various errors when getting string descriptors, and these errors cause usb.requestDevice(options) to not report the device - however using WebUSB in a browser reports the device.
I think the intention of adapter's getStringDescriptor was to map all errors to an empty string result, based on the catch code.
I'm using a somewhat flaky USB device, that gets various errors when getting string descriptors, and these errors cause
usb.requestDevice(options)
to not report the device - however using WebUSB in a browser reports the device.I think the intention of adapter's
getStringDescriptor
was to map all errors to an empty string result, based on the catch code.