WiFi的直接的API和Alljoyn框架的区别 [英] Difference between WiFi-Direct Api and Alljoyn framework

查看:185
本文介绍了WiFi的直接的API和Alljoyn框架的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要建立使用WiFi同行没有被连接到互联网同行一个Android应用程序,而无需使用AP(接入点),所以我不知道,如果是最好使用WiFi的直接的API或框架Alljoyn建呢? (我认为这最后一个是做同样的事情,就像在WiFi的直接的API,但使用AP)。 请任何人都可以向我解释这一点。 由于使用前请先。

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.

推荐答案

AllJoyn是一个更高层次的框架,完成大部分管道的你,基本上你定义一个接口,其注册,创建一个会话,你的好去。它的工作原理IP电话(所以无线与AP为例),并具有特殊的code支持WiFi直接(买不是现在正式支持),并有部分蓝牙LE执行(但目前需要根深蒂固的Andr​​oid手机)。

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).

有一个什么样的在这个论坛上发帖官方支持的描述:<一href="https://allseenalliance.org/developer-resources/forum/developers/how-alljoyn-works-mobile-devices" rel="nofollow">https://allseenalliance.org/developer-resources/forum/developers/how-alljoyn-works-mobile-devices

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

您可以自己做到这一切通过WiFi或WiFi直接,但它会更多的工作(你必须实现的发现,编组,等你自己)。

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).

这篇关于WiFi的直接的API和Alljoyn框架的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆