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
feat(useBluetooth): new function #1332
Conversation
useBluetooth._.VueUse.mp4 |
Special mention to @JamieCurnow who helped with documentation and usage suggestions. Please if possible could we add him as a contributor 🙏 |
@antfu Any thought on this one? Close, or does this need further review? |
LGTM. There are conflicts that need to be resolved and you didn't open the permission for me to push. We could merge it once resolved. |
33a9c01
to
1f5835d
Compare
@antfu Awesome. Rebased onto the latest main branch ... let me know if you need anything else! 👍 |
@antfu Linting and Testing workflows seem to be stuck ... |
1f5835d
to
c0e0f3a
Compare
@antfu Let me know how it looks now ... fixed a few of the remaining issues from workflows. 👍 |
@okxiaoliang4 I think this one is ready now to go ... thoughts? |
It still seems unmergeable to me. Maybe you could create a fresh new branch from the current main and open another PR? Thanks. |
Web Bluetooth API Composable
Description
A reactive for working with the Web Bluetooth API which provides the ability to connect and interact with Bluetooth Low Energy peripherals.
The Web Bluetooth API lets websites discover and communicate with devices over the Bluetooth 4 wireless standard using the Generic Attribute Profile (GATT).
Considerations
N.B. It is currently partially implemented in Android M, Chrome OS, Mac, and Windows 10. For a full overview of browser compatibility please see Web Bluetooth API Browser Compatibility
N.B. There are a number of caveats to be aware of with the web bluetooth API specification. Please refer to the Web Bluetooth W3C Draft Report for numerous caveats around device detection and connection.
N.B. This API is not available in Web Workers (not exposed via WorkerNavigator).
Fixes #1286