Skip to content
QtWS25 Last Chance
  • 0 Votes
    7 Posts
    3k Views
    ivanperinoI
    You have been very clear, thank you very much: However, trying to do what you explained, I have failed to complete because,.. including termios.h in my class in order to call ::tcsetattr(ps->handle(), TCSANOW, &tio); then a lot of variables in my class (called B50, B200) match macro definitions in termios, i.e. #define B50 0000001 so compiler tells me sas.h:140: error: expected unqualified-id before numeric constant bool B50; I think I need to wrap termios.h inside a namespace, but: I dont know if this is correct and if it is, how to do that. Thank you again
  • 0 Votes
    11 Posts
    6k Views
    ivanperinoI
    @kuzulis I used putty just to send data to my app. As you suggest, putty doesn´t detect parity errors.