4 ms·
> These same questions apply to Bluetooth. Already, such a terrible standard when it comes to privacy. And now, random websites can grab control of my radios? W
by diggan 8y ago
> These same questions apply to Bluetooth. Already, such a terrible standard when it comes to privacy. And now, random websites can grab control of my radios? With JavaScript? Nothing wrong can happen with this, for sure!
No, this is usually not how new features are being used in the browser (see geolocation). Websites won't be able to scan your nearby devices without asking for permission, and it's up to the user to accept/decline it.
I'm actually quite excited over having Bluetooth accessible in the browser. That means that we could build P2P applications that works in the browser, that works even when not connected to a wifi and can talk with nearby computers via Bluetooth, something that has not been possible before (FlyWeb was close at achieving something like that as well)
- bjt2n3904 8y agoBecause you know, I've always been on my desktop computer and said... "You know, I'd totally use that cool mesh Bluetooth chat app that's so popular and lets you communicate with people within a 25 yard radius, but ultimately falls back to using WiFi because Bluetooth is impractical for this application. Sadly it's not for desktops. If only I could use my web browser..." No! I've never said that! In fact, no one has ever said "I wish I could use Bluetooth in my browser", except for people who want to collect more data on their users. This is like an idea from Todd on Bojack Horseman. Again, too much time on "could we", not enough time on "should we". Bojack clip in question: https://youtu.be/Ct6EuC1W1gE https://youtu.be/Ct6EuC1W1gE
- diggan 8y ago> In fact, no one has ever said "I wish I could use Bluetooth in my browser" I literally just wrote above that I do want that. I also don't care about collecting any data. Guess you have to take my word for that. So now you know one person at least :) I'm not sure where in the world you are, but there are many use cases where meshing clients together is the only way of getting non-restricted network access to each other. The only reason why I think Bluetooth + Browsers are a powerful combination is the fact that it's so easy for people to get started, compared to how desktop works. > I've always been on my desktop computer and said ... No! I've never said that! Great, maybe this is not for you but you should try to consider other peoples point of view as well, that might live on the other side of the planet. Otherwise discussing further becomes rather depressing.
- bjt2n3904 8y agoLet me be perfectly blunt. This idea won't work, because Bluetooth is an atrocious protocol. If it would work, a native app would have successfully implemented it, and taken the world by storm. The problem isn't accessibility to JavaScript developers. The problem is a crummy radio protocol. Putting it inside Firefox doesn't solve bad design issues.
- diggan 8y agoThank you, that's valid criticism. While bandwidth for Bluetooth is not great, it'll work for small amount of information exchange and at the very least discovery of other methods for communication like ad-hoc wifi. I'd be happy to hear about more details why Bluetooth is crummy as well.
- crankylinuxuser 8y ago1. You need exact timing between devices for the freq hopping to get to the right freq If for some reason the OFDM ack isn't gotten, then neither side can understand the timings to actually communicate. So you end up with non-pairing hell. This especially happens between different "specs" of BT. 2. Raises noise floor for whole BT carveout If they had 2 control channels, and then moved the comms to an agreed upon channel, this would never be an issue. Look at how Simplex ham radio works - do announce on a channel, and move elsewhere when agreed upon. But whatever you do, don't just blanket the whole channel (or all of 2m) for 'reasons'. And heavier bandwidth BT can take over multiple channels. This isn't easy, but nowhere near as difficult/stupid as what it is now. 3. Multiple incompatible BT specs BT used to be a IEEE spec. Not any more. And there's more than 7 or so major versions. Oh, and many are incompatible with each other. What's that XKCD about "Standards"? :( 4. arcane pairing sequences Again, pairing is crazy complex. I'll have to post the actual IQ data and show a comparison between FM (88MHz-108MHz), 2m amateur radio (144MHz-148MHz), analog TV, 802.11BGN wifi, and what BT looks like in various states. To sum it up, "They're doing it wrong".
- baybal2 8y ago
- gsnedders 8y agoWebsites can't trivially scan nearby devices, as far as I'm aware. You can ask for devices with a given set of features, and then the browser provides UX to select a device, and then the JS API provides a handle for that device. The only potential way would be requesting devices with various filters, and seeing which return NotFoundError after a given time (though I don't think scanning for Bluetooth devices takes a deterministic time on any platform?) to determine which filters match something. Though of course you can only request the devices list after user interaction.
- PascLeRasc 8y agoI'd be very happy if this could solve the decades-long computing problem of sending a file from one computer to another one next to you.
- Brometheus 8y agoAirDrop :D