-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Additional transports #167
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
Comments
Bluetooth: https://people.csail.mit.edu/rudolph/Teaching/Articles/BTBook-march.pdf chapter 3.2 |
NFC would be pretty cool! Combined with libp2p compiled to WASM, I guess you could then somehow pair two mobile phones via NFC and use bluetooth as the transport? |
I think ipc is a good idea. |
LoRA is becoming a lot more useful IoT, it is able to achieve very large ranges on free bands, and LoRAWAN is designed for an entire city. |
Closing to tidy up the issue board. More transports are still welcome. |
These are all interesting because they have their own discovery mechanisms that don't require Kademlia and in fact discovered addresses should not be propagated over "globally addressable" transports like IP since they would be almost entirely false positives. We could propagate bluetooth addresses to other bluetooth devices (to prevent an
identify
call) but I don't think that's necessary since we already narrow down the number of devices that we need to connect to by having the concept of "pairing", where the user selects which devices to trust.I think that a good API would be for these to each have a
Controller
struct that has afn scan
taking aFn(impl Stream<Item = Client>) -> impl Stream<Item = Client>
, whereClient
is a struct containing information on a discovered client and the output is a list of clients to attempt connection to. For a chat app, this function could hand off control to a UI dialog and then return the clients that the user has chosen.The text was updated successfully, but these errors were encountered: