PDA

View Full Version : Data transmission via USB




wessie
Jul 7, 2009, 01:22 PM
Hi all,

Firstly i'm an absolute novice as far as iPhone and Cocoa based development is concerned. I've got more extensive knowledge regarding Java and specifically Java-based web applications.

I'm currently starting a project that requires me to be able to transmit data from a third party hardware device into an application deployed to the iPhone via the USB interface. Does anyone know if this is possible and if so, how would I go about doing so?

Any help is appreciated.

Wessie!



kainjow
Jul 7, 2009, 11:59 PM
Check out the External Accessory framework (http://developer.apple.com/iphone/library/documentation/ExternalAccessory/Reference/ExternalAccessoryFrameworkReference/index.html).

fishkorp
Jul 8, 2009, 07:17 AM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16)

The accessory also has to go through the "Made for iPod" program and get certified.

CylonGlitch
Jul 8, 2009, 09:00 AM
Is the general way of interfacing to the iPhone USB? I have noticed that much of the External Framework is the same as the USB header except for the Protocol section. I have ported some software over to the iPhone and am in the process of trying to interface the hardware to the iPhone but I haven't gotten into the "Made for iPhone" program yet (working on it).

I know that there is an USB on-the-go set of pins on the dock connector, but is that used for the communication to the PC, or for accessories. I know the dock connector also has RS232 in and out; is that usable?

Any information would be helpful.

TIA!