-
Notifications
You must be signed in to change notification settings - Fork 30
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
Add support for bluetooth serial devices #55
Comments
There are issues like #7 which reference specific proprietary Serial-over-X protocols (e.g. the Nordic Bluetooth GATT UART). Is this request referring to another Serial-over-GATT protocol or Serial-over-Bluetooth Classic (i.e. RFCOMM)? |
Also to set expectations, I don't have time to implement any particular protocol in this library but I am happy to review patches adding such support. |
Yes, I think Bluetooth GATT is what I need, but I'm not sure since I'm currently using the web serial interface, which hides this from me. (I just want to make it available for Android devices as well)
It's understandable, I'll try to implement it, but it's still a foreign area for me. |
If the browser-implemented Web Serial API is working for your device then this is probably Bluetooth Classic rather than Bluetooth GATT. This reason for this assumption is that I don't think there's a standard protocol for Serial-over-GATT which your operating system is detecting an creating a platform-level serial port from that the browser detects. Unfortunately this means there isn't an option for implementing support for such a device through this polyfill as there isn't any other web API which provides access to Bluetooth Classic devices. We are working on shipping built-in support for Bluetooth Classic devices in Chromium, initially targeting desktop platforms but once the API changes have landed adding support for Android should be a straightforward follow-up project. |
I love this project. Could you also provide Bluetooth support for serial devices?
The text was updated successfully, but these errors were encountered: