AnsweredAssumed Answered

Using the com port on the iMX53

Question asked by Leonard Faircloth on Apr 17, 2013
Latest reply on Apr 22, 2013 by Leonard Faircloth

Has anyone created an application that opens the com port and listens to incoming messages and sends a response?


I'm writing in C and I believe that the "stdio.h" should have everything I need.  When I try to open the port I get error messages.  It doesn't seem to like the parameters:


int portnum


portnum = open("dev/ttys0", O_RDWR | O_NOCITY | O_NDELAY);