Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Well I'm working on this app to send data between android and iOS and I got it to work between iOS devices with Apple's Multipeer Connectivity framework, but I am currently wondering how do you achieve it between both platforms? even if you are willing to write it from scratch.

How come Firechat is able to do it? As I remember, you can exchange data between both platforms with their app.

Edit: https://www.opengarden.com/meshkit.html It seems the MeshKit SDK used in Firechat is now available (for large organisations).

like image 804
min Avatar asked Mar 06 '15 20:03

min


People also ask

What is Wi-Fi Direct peer devices?

Wi-Fi Direct (also known as peer-to-peer or P2P) allows your application to quickly find and interact with nearby devices, at a range beyond the capabilities of Bluetooth. The Wi-Fi Direct (P2P) APIs allow applications to connect to nearby devices without needing to connect to a network or hotspot.

Can iOS use Wi-Fi Direct?

You can connect an iPhone or iPad directly to your product without using a wireless router or access point. To use this feature, your iOS device must have the following installed: iOS 11 or later.

Is Wi-Fi Direct better than Bluetooth?

Although Wi-Fi Direct offers a similar connection, it's also significantly more powerful than Bluetooth, able to handle a higher data volume at a faster rate. In the right setting, Wi-Fi Direct can transfer data at a rate 10 times faster than traditional Bluetooth on your android device.

How can I use Wi-Fi Direct between iPhone and Android?

Run the File manager on iPhone, tap on the More button and choose WiFi Transfer from the pop-up menu, see below screenshot. Slide the toggle to on in the WiFi Transfer screen, so you will get an iPhone file wireless transfer address. Connect your Android phone to the same Wi-Fi network as your iPhone.


2 Answers

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://github.com/alljoyn/alljoyn.github.com/wiki

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

like image 96
Alex Nolasco Avatar answered Sep 23 '22 16:09

Alex Nolasco


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

like image 33
jomafer Avatar answered Sep 22 '22 16:09

jomafer