[guardian-dev] Connecting to nearby peers without user interaction

Michael Rogers michael at briarproject.org
Sun Feb 1 15:37:20 EST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi all,

A few months ago I mentioned an idea for making peer-to-peer
connections between Android devices without user interaction. I've
finally had a chance to try it out, and it works - devices that
support wifi direct service discovery (API 16 and later) can discover
each other and connect via Bluetooth or ordinary wifi without user
interaction.

The next step is to connect via wifi direct, which has higher
bandwidth than Bluetooth. One possible approach is to create a legacy
mode AP and advertise the SSID and password via service discovery;
another is to find out the device's self-assigned IP address and
advertise it in the same way as an ordinary wifi IP address.

Code is here:
https://code.briarproject.org/akwizgran/peer-discovery

Cheers,
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJUzo6AAAoJEBEET9GfxSfMWSgH/j79XU6o55QGu/7Uc5SktjJP
CiztjtJN9NG3pLHQPlreMdH3yLlqTVU29arQsRmtF5NjeKy+EEl0M4zoVleLRUMV
ccr0AiSVh5mNaEIlixDmTVRpdjxAS2+kxDBAQuiujpPDc0oyscVHgIUjJoakaZHq
lay0BRLeSWQRrYz945w7y+54+oR4mHrz0FN8sGYqrRlqwA9qM4+sM0drhE7NlEHp
CsXT0EtOGZotA70kml4jrsqosfXAdkXCXM5isSRXLiWXd4GItYaCe/SXLm/t4Ewp
8400dIhPz7w8uMzd+EsnobU8Xs7ZAC+2fqL2zr0mGkPtEEAbKzJKeaOFD8unw9Q=
=7k8x
-----END PGP SIGNATURE-----


More information about the Guardian-dev mailing list