Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can iOS apps communicate with MFi accessories over WiFi?

The title pretty much explains it. We are working on an MFi accessory which communicates with our iOS app over Bluetooth. However, we want to replace Bluetooth with Wifi. Provided that we can make the necessary hardware changes in the accessory, can we enable an iOS application to use WiFi instead of Bluetooth to communicate with an MFi accessory?

like image 405
Varun Singh Avatar asked Oct 22 '14 10:10

Varun Singh


People also ask

Can an iOS app connect to WiFi?

With iOS 11, Apple provided public API you can use to programmatically join a WiFi network without leaving your app. The class you'll need to use is called NEHotspotConfiguration . To use it, you need to enable the Hotspot capability in your App Capabilities (Adding Capabilities).

What is MFi WiFi?

The acronym MFi stands for “Made for iPod”, “Made for iPhone” or “Made for iPad”. It is designed to set up the wireless accessories with the credentials stored in the iPhone/iPad. After configuring the module using the iPhone/iPad, this accessory can only be accessed/operated using the iPhone/iPad.

Does move to iOS use WiFi Direct?

The answer is YES! Move to iOS needs a WiFi to help in migrating files to an iPhone. While transferring, a private WiFi network is established by the iOS and then connects with the Android device.

What is external accessory communication?

Accessory CommunicationAn object that contains information about a single, connected hardware accessory. class EASession. The object you use to manage communications between your app and a connected hardware accessory.


1 Answers

The MFi program covers the Wireless Accessory Configuration (WAC) feature that simplifies the process of connecting new accessories to the user's existing Wi Fi network.

I don't believe that there is support for prompting the user to install or launch an application when a WiFi device is detected, as you can with the external accessory framework and Lighting/30pin/Bluetooth connected devices.

Once you have a WiFi connected device and it is active on the network, however, you can use TCP/IP and Bonjour to locate and communicate with the device without involving the MFi program.

If you are already a member of the MFi program then it is probably worth investigating WAC.

like image 87
Paulw11 Avatar answered Sep 30 '22 02:09

Paulw11