looking for resource to learn “ExternalAccessory” Framework (iOS) [closed]

隐身守侯 提交于 2019-12-06 04:48:33

问题


I am looking for some good resources to learn the External Accessory framework, specially the "Bluetooth accessory interfacing". I know there is a book by Ken Maskrey for learning the External Accessory framework but this book does not cover the bluetooth communication.

Some blog posts with some sample codes will be greatly appreciated

Thanks Much!


回答1:


Are you an approved Made for iPhone/iPod program participant? If you're not you'll find it very difficult to get much information. There is no difference between Bluetooth and Dock connection - you cannot communicate with a third party bluetooth accessory that isn't part of the MFI program.

See this question for more details:

What are the protocols supported in Iphone's External Accessory Framework




回答2:


If you know the correct protocolString for the Blue Bamboo's Card reader, and register to observe EAAccessoryDidConnectNotification, your app should have received the notification if the Card reader has paired with iPhone and passed the identification process. At least, in your iOS Settings > General > About, you will see the connected accessory information.



来源:https://stackoverflow.com/questions/5867650/looking-for-resource-to-learn-externalaccessory-framework-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!