Equipment for testing external accessories

I need to write a client application that uses the ExternalAccessory infrastructure to communicate with some equipment, I read in Norman McEnthir's “External Programming Exercises” that there are 2 test accessories in the Simulator, however, when I run the sample EADemo application from Apple on the simulator, it says that there are no connected accessories. Does anyone know how I can simulate an accessory so that I can study the structure, or is there inexpensive hardware that I can learn from. Thanks in advance!

+7
source share
3 answers

true, but the redpark serial cable is an accessory, it comes with its own sdk, but you can use eaframework and write your own code.

But his debatable question is, how useful is it to learn the framework,

Many developers, including me, experiment with it using the arduino microcomputer, which is a really cheap microprocessor that is used for all kinds of amateur experiments.

There are two books that you should pay attention to.

Creating Accessories for iPhone OS: Use the iPhone Accessories API to Manage and Monitor Devices Posted by Ken Maskrey Publisher: Apress Pub. Date: June 7, 2010 Print ISBN: 978-1-4302-2931-5 Web ISBN: 1-4302-2931-4

Arduino iOS Sensor Applications Author: Alasdair Allan Publisher: O'Reilly Media, Inc. The pub. Date: September 19, 2011 Print ISBN-13: 978-1-4493-0848-3

You can also watch this recent blog that we created.

http://sol3.typepad.com/tagalong_developer_journa/accessories/

+2
source

Redpark creates a serial cable that uses the iOS accessory infrastructure. May be useful for experimentation.

0
source

Just a short note to your last comment.

Yes, Redpark api does all the work. But there is absolutely nothing that would prevent you from using the ea framework, think of redpark sdk as a wrapper around the apple api.

0
source

All Articles