Peer to peer android and iOS with Wifi direct (multipeer connectivity?)

社会主义新天地 提交于 2019-11-28 03:51:18

I am very interested in this subject as well and I came across these links

AllJoyn

AllJoyn® is a collaborative open-source software framework that makes it easy for developers to write applications that can discover nearby devices, and communicate with each other directly regardless of brands, categories, transports, and OSes without the need of the cloud Source: https://allseenalliance.org/developers/learn

OpenPeer SDK

Open Peer is an open P2P signalling protocol Source: http://openpeer.org/open-peer-sdk-for-ios/

Microsoft's Project Rome

"Project Rome" is a project code name for Microsoft's cross-device experiences platform using the Microsoft Graph. Source: https://docs.microsoft.com/en-us/windows/uwp/launch-resume/communicate-with-a-remote-app-service

Mutipeer connectivity cannot connect iOS and Android devices. Firechat is using its own implementation.

More information here:

A couple of weeks after its iOS launch, FireChat made its debut on Android. Since Android doesn’t support Apple’s Multipeer Connectivity Framework, developer Open Garden had to build its own mesh networking technology to enable off-the-grid messaging across Android devices. However, FireChat messaging hasn’t been possible between iOS and Android. That is, until now. Open Garden has just updated FireChat to allow for off-the-grid messaging even between iOS and Android devices. While it declines to reveal the exact details of how it managed to make Apple’s multi-peer framework and its Android mesh network connect with each other, Open Garden has told TechCrunch that its cross-platform capability uses peer-to-peer Wi-Fi and Bluetooth personal area networking.

Source: http://appadvice.com/appnn/2014/06/firechat-now-supports-off-the-grid-messaging-between-ios-and-android

Something like text chat can be done over BLE, which is open on both platforms. Sending images would be slow, though, since it doesn't have the throughput of Bluetooth Classic.

You'll want to look into iotivity. https://iotivity.org/ This is the new upcoming inter-device library that the Open Connectivity Foundation is focusing on.

AllJoyn is only being maintained now, and has some significant underlying threading problems that will never be fixed, making call-response type workflows between devices prone to crashing and deadlocking the application code. I don't recommend using it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!