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

QBluetoothDeviceDiscoveryAgent class start() method invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.12
    • None
    • linux
    • 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

            ablasche Alex Blasche
            ning cao xiaoning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes