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. Adding custom port to "terminal" example - bump
Forum Update on Monday, May 27th 2025

Adding custom port to "terminal" example - bump

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 281 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    I am asking/ looking for somebody who
    a) used / uses QT "simple terminal " example (C++ code) , for real...
    b) or is interested to work with me (C++ code) to figure out how this example implements "add custom port".

    The "ass custom port " is not documented by the author of the QT example.

    I have some idea how it fits into the example , however , I am still lacking a good "flow chart" of the process.

    For example - if I attempt to test add "ttyUSB1 " as custom port , AFTER typing "tty" into the current blank pull down combo box , its text magically changes to "tttyUSB0".

    So far I have not found how QT example does this "guessing"...

    Pl45m4P 1 Reply Last reply
    0
    • A Anonymous_Banned275

      I am asking/ looking for somebody who
      a) used / uses QT "simple terminal " example (C++ code) , for real...
      b) or is interested to work with me (C++ code) to figure out how this example implements "add custom port".

      The "ass custom port " is not documented by the author of the QT example.

      I have some idea how it fits into the example , however , I am still lacking a good "flow chart" of the process.

      For example - if I attempt to test add "ttyUSB1 " as custom port , AFTER typing "tty" into the current blank pull down combo box , its text magically changes to "tttyUSB0".

      So far I have not found how QT example does this "guessing"...

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @AnneRanch said in Adding custom port to "terminal" example - bump:

      For example - if I attempt to test add "ttyUSB1 " as custom port , AFTER typing "tty" into the current blank pull down combo box , its text magically changes to "tttyUSB0".

      You can only add/select a port or a configuration which is available on your system.
      This comboBox has autocompletion. Check, what's in your list already. If you do have a ttyUSB1 port available, go to Custom and type ttyUSB1 without leaving the box.
      Then apply your config and see if it works.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      A 2 Replies Last reply
      0
      • Pl45m4P Pl45m4

        @AnneRanch said in Adding custom port to "terminal" example - bump:

        For example - if I attempt to test add "ttyUSB1 " as custom port , AFTER typing "tty" into the current blank pull down combo box , its text magically changes to "tttyUSB0".

        You can only add/select a port or a configuration which is available on your system.
        This comboBox has autocompletion. Check, what's in your list already. If you do have a ttyUSB1 port available, go to Custom and type ttyUSB1 without leaving the box.
        Then apply your config and see if it works.

        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @Pl45m4 So the "custom" is poorly chosen term ....I am not surprised "custom" is not covered in doc...I'll take a look if I can trace the "autocompletion" - yet anther new term for me....
        I hope it will have some code indicating where QSerial gets the current serial ports ....

        Your post actually partially suggest how to solve adding "virtual rfcomm" port ....
        Thanks very much.

        1 Reply Last reply
        0
        • Pl45m4P Pl45m4

          @AnneRanch said in Adding custom port to "terminal" example - bump:

          For example - if I attempt to test add "ttyUSB1 " as custom port , AFTER typing "tty" into the current blank pull down combo box , its text magically changes to "tttyUSB0".

          You can only add/select a port or a configuration which is available on your system.
          This comboBox has autocompletion. Check, what's in your list already. If you do have a ttyUSB1 port available, go to Custom and type ttyUSB1 without leaving the box.
          Then apply your config and see if it works.

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #4

          @Pl45m4 said in Adding custom port to "terminal" example - bump:

          Check, what's in your list already. If you do have a ttyUSB1 port available, go to Custom and type ttyUSB1 without leaving the box.
          Then apply your config and see if it works.

          That does not make much sense- as far as any interpretation what "Custom" actually does ( which is unknown / undocumented ,,,)

          It the port is available, in the list, it will show up in the box after the "Configuration" is opened.

          Pl45m4P 1 Reply Last reply
          0
          • A Anonymous_Banned275

            @Pl45m4 said in Adding custom port to "terminal" example - bump:

            Check, what's in your list already. If you do have a ttyUSB1 port available, go to Custom and type ttyUSB1 without leaving the box.
            Then apply your config and see if it works.

            That does not make much sense- as far as any interpretation what "Custom" actually does ( which is unknown / undocumented ,,,)

            It the port is available, in the list, it will show up in the box after the "Configuration" is opened.

            Pl45m4P Offline
            Pl45m4P Offline
            Pl45m4
            wrote on last edited by Pl45m4
            #5

            @AnneRanch said in Adding custom port to "terminal" example - bump:

            what "Custom" actually does

            Custom means you are free to configure your port else than picking a port from that list, but you can't expect any port configuration to work.

            What does

            ls -l /dev/ttyUSB*

            print?


            If debugging is the process of removing software bugs, then programming must be the process of putting them in.

            ~E. W. Dijkstra

            A 1 Reply Last reply
            0
            • Pl45m4P Pl45m4

              @AnneRanch said in Adding custom port to "terminal" example - bump:

              what "Custom" actually does

              Custom means you are free to configure your port else than picking a port from that list, but you can't expect any port configuration to work.

              What does

              ls -l /dev/ttyUSB*

              print?

              A Offline
              A Offline
              Anonymous_Banned275
              wrote on last edited by
              #6

              @Pl45m4 I finally found the code which actually reads the system available serial ports... it is a challenge to start with "update settings" and go backwards...
              Temporary / partially solved

              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