什么是AWDL(Apple无线直接链接),它是如何工作的? [英] What is AWDL (Apple Wireless Direct Link) and how does it work?

查看:7267
本文介绍了什么是AWDL(Apple无线直接链接),它是如何工作的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出AWDL是什么。在iOS上,如果你使用苹果公司的对等网络的网络通过蓝牙,看来苹果会创建一个新的网络接口awdl0实施(我猜)IP-过BT。

但我不能找到这个技术,还是这个接口,它的行为,事情就要/不能用它做任何文档,谷歌等出现空白:(

在我特别认为的意思是建立了BT连接,我跑了IP大桥顶部,你可以用它来传达对等网络。苹果自己的系统库有错误的地方这座桥是不是设置的速度不够快,如果你过早地发送数据时,它似乎得到由操作系统丢弃。所以,如果我查询这个awdl0,我希望查你准备好了吗?并延缓P2P消息,直到OS是幸福的。


更新

更多信息:我可以对iOS设备的创建彼此awdl0连接 - 但他们从来没有获得创建到OS X的机器,BT和Bonjour是否对与否,设备是否配对与否


一些背景资料:

在iOS5中,苹果永久禁用的Bonjour /对等网络联网的蓝牙配件,并发表了技术说明指导大家使用DNS-SD,如果他们想使用蓝牙作为iOS设备之间的传输,以保持。这是好的,但它意味着你的必须的使用DNS-SD如果你想高性能BT,你要可靠。

(的GameKit的有时的工作正常,但我们经常看到在现实世界中可怕的性能,例如拥挤的公共场所 - 如果你使用DNS-SD它消失)

DNS-SD协议不包括信息告诉你什么了硬件使用。但它告诉你网络接口(这是我怎么知道我们正在awdl0运行)

DNS-SD是真棒,我们有高速,低延迟的连接对等网络的iOS设备之间的 - 所有的GameKit承诺,但往往不能交付只要有超过数的WiFi更加/ BT设备的东西范围。


解决方案

AWDL最近采访了大量的关注,当它在iOS的8和OS X设备的优胜美地造成的Wi-Fi的问题。

什么是AWDL?
AWDL(Apple无线直连)是一款低延迟/高速无线点对点对等连接使用苹果到处你所期望的:空投,的GameKit(也使用蓝牙),AirPlay的,也许在别处。它的工作原理利用其自己的专用网络接口,通常为awdl0

虽然一些服务,如即时热点,蓝牙网络共享(当然),和的GameKit宣传他们通过蓝牙SDP服务,苹果公司决定做广告通过WiFi空投和意外破坏数以百万计的优胜美地和iOS 8的用户的WiFi性能。

如何AWDL工作的?
自从iPhone 4,iOS的内核有多个无线接口,1博通的WiFi硬件芯片。

EN0 - 初级WiFi接口
AP1 - 接入点使用的接口支持WiFi圈养
awdl0 - 苹果无线直接链接接口(?因为iOS的7)

通过具有多个接口,苹果能够对您为en0标准WiFi连接,同时还播放,浏览和解决点对点的awdl0(只是没有好)。连接

您可以在这里找到更多信息 和<一个href=\"https://medium.com/@mariociabarra/wifriedx-in-depth-look-at-yosemite-wifi-and-awdl-airdrop-41a93eb22e48\">here.

I'm trying to find out what AWDL is. On iOS, if you use Apple's peer-to-peer networking over BlueTooth, it seems Apple creates a new Network Interface "awdl0" to implement (I guess) IP-over-BT.

But I can't find any docs on this tech, or this interface, how it behaves, things we must / must not do with it, etc. Google comes up blank :(.

In particular, I believe it means "established a BT connection, and I'm running an IP bridge over the top, and you can use this to communicate peer-to-peer". Apple's own system libraries have bugs where this bridge isn't setup quickly enough, and if you send data too soon, it appears to get dropped by the OS. So ... if I can query this awdl0, I hope to check "are you ready yet?" and delay P2P messages until the OS is happy.


UPDATE

More info: I can get pairs of iOS devices to create awdl0 connections to each other - but they never get created to OS X machines, whether BT and Bonjour are on or not, whether the devices are paired or not.


Some background:

In iOS5, Apple permanently disabled the Bluetooth parts of Bonjour/Peer-to-peer networking, and published a technote instructing everyone to use DNS-SD if they wanted to keep using Bluetooth as a transport between iOS devices. This is fine, but it means you must use DNS-SD if you want high-performance BT, and you want it reliable.

(GameKit sometimes works fine, but we often see terrible performance in real-world scenarios, e.g. crowded public places - which goes away if you use DNS-SD)

DNS-SD protocol doesn't include info to tell you what the hardware is using. But it does tell you the Network Interfaces (which is how I know we're running on awdl0)

DNS-SD is awesome, and we have high-speed, low latency connections peer-to-peer between iOS devices - all the stuff that GameKit promises but often fails to deliver whenever there's more than a few wifi/BT devices in range.

解决方案

AWDL recently caught a lot of attention when it caused Wi-Fi issues in iOS 8 and OS X Yosemite devices.

What is AWDL? AWDL (Apple Wireless Direct Link) is a low latency/high speed WiFi peer-to peer-connection Apple uses for everywhere you’d expect: AirDrop, GameKit (which also uses Bluetooth), AirPlay, and perhaps elsewhere. It works using its own dedicated network interface, typically "awdl0".

While some services, like Instant HotSpot, Bluetooth Tethering (of course), and GameKit advertise their services over Bluetooth SDP, Apple decided to advertise AirDrop over WiFi and inadvertently destroyed WiFi performance for millions of Yosemite and iOS 8 users.

How does AWDL work? Since the iPhone 4, the iOS kernels have had multiple WiFi interfaces to 1 WiFi Broadcom hardware chip.

en0 — primary WiFi interface ap1 — access point interface used for WiFi tethering awdl0 — Apple Wireless Direct Link interface (since iOS 7?)

By having multiple interfaces, Apple is able to have your standard WiFi connection on en0, while still broadcasting, browsing, and resolving peer to peer connections on awdl0 (just not well).

You can find more info here and here.

这篇关于什么是AWDL(Apple无线直接链接),它是如何工作的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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