Some code samples please

Brass Contributor

I see from the Edge security / permissions screen that it supports WebUSB and serial port access, however I cant find any code samples. Looking around the interweb, the javascript folk say its not possible due to sandboxes etc, which probably was true 10 years ago. More interweb info rot.

 

TIA

1 Reply

Hi,
This article explains how to build a device to take full advantage of the WebUSB API.

https://web.dev/build-for-webusb/

Access USB Devices on the Web
https://web.dev/usb/

Program a smart device directly, no install needed
https://medium.com/@kennethrohde/program-a-smart-device-directly-no-install-needed-cd8b29320d76

 

https://github.com/WICG/webusb


hope that helps