Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between WiFi-Direct Api and Alljoyn framework

i want to build an android application using Wifi peer to peer without to be connected to internet, and without using an AP (Access Point) , so i wonder, if it's better to use the WiFi-Direct Api, or the framework Alljoyn to build it ? (i think that this last one is doing the same thing like The WiFi-Direct Api, but with using an AP). Please anyone can explain to me this point. Thanks in advence.

like image 656
user3365607 Avatar asked Mar 02 '14 00:03

user3365607


1 Answers

AllJoyn is an higher level framework that does most of the plumbing for you, basically you define an interface, register it, create a session and your good to go. It works over IP (so WiFi with an AP for example) and has special code for wifi direct (buy not officially supported now) and there's a partial Bluetooth LE implementation (but which currently requires a rooted android phone).

There's a description of what's officially supported in this forum post : https://allseenalliance.org/developer-resources/forum/developers/how-alljoyn-works-mobile-devices

You can do all of this by yourself over WiFi or WiFi direct, but it would a lot more work (you'll have to implement discovery, marshaling, etc yourself).

like image 116
Pierre Rust Avatar answered Oct 23 '22 16:10

Pierre Rust