Target of my bachelors thesis will be to connect optoserial devices via bluetooth adapter to an iPad. Currently I'm struggling with Apples restrictions. I read often in the web that I can use the supported profiles to connect to any devices that support at least on of those. But Apples technical FAQ points points out that "the External Accessory framework is designed to allow iOS applications to communicate only with hardware accessories that are developed under Apple's MFi licensee program". I dont think that those people writing here are just lying for fun.
Can anybody tell me out of experience if it works or not in conjunction, and thats the point, with non-MFi accessories?
MFi, or Made for iOS (iPod/iPhone/iPad), in hardware like the Scanfob® 3002i denotes a special Bluetooth connection mode called IAP. IAP is similar to SPP on Android — which allows a peripheral device to connect as a virtual COM port.
Apple Inc.'s MFi Program, referring to "Made for iPhone/iPod/iPad", is a licensing program for developers of hardware and software peripherals that work with Apple's iPod, iPad and iPhone. The name is a shortened version of the long-form Made for iPod, the original program that ultimately became MFi.
Turn off Bluetooth on other Bluetooth-enabled devices nearby (i.e. other phones, tablets, TV, etc). Toggle on and off the Bluetooth for about 10-15 seconds. Close the hearing aid app by double-clicking the phone's Home button and swiping up on the app. Turn the phone off and then back on after 20-30 seconds.
You can use AirPods as a Bluetooth headset with a non-Apple device. You can't use Siri, but you can listen and talk.
The External Accessory
framework is indeed for MFi only, but you have two options:
Jailbreak (I can't give you any advice there).
Use CoreBluetooth
instead.
I've used CoreBluetooth in my own applications and it can get the job done, depending on how much data you're looking at transmitting. I don't know what an optoserial device is, how how much data you would need, but we're talking data transmission on the order of bytes efficiently. CoreBluetooth
operates with Bluetooth 4.0 LE devices, right now that is any iOS device released after (and including) the iPhone 4S.
Certain types of BT devices (ie. hands-free modules, BT headsets) of course don't need to be MFi.
Serial communication, on the other hand, is completely different story. BT accessory has to implement an identification process - usually by using identification chip.
Interesting thing is that SPP (Serial Port Profile) is not even listed under supported profiles.
But sill you can find some MFi GPS modules.
And this module is also interesting: OEM Bluetooth iPhone / iOS Accessory Module OBS414
You have to enter the MFi program before you can even get technical specifications though. Otherwise manufacturer would be breaching NDA.
There is one more workaround on how to communicate via BT: you can always implement hardware FSK (or similiar modem) on one side (audio BT link) and a software counterpart in the app.
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