-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Usually, when our users use Web serial to control locally, there may be serial devices from the same manufacturer or other trusted devices locally. For a friendly experience, we have to use navigator.serial.getPorts to obtain trusted devices, but Only usbProductId and usbVendorId can be obtained through getInfo, which makes my user unable to choose the device he needs friendly when selecting the target device, even if he uses the Windows Device Manager. If this method is not used, the user needs to pop up a window to select a device every time, which is extremely bad for the user experience. For example, the customer has two arduino devices, but he can't choose. I don't think there is any worse experience than the serial port name or manufacturer returned after getting the information. Is there any worse experience than this?
So I want to see if there is a way to get serial port information to improve user experience