views:

353

answers:

2

Hi Guys, Anybody knows how to integrate iPhone with other non-iPhone devices using serial port? Please help me

Thanks in advance

Regards Jayaraj

+2  A: 

You can't directly. There may be some sort of serial line (i2c) on the dock connecter, but it is not exposed through the SDK, the Made for iPhone/ExternalAccessory.framework stuff is only for USB and BT.

You could conceivably use a WiFi/serial bridge (such things do exist) since you can send whatever you want over a TCP tunnel, but I doubt that is what you want.

Louis Gerbarg
Thanks for your valuable information
Jai
+1  A: 

You can get the info on using the ExternalAccessory framework from apple's developer portal.

You can't get the required serial handshake(?) info without joining the Made for iPhone program. This requires that you are developing a commercial device.

I have tried to get information on this protocol from apple through my university and have thus far failed.

Mobs
The ExternalAccessory doesn't let you talk to arbitrary devices. In order to use it to talk to a serial device you would need to build a custom USB->serial adapter that implements the External Accessory USB protocol then encapsulate serial commands over it.
Louis Gerbarg
Thanks for your valuable information
Jai