Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to set QSerialPort flag(EventChar,ReplaceFlow)
Forum Updated to NodeBB v4.3 + New Features

How to set QSerialPort flag(EventChar,ReplaceFlow)

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 610 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pinkie
    wrote on last edited by
    #1

    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.

    aha_1980A 1 Reply Last reply
    0
    • P pinkie

      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.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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

      Qt has to stay free or it will die.

      1 Reply Last reply
      2
      • K Offline
        K Offline
        kuzulis
        Qt Champions 2020
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved