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

QBluetoothDeviceDiscoveryAgent class start() method invalid

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      linux
    • Platform/s:
      Linux/Other display system

      Description

      I Set Discovery timeout 5s,when finished restart Discovery ,but a long time about one hour,can not search any BLE device?

      like this:

      m_deviceDiscoveryAgentBLE = new QBluetoothDeviceDiscoveryAgent( this );
      m_deviceDiscoveryAgentBLE->setLowEnergyDiscoveryTimeout( 5000 );
      connect( m_deviceDiscoveryAgentBLE, &QBluetoothDeviceDiscoveryAgent::finished, this, &BLEDeviceFinder::scanFinished );

      void BLEDeviceFinder::scanFinished()

      {           m_deviceDiscoveryAgentBLE->start( QBluetoothDeviceDiscoveryAgent::LowEnergyMethod ); }

        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:
            ning cao xiaoning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes