Ask Your Question

Revision history [back]

I think the problem is very simple: you don't need to set CTSRTS handshake here

// set baud rate, (8bit,noparity, 1 stopbit), local control, enable receiving characters.
  newtio.c_cflag  = BAUD | CRTSCTS | CS8 | CLOCAL | CREAD;

Use CLOCAL instead CTSRTS

With Best regards, Wagan Sarukhanov