problem opening /dev/tty.iap

Joined
Dec 8, 2009
Messages
1
Reaction score
0
Points
1
I followed this tutorial to get access to the serial port on the ipod touch 1g 2.2.1
DevDot - Iphone Serial Port Tutorial

I can get the c program to run fine on serial and it is reading in serial data, however, when I copy and paste this code into a real xcode project that calls a getNumber() function which tries to open /dev/tty.iap, I get the fileDescriptor=-1 and a permission denied. Does anyone know why this it? Thanks
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top