-
Notifications
You must be signed in to change notification settings - Fork 453
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
WebBluetooth #261
Comments
I think it works on macOS and Linux (tested chrome + linux a week ago and was working). Implementing this will be tricky though. It requires the user to interact with the page ( |
In the future UX could be much better: in WebExtension context the above requirement could be replaced by a "bluetooth" permission added to the manifest of IPFS Companion This is potentially huge: gives us alternative Local Discovery and Transport that do not depend on existence of any local network. |
|
@lidel, did you have the opportunity to check libp2p/notes#6#issuecomment-458975204? |
Any update on this? |
In https://github.com/WebBluetoothCG/web-bluetooth/blob/main/rationale.md
If one is to do a libp2p connection around this, one needs to write a wrapper around GATT so that it behaves like a byte stream anyway? I would be surprised to see good throughput coming from that. However, not all applications require huge throughput. Simple messaging would be great for this
Web NFC seems much more suitable |
Bumps [it-pipe](https://github.com/alanshaw/it-pipe) from 2.0.5 to 3.0.1. - [Release notes](https://github.com/alanshaw/it-pipe/releases) - [Changelog](https://github.com/alanshaw/it-pipe/blob/master/CHANGELOG.md) - [Commits](alanshaw/it-pipe@v2.0.5...v3.0.1) --- updated-dependencies: - dependency-name: it-pipe dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## [6.2.2](libp2p/js-libp2p-tcp@v6.2.1...v6.2.2) (2023-04-17) ### Dependencies * **dev:** bump it-pipe from 2.0.5 to 3.0.1 ([libp2p#261](libp2p/js-libp2p-tcp#261)) ([f8b4bf7](libp2p/js-libp2p-tcp@f8b4bf7))
I was really hoping to connect two phones directly to each other using Web Bluetooth, but, AFAIK, this is not actually possible with Web Bluetooth as one can only connect to 'GATT Servers', but not actually have the web app create such a GATT Server itself. So yes you can connect to a heartrate-monitor and read some interesting data, but it cannot be used to create a server on one device and then connect to it from another device. Maybe if we explain our use case to Google they would consider adding support for creating a GATT server but I am not holding my breath. |
WebBluetooth now works in the Browser! *1, *2, *3
https://developers.google.com/web/updates/2018/10/nic70
*1 Only on Chrome
*2 Only on Windows
*3 It is a great start \o/
The text was updated successfully, but these errors were encountered: