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

QML Bluetoothscanner Example ServiceProtocol returns -842150451

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10 Home Version 10.0.18363
      Compiler: MSVC2019 32Bit
    • Platform/s:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            ablasche Alex Blasche
            Reporter:
            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