Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86519

QML Bluetoothscanner Example ServiceProtocol returns -842150451

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0
    • None
    • Windows 10 Home Version 10.0.18363
      Compiler: MSVC2019 32Bit
    • Windows

    Description

      Background:

      I compared the Bluetoothscanner (Widgets) and QML Bluetoothscanner Example from the Welcome Page and found a difference regarding serviceprotocol.

      Problem:

      The QML example returns for serviceProtocol -842115041 as shown in the image (MAC Address was removed in the image for Security).

      If I add in the Widgets example the line 109  and add breakpoint as shown in the image , then for the serviceprocol RfcommProtocol(2) is returned. 

      Expected Result:

      The Bluetooh Qml Type should return the enum values as mentioned. I expect same behavior between CPP and QML Type. 

      Hint:

      I'm a beginner for QtBluetooth, means my understanding could be wrong, if yes then reject the ticket.

      Attachments

        1. BTScannerExampleWidgets.png
          28 kB
          Dirk Büttner
        2. qmlprotocol.png
          62 kB
          Dirk Büttner
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            shazter Dirk Büttner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes