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. Changing USB HID stack to USB CDC stack(courtesy Mr.vloki)
Forum Updated to NodeBB v4.3 + New Features

Changing USB HID stack to USB CDC stack(courtesy Mr.vloki)

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 3 Posters 1.6k Views 1 Watching
  • 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.
  • O Offline
    O Offline
    o6a6r9v1p
    wrote on last edited by
    #1

    we have developed GUI using QT5 using USB HID stack.

    Now we have to substitute CDC stack for HID stack in GUI, so that we can now talk to CDC device using same GUI.
    We found the USB code released by Mr.vloki interesting, and tried to use it for CDC stack.
    The example contains GUI code also.

    Can some body point " entry point to stack, calls etc. ", to use them in our code.

    with regards,

    jsulmJ 1 Reply Last reply
    0
    • O o6a6r9v1p

      we have developed GUI using QT5 using USB HID stack.

      Now we have to substitute CDC stack for HID stack in GUI, so that we can now talk to CDC device using same GUI.
      We found the USB code released by Mr.vloki interesting, and tried to use it for CDC stack.
      The example contains GUI code also.

      Can some body point " entry point to stack, calls etc. ", to use them in our code.

      with regards,

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @o6a6r9v1p I don't understand the question. What is "entry point to stack"?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      O 1 Reply Last reply
      2
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Since you want to integrate the code from that "Mr.vloki" you should rather try to contact him for more details about his library.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • O Offline
          O Offline
          o6a6r9v1p
          wrote on last edited by
          #4

          SGaist,
          I don't have his mail id to approach him, can you share it if you know his id.

          Thank you,

          1 Reply Last reply
          0
          • jsulmJ jsulm

            @o6a6r9v1p I don't understand the question. What is "entry point to stack"?

            O Offline
            O Offline
            o6a6r9v1p
            wrote on last edited by
            #5

            @jsulm
            I mean, which files we have to include in main app, (to call top level cdc functions, to create cdc port, init it, read & write , close etc.) and undelying lower layer code files that are to be included in the application code.

            jsulmJ 1 Reply Last reply
            0
            • O o6a6r9v1p

              @jsulm
              I mean, which files we have to include in main app, (to call top level cdc functions, to create cdc port, init it, read & write , close etc.) and undelying lower layer code files that are to be included in the application code.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @o6a6r9v1p From where did you download this source code?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              O 1 Reply Last reply
              0
              • jsulmJ jsulm

                @o6a6r9v1p From where did you download this source code?

                O Offline
                O Offline
                o6a6r9v1p
                wrote on last edited by
                #7

                @jsulm
                got it from the link:
                http://www.hs-ulm.de/en/nocache/wir/Personal/PersonalSaSchr/vschilli/QtProjekte/SerialPortUSBCDC/

                file is "Source_Serial_20150806.zip" it is latest code.

                jsulmJ 1 Reply Last reply
                0
                • O o6a6r9v1p

                  @jsulm
                  got it from the link:
                  http://www.hs-ulm.de/en/nocache/wir/Personal/PersonalSaSchr/vschilli/QtProjekte/SerialPortUSBCDC/

                  file is "Source_Serial_20150806.zip" it is latest code.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @o6a6r9v1p Since there is no documentation/description you will need to analyse code to find out how to use it. Or you're lucky and somebody already used it and can explain.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1
                  • O Offline
                    O Offline
                    o6a6r9v1p
                    wrote on last edited by
                    #9

                    Hi all,

                    we chose to write simple serial port code in QT.

                    Thank you for your help & advice.

                    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