I am writing an iPhone application that needs to send and receive data over the serial connection. I have been studying Apple's EADemo
found here: EAAccessory reference
The problem is that I am finding this example too complex to take in. Is there a simpler example available for how to send and receive to and from a connected accessory over a serial connection?
I'm looking for something like sending four integer values to the accessory, and then sending them back to the iPhone using a const char
buffer.