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

QBluetoothServer::hasPendingConnections() hangs on Windows

    XMLWordPrintable

Details

    • Windows
    • 0bb394194aad69574b98de5b43da82b0f0a4a454 (qt/qtconnectivity/5.14)

    Description

      When connecting an Android client to a Bluetooth Windows server, inside the "clientConnected" slot, QBluetoothServer::hasPendingConnections() hangs (app not responsive).

      To reproduce just add the following lines in the btChat exemple, at the beginning of ChatServer::clientConnected():

          qWarning()<<"checking pending connections ?";
          bool has = rfcommServer->hasPendingConnections();
          qWarning()<<"has pending connections ?"<<has;
      

      Thanks,
      Philippe
       

      Attachments

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

        Activity

          People

            owolff Oliver Wolff
            matirai Philippe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes