Hi Jasem,
Many thanks for the explanation and for providing the mentioned Skeleton drivers!
In my reference code for the Pololu stepper controller, there are a couple of configurations defined, for instance:
www.pololu.com/docs/0J71/12.5
// Turn off any options that might interfere with our ability to send and
// receive raw binary bytes.
options.c_iflag &= ~(INLCR | IGNCR | ICRNL | IXON | IXOFF);
options.c_oflag &= ~(ONLCR | OCRNL);
options.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
// Set up timeouts: Calls to read() will return as soon as there is
// at least one byte available or when 100 ms has passed.
options.c_cc[VTIME] = 1;
options.c_cc[VMIN] = 0;
Are similar settings also initiated in the course of establishing the connection (upon pressing the connect button), or do I have to take of that in the driver myself?
Best, Helge