Skip to content

feat: add WASM/WebBluetooth support#436

Draft
acouvreur wants to merge 3 commits intotinygo-org:devfrom
acouvreur:add-webbluetooth
Draft

feat: add WASM/WebBluetooth support#436
acouvreur wants to merge 3 commits intotinygo-org:devfrom
acouvreur:add-webbluetooth

Conversation

@acouvreur
Copy link
Copy Markdown
Contributor

@acouvreur acouvreur commented Apr 10, 2026

This is a work in progress proposal to add support for the Web Bluetooth API through WASM.

I can currently successfully connect to a device, but I'm still having some trouble/experimentations discovering services, characteristics and interacting with them.

AI Disclaimer: This was mostly implemented using Claude Opus 4.6

I had a lot of fun interacting with bluetooth device from a webpage through WASM with the same underlying code that can run in linux, mac, windows or embedded systems.

Comment thread examples/webbluetooth/html/wasm.wasm Outdated
Comment thread examples/webbluetooth/html/wasm_exec.js Outdated
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

Successfully merging this pull request may close these issues.

2 participants