문제

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?

도움이 되었습니까?

해결책

The External Accessory framework is indeed for MFi only, but you have two options:

  1. Jailbreak (I can't give you any advice there).

  2. 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top