[guardian-dev] Gilgamesh, FireChat etc
Nathan of Guardian
nathan at guardianproject.info
Thu Oct 9 10:38:47 EDT 2014
On Thu, Oct 9, 2014, at 05:01 AM, Paul Gardner-Stephen wrote:
This sounds very usable, especially since we could advertise
multiple services.
It would be great if someone is able to make a proof-of-concept
for this to test the practical limits on Android.
This appears to be working:
[1]https://github.com/n8fr8/gilgamesh/blob/master/app/src/info/
guardianproject/gilga/service/WifiController.java
here is the log output:
10-09 10:30:06.647: D/GilgaWifi(14799): got status from wifi
DNS: 96:d7:71:90:07:35 (_test._presence._tcp.local.) yygftu
The detection of the record or querying for it seems a bit
sporadic, so I am not sure if I am triggering the receive side
properly, or how to manually force or refresh it.
The only issue is that the user has to manually disconnect from
wifi and set their wifi direct mode to visible. I haven't
figured out how to trigger that state yet from an Intent, as we
do with Bluetooth.
+n
References
1. https://github.com/n8fr8/gilgamesh/blob/master/app/src/info/guardianproject/gilga/service/WifiController.java
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20141009/37c8c407/attachment.html>
More information about the Guardian-dev
mailing list