So I created a nice serial/UART program and it runs very well through "mobileterminal".
I tried running the same code using a GUI hello world example, however it doesn't output anything to my connected UART device so I'm assumming it doesn't run or there is permission issue opening the serial port via the commmand...
Code:
open("/dev/tty.iap", O_RDWR | O_NOCTTY | O_NONBLOCK);
My goal is to get UART data to and from a GUI.
I'm about to tear apart the "mobileterminal" app source code to see what I can do. I'm just wondering if it has been done?