[guardian-dev] GilgaMesh (was Re: FireChat moved off iOS proprietary mesh to their own xp mesh protocol?)
Nathan of Guardian
nathan at guardianproject.info
Fri Oct 3 02:22:53 EDT 2014
On Thu, Oct 2, 2014, at 04:07 PM, Chris Ballinger wrote:
Android supports Wifi Direct in a more open fashion, but it
will never interoperate with iOS because Apple likes to be
stubborn.
I have implemented support for Wifi Direct, using the same
device renaming hack I used with Bluetooth:
[1]https://github.com/n8fr8/gilgamesh/commit/8a8848a19c620d6c46
f105d46a99dd1bb6f98387
It seems to work, more or less, though I not sure how quickly
the refresh on the names happens with the wifi discovery/detect
sequence. I can run it in parallel with the existing bluetooth
code, so both radios are scanning/broadcasting simultaneously.
Not sure what that does to reception, but hey, we'll see!
It seems like Wifi Direct also works up to 100m if you have
clear line of sight. Regardless, it is definitely stronger than
Bluetooth. I am mostly just impressed how crazy easy it is to
implement Wifi Direct, and how powerful it is. It is really a
hidden feature on Android.
As for BluetoothLE, it is also quite easy it seems, but you
can't run Bluetooth Classic and LE at the same time, and at
least in the context of this app (Gilga), I want to support
Classic mode still to interop with non-Android devices.
+n
References
1. https://github.com/n8fr8/gilgamesh/commit/8a8848a19c620d6c46f105d46a99dd1bb6f98387
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20141003/6070dee9/attachment-0001.html>
More information about the Guardian-dev
mailing list