Michael Rogers: > On 02/02/15 16:51, Nathan of Guardian wrote: >> On Mon, Feb 2, 2015, at 05:09 AM, Hans-Christoph Steiner wrote: >>> >>> Sounds intriguing. If you want to do the wifi service discovery >>> on < android-16, there is jmdns. We had problems with the >>> Android service discovery stuff when we added it to FDroid. It >>> would randomly hang and things like that. jmdns seemed more >>> reliable, but perhaps the Android SD stuff is somehow integrated >>> into WiFi-Direct in a way that jmdns is not. > >> I think this all works without being on a WiFi LAN of any kind. It >> is similar to the code I have in Gilga. > > Yup, this uses wifi direct to discover peers and Bluetooth or ordinary > wifi to connect to them. No user confirmation is required for > discovery or connection, unlike using Bluetooth or wifi direct alone. > > I think I have a solution for connecting via wifi direct instead of > ordinary wifi, again without user confirmation, but I won't be able to > test it till tomorrow. > > jmdns could be useful for APIs 14-15, which support wifi direct but > not the service discovery stuff. We might be able to get jmdns working > over the wifi direct interface, which uses a link-local IPv6 address.
I don't know if you are looking to support android-10/2.3.3, but that might be possible using jmdns. As far as I understand it, WiFi-Direct creates a real WiFi-AP, so the devices that attach to that do not need to have any specific WiFi-Direct support, they just need to be able to find and connect to a WiFi-AP. That is definitely something you can do automatically in android-10/2.3.3. .hc -- PGP fingerprint: 5E61 C878 0F86 295C E17D 8677 9F0F E587 374B BE81 https://pgp.mit.edu/pks/lookup?op=vindex&search=0x9F0FE587374BBE81
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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]
