Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect hardware devices without Scratch Link #891

Open
DNin01 opened this issue Feb 17, 2024 · 1 comment
Open

Connect hardware devices without Scratch Link #891

DNin01 opened this issue Feb 17, 2024 · 1 comment

Comments

@DNin01
Copy link

DNin01 commented Feb 17, 2024

There might be a way for webpages to directly communicate with hardware devices like micro:bit without requiring a companion app like Scratch Link. I don't know how to do it, but I think it would be worth considering because a lot of people including myself seem to have inconsistent issues with getting a connection to devices through the current Scratch Link implementation.

There is a Web Bluetooth API that is supported by Chromium 56+ for Android and macOS and 70+ for Windows. To be used on Linux, you must enable a flag. It's also supported on Samsung Internet 6.0+. Also, the WebRTC API allows you to make peer-to-peer connections if that's useful.

If it's not possible on the website, then maybe it could be implemented in the desktop app.

@GarboMuffin
Copy link
Member

I don't have any of the needed hardware, so all I can really say is that patches are accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants