Code Monkey home page Code Monkey logo

Comments (1)

benjaminaigner avatar benjaminaigner commented on July 26, 2024

I think the current WebSerial together with a Bluetooth based serial connection is no way, because it will never be supported on mobile devices (it would be the easiest option).

WebBluetooth does add Android to the list, but iOS is not working out of the box (you need to install a special browser):

https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API
http://www.espruino.com/Quick+Start+BLE (iOS)

Nevertheless, you are right, we should add WebBluetooth for mobile configuration possibility.

We need to implement an additional GATT characteristics to the currently used HID ones.
And this must be done for 2 different BT chipsets:

The uart.js library looks like they are using the "Nordic UART service" behind the scenes, which means we need these UUIDs to be compatible with the library (otherwise it won't work):
https://github.com/espruino/EspruinoWebTools/blob/2ab71a33d69bfda40465174ffe57adb03c21fc42/uart.js#L117

Personally I really would like to have this feature, but I'm not sure when we should do that.
In addition, we need to adapt the firmwares in the controllers (FM3, FABI2, FABI3) a little bit to distinguish between
"serial" commands coming from the BT module or responses from the BT module to serial commands from USB-CDC.

from addon-bluetooth-webgui.

Related Issues (13)

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.