I am porting an app to an epic. The is written in C++ and uses one or more serial ports to talk to other devices. Is there a preferred/recommended way to access the serial ports (GRV-CSERI-4 card)?
nResult = open("/dev/ttySerSys0", O_RDWR | O_NOCTTY);
always returns -1.