Closed willemneal closed 5 years ago
IPFS/libp2p projects are interested in adding Bluetooth transport.
There seems to be an Emerging Web Spec by Web Bluetooth Community Group:
Most of our activity happens in our GitHub repository, with supporting code in adjacent repositories in the WebBluetoothCG GitHub organization.
It does not seem to be ready yet:
WebBluetooth API implementation in Gecko is suspended now, since Platform team regards the API 1) has security problem [1] and 2) is low priority. You may use the non-standard API [2] in Gecko already.
[1] https://github.com/WebBluetoothCG/web-bluetooth/issues/46 [2] https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/API/Bluetooth_API#Gatt_interfaces
I imagine @willemneal means the non-standard Gecko API from [2], yes?
@Gozala any thoughts on how feasible it would be to expose it via libdweb?
From what I can tell by searching in the Firefox repo there's no implementation of it in the tree https://github.com/mozilla/gecko-dev/search?l=C%2B%2B&q=bluetooth
Which suggests me that either:
Either way there I don't see a reasonable way of exposing it via libdweb.
It was Firefox OS only, and removed from mozilla-central when the B2G codebase was removed.
Following along here is best place to see Mozilla's position on the standards part: https://github.com/mozilla/standards-positions/issues/95
If you're interested in experimenting, here's Servo's Bluetooth implementation: http://szeged.github.io/servo/
On Wed, Dec 19, 2018 at 1:42 PM Irakli Gozalishvili < notifications@github.com> wrote:
From what I can tell by searching in the Firefox repo there's no implementation of it in the tree https://github.com/mozilla/gecko-dev/search?l=C%2B%2B&q=bluetooth
Which suggests me that either:
- API never landed to Firefox and was Firefox OS only.
- It was backed out after Firefox OS got discontinued.
Either way there I don't see a reasonable way of exposing it via libdweb.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mozilla/libdweb/issues/81#issuecomment-448701554, or mute the thread https://github.com/notifications/unsubscribe-auth/AADDtzoiKlClepWEH6rGm8xhMN41wQyLks5u6oiPgaJpZM4WQBQL .
I would love Bluetooth API but I'm afraid it's unrealistic to get it out without a larger Firefox support. Closing this issue in an effort to migrate issues to bugzilla & code into gecko.
From what I've gleaned from Mozilla's documentation it seems there is some access to bluetooth, but it's limited and doesn't work for mobile.
Regardless, I'm interested in the possibility of using bluetooth as a meshnet and wonder your thoughts on it.