6 ms·
> Web Serial API I built various web interfaces to BLE devices and use the web BLE API but the biggest annoyance is having to select the device every time inte
by dheera 6y ago
> Web Serial API
I built various web interfaces to BLE devices and use the web BLE API but the biggest annoyance is having to select the device every time interactively. I really wish it were possible to "remember" access to devices that have already been given permission in the past. I wonder if the Web Serial API can do this over Bluetooth ...
- taf2 6y agoI agree - I can't wait for the query permissions API, I believe that has specs to solve this problem... Check it out here: https://webbluetoothcg.github.io/web-bluetooth/#permission-api-integration https://webbluetoothcg.github.io/web-bluetooth/#permission-a...
- bsimpson 6y agoWhen I hear "serial," my mind goes to those 9-holed round ports on the back of a computer in the 90s. Didn't pay any attention to that section until I read your comment. Thanks for the nudge.
- tyingq 6y agoI had a tech support job where one repeated irritation was end users that had removed and reinserted a USB to Serial device. Windows then randomly assigns COM92, or whatever. Now you have to walk the customer through figuring out what COM port got assigned.
- colejohnson66 6y agoIs it possible to assign a “port” to a specific device? (Similar to how I can assign a flash drive a specific drive letter)
- tyingq 6y agoThe Windows UI (via Device Manager) allows you to change it, yes. The end users in this case, though, just wanted their "serial connected thing" to work, and weren't terribly technical. Also, if you remove and reinsert it (especially to a different USB port) it doesn't remember any of that.
- colejohnson66 6y agoBut that’s not persistent. If I tell Windows that a specific flash drive gets T: (for whatever reason), if I unplug it and plug it in somewhere else, it will still be assigned T: (assuming it’s not in use by something else). With COM ports, if I say that this Arduino Mega gets COM10, then I unplug it and plug it back in, there’s no guarantee it’ll get COM10. That seems ridiculous IMO.
- tyingq 6y agoYes, it's terrible :)