查看分类:  ASP.NET XML/XSLT JavaScripT   我的MSN空间Blog
posts - 173,  comments - 1172,  trackbacks - 0

I understand that the External Accessory framework in iOS 3.0 and later will allow my application to communicate with Bluetooth devices. So why doesn't my application see the Bluetooth accessory sitting next to my iPhone?

A: 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. MFi compliant accessories can be implemented as wired devices, meaning they plug in to the Apple device's 30-pin or Lightning connector, or as wireless devices, whereby they use Bluetooth as the communication channel. Either way, an application that uses the External Accessory framework will not be notified of an accessory's presence unless the accessory identifies itself as being MFi compliant, i.e., it was specifically designed to interface with an iOS application.

More information about developing MFi accessories can be found here.

Note: Bluetooth low energy accessories do not interface with the External Accessory framework and are not required to be MFi compliant. Instead, apps use the CoreBluetooth framework to communicate with Bluetooth low energy accessories from iOS or OS X.

posted on 2014-02-20 14:25 不及格的程序员-八神 阅读(...) 评论(...) 编辑 收藏