I don't understand how serial ports work under Linux.
I keep on develop my C++ application. And I have no problem for a while.
I add some files, new class, into my project and it doesn'y works again. And now it is in Debug or release...
On open (SerialPortName.c_str(), O_RDWR | O_NOCTTY | O_NONBLOCK);
I get a negative value. If I display the status witha perror, i can have something like "Success" !!! or "input/Outut error", even if I don't change anything in my code !
I try to go back in my project, and I can find a version working fine every launches.
I try to add some of my new code but
I don't call it The propblem appears...
Is anyone can help me to understand what is this ununderstandable problem ?
Is there a link with character ASCII or not ? are char always only 1 byte long ? or is it depending on
I don't know what.