For pairing, it includes two features. - Service Discovery -- find each other. - Authentication & Authorization.
UPnP is an obvious solution for service discovery. For authentication and authorization, it can be a plain password or a 2D bar code. "Kan-Ru Chen (陳侃如)" <[email protected]> writes: > Yuan Xulei <[email protected]> writes: > >> On Tue 09 Jul 2013 12:31:13 PM CST, Fabrice Desre wrote: >>> On 07/08/2013 09:14 PM, Thinker K.F. Li wrote: >>>> I think BT is a very poor and slow option. >>>> WIFI is much better than BT if want to backup data wirelessly. >>>> With WIFI, we have much more protocols in the list; ex. WebDAV. >>> >>> Sure Wifi is faster and overall more flexible, but do we have a nice way >>> to do pairing to initiate the connection over wifi? >> >> We can use a randomly generated passcode (like the passcode to pair >> Firefox sync device), or event a 2D bar code. > > Or use WebRTC! Isn't it provides a way to communicate between clients? > Connection over wifi has to handle NAT traversal and setup the peers > which has been resolved by WebRTC. > > Kanru -- Sinker -- 天教懶漫帶疏狂 _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
