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?
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).
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With