looking for resource to learn “ExternalAccessory”

2019-04-10 15:55发布

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!

2条回答
Summer. ? 凉城
2楼-- · 2019-04-10 16:29

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.

查看更多
姐就是有狂的资本
3楼-- · 2019-04-10 16:40

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

查看更多
登录 后发表回答