Is iOS 7 Multipeer Connectivity compatible with Android Wi-Fi Direct?

http://stackoverflow.com/questions/19067794/is-ios-7-multipeer-connectivity-compatible-with-android-wi-fi-direct

I've been looking at iOS 7's new P2P networking framework, MultipeerConnectivity, and from the description, it seems to me that it uses a combination of some kind of Wi-Fi Direct technology and Bluetooth PANs.

Is the Wi-Fi Direct technology in this framework compatible with Android's Wi-Fi Direct? Can this framework actually be used for cross-platform P2P networking?

The device is not found by either when advertising or browsing with MultipeerConnectivity. Tried on Galaxy Tab 2:

Trying wi-fi direct + multipeer connectivity

share improve this answer
 
 
Thanks. I'm going to wait a little to give out the bounty though. –  Linuxios  Oct 2 '13 at 18:52

This is what we know:

  1. There's no BTLE/Bluetooth 4.0 advertisement visible on my Texas Instruments Bluetooth Low energy scanner.
  2. No WiFi Direct activity seen by JuJoDi.
  3. Talkkr app can connect while WiFi is off and the connection takes about 10 seconds.

My working theory: the MultiPeer uses Bluetooth Classic, based on the above.

iOS Bluetooth Classic is known to be under the Apple MFA Accessory API's tight control and lockdown, including the MFA authentication challenge-response. Apple controls the MFA encryption keys (either in software or by the accessory authentication chips). It makes it inaccessible to other platforms.

share improve this answer
 
 
Huh. Expected as much. Thanks a lot Apple. I think I'm going to give you the bounty. –  Linuxios  Oct 6 '13 at 14:35
 
What's this MFA thing? –  André Fratelli  Feb 16 '15 at 18:08
1 
MFi - Made for iPhone. developer.apple.com/programs/mfi –  barbazoo  Feb 21 '15 at 5:43
 
And what is a "JuJoDi"? Google only returns this very page... –  hmijail  Nov 26 '15 at 10:57
1 
The guy with a Galaxy Tab just above. –  Zmicier Zaleznicenka  Dec 1 '15 at 13:50

No, the two are not compatible.

The MultipeerConnectivity documentation you linked to explicitly states (emphasis mine):

The Multipeer Connectivity framework provides support for discovering services provided bynearby iOS devices

Although you may be able to hack together a workaround akin to the short-lived iMessage app for Android, I wouldn't recommend it.

share improve this answer
 
 
I know apple says that. I mean, if you fire up an android wifi directs listener, do you see the connection? Thanks anyway. –  Linuxios  Oct 2 '13 at 16:02
 
I tried it, and I did not see the connection on either device. –  Joel Fischer  Oct 2 '13 at 17:47

Based on my experimentation with iOS 7 AirDrop, it doesn't seem to be using WiFi Direct. 
The transfer rates are very low indicating that it may only be legacy Adhoc WiFi (capped at 11 Mbps).
Did you ever read Apple claiming to support Wifi Direct explicitly?
Please read my blog post for details.

share improve this answer
 

Maybe a bit delayed, but technologies have evolved since so there is certainly new info around.

As iOS has yet to open up an API for WiFi Direct and Multipeer Connectivity is iOS only, I believe the best way to approach this is to use BLE, which is supported by both platforms (some better than others).

On iOS a device can act both as a BLE Central and BLE Peripheral at the same time, on Android the situation is more complex as not all devices support the BLE Peripheral state. Also the Android BLE stack is very unstable (to date).

If your use case is feature driven, I would suggest to look at Frameworks and Libraries that can achieve this for you, without you needing to build it up from scratch.

For example: p2pkit.io or google nearby

Disclaimer: I work for Uepaa, developing p2pkit.io for Android and iOS.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值