Antonio Galea a écrit :
> int tty_open(char* tty_dev) {
[...]
> new_attributes.c_cflag = CREAD | B19200 | CS8 | CLOCAL;
[...]
> tcsetattr(tty_fd, TCSANOW, &new_attributes);

According to my own tests with ttyS3 setting the baudrate with tcsetattr 
doesn't work. It must be set with stty -F /dev/ttyS3 19200

As you're using a serial port converter this may not help you but trying 
it wouldn't hurt :)

Regards,
-- 
Xavier Garreau
http://www.xgarreau.org/

Reply via email to