http://devdot.wikispaces.com/Iphone+Serial+Port+Tutorial
http://pbxbook.com/other/mac-tty.html
https://github.com/armadsen/ORSSerialPort
http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=229&pcid=41
-
check out the code: git clone --recursive https://github.com/Proteas/serial-to-idevice.git
-
download and install the driver: md_PL2303_MacOSX-10.6up_v1.5.1.zip
-
after rebooting your mac, unload the driver with: sudo kextunload /System/Library/Extensions/ProlificUsbSerial.kext
-
go to dir "/System/Library/Extensions/ProlificUsbSerial.kext", edit Info.plist, add your device's vendor id and product id
-
load the driver: sudo kextload /System/Library/Extensions/ProlificUsbSerial.kext
-
ls /dev/tty.usb*, you will find: /dev/tty.usbserial, then the driver is successly loaded.
-
got to dir "app-idevice", exe make, then you got "serial-echo"
-
copy "serial-echo" to your idevice, and exe it.
-
open project "ORSSerialPort/Examples/CocoaDemo/ORSSerialPortCocoaDemo.xcodeproj", and run it.
-
select "usbserial", and open it. first, send: *, and your device got a connection, then send: A, or somthing else.