Skip to content
  • 0 Votes
    1 Posts
    241 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    aha_1980A

    @maxime.armand

    Have you actually tried it? It does exactly what you demand in step 1.

    And if you look in http://doc.qt.io/qt-5/qtserialport-creaderasync-main-cpp.html you will see that the serial port and the baud rate are given as command line parameters.

    Just (cross-)compile the program for the Raspberry, and run it. It should work like your HypterTerminal test.

  • 0 Votes
    3 Posts
    1k Views
    A

    @Ross Just to add my .02.. back then Qt's Serial and bluetooth support was really bad. And I mean really bad.

    I dug through a lot of the Qt code when I was having problems and there were sections that were completely unfinished. The code didn't handle every path that it could take. It would literally just end in places with empty curly braces for certain situations.

    It may be better now, but I tried it about a year ago with credit card terminals and bluetooth and it was still just as bad as before.

    I don't know how it is now-a-days but I would factor that information in to any decision to use QtBluetooth or Serial on a project with any sort of tight deadline. ;)