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
_______________________________________________
Guardian-dev mailing list

Post: [email protected]
List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev

To Unsubscribe
        Send email to:  [email protected]
        Or visit: 
https://lists.mayfirst.org/mailman/options/guardian-dev/archive%40mail-archive.com

You are subscribed as: [email protected]

Reply via email to