hyperboria / android

Android app for mesh networking with cjdns
GNU General Public License v3.0
159 stars 40 forks source link

Investigate peering over bluetooth #28

Open cschmittiey opened 9 years ago

cschmittiey commented 9 years ago

@benhylau mentioned on IRC the problem that to peer over Bluetooth, we'd have to pair the two devices, which IMO is an unnessecary complication.

So I'd like to propose either using Gilga or implementing a similar protocol to share creds over Bluetooth.

benhylau commented 9 years ago

Ideally we will find a way to:

  1. Peer (either ask or automatically depending on user settings)
  2. Route cjdns traffic

over Bluetooth without having to manually pair beforehand.

Whatever Gilga does looks promising for peering, not sure about routing traffic with that. Also relevant is this insecure RFCOMM socket API, and how it behaves across devices. Oh fragmentation... this feature is going to be so much fun!

marvinmarnold commented 9 years ago

There is a way to get around the pairing, at least on Android. I've never used cjdns before but will start investigating cjdns + BT + 6LoWPAN (maybe). I'll report back any interesting findings.

ghost commented 9 years ago

That sounds great, let us know how it goes and if we can help in any way. I'm larsg on HypeIRC.