Git Product home page Git Product logo

Comments (4)

reillyeon avatar reillyeon commented on September 1, 2024

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)?

from web-serial-polyfill.

reillyeon avatar reillyeon commented on September 1, 2024

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.

from web-serial-polyfill.

95gabor avatar 95gabor commented on September 1, 2024

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)?

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)

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.

It's understandable, I'll try to implement it, but it's still a foreign area for me.

from web-serial-polyfill.

reillyeon avatar reillyeon commented on September 1, 2024

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)?

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)

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.

from web-serial-polyfill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.