How to set QSerialPort flag(EventChar,ReplaceFlow)



  • hello all,
    I want set my serialport settings to the folowing status :
    0_1514783821470_serial_settings.PNG
    I haven't searched proper way to do it. Could you tell me about it if you have some advice,thanks a lot.


  • Qt Champions 2017

    @pinkie said in How to set QSerialPort flag(EventChar,ReplaceFlow):

    hello all,
    I want set my serialport settings to the folowing status :
    0_1514783821470_serial_settings.PNG
    I haven't searched proper way to do it. Could you tell me about it if you have some advice,thanks a lot.

    Hi, this looks like something that has to be done by your program itself. It is a higher layer protocol on top of QSerialPort.

    The settings from the first line can be done by QSerialPort, of course.

    Happy New Year



  • Hi,

    as I know, it is only Windows specific options, exists in DCB. So, you can try to get the QSerialPort::hande(), request the current DCB structure, change it, and setup back. But I'm not sure, because the QSerialPort was designed as a cross-platform solution.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.